~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to parser/apparmor_parser.pod

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-08-10 18:12:34 UTC
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20110810181234-b6obckg60cp99crg
Tags: upstream-2.7.0~beta1+bzr1774
ImportĀ upstreamĀ versionĀ 2.7.0~beta1+bzr1774

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
 
200
200
=back
201
201
 
 
202
=head1 CONFIG FILE
 
203
 
 
204
An optional config file /etc/apparmor/parser.conf can be used to specify the
 
205
default options for the parser, which then can be overridden using the command
 
206
line options.
 
207
 
 
208
The config file ignores leading whitespace and treats lines that begin with #
 
209
as comments.  Config options are specified one per line using the same format
 
210
as the longform command line options (without the preceding --).
 
211
 
 
212
Eg.
 
213
    #comment
 
214
 
 
215
    optimize=no-expr-tree
 
216
    optimize=compress-fast
 
217
 
 
218
As with the command line some options accumulate and others override, ie. when
 
219
there are conflicting versions of switch the last option is the one chosen.
 
220
 
 
221
Eg.
 
222
    Optimize=no-minimize
 
223
    Optimize=minimize
 
224
 
 
225
would result in Optimize=minimize being set.
 
226
 
 
227
The Include, Dump, and Optimize options accululate except for the inversion
 
228
option (no-X vs. X), and a couple options that work by setting/clearing
 
229
multiple options (compress-small).  In that case the option will override
 
230
the flags it sets but will may accumulate with others.
 
231
 
 
232
All other options override previously set values.
 
233
 
202
234
=head1 BUGS
203
235
 
204
236
If you find any bugs, please report them at