mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-19 11:30:06 +00:00
cd090f718f
2000-02-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/getresgid.c: Move... * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here. (getresgid): Use getresgid32 if __libc_missing_32bit_uids is -1 or 0. * sysdeps/unix/sysv/linux/getresuid.c: Move... * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here. (getresuid): Use getresuid32 if __libc_missing_32bit_uids is -1 or 0. * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate __libc_missing_32bit_uids. (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is -1 or 0. * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise. * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise. * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise. * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise. * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise. * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise. * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise. * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise. * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise. * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise. * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise. * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise. * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise. * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise. * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise. * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise. * sysdeps/unix/sysv/linux/arm/getresuid.c: New file. * sysdeps/unix/sysv/linux/arm/getresgid.c: New file. * sysdeps/unix/sysv/linux/arm/msgctl.c: New file. * sysdeps/unix/sysv/linux/arm/semctl.c: New file. * sysdeps/unix/sysv/linux/arm/shmctl.c: New file. * sysdeps/unix/sysv/linux/i386/msgctl.c: New file. * sysdeps/unix/sysv/linux/i386/semctl.c: New file. * sysdeps/unix/sysv/linux/i386/shmctl.c: New file. * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file. * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file. * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file. * sysdeps/unix/sysv/linux/m68k/semctl.c: New file. * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file. * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid): Make syscall directly, no stubs needed. (getresgid): Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid): Likewise. (getresgid): Likewise.
82 lines
3.2 KiB
Plaintext
82 lines
3.2 KiB
Plaintext
# File name Caller Syscall name # args Strong name Weak names
|
|
|
|
#
|
|
# Calls for compatibility with existing MIPS OS implementations and
|
|
# compilers.
|
|
#
|
|
cachectl - cachectl 3 __cachectl cachectl
|
|
cacheflush - cacheflush 3 _flush_cache cacheflush
|
|
sysmips - sysmips 4 __sysmips sysmips
|
|
|
|
# override select.S in parent directory:
|
|
select - select 5 __select select
|
|
sigsuspend - sigsuspend 1 __sigsuspend sigsuspend
|
|
|
|
#
|
|
# Socket functions; Linux/MIPS doesn't use the socketcall(2) wrapper;
|
|
# it's provided for compatibility, though.
|
|
#
|
|
accept - accept 3 __libc_accept __accept accept
|
|
bind - bind 3 __bind bind
|
|
connect - connect 3 __libc_connect __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
|
|
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
|
|
|
|
#
|
|
# These are defined locally because the caller is also defined in this dir.
|
|
#
|
|
s_llseek llseek _llseek 5 __syscall__llseek
|
|
s_sigaction sigaction sigaction 3 __syscall_sigaction
|
|
s_ustat ustat ustat 2 __syscall_ustat
|
|
sys_mknod xmknod mknod 3 __syscall_mknod
|
|
|
|
# System calls with wrappers.
|
|
rt_sigaction - rt_sigaction 4 __syscall_rt_sigaction
|
|
rt_sigpending - rt_sigpending 2 __syscall_rt_sigpending
|
|
rt_sigprocmask - rt_sigprocmask 4 __syscall_rt_sigprocmask
|
|
rt_sigqueueinfo - rt_sigqueueinfo 3 __syscall_rt_sigqueueinfo
|
|
rt_sigsuspend - rt_sigsuspend 2 __syscall_rt_sigsuspend
|
|
rt_sigtimedwait - rt_sigtimedwait 4 __syscall_rt_sigtimedwait
|
|
s_execve execve execve 3 __syscall_execve
|
|
s_fstat64 fxstat64 fstat64 2 __syscall_fstat64
|
|
s_ftruncate64 ftruncate64 ftruncate64 3 __syscall_ftruncate64
|
|
s_getcwd getcwd getcwd 2 __syscall_getcwd
|
|
s_getdents getdents getdents 3 __syscall_getdents
|
|
s_getpmsg getpmsg getpmsg 5 __syscall_getpmsg
|
|
s_getpriority getpriority getpriority 2 __syscall_getpriority
|
|
getresgid - getresgid 3 getresgid
|
|
getresuid - getresuid 3 getresuid
|
|
s_ipc msgget ipc 5 __syscall_ipc
|
|
s_lstat64 lxstat64 lstat64 2 __syscall_lstat64
|
|
s_poll poll poll 3 __syscall_poll
|
|
s_pread64 pread64 pread 6 __syscall_pread
|
|
s_putpmsg putpmsg putpmsg 5 __syscall_putpmsg
|
|
s_ptrace ptrace ptrace 4 __syscall_ptrace
|
|
s_pwrite64 pwrite64 pwrite 6 __syscall_pwrite
|
|
s_reboot reboot reboot 3 __syscall_reboot
|
|
s_setrlimit setrlimit setrlimit 3 __syscall_setrlimit
|
|
s_sigpending sigpending sigpending 1 __syscall_sigpending
|
|
s_sigprocmask sigprocmask sigprocmask 3 __syscall_sigprocmask
|
|
s_stat64 xstat64 stat64 2 __syscall_stat64
|
|
s_truncate64 truncate64 truncate64 3 __syscall_truncate64
|
|
|
|
# Todo: we can pass 6 args in registers, no need for the wrapper
|
|
sysctl sysctl _sysctl 1 __syscall_sysctl
|
|
sys_fstat fxstat fstat 2 __syscall_fstat
|
|
sys_lstat lxstat lstat 2 __syscall_lstat
|
|
sys_readv readv readv 3 __syscall_readv
|
|
sys_stat xstat stat 2 __syscall_stat
|
|
sys_writev writev writev 3 __syscall_writev
|