Skip to content

Commit

Permalink
misc fixes
Browse files Browse the repository at this point in the history
remove netfilter from profiles with net none

allow Viber to use dig, dig is in its private-bin, so I assume that it
need it.

blacklist resolvectl which can also be used for dns lookups
  • Loading branch information
rusty-snake authored and rusty-snake committed Mar 19, 2020
1 parent 3539a02 commit 4442aac
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 15 deletions.
1 change: 0 additions & 1 deletion etc/2048-qt.profile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ include whitelist-var-common.inc
apparmor
caps.drop all
net none
netfilter
nodvd
nogroups
nonewprivs
Expand Down
1 change: 1 addition & 0 deletions etc/Viber.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ include Viber.local
include globals.local

noblacklist ${HOME}/.ViberPC
noblacklist ${PATH}/dig

include disable-common.inc
include disable-devel.inc
Expand Down
1 change: 0 additions & 1 deletion etc/atool.profile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ hostname atool
ipc-namespace
machine-id
net none
netfilter
no3d
nodvd
nodbus
Expand Down
1 change: 1 addition & 0 deletions etc/dia.profile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

include whitelist-var-common.inc

apparmor
Expand Down
4 changes: 1 addition & 3 deletions etc/disable-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,4 @@ blacklist ${PATH}/dnswalk
blacklist ${PATH}/dns2tcp
blacklist ${PATH}/iodine
blacklist ${PATH}/knsupdate



blacklist ${PATH}/resolvectl
1 change: 0 additions & 1 deletion etc/fbreader.profile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ include whitelist-var-common.inc
apparmor
caps.drop all
net none
netfilter
nodvd
nonewprivs
noroot
Expand Down
1 change: 0 additions & 1 deletion etc/handbrake.profile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ include whitelist-var-common.inc
apparmor
caps.drop all
net none
netfilter
nodbus
nogroups
nonewprivs
Expand Down
1 change: 0 additions & 1 deletion etc/leafpad.profile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ include whitelist-var-common.inc
apparmor
caps.drop all
net none
netfilter
no3d
nodvd
nogroups
Expand Down
1 change: 0 additions & 1 deletion etc/lximage-qt.profile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ include whitelist-var-common.inc
apparmor
caps.drop all
net none
netfilter
no3d
nodvd
nogroups
Expand Down
1 change: 0 additions & 1 deletion etc/mousepad.profile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ include whitelist-var-common.inc
apparmor
caps.drop all
net none
netfilter
nodvd
nogroups
nonewprivs
Expand Down
1 change: 1 addition & 0 deletions etc/openclonk.profile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ apparmor
caps.drop all
ipc-namespace
# net none - networked game
netfilter
nodbus
nodvd
nogroups
Expand Down
1 change: 0 additions & 1 deletion etc/openttd.profile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ apparmor
caps.drop all
ipc-namespace
net none
netfilter
nodbus
nodvd
nogroups
Expand Down
1 change: 0 additions & 1 deletion etc/ppsspp.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ include whitelist-var-common.inc

caps.drop all
ipc-namespace
netfilter
net none
nodbus
nodvd
Expand Down
1 change: 0 additions & 1 deletion etc/terasology.profile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ include whitelist-common.inc
caps.drop all
ipc-namespace
net none
netfilter
nodbus
nodvd
nogroups
Expand Down
1 change: 0 additions & 1 deletion etc/x-terminal-emulator.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ include globals.local
caps.drop all
ipc-namespace
net none
netfilter
nodbus
nogroups
noroot
Expand Down
1 change: 0 additions & 1 deletion etc/xcalc.profile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ include whitelist-var-common.inc

caps.drop all
net none
netfilter
no3d
nodbus
nodvd
Expand Down

0 comments on commit 4442aac

Please sign in to comment.