Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/sys



Module Name:    src
Committed By:   dsl
Date:           Thu Nov 22 21:11:32 UTC 2007

Modified Files:
        src/lib/libc/sys: Makefile.inc adjtime.c clock_settime.c ftruncate.c
            lseek.c mmap.c ntp_adjtime.c pread.c preadv.c pwrite.c pwritev.c
            settimeofday.c truncate.c

Log Message:
Change all the syscall C 'glue' functions (most of which just add in an
extra argument to ensure that 'off_t' parameters are even numbered
parameters for stack alignment reasons on 32 bit systems) to use a normal
'syscall' wrapper for __foo instead of using __syscall(SYS_foo, ... ).
This saves all the faffing needed to get a 32bit return value on sparc.
Auto-generate the extra syscall wrappers.
Move swapon.c into the correct list (swapon() uses swapctl()).
This probably means there are very few users of syscall() and __syscall() left.


To generate a diff of this commit:
cvs rdiff -r1.180 -r1.181 src/lib/libc/sys/Makefile.inc
cvs rdiff -r1.8 -r1.9 src/lib/libc/sys/adjtime.c \
    src/lib/libc/sys/clock_settime.c src/lib/libc/sys/lseek.c \
    src/lib/libc/sys/pread.c src/lib/libc/sys/pwrite.c
cvs rdiff -r1.11 -r1.12 src/lib/libc/sys/ftruncate.c
cvs rdiff -r1.12 -r1.13 src/lib/libc/sys/mmap.c
cvs rdiff -r1.9 -r1.10 src/lib/libc/sys/ntp_adjtime.c
cvs rdiff -r1.4 -r1.5 src/lib/libc/sys/preadv.c src/lib/libc/sys/pwritev.c
cvs rdiff -r1.10 -r1.11 src/lib/libc/sys/settimeofday.c \
    src/lib/libc/sys/truncate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index