aboutsummaryrefslogtreecommitdiffstats
path: root/etc/baloo_file.profile
blob: a4fe05cf743f711b470b1f18a3b49312823cc349 (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
48
# Firejail profile for baloo_file
# This file is overwritten after every install/update
# Persistent local customizations
include /etc/firejail/baloo_file.local
# Persistent global definitions
include /etc/firejail/globals.local

noblacklist ${HOME}/.config/baloofilerc
noblacklist ${HOME}/.kde/share/config/baloofilerc
noblacklist ${HOME}/.kde/share/config/baloorc
noblacklist ${HOME}/.kde4/share/config/baloofilerc
noblacklist ${HOME}/.kde4/share/config/baloorc
noblacklist ${HOME}/.local/share/baloo

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc

include /etc/firejail/whitelist-var-common.inc

caps.drop all
no3d
nodvd
nogroups
nonewprivs
noroot
nosound
notv
novideo
protocol unix
# Baloo makes ioprio_set system calls, which are blacklisted by default.
seccomp.drop @cpu-emulation,@debug,@obsolete,@privileged,@resources,add_key,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,kcmp,keyctl,name_to_handle_at,ni_syscall,open_by_handle_at,personality,process_vm_readv,ptrace,remap_file_pages,request_key,syslog,umount,userfaultfd,vmsplice
shell none
# x11 xorg

private-bin baloo_file,baloo_file_extractor,kbuildsycoca4
private-dev
private-tmp

noexec ${HOME}
noexec /tmp

# Make home directory read-only and allow writing only to ~/.local/share
# Note: Baloo will not be able to update the "first run" key in its configuration files.
# read-only  ${HOME}
# read-write ${HOME}/.local/share
# noexec     ${HOME}/.local/share