mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
doc: improve the way to present project rules.
This commit is contained in:
parent
553fc5e8bc
commit
be9e92dba5
@ -32,23 +32,23 @@ You want to contribute to `apparmor.d`, **thanks a lot for this.** Feedbacks, co
|
|||||||
|
|
||||||
## Project rules
|
## Project rules
|
||||||
|
|
||||||
`Rule 1: Mandatory Access Control`
|
#### Rule :material-numeric-1-circle: - Mandatory Access Control
|
||||||
|
|
||||||
: As these are mandatory access control policies only what is explicitly required
|
: As these are mandatory access control policies only what is explicitly required
|
||||||
should be authorized. Meaning, you should **not** allow everything (or a large area)
|
should be authorized. Meaning, you should **not** allow everything (or a large area)
|
||||||
and blacklist some sub areas.
|
and blacklist some sub areas.
|
||||||
|
|
||||||
`Rule 2: Do not break a program`
|
#### Rule :material-numeric-2-circle: - Do not break a program
|
||||||
|
|
||||||
: A profile **should not break a normal usage of the confined software**. It can
|
: A profile **should not break a normal usage of the confined software**. It can
|
||||||
be complex as simply running the program for your own use case is not always
|
be complex as simply running the program for your own use case is not always
|
||||||
exhaustive of the program features and required permissions.
|
exhaustive of the program features and required permissions.
|
||||||
|
|
||||||
`Rule 3: Do not confine everything`
|
#### Rule :material-numeric-3-circle: - Do not confine everything
|
||||||
|
|
||||||
: Some programs should not be confined by a MAC policy.
|
: Some programs should not be confined by a MAC policy.
|
||||||
|
|
||||||
`Rule 4: Distribution and devices agnostic`
|
#### Rule :material-numeric-4-circle: - Distribution and devices agnostic
|
||||||
|
|
||||||
: A profile should be compatible with all distributions, software and devices
|
: A profile should be compatible with all distributions, software and devices
|
||||||
in the Linux world. You cannot deny access to resources you do not use on
|
in the Linux world. You cannot deny access to resources you do not use on
|
||||||
|
Loading…
Reference in New Issue
Block a user