aboutsummaryrefslogtreecommitdiffstats
path: root/conf/trap/trap_ultrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'conf/trap/trap_ultrix.h')
-rw-r--r--conf/trap/trap_ultrix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/trap/trap_ultrix.h b/conf/trap/trap_ultrix.h
new file mode 100644
index 000000000000..d5cbbdbd6e95
--- /dev/null
+++ b/conf/trap/trap_ultrix.h
@@ -0,0 +1,3 @@
+/* $srcdir/conf/trap/trap_ultrix.h */
+/* arg 3 to mount(2) is rwflag */
+#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount(mnt->mnt_fsname, mnt->mnt_dir, flags & MNT2_GEN_OPT_RONLY, type, mnt_data)