mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00: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
79 lines
3.5 KiB
Plaintext
79 lines
3.5 KiB
Plaintext
# File name Caller Syscall name # args Strong name Weak names
|
|
|
|
oldmsgctl EXTRA msgctl 3 __old_msgctl msgctl@GLIBC_2.0
|
|
msgget - msgget 2 __msgget msgget
|
|
msgrcv - msgrcv 5 __msgrcv msgrcv
|
|
msgsnd - msgsnd 4 __msgsnd msgsnd
|
|
shmat - osf_shmat 3 __shmat shmat
|
|
oldshmctl EXTRA shmctl 3 __old_shmctl shmctl@GLIBC_2.0
|
|
shmdt - shmdt 1 __shmdt shmdt
|
|
shmget - shmget 3 __shmget shmget
|
|
semop - semop 3 __semop semop
|
|
semget - semget 3 __semget semget
|
|
oldsemctl EXTRA semctl 4 __old_semctl semctl@GLIBC_2.0
|
|
|
|
osf_sigprocmask - osf_sigprocmask 2 __osf_sigprocmask
|
|
sigstack - sigstack 2 sigstack
|
|
vfork - vfork 0 __vfork vfork
|
|
|
|
getpeername - getpeername 3 __getpeername getpeername
|
|
getpriority - getpriority 2 __getpriority getpriority
|
|
mmap - mmap 6 __mmap mmap __mmap64 mmap64
|
|
llseek EXTRA lseek 3 __libc_lseek64 __llseek llseek __lseek64 lseek64
|
|
pread - pread 4 __libc_pread __libc_pread64 __pread pread __pread64 pread64
|
|
pwrite - pwrite 4 __libc_pwrite __libc_pwrite64 __pwrite pwrite __pwrite64 pwrite64
|
|
fstatfs - fstatfs 2 __fstatfs fstatfs __fstatfs64 fstatfs64
|
|
statfs - statfs 2 __statfs statfs statfs64
|
|
getrlimit - getrlimit 2 __getrlimit getrlimit getrlimit64
|
|
setrlimit - setrlimit 2 __setrlimit setrlimit64 setrlimit
|
|
ftruncate - ftruncate 2 __ftruncate ftruncate __ftruncate64 ftruncate64
|
|
truncate - truncate 2 truncate truncate64
|
|
readahead EXTRA readahead 3 __readahead readahead
|
|
sendfile - sendfile i:iipi sendfile sendfile64
|
|
|
|
# these are actually common with the x86:
|
|
sys_ustat ustat ustat 2 __syscall_ustat
|
|
sys_mknod xmknod mknod 3 __syscall_mknod
|
|
|
|
# proper socket implementations:
|
|
accept - accept 3 __libc_accept __accept accept
|
|
bind - bind 3 __bind bind
|
|
connect - connect 3 __libc_connect __connect_internal __connect connect
|
|
getpeername - getpeername 3 __getpeername getpeername
|
|
getsockname - getsockname 3 __getsockname getsockname
|
|
getsockopt - getsockopt 5 __getsockopt getsockopt
|
|
listen - listen 2 __listen listen
|
|
recv - recv 4 __libc_recv __recv recv
|
|
recvfrom - recvfrom 6 __libc_recvfrom __recvfrom recvfrom
|
|
recvmsg - recvmsg 3 __libc_recvmsg __recvmsg recvmsg
|
|
ptrace - ptrace 4 __ptrace ptrace
|
|
send - send 4 __libc_send __send send
|
|
sendmsg - sendmsg 3 __libc_sendmsg __sendmsg sendmsg
|
|
sendto - sendto 6 __libc_sendto __sendto sendto
|
|
setsockopt - setsockopt 5 __setsockopt setsockopt
|
|
shutdown - shutdown 2 __shutdown shutdown
|
|
socket - socket 3 __socket socket
|
|
socketpair - socketpair 4 __socketpair socketpair
|
|
|
|
# access pci space protected from machine checks:
|
|
pciconfig_read EXTRA pciconfig_read 5 pciconfig_read
|
|
pciconfig_write EXTRA pciconfig_write 5 pciconfig_write
|
|
pciconfig_iobase EXTRA pciconfig_iobase 3 __pciconfig_iobase pciconfig_iobase
|
|
|
|
# Wrapper for adjtimex.
|
|
adjtimex - syscall_adjtimex 1 __syscall_adjtimex syscall_adjtimex
|
|
|
|
# support old timeval32 entry points
|
|
osf_select - osf_select 5 __select_tv32 __select@GLIBC_2.0 select@GLIBC_2.0
|
|
osf_gettimeofday - osf_gettimeofday 2 __gettimeofday_tv32 __gettimeofday@GLIBC_2.0 gettimeofday@GLIBC_2.0
|
|
osf_settimeofday - osf_settimeofday 2 __settimeofday_tv32 settimeofday@GLIBC_2.0
|
|
osf_getitimer - osf_getitimer 2 __getitimer_tv32 getitimer@GLIBC_2.0
|
|
osf_setitimer - osf_setitimer 3 __setitimer_tv32 setitimer@GLIBC_2.0
|
|
osf_utimes - osf_utimes 2 __utimes_tv32 utimes@GLIBC_2.0
|
|
osf_getrusage - osf_getrusage 2 __getrusage_tv32 getrusage@GLIBC_2.0
|
|
osf_wait4 - osf_wait4 2 __wait4_tv32 wait4@GLIBC_2.0
|
|
old_adjtimex - old_adjtimex 1 __adjtimex_tv32 __adjtimex@GLIBC_2.0 adjtimex@GLIBC_2.0
|
|
|
|
# and one for timeval64 entry points
|
|
adjtimex adjtime adjtimex 1 __syscall_adjtimex_tv64
|