diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/setfsgid.c | 33 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/setfsuid.c | 34 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/syscalls.list | 3 |
3 files changed, 3 insertions, 67 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/setfsgid.c b/sysdeps/unix/sysv/linux/i386/setfsgid.c deleted file mode 100644 index 880f7544af..0000000000 --- a/sysdeps/unix/sysv/linux/i386/setfsgid.c +++ /dev/null @@ -1,33 +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 - <http://www.gnu.org/licenses/>. */ - -#include <errno.h> -#include <sys/types.h> -#include <sys/fsuid.h> - -#include <sysdep.h> -#include <sys/syscall.h> -#include <linux/posix_types.h> - -/* Consider moving to syscalls.list. */ - -int -setfsgid (gid_t gid) -{ - INTERNAL_SYSCALL_DECL (err); - return INTERNAL_SYSCALL (setfsgid32, err, 1, gid); -} diff --git a/sysdeps/unix/sysv/linux/i386/setfsuid.c b/sysdeps/unix/sysv/linux/i386/setfsuid.c deleted file mode 100644 index 1fd330cd0c..0000000000 --- a/sysdeps/unix/sysv/linux/i386/setfsuid.c +++ /dev/null @@ -1,34 +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 - <http://www.gnu.org/licenses/>. */ - -#include <errno.h> -#include <sys/types.h> -#include <sys/fsuid.h> - -#include <sysdep.h> -#include <sys/syscall.h> - -#include <linux/posix_types.h> - -/* Consider moving to syscalls.list. */ - -int -setfsuid (uid_t uid) -{ - INTERNAL_SYSCALL_DECL (err); - return INTERNAL_SYSCALL (setfsuid32, err, 1, uid); -} diff --git a/sysdeps/unix/sysv/linux/i386/syscalls.list b/sysdeps/unix/sysv/linux/i386/syscalls.list index f487c67de5..901501a7aa 100644 --- a/sysdeps/unix/sysv/linux/i386/syscalls.list +++ b/sysdeps/unix/sysv/linux/i386/syscalls.list @@ -12,6 +12,9 @@ getresgid - getresgid32 i:ppp __getresgid getresgid getresuid - getresuid32 i:ppp __getresuid getresuid getgroups - getgroups32 i:ip __getgroups getgroups +setfsgid - setfsgid32 Ei:i setfsgid +setfsuid - setfsuid32 Ei:i setfsuid + 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 |