summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryrevoke.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/tryrevoke.c')
-rw-r--r--src/sysdeps/tryrevoke.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sysdeps/tryrevoke.c b/src/sysdeps/tryrevoke.c
new file mode 100644
index 0000000..9cbc615
--- /dev/null
+++ b/src/sysdeps/tryrevoke.c
@@ -0,0 +1,7 @@
+/* ISC license. */
+
+#undef _POSIX_C_SOURCE
+#undef _XOPEN_SOURCE
+
+#include <unistd.h>
+int main () { return revoke("/") ; }