doc: cosmetic.

This commit is contained in:
Alexandre Pujol 2024-01-27 23:35:24 +00:00
parent 6600a7f513
commit bd562600cf
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 2 additions and 16 deletions

View file

@ -37,17 +37,3 @@ In `dists/apparmor.d.spec`, replace `%make_build` by `make enforce`
#### Partial install
Use the `make enforce` command to build instead of `make`
## Track profiles in complain mode
The [`dists/flags`](https://github.com/roddhjav/apparmor.d/tree/main/dists/flags) directory tracks the profile that have been forced in complain mode. It is used for profile that are not considered stable. Files in this directory should respect the following format: `<profile> <flags>`, flags should be comma separated.
For instance, to move `adb` in complain mode, edit **[`dists/flags/main.flags`](https://github.com/roddhjav/apparmor.d/blob/main/dists/flags/main.flags)** and add the following line:
```sh
adb complain
```
Beware, flags defined in this file overwrite flags in the profile. So you may need to add other flags. Example for `gnome-shell`:
```sh
gnome-shell attach_disconnected,mediate_deleted,complain
```