From owner-p4-projects Mon Sep 23 16:20:58 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 845AB37B404; Mon, 23 Sep 2002 16:20:56 -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 30FC237B401 for ; Mon, 23 Sep 2002 16:20:56 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E20F943E6A for ; Mon, 23 Sep 2002 16:20:55 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8NNKtCo071894 for ; Mon, 23 Sep 2002 16:20:55 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8NNKttq071884 for perforce@freebsd.org; Mon, 23 Sep 2002 16:20:55 -0700 (PDT) Date: Mon, 23 Sep 2002 16:20:55 -0700 (PDT) Message-Id: <200209232320.g8NNKttq071884@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 18025 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://people.freebsd.org/~peter/p4db/chv.cgi?CH=18025 Change 18025 by rwatson@rwatson_tislabs on 2002/09/23 16:20:07 Further annotations. Affected files ... .. //depot/projects/trustedbsd/misc/demo-20020725/mount.txt#2 edit Differences ... ==== //depot/projects/trustedbsd/misc/demo-20020725/mount.txt#2 (text+ko) ==== @@ -1,11 +1,26 @@ -As security officer +As security officer: + +Enable user mountpoints: + + sysctl vfs.usermount=1 + +Label the device so that the general has appropriate rights: + + setfmac mls/high /dev/acd0c + chown general /dev/acd0c + +Label the mountpoint so that the general has appropriate rights: + + setfmac mls/high /mnt + chown general /mnt + +As general: + +Mount the device: -sysctl vfs.usermount=1 -setfmac mls/high /dev/acd0c -setfmac mls/high /mnt -chown general /mnt + mount -o rdonly /dev/acd0c /mnt -As general +Unmount the device: -mount -o rdonly /dev/acd0c /mnt + umount /mnt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message