aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/gdu.profile
blob: 4066a1ebf7fb39b571c5f56b878309046dcb7767 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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 socket syscall to simulate empty protocol option (see #639)
seccomp socket
seccomp.block-secondary
x11 none

private-dev

dbus-user none
dbus-system none

memory-deny-write-execute
restrict-namespaces

# 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}