mirror of git://sourceware.org/git/glibc.git
* 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 |
||
|---|---|---|
| .. | ||
| alpha | ||
| arm | ||
| bits | ||
| cris | ||
| hppa | ||
| i386 | ||
| ia64 | ||
| m68k | ||
| mips | ||
| net | ||
| netash | ||
| netatalk | ||
| netax25 | ||
| neteconet | ||
| netinet | ||
| netipx | ||
| netpacket | ||
| netrom | ||
| netrose | ||
| nfs | ||
| powerpc | ||
| s390 | ||
| scsi | ||
| sh | ||
| sparc | ||
| sys | ||
| x86_64 | ||
| Dist | ||
| Implies | ||
| Makefile | ||
| Versions | ||
| _exit.c | ||
| a.out.h | ||
| accept.S | ||
| adjtime.c | ||
| aio_sigqueue.c | ||
| bind.S | ||
| clock.c | ||
| cmsg_nxthdr.c | ||
| configure | ||
| configure.in | ||
| connect.S | ||
| device-nrs.h | ||
| dl-brk.c | ||
| dl-librecon.h | ||
| dl-origin.c | ||
| dl-osinfo.h | ||
| dl-sbrk.c | ||
| dl-sysdep.c | ||
| errqueue.h | ||
| execve.c | ||
| exit-thread.S | ||
| fd_to_filename.h | ||
| fpathconf.c | ||
| fstatfs64.c | ||
| fstatvfs.c | ||
| fstatvfs64.c | ||
| ftime.c | ||
| ftruncate64.c | ||
| fxstat.c | ||
| fxstat64.c | ||
| gai_sigqueue.c | ||
| getclktck.c | ||
| getcwd.c | ||
| getdents.c | ||
| getdents64.c | ||
| getdirentries.c | ||
| getdirentries64.c | ||
| getdtsz.c | ||
| gethostid.c | ||
| getloadavg.c | ||
| getpagesize.c | ||
| getpeername.S | ||
| getpriority.c | ||
| getpt.c | ||
| getsockname.S | ||
| getsockopt.S | ||
| getsysstats.c | ||
| grantpt.c | ||
| if_index.c | ||
| ifreq.h | ||
| init-first.c | ||
| internal_statvfs.c | ||
| ipc_priv.h | ||
| kernel-features.h | ||
| kernel_sigaction.h | ||
| kernel_stat.h | ||
| kernel_termios.h | ||
| ldd-rewrite.sed | ||
| lddlibc4.c | ||
| ldsodefs.h | ||
| linux_fsinfo.h | ||
| listen.S | ||
| llseek.c | ||
| lseek64.c | ||
| lxstat.c | ||
| lxstat64.c | ||
| mmap64.c | ||
| msgctl.c | ||
| msgget.c | ||
| msgrcv.c | ||
| msgsnd.c | ||
| nice.c | ||
| ntp_gettime.c | ||
| opendir.c | ||
| opensock.c | ||
| pathconf.c | ||
| paths.h | ||
| poll.c | ||
| pread.c | ||
| pread64.c | ||
| profil.c | ||
| ptrace.c | ||
| ptsname.c | ||
| pwrite.c | ||
| pwrite64.c | ||
| readahead.c | ||
| readdir64.c | ||
| readdir64_r.c | ||
| readv.c | ||
| reboot.c | ||
| recv.S | ||
| recvfrom.S | ||
| recvmsg.S | ||
| rt_sigaction.c | ||
| rt_sigpending.c | ||
| rt_sigprocmask.c | ||
| rt_sigqueueinfo.c | ||
| rt_sigreturn.c | ||
| rt_sigsuspend.c | ||
| rt_sigtimedwait.c | ||
| s_pread64.c | ||
| s_pwrite64.c | ||
| sa_len.c | ||
| semctl.c | ||
| semget.c | ||
| semop.c | ||
| send.S | ||
| sendmsg.S | ||
| sendto.S | ||
| setegid.c | ||
| seteuid.c | ||
| sethostid.c | ||
| setsockopt.S | ||
| shm_open.c | ||
| shm_unlink.c | ||
| shmat.c | ||
| shmctl.c | ||
| shmdt.c | ||
| shmget.c | ||
| shutdown.S | ||
| sigaction.c | ||
| siglist.h | ||
| signal.c | ||
| sigpending.c | ||
| sigprocmask.c | ||
| sigqueue.c | ||
| sigreturn.c | ||
| sigset-cvt-mask.h | ||
| sigstack.c | ||
| sigsuspend.c | ||
| sigtimedwait.c | ||
| sigwait.c | ||
| sigwaitinfo.c | ||
| sizes.h | ||
| sleep.c | ||
| socketcall.h | ||
| socketpair.S | ||
| speed.c | ||
| statfs64.c | ||
| statvfs.c | ||
| statvfs64.c | ||
| syscalls.list | ||
| sysctl.c | ||
| system.c | ||
| tcdrain.c | ||
| tcflow.c | ||
| tcflush.c | ||
| tcgetattr.c | ||
| tcgetpgrp.c | ||
| tcsetattr.c | ||
| tcsetpgrp.c | ||
| termio.h | ||
| testrtsig.h | ||
| truncate64.c | ||
| ttyname.c | ||
| ttyname_r.c | ||
| ualarm.c | ||
| ulimit.c | ||
| umount.S | ||
| umount2.S | ||
| unlockpt.c | ||
| updwtmp.c | ||
| usleep.c | ||
| ustat.c | ||
| utmp_file.c | ||
| vfork.c | ||
| wait.c | ||
| wait3.c | ||
| waitpid.c | ||
| writev.c | ||
| xmknod.c | ||
| xstat.c | ||
| xstat64.c | ||
| xstatconv.c | ||