From owner-p4-projects Mon Oct 14 10: 6: 9 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4AD2237B404; Mon, 14 Oct 2002 10:06:07 -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 DA96437B401 for ; Mon, 14 Oct 2002 10:06:06 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67F6543E7B for ; Mon, 14 Oct 2002 10:06:06 -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 g9EH5WMt015142 for ; Mon, 14 Oct 2002 10:05:32 -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 g9EH5Vlt015139 for perforce@freebsd.org; Mon, 14 Oct 2002 10:05:31 -0700 (PDT) Date: Mon, 14 Oct 2002 10:05:31 -0700 (PDT) Message-Id: <200210141705.g9EH5Vlt015139@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 19271 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=19271 Change 19271 by rwatson@rwatson_tislabs on 2002/10/14 10:05:02 Teach user mount tool about MNT_ACLS Affected files ... .. //depot/projects/trustedbsd/mac/sbin/mount/mntopts.h#6 edit .. //depot/projects/trustedbsd/mac/sbin/mount/mount.c#9 edit Differences ... ==== //depot/projects/trustedbsd/mac/sbin/mount/mntopts.h#6 (text+ko) ==== @@ -58,6 +58,7 @@ #define MOPT_SUIDDIR { "suiddir", 0, MNT_SUIDDIR, 0 } #define MOPT_SNAPSHOT { "snapshot", 0, MNT_SNAPSHOT, 0 } #define MOPT_MULTILABEL { "multilabel", 0, MNT_MULTILABEL, 0 } +#define MOPT_ACLS { "acls", 0, MNT_ACLS, 0 } /* Control flags. */ #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 } @@ -88,7 +89,8 @@ MOPT_UNION, \ MOPT_NOCLUSTERR, \ MOPT_NOCLUSTERW, \ - MOPT_MULTILABEL + MOPT_MULTILABEL, \ + MOPT_ACLS void getmntopts(const char *, const struct mntopt *, int *, int *); void rmslashes(char *, char *); ==== //depot/projects/trustedbsd/mac/sbin/mount/mount.c#9 (text+ko) ==== @@ -108,6 +108,7 @@ { MNT_SUIDDIR, "suiddir" }, { MNT_SOFTDEP, "soft-updates" }, { MNT_MULTILABEL, "multilabel" }, + { MNT_ACLS, "acls" }, { 0, NULL } }; @@ -764,6 +765,7 @@ if (flags & MNT_NOSYMFOLLOW) res = catopt(res, "nosymfollow"); if (flags & MNT_SUIDDIR) res = catopt(res, "suiddir"); if (flags & MNT_MULTILABEL) res = catopt(res, "multilabel"); + if (flags & MNT_ACLS) res = catopt(res, "acls"); return res; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message