mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
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
85 lines
3.6 KiB
Plaintext
85 lines
3.6 KiB
Plaintext
# File name Caller Syscall name Args Strong name Weak names
|
|
|
|
adjtimex adjtime adjtimex i:p __adjtimex adjtimex ntp_adjtime __adjtimex_internal
|
|
bdflush EXTRA bdflush i:ii bdflush
|
|
capget EXTRA capget i:pp capget
|
|
capset EXTRA capset i:pp capset
|
|
creat - creat i:si creat
|
|
create_module EXTRA create_module 3 create_module
|
|
delete_module EXTRA delete_module 3 delete_module
|
|
fdatasync - fdatasync i:i fdatasync
|
|
flock - flock i:ii __flock flock
|
|
fork - fork i: __libc_fork __fork fork
|
|
get_kernel_syms EXTRA get_kernel_syms i:p get_kernel_syms
|
|
getegid - getegid i: __getegid getegid
|
|
geteuid - geteuid i: __geteuid geteuid
|
|
getpgid - getpgid i:i __getpgid getpgid
|
|
getpgrp - getpgrp i: getpgrp
|
|
getppid - getppid i: __getppid getppid
|
|
getresuid - getresuid i:ppp getresuid
|
|
getresgid - getresgid i:ppp getresgid
|
|
getsid - getsid i:i getsid
|
|
init_module EXTRA init_module 5 init_module
|
|
ioperm - ioperm i:iii ioperm
|
|
iopl - iopl i:i iopl
|
|
klogctl EXTRA syslog i:isi klogctl
|
|
lchown - lchown i:sii __lchown lchown
|
|
madvise - madvise i:pii posix_madvise madvise
|
|
mincore - mincore i:anV mincore
|
|
mlock - mlock i:bn mlock
|
|
mlockall - mlockall i:i mlockall
|
|
mmap - mmap b:aniiii __mmap mmap
|
|
mount EXTRA mount i:sssip __mount mount
|
|
mremap EXTRA mremap b:aini __mremap mremap
|
|
munlock - munlock i:ai munlock
|
|
munlockall - munlockall i: munlockall
|
|
nanosleep - nanosleep i:pp __libc_nanosleep __nanosleep nanosleep
|
|
nfsservctl EXTRA nfsservctl i:ipp nfsservctl
|
|
pause - pause i: __libc_pause pause
|
|
personality init-first personality i:i __personality personality
|
|
pipe - pipe i:f __pipe pipe
|
|
pivot_root EXTRA pivot_root i:ss pivot_root
|
|
prctl EXTRA prctl i:iiiii prctl
|
|
query_module EXTRA query_module i:sipip query_module
|
|
quotactl EXTRA quotactl i:isip quotactl
|
|
sched_getaffinity - sched_getaffinity i:iip sched_getaffinity
|
|
sched_getp - sched_getparam i:ip __sched_getparam sched_getparam
|
|
sched_gets - sched_getscheduler i:i __sched_getscheduler sched_getscheduler
|
|
sched_primax - sched_get_priority_max i:i __sched_get_priority_max sched_get_priority_max
|
|
sched_primin - sched_get_priority_min i:i __sched_get_priority_min sched_get_priority_min
|
|
sched_rr_gi - sched_rr_get_interval i:ip __sched_rr_get_interval sched_rr_get_interval
|
|
sched_setaffinity - sched_setaffinity i:iip sched_setaffinity
|
|
sched_setp - sched_setparam i:ip __sched_setparam sched_setparam
|
|
sched_sets - sched_setscheduler i:iip __sched_setscheduler sched_setscheduler
|
|
sched_yield - sched_yield i: __sched_yield sched_yield
|
|
select - _newselect i:iPPPP __select select
|
|
sendfile - sendfile i:iipi sendfile
|
|
sendfile64 - sendfile64 i:iipi sendfile64
|
|
setfsgid EXTRA setfsgid i:i setfsgid
|
|
setfsuid EXTRA setfsuid i:i setfsuid
|
|
setpgid - setpgid i:ii __setpgid setpgid
|
|
setresuid - setresuid i:iii __setresuid setresuid
|
|
setresgid - setresgid i:iii __setresgid setresgid
|
|
sigaltstack - sigaltstack i:PP __sigaltstack sigaltstack
|
|
sysinfo EXTRA sysinfo i:p sysinfo
|
|
swapon - swapon i:si __swapon swapon
|
|
swapoff - swapoff i:s __swapoff swapoff
|
|
uselib EXTRA uselib i:s uselib
|
|
wait4 - wait4 i:iWiP __wait4 wait4
|
|
|
|
chown - chown i:sii __libc_chown __chown chown
|
|
fcntl - fcntl i:iiF __libc_fcntl __fcntl fcntl
|
|
|
|
setxattr EXTRA setxattr i:sspii setxattr
|
|
lsetxattr EXTRA lsetxattr i:sspii lsetxattr
|
|
fsetxattr EXTRA fsetxattr i:ispii fsetxattr
|
|
getxattr EXTRA getxattr i:sspi getxattr
|
|
lgetxattr EXTRA lgetxattr i:sspi lgetxattr
|
|
fgetxattr EXTRA fgetxattr i:ispi fgetxattr
|
|
listxattr EXTRA listxattr i:ssi listxattr
|
|
llistxattr EXTRA llistxattr i:ssi llistxattr
|
|
flistxattr EXTRA flistxattr i:isi flistxattr
|
|
removexattr EXTRA removexattr i:ss removexattr
|
|
lremovexattr EXTRA lremovexattr i:ss lremovexattr
|
|
fremovexattr EXTRA fremovexattr i:is fremovexattr
|