PERFORCE change 19270 for review

Robert Watson rwatson at freebsd.org
Mon Oct 14 17:04:29 GMT 2002


http://perforce.freebsd.org/chv.cgi?CH=19270

Change 19270 by rwatson at rwatson_tislabs on 2002/10/14 10:04:13

	Add a MNT_ACLS flag to report on the status of FS_ACLS.
	
	Don't permit MNT_MULTILABEL or MNT_ACLS to be changed at
	run-time after the initial mount: you must fully unmount
	and remount the file system to change these flags.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/sys/mount.h#20 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/sys/mount.h#20 (text+ko) ====

@@ -171,6 +171,7 @@
 #define	MNT_NOSYMFOLLOW	0x00400000	/* do not follow symlinks */
 #define	MNT_JAILDEVFS	0x02000000	/* Jail friendly DEVFS behaviour */
 #define	MNT_MULTILABEL	0x04000000	/* MAC support for individual objects */
+#define	MNT_ACLS	0x08000000	/* ACL support enabled */
 #define	MNT_NOATIME	0x10000000	/* disable update of file access time */
 #define	MNT_NOCLUSTERR	0x40000000	/* disable cluster read */
 #define	MNT_NOCLUSTERW	0x80000000	/* disable cluster write */
@@ -209,15 +210,14 @@
 			MNT_ROOTFS	| MNT_NOATIME	| MNT_NOCLUSTERR| \
 			MNT_NOCLUSTERW	| MNT_SUIDDIR	| MNT_SOFTDEP	| \
 			MNT_IGNORE	| MNT_EXPUBLIC	| MNT_NOSYMFOLLOW | \
-			MNT_JAILDEVFS	| MNT_MULTILABEL)
+			MNT_JAILDEVFS	| MNT_MULTILABEL | MNT_ACLS)
 
 /* Mask of flags that can be updated */
 #define MNT_UPDATEMASK (MNT_NOSUID	| MNT_NOEXEC	| MNT_NODEV	| \
 			MNT_SYNCHRONOUS	| MNT_UNION	| MNT_ASYNC	| \
 			MNT_NOATIME | \
 			MNT_NOSYMFOLLOW	| MNT_IGNORE	| MNT_JAILDEVFS	| \
-			MNT_NOCLUSTERR	| MNT_NOCLUSTERW | MNT_SUIDDIR | \
-			MNT_MULTILABEL)
+			MNT_NOCLUSTERR	| MNT_NOCLUSTERW | MNT_SUIDDIR)
   
 /*
  * External filesystem command modifier flags.
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list