mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
QuickProfileLanguage: more use of block quoting
parent
3d784460cc
commit
e41aff00f5
@ -50,13 +50,15 @@ Comments are line oriented and begin with a **\#**. Text following
|
||||
a *'\#* to the end of the line is ignored (with the exception of the
|
||||
\#include rule). Eg:
|
||||
|
||||
```
|
||||
# Comment 1
|
||||
# Comment 2
|
||||
|
||||
` profile example { # comment 3`
|
||||
` # comment 4`
|
||||
` /home/foo rw, # comment at the end of a file rule`
|
||||
` }`
|
||||
profile example { # comment 3
|
||||
# comment 4
|
||||
/home/foo rw, # comment at the end of a file rule
|
||||
}
|
||||
```
|
||||
|
||||
Include Rules
|
||||
-------------
|
||||
@ -68,9 +70,11 @@ a set include directory or **"** **"** for files relative to the
|
||||
current file. The **\#** is optional and shouldn't be used in newer
|
||||
profiles. Eg:
|
||||
|
||||
`#include `<file>
|
||||
`#include `“`a/relative/path/file`”
|
||||
`include `<file>
|
||||
```
|
||||
#include <file>
|
||||
#include “a/relative/path/file”
|
||||
include <file>
|
||||
```
|
||||
|
||||
**\#include** conflicts with commenting rules and takes precedence. The
|
||||
**\#** and include must not be separated from the **include** with
|
||||
|
Loading…
x
Reference in New Issue
Block a user