Move get*id and getgroups definitions to syscalls.list (bug 14138).
authorJoseph Myers <joseph@codesourcery.com>
Fri, 24 Oct 2014 13:01:17 +0000 (13:01 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 24 Oct 2014 13:01:17 +0000 (13:01 +0000)
commitc8bc40386ad9767e1e4de882182b91ae57ca211c
tree4240d5071566091d930e233aaba3db3261e765cd
parent48eb7a94e292efcbbd74902322252a99cbf74fb9
Move get*id and getgroups definitions to syscalls.list (bug 14138).

Continuing the move of syscall definitions to syscalls.list, where the
removal of support for old kernel versions has made this possible,
this patch moves various definitions of get*id functions and
getgroups.  The previous C definitions were because of the transition
to 32-bit uids and gids.

Tested for x86.

[BZ #14138]
* sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
* sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
* sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
* sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
* sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
syscall.
(geteuid): Likewise.
(getgid): Likewise.
(getuid): Likewise.
(getresgid): Likewise.
(getresuid): Likewise.
(getgroups): Likewise.
* sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
(geteuid): Likewise.
(getgid): Likewise.
(getuid): Likewise.
(getresgid): Likewise.
(getresuid): Likewise.
(getgroups): Likewise.
* sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
(geteuid): Likewise.
(getgid): Likewise.
(getuid): Likewise.
(getresgid): Likewise.
(getresuid): Likewise.
(getgroups): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
Likewise.
(geteuid): Likewise.
(getgid): Likewise.
(getuid): Likewise.
(getresgid): Likewise.
(getresuid): Likewise.
(getgroups): Likewise.
* sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
(geteuid): Likewise.
(getgid): Likewise.
(getuid): Likewise.
(getresgid): Likewise.
(getresuid): Likewise.
(getgroups): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
Likewise.
(geteuid): Likewise.
(getgid): Likewise.
(getuid): Likewise.
(getgroups): Likewise.
47 files changed:
ChangeLog
sysdeps/unix/sysv/linux/arm/getegid.c [deleted file]
sysdeps/unix/sysv/linux/arm/geteuid.c [deleted file]
sysdeps/unix/sysv/linux/arm/getgid.c [deleted file]
sysdeps/unix/sysv/linux/arm/getgroups.c [deleted file]
sysdeps/unix/sysv/linux/arm/getresgid.c [deleted file]
sysdeps/unix/sysv/linux/arm/getresuid.c [deleted file]
sysdeps/unix/sysv/linux/arm/getuid.c [deleted file]
sysdeps/unix/sysv/linux/arm/syscalls.list
sysdeps/unix/sysv/linux/i386/getegid.c [deleted file]
sysdeps/unix/sysv/linux/i386/geteuid.c [deleted file]
sysdeps/unix/sysv/linux/i386/getgid.c [deleted file]
sysdeps/unix/sysv/linux/i386/getgroups.c [deleted file]
sysdeps/unix/sysv/linux/i386/getresgid.c [deleted file]
sysdeps/unix/sysv/linux/i386/getresuid.c [deleted file]
sysdeps/unix/sysv/linux/i386/getuid.c [deleted file]
sysdeps/unix/sysv/linux/i386/syscalls.list
sysdeps/unix/sysv/linux/m68k/getegid.c [deleted file]
sysdeps/unix/sysv/linux/m68k/geteuid.c [deleted file]
sysdeps/unix/sysv/linux/m68k/getgid.c [deleted file]
sysdeps/unix/sysv/linux/m68k/getgroups.c [deleted file]
sysdeps/unix/sysv/linux/m68k/getresgid.c [deleted file]
sysdeps/unix/sysv/linux/m68k/getresuid.c [deleted file]
sysdeps/unix/sysv/linux/m68k/getuid.c [deleted file]
sysdeps/unix/sysv/linux/m68k/syscalls.list
sysdeps/unix/sysv/linux/s390/s390-32/getegid.c [deleted file]
sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c [deleted file]
sysdeps/unix/sysv/linux/s390/s390-32/getgid.c [deleted file]
sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c [deleted file]
sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c [deleted file]
sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c [deleted file]
sysdeps/unix/sysv/linux/s390/s390-32/getuid.c [deleted file]
sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
sysdeps/unix/sysv/linux/sh/getegid.c [deleted file]
sysdeps/unix/sysv/linux/sh/geteuid.c [deleted file]
sysdeps/unix/sysv/linux/sh/getgid.c [deleted file]
sysdeps/unix/sysv/linux/sh/getgroups.c [deleted file]
sysdeps/unix/sysv/linux/sh/getresgid.c [deleted file]
sysdeps/unix/sysv/linux/sh/getresuid.c [deleted file]
sysdeps/unix/sysv/linux/sh/getuid.c [deleted file]
sysdeps/unix/sysv/linux/sh/syscalls.list
sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c [deleted file]
sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c [deleted file]
sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c [deleted file]
sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c [deleted file]
sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c [deleted file]
sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list