aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/gdu.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2022-08-09 21:11:18 +0000
committerLibravatar GitHub <noreply@github.com>2022-08-09 21:11:18 +0000
commitb18120cc2e8f4762a18361d67834f912289558ac (patch)
treef65f558627d56935c8fe006c503ace2202074601 /etc/profile-a-l/gdu.profile
parentbuild(deps): bump github/codeql-action from 2.1.17 to 2.1.18 (diff)
downloadfirejail-b18120cc2e8f4762a18361d67834f912289558ac.tar.gz
firejail-b18120cc2e8f4762a18361d67834f912289558ac.tar.zst
firejail-b18120cc2e8f4762a18361d67834f912289558ac.zip
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
Diffstat (limited to 'etc/profile-a-l/gdu.profile')
-rw-r--r--etc/profile-a-l/gdu.profile46
1 files changed, 46 insertions, 0 deletions
diff --git a/etc/profile-a-l/gdu.profile b/etc/profile-a-l/gdu.profile
new file mode 100644
index 000000000..783183bea
--- /dev/null
+++ b/etc/profile-a-l/gdu.profile
@@ -0,0 +1,46 @@
1# Firejail profile for gdu
2# Description: Fast disk usage analyzer with console interface
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include gdu.local
7# Persistent global definitions
8include globals.local
9
10blacklist ${RUNUSER}/wayland-*
11
12include disable-exec.inc
13
14apparmor
15caps.drop all
16ipc-namespace
17machine-id
18net none
19no3d
20nodvd
21nogroups
22noinput
23nonewprivs
24noroot
25nosound
26notv
27nou2f
28novideo
29# block the socket syscall to simulate an be empty protocol line, see #639
30seccomp socket
31seccomp.block-secondary
32x11 none
33
34private-dev
35
36dbus-user none
37dbus-system none
38
39memory-deny-write-execute
40
41# gdu has built-in delete (d), empty (e) dir/file support and shell spawning (b) features.
42# Depending on workflow and use case the sandbox can be hardened by adding the
43# lines below to your gdu.local if you don't need/want these functionalities.
44#include disable-shell.inc
45#private-bin gdu
46#read-only ${HOME}