[Glibc-bsd-commits] r4807 - in trunk/glibc-ports/kfreebsd: bits fbtl/bits linuxthreads/bits

Petr Salinger ps-guest at alioth.debian.org
Sun Jul 28 16:09:49 UTC 2013


Author: ps-guest
Date: 2013-07-28 16:09:49 +0000 (Sun, 28 Jul 2013)
New Revision: 4807

Added:
   trunk/glibc-ports/kfreebsd/bits/os-unistd.h
Modified:
   trunk/glibc-ports/kfreebsd/bits/posix_opt.h
   trunk/glibc-ports/kfreebsd/fbtl/bits/posix_opt.h
   trunk/glibc-ports/kfreebsd/linuxthreads/bits/posix_opt.h
Log:
provide prototype of issetugid()


Added: trunk/glibc-ports/kfreebsd/bits/os-unistd.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/os-unistd.h	                        (rev 0)
+++ trunk/glibc-ports/kfreebsd/bits/os-unistd.h	2013-07-28 16:09:49 UTC (rev 4807)
@@ -0,0 +1,8 @@
+
+__BEGIN_DECLS
+
+/* whether is current process tainted by uid or gid changes */
+extern int issetugid(void) __THROW;
+
+__END_DECLS
+          
\ No newline at end of file

Modified: trunk/glibc-ports/kfreebsd/bits/posix_opt.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/posix_opt.h	2013-07-28 14:47:57 UTC (rev 4806)
+++ trunk/glibc-ports/kfreebsd/bits/posix_opt.h	2013-07-28 16:09:49 UTC (rev 4807)
@@ -24,6 +24,8 @@
 #ifndef	_BITS_POSIX_OPT_H
 #define	_BITS_POSIX_OPT_H	1
 
+#include <bits/os-unistd.h> 
+
 /* Job control is supported.  */
 #define	_POSIX_JOB_CONTROL	1
 

Modified: trunk/glibc-ports/kfreebsd/fbtl/bits/posix_opt.h
===================================================================
--- trunk/glibc-ports/kfreebsd/fbtl/bits/posix_opt.h	2013-07-28 14:47:57 UTC (rev 4806)
+++ trunk/glibc-ports/kfreebsd/fbtl/bits/posix_opt.h	2013-07-28 16:09:49 UTC (rev 4807)
@@ -24,6 +24,8 @@
 #ifndef	_BITS_POSIX_OPT_H
 #define	_BITS_POSIX_OPT_H	1
 
+#include <bits/os-unistd.h>
+
 /* Job control is supported.  */
 #define	_POSIX_JOB_CONTROL	1
 

Modified: trunk/glibc-ports/kfreebsd/linuxthreads/bits/posix_opt.h
===================================================================
--- trunk/glibc-ports/kfreebsd/linuxthreads/bits/posix_opt.h	2013-07-28 14:47:57 UTC (rev 4806)
+++ trunk/glibc-ports/kfreebsd/linuxthreads/bits/posix_opt.h	2013-07-28 16:09:49 UTC (rev 4807)
@@ -24,6 +24,8 @@
 #ifndef	_BITS_POSIX_OPT_H
 #define	_BITS_POSIX_OPT_H	1
 
+#include <bits/os-unistd.h> 
+
 /* Job control is supported.  */
 #define	_POSIX_JOB_CONTROL	1
 




More information about the Glibc-bsd-commits mailing list