OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Kurt Miller (kurtcvs.openbsd.org)
Date: Thu Oct 02 2008 - 15:12:08 CDT


CVSROOT: /cvs
Module name: src
Changes by: kurtcvs.openbsd.org 2008/10/02 14:12:08

Modified files:
        libexec/ld.so : library.c library_mquery.c loader.c sod.c
                         util.c
        libexec/ld.so/alpha: syscall.h
        libexec/ld.so/amd64: syscall.h
        libexec/ld.so/arm: syscall.h
        libexec/ld.so/hppa: syscall.h
        libexec/ld.so/i386: syscall.h
        libexec/ld.so/mips64: syscall.h
        libexec/ld.so/powerpc: syscall.h
        libexec/ld.so/sh: syscall.h
        libexec/ld.so/sparc: syscall.h
        libexec/ld.so/sparc64: syscall.h

Log message:
Fix mmap() error checking to be correct 64-bit addresses. Consistently
use _dl_mmap_error() to check for mmap() errors. Adjust datatypes of
some local vars for 64-bit safety.

okay millert drahn