Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profiles: loupe: harden and disable apparmor #6333

Merged
merged 1 commit into from
May 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions etc/profile-a-l/loupe.profile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ noblacklist ${HOME}/.local/share/Trash
noblacklist ${HOME}/.Steam
noblacklist ${HOME}/.steam

#include disable-common.inc
noblacklist ${PATH}/bwrap

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
Expand All @@ -22,7 +24,7 @@ include whitelist-runuser-common.inc
#include whitelist-usr-share-common.inc
include whitelist-var-common.inc

apparmor
#apparmor
caps.drop all
ipc-namespace
machine-id
Expand All @@ -44,7 +46,13 @@ protocol unix,netlink
seccomp.block-secondary
tracelog

private-bin bwrap,loupe
private-cache
private-dev
private-etc @x11
private-tmp

dbus-user none
dbus-system none

#read-only ${HOME} # breaks "Move to trash" and "Set as background"