1 .\" Copyright (c) 2002 Networks Associates Technology, Inc.
2 .\" All rights reserved.
4 .\" This software was developed for the FreeBSD Project by Chris Costello
5 .\" at Safeport Network Services and Network Associates Labs, the Security
6 .\" Research Division of Network Associates, Inc. under DARPA/SPAWAR
7 .\" contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS research
10 .\" Redistribution and use in source and binary forms, with or without
11 .\" modification, are permitted provided that the following conditions
13 .\" 1. Redistributions of source code must retain the above copyright
14 .\" notice, this list of conditions and the following disclaimer.
15 .\" 2. Redistributions in binary form must reproduce the above copyright
16 .\" notice, this list of conditions and the following disclaimer in the
17 .\" documentation and/or other materials provided with the distribution.
18 .\" 3. The names of the authors may not be used to endorse or promote
19 .\" products derived from this software without specific prior written
22 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39 .Nd Mandatory Access Control label format
41 If Mandatory Access Control, or MAC, is enabled in the kernel,
42 then in addition to the traditional credentials,
44 (typically a user or a socket)
46 (file system object, socket, etc.\&)
49 The MAC label specifies the necessary subject-specific or
50 object-specific information necessary for a MAC security policy
52 to enforce access control on the subject/object.
54 The format for a MAC label is defined as follows:
57 .D1 Ar policy1 No / Ar qualifier1 , policy2 No / Ar qualifier2 , No ...
60 A MAC label consists of a policy name,
61 followed by a forward slash,
62 followed by the subject or object's qualifier,
63 optionally followed by a comma and one or more additional policy labels.
65 .Bd -literal -offset indent
67 biba/high(low-high),mls/equal(equal-equal),partition/0
73 .Xr mac_bsdextended 4 ,
78 .Xr mac_seeotheruids 4 ,
91 This software was contributed to the
93 Project by NAI Labs, the Security Research Division of Network Associates
94 Inc.\& under DARPA/SPAWAR contract N66001-01-C-8035
96 as part of the DARPA CHATS research program.