From 6e86f21f71453d22341125b5dc5f0789ec0f85a5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 13 Aug 2002 00:22:49 +0000 Subject: 2002-08-13 Jakub Jelinek * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. * sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def. * sysdeps/generic/setegid.c (setegid): Likewise. * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise. * sysdeps/mach/hurd/setegid.c (setegid): Likewise. * sysdeps/unix/bsd/seteuid.c (seteuid): Likewise. * sysdeps/unix/bsd/setegid.c (setegid): Likewise. * sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise. * sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise. * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise. * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise. * sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise. * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise. Remove fallback if __ASSUME_SETRESUID_SYSCALL. --- sysdeps/generic/setegid.c | 5 ++--- sysdeps/generic/seteuid.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'sysdeps/generic') diff --git a/sysdeps/generic/setegid.c b/sysdeps/generic/setegid.c index f2f2529a2b..5b5e2cf4bb 100644 --- a/sysdeps/generic/setegid.c +++ b/sysdeps/generic/setegid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1992,1994,1995,1996,1997,2002 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 @@ -27,7 +27,6 @@ setegid (gid) __set_errno (ENOSYS); return -1; } - - +libc_hidden_def (setegid) stub_warning (setegid) #include diff --git a/sysdeps/generic/seteuid.c b/sysdeps/generic/seteuid.c index dbfa15bedb..689000f993 100644 --- a/sysdeps/generic/seteuid.c +++ b/sysdeps/generic/seteuid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1995, 1996, 1997, 2002 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 @@ -27,7 +27,6 @@ seteuid (uid) __set_errno (ENOSYS); return -1; } - - +libc_hidden_def (seteuid) stub_warning (seteuid) #include -- cgit 1.4.1