summaryrefslogtreecommitdiff
path: root/libc/misc/file/issetugid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/file/issetugid.c')
-rw-r--r--libc/misc/file/issetugid.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/misc/file/issetugid.c b/libc/misc/file/issetugid.c
new file mode 100644
index 000000000..6756a1e85
--- /dev/null
+++ b/libc/misc/file/issetugid.c
@@ -0,0 +1,10 @@
+/* Copyright (C) 2013 Gentoo Foundation
+ * Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
+ */
+
+#include <unistd.h>
+
+int issetugid(void)
+{
+ return _pe_secure;
+}