mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
docs: add Labelled programs section.
This commit is contained in:
parent
239ae17119
commit
a5df9dc61e
@ -42,7 +42,7 @@ Instead of allowing the ability to run all software in `@{bin}/`, the purpose of
|
|||||||
@{bin}/flatpak rPx,
|
@{bin}/flatpak rPx,
|
||||||
@{bin}/snap rPx,
|
@{bin}/snap rPx,
|
||||||
|
|
||||||
# Labeled programs
|
# Labelled programs
|
||||||
@{archive_viewers_path} rPUx,
|
@{archive_viewers_path} rPUx,
|
||||||
@{browsers_path} rPx,
|
@{browsers_path} rPx,
|
||||||
@{document_viewers_path} rPUx,
|
@{document_viewers_path} rPUx,
|
||||||
@ -81,9 +81,6 @@ Instead of allowing the ability to run all software in `@{bin}/`, the purpose of
|
|||||||
|
|
||||||
# Backup
|
# Backup
|
||||||
@{lib}/deja-dup/deja-dup-monitor rPx,
|
@{lib}/deja-dup/deja-dup-monitor rPx,
|
||||||
|
|
||||||
@{browsers_path} rPx,
|
|
||||||
@{help_path} rPx,
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### **`child-open-browsers`**
|
### **`child-open-browsers`**
|
||||||
@ -155,6 +152,12 @@ Common `systemctl` action. Do not use it too much as most of the time you will n
|
|||||||
It is recommended to transition [in a subprofile](abstractions.md#appsystemctl) everything that is not generic and that may require some access (so restart, enable...), while `child-systemctl` can handle the more basic tasks.
|
It is recommended to transition [in a subprofile](abstractions.md#appsystemctl) everything that is not generic and that may require some access (so restart, enable...), while `child-systemctl` can handle the more basic tasks.
|
||||||
|
|
||||||
|
|
||||||
|
## Labelled programs
|
||||||
|
|
||||||
|
All common programs are tracked and labelled in the [`apparmor.d/tunables/multiarch.d/programs`](https://github.com/roddhjav/apparmor.d/blob/main/apparmor.d/tunables/multiarch.d/programs) and
|
||||||
|
[`apparmor.d/tunables/multiarch.d/paths`](https://github.com/roddhjav/apparmor.d/blob/main/apparmor.d/tunables/multiarch.d/paths) files. They can be used in a `child-open` profile or directly in a profile. They are useful to allow opening resources using a kind of program (browsers, image viewer, text editor...), instead of allowing a given program path.
|
||||||
|
|
||||||
|
|
||||||
## User Confinement [:material-police-badge-outline:{ .pg-red }](../full-system-policy.md "Only for Full System Policy (FSP)")
|
## User Confinement [:material-police-badge-outline:{ .pg-red }](../full-system-policy.md "Only for Full System Policy (FSP)")
|
||||||
|
|
||||||
!!! warning "TODO"
|
!!! warning "TODO"
|
||||||
|
Loading…
Reference in New Issue
Block a user