mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
new profile: gdu (#5289)
* add gdu to 'new profiles' section * Create gdu.profile * add gdu to firecfg * harden gdu sandbox * fix protocol * simulate empty protocol in gdu * more user-friendly gdu sandboxing
This commit is contained in:
parent
4b9f6af9f8
commit
b18120cc2e
3 changed files with 48 additions and 1 deletions
|
|
@ -221,4 +221,4 @@ Stats:
|
|||
|
||||
### New profiles:
|
||||
|
||||
onionshare, onionshare-cli, opera-developer, songrec
|
||||
onionshare, onionshare-cli, opera-developer, songrec, gdu
|
||||
|
|
|
|||
46
etc/profile-a-l/gdu.profile
Normal file
46
etc/profile-a-l/gdu.profile
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Firejail profile for gdu
|
||||
# Description: Fast disk usage analyzer with console interface
|
||||
# This file is overwritten after every install/update
|
||||
quiet
|
||||
# Persistent local customizations
|
||||
include gdu.local
|
||||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
blacklist ${RUNUSER}/wayland-*
|
||||
|
||||
include disable-exec.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
ipc-namespace
|
||||
machine-id
|
||||
net none
|
||||
no3d
|
||||
nodvd
|
||||
nogroups
|
||||
noinput
|
||||
nonewprivs
|
||||
noroot
|
||||
nosound
|
||||
notv
|
||||
nou2f
|
||||
novideo
|
||||
# block the socket syscall to simulate an be empty protocol line, see #639
|
||||
seccomp socket
|
||||
seccomp.block-secondary
|
||||
x11 none
|
||||
|
||||
private-dev
|
||||
|
||||
dbus-user none
|
||||
dbus-system none
|
||||
|
||||
memory-deny-write-execute
|
||||
|
||||
# gdu has built-in delete (d), empty (e) dir/file support and shell spawning (b) features.
|
||||
# Depending on workflow and use case the sandbox can be hardened by adding the
|
||||
# lines below to your gdu.local if you don't need/want these functionalities.
|
||||
#include disable-shell.inc
|
||||
#private-bin gdu
|
||||
#read-only ${HOME}
|
||||
|
|
@ -289,6 +289,7 @@ gapplication
|
|||
gcalccmd
|
||||
gcloud
|
||||
gconf-editor
|
||||
gdu
|
||||
geany
|
||||
geary
|
||||
gedit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue