1
# $Id: apparmor_parser.pod 190 2006-11-03 09:47:55Z seth_arnold $
2
# This publication is intellectual property of Novell Inc. Its contents
3
# can be duplicated, either in part or in whole, provided that a copyright
4
# label is visibly located on each copy.
6
# All information found in this book has been compiled with utmost
7
# attention to detail. However, this does not guarantee complete accuracy.
8
# Neither SUSE LINUX GmbH, the authors, nor the translators shall be held
9
# liable for possible errors or the consequences thereof.
11
# Many of the software and hardware descriptions cited in this book
12
# are registered trademarks. All trade names are subject to copyright
13
# restrictions and may be registered trade marks. SUSE LINUX GmbH
14
# essentially adheres to the manufacturer's spelling.
16
# Names of products and trademarks appearing in this book (with or without
17
# specific notation) are likewise subject to trademark and trade protection
18
# laws and may thus fall under copyright restrictions.
20
# Please direct suggestions and comments to apparmor-general@forge.novell.com.
27
apparmor_parser - loads AppArmor profiles into the kernel
31
B<apparmor_parser [-adrR] [--add] [--debug] [--replace] [--remove]
32
[--preprocess] [--Include n] [--base n] [ --Complain ]>
34
B<apparmor_parser [-hv] [--help] [--version]>
38
B<apparmor_parser> is used to import new apparmor.d(5) profiles
39
into the Linux kernel. The profiles restrict the operations available
40
to processes by executable name.
42
The profiles are loaded into the Linux kernel by the B<apparmor_parser>
43
program, which takes its input from standard input. The input supplied to
44
B<apparmor_parser> should be in the format described in apparmor.d(5).
52
Insert the AppArmor definitions given into the kernel. This is the default
53
action. This gives an error message if a AppArmor definition by the same
54
name already exists in the kernel, or if the parser doesn't understand
55
its input. It reports when an addition succeeded.
59
This flag is required if an AppArmor definition by the same name already
60
exists in the kernel; used to replace the definition already
61
in the kernel with the definition given on standard input.
65
This flag is used to remove an AppArmor definition already in the kernel.
66
Note that it still requires a complete AppArmor definition as described
67
in apparmor.d(5) even though the contents of the definition aren't
70
=item -p, --preprocess
72
Parse the profile(s) and process include directives and output the
75
=item -I n, --Include n
77
Add element n to the search path when resolving #include directives
78
defined as an absolute paths.
82
Set the base directory for resolving #include directives
83
defined as relative paths.
87
Load the profile in complain mode.
91
Give a quick reference guide.
95
Print the version number and exit.
99
Given once, only checks the profiles to ensure syntactic correctness.
100
Given twice, dumps its interpretation of the profile for checking.
106
None known. If you find any, please report them to bugzilla at
107
L<http://bugzilla.novell.com>.
111
apparmor(7), apparmor.d(5), subdomain.conf(5), change_hat(2), and
112
L<http://forge.novell.com/modules/xfmod/project/?apparmor>.