747bf98ea9
* sysdeps/mach/hurd/getresuid.c: New file. * sysdeps/mach/hurd/getresgid.c: New file. * sysdeps/mach/hurd/setresuid.c: New file. * sysdeps/mach/hurd/setresgid.c: New file. * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid, setresgid): Declare them. * NEWS: Mention it. * include/unistd.h (__getresuid, __getresgid, __setresuid, __setresgid): Declare them, add libc_hidden_proto. * posix/Versions (libc: GLIBC_2.3.2): New set. Add getresuid, getresgid, setresuid, setresgid here. * Versions.def (libc): Define GLIBC_2.3.2 set. * sysdeps/generic/getresuid.c (__getresuid): Fix argument types. Add libc_hidden_def. * sysdeps/generic/getresgid.c (__getresgid): Likewise. * sysdeps/generic/setresgid.c: New file. * sysdeps/generic/setresuid.c: New file. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] (sysdep_routines): Don't add getresuid and getresgid here. * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc] (sysdep_routines): Don't add setresuid and setresgid here. * sysdeps/unix/sysv/linux/cris/Makefile: Likewise. * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. * posix/Makefile (routines): Add them all here instead. * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to __getresuid. Add libc_hidden_def for that, and weak alias to old name. * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to __getresgid. Add libc_hidden_def for that, and weak alias to old name. * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def. [! __NR_setresuid]: Include generic file. * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to __setresgid. Add libc_hidden_def for that, and weak alias to old name. [! __NR_setresuid]: Include generic file. * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid): Caller is - now, not EXTRA. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid, setresgid, getresuid, getresgid): Likewise. * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid): Add these calls here. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] (sysdep_routines): Add setfsuid and setfsgid here. * sysdeps/unix/sysv/linux/arm/Makefile: Not here. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise. * sysdeps/unix/sysv/linux/cris/Makefile: Likewise. * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. * hurd/errno.c: Renamed to ... * hurd/errno-loc.c: ... this. * hurd/Makefile (routines): errno -> errno-loc
53 lines
2.6 KiB
Plaintext
53 lines
2.6 KiB
Plaintext
# File name Caller Syscall name # args Strong name Weak names
|
|
|
|
# System calls with wrappers.
|
|
s_ioctl ioctl ioctl i:iiI __syscall_ioctl
|
|
s_ipc msgget ipc i:iiiip __syscall_ipc
|
|
s_llseek llseek _llseek i:iiipi __syscall__llseek
|
|
s_readahead readahead readahead i:iiii __syscall_readahead
|
|
s_chown chown chown i:sii __syscall_chown
|
|
s_execve execve execve i:spp __syscall_execve
|
|
rt_sigaction - rt_sigaction i:ippi __syscall_rt_sigaction
|
|
rt_sigpending - rt_sigpending i:pi __syscall_rt_sigpending
|
|
rt_sigprocmask - rt_sigprocmask i:ippi __syscall_rt_sigprocmask
|
|
rt_sigqueueinfo - rt_sigqueueinfo i:iip __syscall_rt_sigqueueinfo
|
|
rt_sigsuspend - rt_sigsuspend i:pi __syscall_rt_sigsuspend
|
|
rt_sigtimedwait - rt_sigtimedwait i:pppi __syscall_rt_sigtimedwait
|
|
s_fcntl fcntl fcntl i:iiF __syscall_fcntl
|
|
s_fcntl64 fcntl64 fcntl64 i:iiF __syscall_fcntl64
|
|
s_fstat64 fxstat64 fstat64 i:ip __syscall_fstat64
|
|
s_ftruncate64 ftruncate64 ftruncate64 i:iii __syscall_ftruncate64
|
|
s_getcwd getcwd getcwd i:pi __syscall_getcwd
|
|
s_getdents getdents getdents i:ipi __syscall_getdents
|
|
s_getdents64 getdents getdents64 i:ipi __syscall_getdents64
|
|
s_getpmsg getpmsg getpmsg i:ipppp __syscall_getpmsg
|
|
s_getpriority getpriority getpriority i:ii __syscall_getpriority
|
|
s_getrlimit getrlimit getrlimit i:ip __syscall_getrlimit
|
|
s_lstat64 lxstat64 lstat64 i:sp __syscall_lstat64
|
|
s_mmap2 mmap64 mmap2 b:aniiii __syscall_mmap2
|
|
s_poll poll poll i:pii __syscall_poll
|
|
s_pread64 pread64 pread i:ibnii __syscall_pread
|
|
s_ptrace ptrace ptrace i:iipp __syscall_ptrace
|
|
s_putpmsg putpmsg putpmsg i:ippii __syscall_putpmsg
|
|
s_pwrite64 pwrite64 pwrite i:ibnii __syscall_pwrite
|
|
s_reboot reboot reboot i:iii __syscall_reboot
|
|
s_setrlimit setrlimit setrlimit i:ip __syscall_setrlimit
|
|
s_sigaction sigaction sigaction i:ipp __syscall_sigaction
|
|
s_sigpending sigpending sigpending i:p __syscall_sigpending
|
|
s_sigprocmask sigprocmask sigprocmask i:ipp __syscall_sigprocmask
|
|
s_sigsuspend sigsuspend sigsuspend i:iii __syscall_sigsuspend
|
|
s_stat64 xstat64 stat64 i:sp __syscall_stat64
|
|
s_sysctl sysctl _sysctl i:p __syscall__sysctl
|
|
s_truncate64 truncate64 truncate64 i:sii __syscall_truncate64
|
|
s_ugetrlimit getrlimit ugetrlimit i:ip __syscall_ugetrlimit
|
|
s_ustat ustat ustat i:ip __syscall_ustat
|
|
s_vfork vfork vfork i: __syscall_vfork
|
|
sys_fstat fxstat fstat i:ip __syscall_fstat
|
|
sys_lstat lxstat lstat i:sp __syscall_lstat
|
|
sys_mknod xmknod mknod i:pii __syscall_mknod
|
|
sys_readv readv readv i:ipi __syscall_readv
|
|
sys_stat xstat stat i:sp __syscall_stat
|
|
sys_writev writev writev i:ipi __syscall_writev
|
|
oldgetrlimit EXTRA getrlimit i:ip __old_getrlimit getrlimit@GLIBC_2.0
|
|
oldsetrlimit EXTRA setrlimit i:ip __old_setrlimit setrlimit@GLIBC_2.0
|