From owner-p4-projects Mon Oct 14 10: 5: 7 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 22EF837B404; Mon, 14 Oct 2002 10:05:05 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0CCE37B401 for ; Mon, 14 Oct 2002 10:05:04 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A4D343EAC for ; Mon, 14 Oct 2002 10:05:04 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9EH4UMt014954 for ; Mon, 14 Oct 2002 10:04:30 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.3/Submit) id g9EH4TnV014951 for perforce@freebsd.org; Mon, 14 Oct 2002 10:04:29 -0700 (PDT) Date: Mon, 14 Oct 2002 10:04:29 -0700 (PDT) Message-Id: <200210141704.g9EH4TnV014951@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 19270 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=19270 Change 19270 by rwatson@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@FreeBSD.org with "unsubscribe p4-projects" in the body of the message