From aa7afde9406d782fdb50ae445f5a8f414336b639 Mon Sep 17 00:00:00 2001 From: Jerry Jelinek Date: Wed, 30 Mar 2016 15:58:54 +0000 Subject: OS-5273 lxbrand - mount tmpfs option noauto is not supported in alpine Reviewed by: Patrick Mooney --- usr/src/lib/brand/lx/lx_brand/sys/lx_mount.h | 12 ++++++++++-- 1 file 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 -- cgit v1.2.3