summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/issetugid.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/misc/issetugid.c b/src/misc/issetugid.c
new file mode 100644
index 00000000..6ffd9300
--- /dev/null
+++ b/src/misc/issetugid.c
@@ -0,0 +1,7 @@
+#include <unistd.h>
+#include "libc.h"
+
+int issetugid(void)
+{
+ return libc.secure;
+}