feat(profile): improve whonix specific profiles.

This commit is contained in:
Alexandre Pujol 2024-05-06 23:51:46 +01:00
parent 301ffb6065
commit c5ed997b6d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
12 changed files with 62 additions and 10 deletions

View file

@ -21,14 +21,31 @@ profile msgdispatcher @{exec_path} {
@{bin}/mkdir rix,
@{bin}/mkfifo rix,
@{bin}/rm rix,
@{bin}/cat rix,
@{bin}/sleep rix,
@{bin}/touch rix,
@{bin}/whoami rix,
@{bin}/sudo rCx -> sudo,
@{lib}/msgcollector/* r,
@{lib}/msgcollector/msgdispatcher_dispatch_x rPx,
owner @{HOME}/.xsession-errors w,
@{run}/msgcollector/ r,
owner @{run}/msgcollector/user/{,**} rwk,
profile sudo {
include <abstractions/base>
include <abstractions/app/sudo>
@{bin}/sudo mr,
@{lib}/msgcollector/* rPx,
owner @{run}/msgcollector/user/msgdispatcher_x_* r,
include if exists <local/msgdispatcher_sudo>
}
include if exists <local/msgdispatcher>
}