This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.20-126-ga4b3624


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  a4b3624d20e90e8255fb82a83ff40e9e178e0aef (commit)
      from  3574f2fdf3827d4953d19a89063e517263b5df85 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a4b3624d20e90e8255fb82a83ff40e9e178e0aef

commit a4b3624d20e90e8255fb82a83ff40e9e178e0aef
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Oct 27 12:24:42 2014 +0000

    Move setfsgid/setfsuid 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 setfsgid and setfsuid.
    
    Tested for x86.
    
    	[BZ #14138]
    	* sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
    	* sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
    	* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
    	* sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
    	* sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
    	* sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
    	* sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
    	* sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
    	* sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
    	* sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
    	* sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
    	* sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
    	* sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
    	syscall.
    	(setfsuid): Likewise.
    	* sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
    	(setfsuid): Likewise.
    	* sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
    	(setfsuid): Likewise.
    	* sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
    	Likewise.
    	(setfsuid): Likewise.
    	* sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
    	(setfsuid): Likewise.
    	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
    	Likewise.
    	(setfsuid): Likewise.

diff --git a/ChangeLog b/ChangeLog
index f97b361..151ebcf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,34 @@
+2014-10-27  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #14138]
+	* sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
+	* sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
+	* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
+	* sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
+	* sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
+	* sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
+	* sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
+	* sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
+	* sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
+	* sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
+	* sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
+	* sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
+	* sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
+	syscall.
+	(setfsuid): Likewise.
+	* sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
+	(setfsuid): Likewise.
+	* sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
+	(setfsuid): Likewise.
+	* sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
+	Likewise.
+	(setfsuid): Likewise.
+	* sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
+	(setfsuid): Likewise.
+	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
+	Likewise.
+	(setfsuid): Likewise.
+
 2014-10-27  Andreas Schwab  <schwab@suse.de>
 
 	[BZ #17501]
diff --git a/sysdeps/unix/sysv/linux/arm/setfsgid.c b/sysdeps/unix/sysv/linux/arm/setfsgid.c
deleted file mode 100644
index 0886712..0000000
--- a/sysdeps/unix/sysv/linux/arm/setfsgid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsgid.c>
diff --git a/sysdeps/unix/sysv/linux/arm/setfsuid.c b/sysdeps/unix/sysv/linux/arm/setfsuid.c
deleted file mode 100644
index a9f22eb..0000000
--- a/sysdeps/unix/sysv/linux/arm/setfsuid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsuid.c>
diff --git a/sysdeps/unix/sysv/linux/arm/syscalls.list b/sysdeps/unix/sysv/linux/arm/syscalls.list
index 15ad91e..911ed7d 100644
--- a/sysdeps/unix/sysv/linux/arm/syscalls.list
+++ b/sysdeps/unix/sysv/linux/arm/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
+
 prlimit64	EXTRA	prlimit64	i:iipp	prlimit64
 
 fanotify_mark	EXTRA	fanotify_mark	i:iiiiis	fanotify_mark
diff --git a/sysdeps/unix/sysv/linux/i386/setfsgid.c b/sysdeps/unix/sysv/linux/i386/setfsgid.c
deleted file mode 100644
index 880f754..0000000
--- 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 1fd330c..0000000
--- 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 f487c67..901501a 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
diff --git a/sysdeps/unix/sysv/linux/m68k/setfsgid.c b/sysdeps/unix/sysv/linux/m68k/setfsgid.c
deleted file mode 100644
index 0886712..0000000
--- a/sysdeps/unix/sysv/linux/m68k/setfsgid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsgid.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/setfsuid.c b/sysdeps/unix/sysv/linux/m68k/setfsuid.c
deleted file mode 100644
index a9f22eb..0000000
--- a/sysdeps/unix/sysv/linux/m68k/setfsuid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsuid.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/syscalls.list b/sysdeps/unix/sysv/linux/m68k/syscalls.list
index fec801d..6ebca16 100644
--- a/sysdeps/unix/sysv/linux/m68k/syscalls.list
+++ b/sysdeps/unix/sysv/linux/m68k/syscalls.list
@@ -13,6 +13,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
+
 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/setfsgid.c b/sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c
deleted file mode 100644
index 0886712..0000000
--- a/sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsgid.c>
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c b/sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c
deleted file mode 100644
index a9f22eb..0000000
--- a/sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsuid.c>
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list b/sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
index 2f795b6..82baf9c 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/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
+
 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/setfsgid.c b/sysdeps/unix/sysv/linux/sh/setfsgid.c
deleted file mode 100644
index 0886712..0000000
--- a/sysdeps/unix/sysv/linux/sh/setfsgid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsgid.c>
diff --git a/sysdeps/unix/sysv/linux/sh/setfsuid.c b/sysdeps/unix/sysv/linux/sh/setfsuid.c
deleted file mode 100644
index a9f22eb..0000000
--- a/sysdeps/unix/sysv/linux/sh/setfsuid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsuid.c>
diff --git a/sysdeps/unix/sysv/linux/sh/syscalls.list b/sysdeps/unix/sysv/linux/sh/syscalls.list
index 2c010c8..5fd7c9a 100644
--- a/sysdeps/unix/sysv/linux/sh/syscalls.list
+++ b/sysdeps/unix/sysv/linux/sh/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
+
 waitpid		-	waitpid		Ci:ipi	__waitpid	waitpid	__libc_waitpid
 
 prlimit64	EXTRA	prlimit64	i:iipp	prlimit64
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c b/sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c
deleted file mode 100644
index 0886712..0000000
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsgid.c>
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c b/sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c
deleted file mode 100644
index a9f22eb..0000000
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setfsuid.c>
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list b/sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
index b52616d..6240cd3 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
@@ -14,5 +14,8 @@ getresuid	-	getresuid32	3	getresuid
 getresgid	-	getresgid32	3	getresgid
 getgroups	-	getgroups32	i:ip	__getgroups	getgroups
 
+setfsgid	-	setfsgid32	Ei:i	setfsgid
+setfsuid	-	setfsuid32	Ei:i	setfsuid
+
 prlimit64	EXTRA	prlimit64	i:iipp	prlimit64
 fanotify_mark	EXTRA	fanotify_mark	i:iiiiis	fanotify_mark

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   31 ++++++++++++++++++
 sysdeps/unix/sysv/linux/arm/setfsgid.c             |    1 -
 sysdeps/unix/sysv/linux/arm/setfsuid.c             |    1 -
 sysdeps/unix/sysv/linux/arm/syscalls.list          |    3 ++
 sysdeps/unix/sysv/linux/i386/setfsgid.c            |   33 -------------------
 sysdeps/unix/sysv/linux/i386/setfsuid.c            |   34 --------------------
 sysdeps/unix/sysv/linux/i386/syscalls.list         |    3 ++
 sysdeps/unix/sysv/linux/m68k/setfsgid.c            |    1 -
 sysdeps/unix/sysv/linux/m68k/setfsuid.c            |    1 -
 sysdeps/unix/sysv/linux/m68k/syscalls.list         |    3 ++
 sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c    |    1 -
 sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c    |    1 -
 sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list |    3 ++
 sysdeps/unix/sysv/linux/sh/setfsgid.c              |    1 -
 sysdeps/unix/sysv/linux/sh/setfsuid.c              |    1 -
 sysdeps/unix/sysv/linux/sh/syscalls.list           |    3 ++
 sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c   |    1 -
 sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c   |    1 -
 .../unix/sysv/linux/sparc/sparc32/syscalls.list    |    3 ++
 19 files changed, 49 insertions(+), 77 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/arm/setfsgid.c
 delete mode 100644 sysdeps/unix/sysv/linux/arm/setfsuid.c
 delete mode 100644 sysdeps/unix/sysv/linux/i386/setfsgid.c
 delete mode 100644 sysdeps/unix/sysv/linux/i386/setfsuid.c
 delete mode 100644 sysdeps/unix/sysv/linux/m68k/setfsgid.c
 delete mode 100644 sysdeps/unix/sysv/linux/m68k/setfsuid.c
 delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c
 delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c
 delete mode 100644 sysdeps/unix/sysv/linux/sh/setfsgid.c
 delete mode 100644 sysdeps/unix/sysv/linux/sh/setfsuid.c
 delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c
 delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]