2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 18:17:09 +00:00

QuickProfileLanguage: more use of block quoting

Steve Beattie 2017-11-03 17:11:12 -07:00
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 a *'\#* to the end of the line is ignored (with the exception of the
\#include rule). Eg: \#include rule). Eg:
```
# Comment 1 # Comment 1
# Comment 2 # Comment 2
` profile example {  # comment 3`  profile example {  # comment 3
`    # comment 4`     # comment 4
`    /home/foo rw,  # comment at the end of a file rule`     /home/foo rw,  # comment at the end of a file rule
` }`  }
```
Include Rules 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 current file. The **\#** is optional and shouldn't be used in newer
profiles. Eg: 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 **\#include** conflicts with commenting rules and takes precedence. The
**\#** and include must not be separated from the **include** with **\#** and include must not be separated from the **include** with