Skip to content

Commit

Permalink
${RUNUSER} blacklisting + typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty-snake committed May 27, 2020
1 parent 63c44c7 commit 28c099b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions etc/inc/disable-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,16 @@ blacklist ${RUNUSER}/kdesud_*
blacklist ${HOME}/.local/share/gnome-shell
# no direct modification of dconf database
read-only ${HOME}/.config/dconf
blacklist ${RUNUSER}/gnome-session-leader-fifo
blacklist ${RUNUSER}/gnome-shell
blacklist ${RUNUSER}/gsconnect

# systemd
blacklist ${HOME}/.config/systemd
blacklist ${HOME}/.local/share/systemd
blacklist /var/lib/systemd
blacklist ${PATH}/systemd-run
blacklist ${RUNUSER}/systemd
# creates problems on Arch where /etc/resolv.conf is a symlink to /var/run/systemd/resolve/resolv.conf
#blacklist /var/run/systemd

Expand All @@ -175,6 +179,13 @@ blacklist /var/cache/libvirt
blacklist /var/lib/libvirt
blacklist /var/log/libvirt

# OCI-Containers / Podman
blacklist ${RUNUSER}/containers
blacklist ${RUNUSER}/crun
blacklist ${RUNUSER}/libpod
blacklist ${RUNUSER}/runc
blacklist ${RUNUSER}/toolbox

# VeraCrypt
blacklist ${HOME}/.VeraCrypt
blacklist ${PATH}/veracrypt
Expand Down Expand Up @@ -478,6 +489,9 @@ blacklist /var/lib/flatpak
# most of the time bwrap is SUID binary
blacklist ${PATH}/bwrap

# snap
blacklist ${RUNUSER}/snapd-session-agent.socket

# mail directories used by mutt
blacklist ${HOME}/.Mail
blacklist ${HOME}/.mail
Expand All @@ -502,3 +516,9 @@ blacklist ${PATH}/dns2tcp
blacklist ${PATH}/iodine
blacklist ${PATH}/knsupdate
blacklist ${PATH}/resolvectl

# rest of ${RUNUSER}
blacklist ${RUNUSER}/*.lock
blacklist ${RUNUSER}/inaccessible
blacklist ${RUNUSER}/update-notifier.pid
blacklist ${RUNUSER}/pk-debconf-socket
2 changes: 1 addition & 1 deletion platform/rpm/firejail.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Name: __NAME__
Version: __VERSION__
Release: 1
Summary: Linux namepaces sandbox program
Summary: Linux namespaces sandbox program

License: GPLv2+
Group: Development/Tools
Expand Down

0 comments on commit 28c099b

Please sign in to comment.