xref: /freebsd/share/man/man4/mac_stub.4 (revision ccf09d7c4b6cf9040d4fa3c5e4d492781b51c5cd)
117c5113aSChris Costello.\" Copyright (c) 2002 Networks Associates Technology, Inc.
217c5113aSChris Costello.\" All rights reserved.
317c5113aSChris Costello.\"
45792da74SChris Costello.\" This software was developed for the FreeBSD Project by Chris Costello
55792da74SChris Costello.\" at Safeport Network Services and Network Associates Laboratories, the
65792da74SChris Costello.\" Security Research Division of Network Associates, Inc. under
717c5113aSChris Costello.\" DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
817c5113aSChris Costello.\" DARPA CHATS research program.
917c5113aSChris Costello.\"
1017c5113aSChris Costello.\" Redistribution and use in source and binary forms, with or without
1117c5113aSChris Costello.\" modification, are permitted provided that the following conditions
1217c5113aSChris Costello.\" are met:
1317c5113aSChris Costello.\" 1. Redistributions of source code must retain the above copyright
1417c5113aSChris Costello.\"    notice, this list of conditions and the following disclaimer.
1517c5113aSChris Costello.\" 2. Redistributions in binary form must reproduce the above copyright
1617c5113aSChris Costello.\"    notice, this list of conditions and the following disclaimer in the
1717c5113aSChris Costello.\"    documentation and/or other materials provided with the distribution.
1817c5113aSChris Costello.\"
1917c5113aSChris Costello.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
2017c5113aSChris Costello.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2117c5113aSChris Costello.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2217c5113aSChris Costello.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
2317c5113aSChris Costello.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2417c5113aSChris Costello.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2517c5113aSChris Costello.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2617c5113aSChris Costello.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2717c5113aSChris Costello.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2817c5113aSChris Costello.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2917c5113aSChris Costello.\" SUCH DAMAGE.
3017c5113aSChris Costello.\"
3117c5113aSChris Costello.\" $FreeBSD$
3217c5113aSChris Costello.Dd DECEMBER 1, 2002
3317c5113aSChris Costello.Os
3417c5113aSChris Costello.Dt MAC_NONE 4
3517c5113aSChris Costello.Sh NAME
3617c5113aSChris Costello.Nm mac_none
3717c5113aSChris Costello.Nd sample MAC policy module
3817c5113aSChris Costello.Sh SYNOPSIS
3917c5113aSChris CostelloTo compile the sample policy
4017c5113aSChris Costellointo your kernel, place the following lines in your kernel
4117c5113aSChris Costelloconfiguration file:
4217c5113aSChris Costello.Cd "options MAC"
4317c5113aSChris Costello.Cd "options MAC_NONE"
4417c5113aSChris Costello.Pp
4517c5113aSChris CostelloAlternately, to load the sample module at boot time, place the following line
4617c5113aSChris Costelloin your kernel configuration file:
4717c5113aSChris Costello.Cd "options MAC"
4817c5113aSChris Costello.Pp
4917c5113aSChris Costelloand in
5017c5113aSChris Costello.Xr loader.conf 5 :
5117c5113aSChris Costello.Cd mac_none_load= Ns \&"YES"
5217c5113aSChris Costello.Sh DESCRIPTION
5317c5113aSChris CostelloThe
5417c5113aSChris Costello.Nm
5517c5113aSChris Costellopolicy module implements a sample MAC policy that has no effect on
5617c5113aSChris Costelloaccess control in the system.
5717c5113aSChris CostelloEach MAC entry point is a
5817c5113aSChris Costello.Dq no-op .
5917c5113aSChris Costello.Ss Label Format
6017c5113aSChris CostelloNo labels are defined for
6117c5113aSChris Costello.Nm .
6217c5113aSChris Costello.Sh SEE ALSO
63ccf09d7cSChris Costello.Xr mac 4 ,
6417c5113aSChris Costello.Xr mac_biba 4 ,
6517c5113aSChris Costello.Xr mac_bsdextended 4 ,
66057baf37SChris Costello.Xr mac_ifoff 4 ,
679cad8863SChris Costello.Xr mac_lomac 4 ,
6817c5113aSChris Costello.Xr mac_mls 4 ,
69057baf37SChris Costello.Xr mac_partition 4 ,
7017c5113aSChris Costello.Xr mac_seeotheruids 4 ,
7117c5113aSChris Costello.Xr mac_test 4 ,
7217c5113aSChris Costello.Xr mac 9
7317c5113aSChris Costello.Sh HISTORY
7417c5113aSChris CostelloThe
7517c5113aSChris Costello.Nm
7617c5113aSChris Costellopolicy module first appeared in
7717c5113aSChris Costello.Fx 5.0
7817c5113aSChris Costelloand was developed by the TrustedBSD Project.
7917c5113aSChris Costello.Sh AUTHORS
8017c5113aSChris CostelloThis software was contributed to the
8117c5113aSChris Costello.Fx
8217c5113aSChris CostelloProject by Network Associates Labs,
8317c5113aSChris Costellothe Security Research Division of Network Associates
8417c5113aSChris CostelloInc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"),
8517c5113aSChris Costelloas part of the DARPA CHATS research program.
8617c5113aSChris Costello.Sh BUGS
8717c5113aSChris CostelloSee
8817c5113aSChris Costello.Xr mac 9
8917c5113aSChris Costelloconcerning appropriateness for production use.
9017c5113aSChris CostelloThe TrustedBSD MAC Framework is considered experimental in
9117c5113aSChris Costello.Fx .
9217c5113aSChris Costello.Pp
9317c5113aSChris CostelloWhile the MAC Framework design is intended to support the containment of
9417c5113aSChris Costellothe root user, not all attack channels are currently protected by entry
9517c5113aSChris Costellopoint checks.
9617c5113aSChris CostelloAs such, MAC Framework policies should not be relied on, in isolation,
9717c5113aSChris Costelloto protect against a malicious privileged user.
98