summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2016-03-30 15:58:54 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2016-03-30 15:58:54 +0000
commitaa7afde9406d782fdb50ae445f5a8f414336b639 (patch)
tree65ebaf8e1da40f6e9a3b4cf4e6d0f8dcf8bcb5d3
parent0a1c3e459fd71f967f5c2a8f8adba62e4333fc06 (diff)
downloadillumos-joyent-aa7afde9406d782fdb50ae445f5a8f414336b639.tar.gz
OS-5273 lxbrand - mount tmpfs option noauto is not supported in alpine
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
-rw-r--r--usr/src/lib/brand/lx/lx_brand/sys/lx_mount.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/src/lib/brand/lx/lx_brand/sys/lx_mount.h b/usr/src/lib/brand/lx/lx_brand/sys/lx_mount.h
index 32bfb21ff1..074a6017c6 100644
--- a/usr/src/lib/brand/lx/lx_brand/sys/lx_mount.h
+++ b/usr/src/lib/brand/lx/lx_brand/sys/lx_mount.h
@@ -22,7 +22,7 @@
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
- * Copyright 2015 Joyent, Inc.
+ * Copyright 2016 Joyent, Inc.
*/
#ifndef _LX_MOUNT_H
@@ -67,12 +67,20 @@ extern int lx_nfs_mount(char *, char *, char *, int, char *);
#define LX_MS_I_VERSION 0x00800000
#define LX_MS_STRICTATIME 0x01000000
#define LX_MS_LAZYTIME 0x02000000
+
+/* internal flags - ignored if passed in */
+#define LX_MS_NOSEC 0x10000000
+#define LX_MS_BORN 0x20000000
+#define LX_MS_ACTIVE 0x40000000
+#define LX_MS_NOUSER 0x80000000
+
#define LX_MS_SUPPORTED (LX_MS_MGC_VAL | \
LX_MS_RDONLY | LX_MS_NOSUID | \
LX_MS_NODEV | LX_MS_NOEXEC | \
LX_MS_REMOUNT | LX_MS_NOATIME | \
LX_MS_BIND | LX_MS_SILENT | \
- LX_MS_STRICTATIME)
+ LX_MS_STRICTATIME | LX_MS_NOSEC | \
+ LX_MS_BORN | LX_MS_ACTIVE | LX_MS_NOUSER)
/*
* support for nfs mounts