aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/posix_opt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/posix_opt.h')
-rw-r--r--sysdeps/mach/hurd/posix_opt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/posix_opt.h b/sysdeps/mach/hurd/posix_opt.h
index 75a07e1539..045b4b6666 100644
--- a/sysdeps/mach/hurd/posix_opt.h
+++ b/sysdeps/mach/hurd/posix_opt.h
@@ -1,3 +1,12 @@
+/* Posix options supported by the GNU Hurd port of GNU libc. */
+
+#define _POSIX_JOB_CONTROL 1
+#define _POSIX_SAVED_IDS 1
+#define _POSIX_VDISABLE ((unsigned char) -1)
+
+/* Different Hurd filesystems might do these differently. */
+#undef _POSIX_CHOWN_RESTRICTED
+#undef _POSIX_NO_TRUNC
/* Posix options supported by the GNU Hurd port of GNU libc. */
#define _POSIX_JOB_CONTROL 1