cleaning up syscalls in preparation for x86_64 port
authorRich Felker <dalias@aerifal.cx>
Mon, 14 Feb 2011 03:45:42 +0000 (22:45 -0500)
committerRich Felker <dalias@aerifal.cx>
Mon, 14 Feb 2011 03:45:42 +0000 (22:45 -0500)
commit2cdfb7ca26f46f151afbc23d5d94fc68597137f5
tree0baa2cd0776f2a44997950e0bc8ab646dc2067b2
parent978ca016593077d27cc2a828f21c5e45e57074aa
cleaning up syscalls in preparation for x86_64 port

- hide all the legacy xxxxxx32 name cruft in syscall.h so the actual
source files can be clean and uniform across all archs.

- cleanup llseek/lseek and mmap2/mmap handling for 32/64 bit systems

- alternate implementation for nice if the target lacks nice syscall
18 files changed:
src/internal/syscall.h
src/linux/setgroups.c
src/mman/mmap.c
src/stdio/__stdio_seek.c
src/unistd/chown.c
src/unistd/fchown.c
src/unistd/getegid.c
src/unistd/geteuid.c
src/unistd/getgid.c
src/unistd/getgroups.c
src/unistd/getuid.c
src/unistd/lchown.c
src/unistd/lseek.c
src/unistd/nice.c
src/unistd/setgid.c
src/unistd/setregid.c
src/unistd/setreuid.c
src/unistd/setuid.c