Added AUTHORS file.
[framework/security/smack.git] / doc / smackctl.8
1 '\" t
2 .\" This file is part of libsmack
3 .\" Copyright (C) 2012 Intel Corporation
4 .\"
5 .\" This library is free software; you can redistribute it and/or
6 .\" modify it under the terms of the GNU Lesser General Public License
7 .\" version 2.1 as published by the Free Software Foundation.
8 .\"
9 .\" This library is distributed in the hope that it will be useful, but
10 .\" WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 .\" Lesser General Public License for more details.
13 .\"
14 .\" You should have received a copy of the GNU Lesser General Public
15 .\" License along with this library; if not, write to the Free Software
16 .\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
17 .\" 02110-1301 USA
18 .\"
19 .TH "SMACKCTL" "8" "03/05/2012" "smack-utils 1\&.0"
20 .SH NAME
21 smackctl \- Load and unload the system Smack rules files
22 .SH SYNOPSIS
23 .B smackctl ['apply'] ['clear'] ['status']
24
25 .SH DESCRIPTION
26 .B smackctl
27 is a program to load and unload the Smack context configurations.  It is generally called by an init process on startup and shutdown of the system when it is needed to change the Smack rules in the kernel.  The Smack system configuration files are all store in see FILES below.
28 .SH OPTIONS
29 .IP apply
30 Apply all the rules found in the configuration directory's
31 .IP clear
32 Remove all system rules from the kernel
33 .IP status
34 Show the status of the Smack system, specifically if /smack is mounted
35 .SH EXIT STATUS
36 On success
37 .B smackctl
38 returns 0 and 1 on failure.
39 .SH FILES
40 /smack
41 .br
42 /etc/smack/acceses.d
43 .br
44 /etc/smack/cipso.d