From: Joseph Myers Date: Fri, 24 Oct 2014 13:01:17 +0000 (+0000) Subject: Move get*id and getgroups definitions to syscalls.list (bug 14138). X-Git-Tag: glibc-2.21~471 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8bc40386ad9767e1e4de882182b91ae57ca211c;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 2c73d153153..5b86231fa5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,90 @@ 2014-10-24 Joseph Myers + [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. + [BZ #14138] * sysdeps/unix/sysv/linux/i386/chown.c: Remove file. * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. diff --git a/sysdeps/unix/sysv/linux/arm/getegid.c b/sysdeps/unix/sysv/linux/arm/getegid.c deleted file mode 100644 index 37b4b4a5305..00000000000 --- a/sysdeps/unix/sysv/linux/arm/getegid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/arm/geteuid.c b/sysdeps/unix/sysv/linux/arm/geteuid.c deleted file mode 100644 index ebcb555b5e3..00000000000 --- a/sysdeps/unix/sysv/linux/arm/geteuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/arm/getgid.c b/sysdeps/unix/sysv/linux/arm/getgid.c deleted file mode 100644 index 0a4d6061f08..00000000000 --- a/sysdeps/unix/sysv/linux/arm/getgid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/arm/getgroups.c b/sysdeps/unix/sysv/linux/arm/getgroups.c deleted file mode 100644 index 102ea24e142..00000000000 --- a/sysdeps/unix/sysv/linux/arm/getgroups.c +++ /dev/null @@ -1,2 +0,0 @@ -/* We also have to rewrite the kernel gid_t to the user land type. */ -#include diff --git a/sysdeps/unix/sysv/linux/arm/getresgid.c b/sysdeps/unix/sysv/linux/arm/getresgid.c deleted file mode 100644 index b703a414cc2..00000000000 --- a/sysdeps/unix/sysv/linux/arm/getresgid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/arm/getresuid.c b/sysdeps/unix/sysv/linux/arm/getresuid.c deleted file mode 100644 index 0b14cefe346..00000000000 --- a/sysdeps/unix/sysv/linux/arm/getresuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/arm/getuid.c b/sysdeps/unix/sysv/linux/arm/getuid.c deleted file mode 100644 index d682c79a492..00000000000 --- a/sysdeps/unix/sysv/linux/arm/getuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/arm/syscalls.list b/sysdeps/unix/sysv/linux/arm/syscalls.list index f2133bc4046..15ad91edb97 100644 --- a/sysdeps/unix/sysv/linux/arm/syscalls.list +++ b/sysdeps/unix/sysv/linux/arm/syscalls.list @@ -4,6 +4,14 @@ chown - chown32 i:sii __chown chown lchown - lchown32 i:sii __lchown lchown fchown - fchown32 i:iii __fchown fchown +getegid - getegid32 Ei: __getegid getegid +geteuid - geteuid32 Ei: __geteuid geteuid +getgid - getgid32 Ei: __getgid getgid +getuid - getuid32 Ei: __getuid getuid +getresgid - getresgid32 i:ppp __getresgid getresgid +getresuid - getresuid32 i:ppp __getresuid getresuid +getgroups - getgroups32 i:ip __getgroups getgroups + prlimit64 EXTRA prlimit64 i:iipp prlimit64 fanotify_mark EXTRA fanotify_mark i:iiiiis fanotify_mark diff --git a/sysdeps/unix/sysv/linux/i386/getegid.c b/sysdeps/unix/sysv/linux/i386/getegid.c deleted file mode 100644 index ec56bfbcf98..00000000000 --- a/sysdeps/unix/sysv/linux/i386/getegid.c +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2000-2014 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#include -#include - -#include -#include - -/* Consider moving to syscalls.list. */ - -gid_t -__getegid (void) -{ - INTERNAL_SYSCALL_DECL (err); - return INTERNAL_SYSCALL (getegid32, err, 0); -} - -weak_alias (__getegid, getegid) diff --git a/sysdeps/unix/sysv/linux/i386/geteuid.c b/sysdeps/unix/sysv/linux/i386/geteuid.c deleted file mode 100644 index c4e794ab23f..00000000000 --- a/sysdeps/unix/sysv/linux/i386/geteuid.c +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2000-2014 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#include -#include - -#include -#include - -/* Consider moving to syscalls.list. */ - -uid_t -__geteuid (void) -{ - INTERNAL_SYSCALL_DECL (err); - return INTERNAL_SYSCALL (geteuid32, err, 0); -} - -weak_alias (__geteuid, geteuid) diff --git a/sysdeps/unix/sysv/linux/i386/getgid.c b/sysdeps/unix/sysv/linux/i386/getgid.c deleted file mode 100644 index 6ef073bb1a8..00000000000 --- a/sysdeps/unix/sysv/linux/i386/getgid.c +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2000-2014 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#include -#include - -#include -#include - -/* Consider moving to syscalls.list. */ - -gid_t -__getgid (void) -{ - INTERNAL_SYSCALL_DECL (err); - return INTERNAL_SYSCALL (getgid32, err, 0); -} - -weak_alias (__getgid, getgid) diff --git a/sysdeps/unix/sysv/linux/i386/getgroups.c b/sysdeps/unix/sysv/linux/i386/getgroups.c deleted file mode 100644 index 556fffacda7..00000000000 --- a/sysdeps/unix/sysv/linux/i386/getgroups.c +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright (C) 1997-2014 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#include -#include -#include -#include - -#include -#include - -#include - - -/* Consider moving to syscalls.list. */ - -/* For Linux we must convert the array of groups from the format that the - kernel returns. */ -int -__getgroups (int n, gid_t *groups) -{ - return INLINE_SYSCALL (getgroups32, 2, n, groups); -} - -weak_alias (__getgroups, getgroups) diff --git a/sysdeps/unix/sysv/linux/i386/getresgid.c b/sysdeps/unix/sysv/linux/i386/getresgid.c deleted file mode 100644 index f1fca1e7551..00000000000 --- a/sysdeps/unix/sysv/linux/i386/getresgid.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (C) 1998-2014 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#include -#include -#include - -#include - -#include -#include - -/* Consider moving to syscalls.list. */ - -int -__getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid) -{ - return INLINE_SYSCALL (getresgid32, 3, rgid, egid, sgid); -} -libc_hidden_def (__getresgid) -weak_alias (__getresgid, getresgid) diff --git a/sysdeps/unix/sysv/linux/i386/getresuid.c b/sysdeps/unix/sysv/linux/i386/getresuid.c deleted file mode 100644 index fff076c0ba5..00000000000 --- a/sysdeps/unix/sysv/linux/i386/getresuid.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (C) 1998-2014 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#include -#include -#include - -#include - -#include -#include - -/* Consider moving to syscalls.list. */ - -int -__getresuid (uid_t *ruid, uid_t *euid, uid_t *suid) -{ - return INLINE_SYSCALL (getresuid32, 3, ruid, euid, suid); -} -libc_hidden_def (__getresuid) -weak_alias (__getresuid, getresuid) diff --git a/sysdeps/unix/sysv/linux/i386/getuid.c b/sysdeps/unix/sysv/linux/i386/getuid.c deleted file mode 100644 index 60e24cc50da..00000000000 --- a/sysdeps/unix/sysv/linux/i386/getuid.c +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2000-2014 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#include -#include - -#include -#include - -/* Consider moving to syscalls.list. */ - -uid_t -__getuid (void) -{ - INTERNAL_SYSCALL_DECL (err); - return INTERNAL_SYSCALL (getuid32, err, 0); -} - -weak_alias (__getuid, getuid) diff --git a/sysdeps/unix/sysv/linux/i386/syscalls.list b/sysdeps/unix/sysv/linux/i386/syscalls.list index db375a8b6b4..f487c67de5e 100644 --- a/sysdeps/unix/sysv/linux/i386/syscalls.list +++ b/sysdeps/unix/sysv/linux/i386/syscalls.list @@ -4,6 +4,14 @@ chown - chown32 i:sii __chown chown@@GLIBC_2.1 lchown - lchown32 i:sii __lchown lchown@@GLIBC_2.0 chown@GLIBC_2.0 fchown - fchown32 i:iii __fchown fchown +getegid - getegid32 Ei: __getegid getegid +geteuid - geteuid32 Ei: __geteuid geteuid +getgid - getgid32 Ei: __getgid getgid +getuid - getuid32 Ei: __getuid getuid +getresgid - getresgid32 i:ppp __getresgid getresgid +getresuid - getresuid32 i:ppp __getresuid getresuid +getgroups - getgroups32 i:ip __getgroups getgroups + modify_ldt EXTRA modify_ldt i:ipi __modify_ldt modify_ldt vm86old EXTRA vm86old i:p __vm86old vm86@GLIBC_2.0 vm86 - vm86 i:ip __vm86 vm86@@GLIBC_2.3.4 diff --git a/sysdeps/unix/sysv/linux/m68k/getegid.c b/sysdeps/unix/sysv/linux/m68k/getegid.c deleted file mode 100644 index 37b4b4a5305..00000000000 --- a/sysdeps/unix/sysv/linux/m68k/getegid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/m68k/geteuid.c b/sysdeps/unix/sysv/linux/m68k/geteuid.c deleted file mode 100644 index ebcb555b5e3..00000000000 --- a/sysdeps/unix/sysv/linux/m68k/geteuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/m68k/getgid.c b/sysdeps/unix/sysv/linux/m68k/getgid.c deleted file mode 100644 index 0a4d6061f08..00000000000 --- a/sysdeps/unix/sysv/linux/m68k/getgid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/m68k/getgroups.c b/sysdeps/unix/sysv/linux/m68k/getgroups.c deleted file mode 100644 index 102ea24e142..00000000000 --- a/sysdeps/unix/sysv/linux/m68k/getgroups.c +++ /dev/null @@ -1,2 +0,0 @@ -/* We also have to rewrite the kernel gid_t to the user land type. */ -#include diff --git a/sysdeps/unix/sysv/linux/m68k/getresgid.c b/sysdeps/unix/sysv/linux/m68k/getresgid.c deleted file mode 100644 index b703a414cc2..00000000000 --- a/sysdeps/unix/sysv/linux/m68k/getresgid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/m68k/getresuid.c b/sysdeps/unix/sysv/linux/m68k/getresuid.c deleted file mode 100644 index 0b14cefe346..00000000000 --- a/sysdeps/unix/sysv/linux/m68k/getresuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/m68k/getuid.c b/sysdeps/unix/sysv/linux/m68k/getuid.c deleted file mode 100644 index d682c79a492..00000000000 --- a/sysdeps/unix/sysv/linux/m68k/getuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/m68k/syscalls.list b/sysdeps/unix/sysv/linux/m68k/syscalls.list index 7896b870b8b..fec801dc709 100644 --- a/sysdeps/unix/sysv/linux/m68k/syscalls.list +++ b/sysdeps/unix/sysv/linux/m68k/syscalls.list @@ -5,6 +5,14 @@ lchown - lchown32 i:sii __lchown lchown fchown - fchown32 i:iii __fchown fchown waitpid - waitpid Ci:ipi __waitpid waitpid __libc_waitpid +getegid - getegid32 Ei: __getegid getegid +geteuid - geteuid32 Ei: __geteuid geteuid +getgid - getgid32 Ei: __getgid getgid +getuid - getuid32 Ei: __getuid getuid +getresgid - getresgid32 i:ppp __getresgid getresgid +getresuid - getresuid32 i:ppp __getresuid getresuid +getgroups - getgroups32 i:ip __getgroups getgroups + cacheflush EXTRA cacheflush i:iiii __cacheflush cacheflush prlimit64 EXTRA prlimit64 i:iipp prlimit64 fanotify_mark EXTRA fanotify_mark i:iiiiis fanotify_mark diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/getegid.c b/sysdeps/unix/sysv/linux/s390/s390-32/getegid.c deleted file mode 100644 index 37b4b4a5305..00000000000 --- a/sysdeps/unix/sysv/linux/s390/s390-32/getegid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c b/sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c deleted file mode 100644 index ebcb555b5e3..00000000000 --- a/sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/getgid.c b/sysdeps/unix/sysv/linux/s390/s390-32/getgid.c deleted file mode 100644 index 0a4d6061f08..00000000000 --- a/sysdeps/unix/sysv/linux/s390/s390-32/getgid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c b/sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c deleted file mode 100644 index 20a7166103a..00000000000 --- a/sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c b/sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c deleted file mode 100644 index b703a414cc2..00000000000 --- a/sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c b/sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c deleted file mode 100644 index 0b14cefe346..00000000000 --- a/sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/getuid.c b/sysdeps/unix/sysv/linux/s390/s390-32/getuid.c deleted file mode 100644 index d682c79a492..00000000000 --- a/sysdeps/unix/sysv/linux/s390/s390-32/getuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list b/sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list index 7a6015af9f8..2f795b693eb 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list +++ b/sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list @@ -4,6 +4,14 @@ chown - chown32 i:sii __chown chown@@GLIBC_2.1 lchown - lchown32 i:sii __lchown lchown@@GLIBC_2.0 chown@GLIBC_2.0 fchown - fchown32 i:iii __fchown fchown +getegid - getegid32 Ei: __getegid getegid +geteuid - geteuid32 Ei: __geteuid geteuid +getgid - getgid32 Ei: __getgid getgid +getuid - getuid32 Ei: __getuid getuid +getresgid - getresgid32 i:ppp __getresgid getresgid +getresuid - getresuid32 i:ppp __getresuid getresuid +getgroups - getgroups32 i:ip __getgroups getgroups + oldgetrlimit EXTRA getrlimit i:ip __old_getrlimit getrlimit@GLIBC_2.0 setrlimit - setrlimit i:ip __setrlimit setrlimit@GLIBC_2.0 setrlimit@@GLIBC_2.2 diff --git a/sysdeps/unix/sysv/linux/sh/getegid.c b/sysdeps/unix/sysv/linux/sh/getegid.c deleted file mode 100644 index 37b4b4a5305..00000000000 --- a/sysdeps/unix/sysv/linux/sh/getegid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sh/geteuid.c b/sysdeps/unix/sysv/linux/sh/geteuid.c deleted file mode 100644 index ebcb555b5e3..00000000000 --- a/sysdeps/unix/sysv/linux/sh/geteuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sh/getgid.c b/sysdeps/unix/sysv/linux/sh/getgid.c deleted file mode 100644 index 0a4d6061f08..00000000000 --- a/sysdeps/unix/sysv/linux/sh/getgid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sh/getgroups.c b/sysdeps/unix/sysv/linux/sh/getgroups.c deleted file mode 100644 index 102ea24e142..00000000000 --- a/sysdeps/unix/sysv/linux/sh/getgroups.c +++ /dev/null @@ -1,2 +0,0 @@ -/* We also have to rewrite the kernel gid_t to the user land type. */ -#include diff --git a/sysdeps/unix/sysv/linux/sh/getresgid.c b/sysdeps/unix/sysv/linux/sh/getresgid.c deleted file mode 100644 index b703a414cc2..00000000000 --- a/sysdeps/unix/sysv/linux/sh/getresgid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sh/getresuid.c b/sysdeps/unix/sysv/linux/sh/getresuid.c deleted file mode 100644 index 0b14cefe346..00000000000 --- a/sysdeps/unix/sysv/linux/sh/getresuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sh/getuid.c b/sysdeps/unix/sysv/linux/sh/getuid.c deleted file mode 100644 index d682c79a492..00000000000 --- a/sysdeps/unix/sysv/linux/sh/getuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sh/syscalls.list b/sysdeps/unix/sysv/linux/sh/syscalls.list index 899d4e7afea..2c010c82816 100644 --- a/sysdeps/unix/sysv/linux/sh/syscalls.list +++ b/sysdeps/unix/sysv/linux/sh/syscalls.list @@ -4,6 +4,14 @@ chown - chown32 i:sii __chown chown lchown - lchown32 i:sii __lchown lchown fchown - fchown32 i:iii __fchown fchown +getegid - getegid32 Ei: __getegid getegid +geteuid - geteuid32 Ei: __geteuid geteuid +getgid - getgid32 Ei: __getgid getgid +getuid - getuid32 Ei: __getuid getuid +getresgid - getresgid32 i:ppp __getresgid getresgid +getresuid - getresuid32 i:ppp __getresuid getresuid +getgroups - getgroups32 i:ip __getgroups getgroups + waitpid - waitpid Ci:ipi __waitpid waitpid __libc_waitpid prlimit64 EXTRA prlimit64 i:iipp prlimit64 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c b/sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c deleted file mode 100644 index 37b4b4a5305..00000000000 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c b/sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c deleted file mode 100644 index ebcb555b5e3..00000000000 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c b/sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c deleted file mode 100644 index 0a4d6061f08..00000000000 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c b/sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c deleted file mode 100644 index 102ea24e142..00000000000 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c +++ /dev/null @@ -1,2 +0,0 @@ -/* We also have to rewrite the kernel gid_t to the user land type. */ -#include diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c b/sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c deleted file mode 100644 index d682c79a492..00000000000 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list b/sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list index e71a044028a..b52616dfa71 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list @@ -6,8 +6,13 @@ fchown - fchown32 i:iii __fchown fchown setrlimit - setrlimit 2 __setrlimit setrlimit getrlimit - getrlimit 2 __getrlimit getrlimit +getegid - getegid32 Ei: __getegid getegid +geteuid - geteuid32 Ei: __geteuid geteuid +getgid - getgid32 Ei: __getgid getgid +getuid - getuid32 Ei: __getuid getuid getresuid - getresuid32 3 getresuid getresgid - getresgid32 3 getresgid +getgroups - getgroups32 i:ip __getgroups getgroups prlimit64 EXTRA prlimit64 i:iipp prlimit64 fanotify_mark EXTRA fanotify_mark i:iiiiis fanotify_mark