aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-06-01 07:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-06-01 07:24:28 -0400
commit22c62fd71d3474a5253af29eec9f6c29c6d6be54 (patch)
treeb9d512978ffd5317ce506ecf962cb6c88ada00fa /etc
parentdigikam (diff)
downloadfirejail-22c62fd71d3474a5253af29eec9f6c29c6d6be54.tar.gz
firejail-22c62fd71d3474a5253af29eec9f6c29c6d6be54.tar.zst
firejail-22c62fd71d3474a5253af29eec9f6c29c6d6be54.zip
digikam profile
Diffstat (limited to 'etc')
-rw-r--r--etc/digikam.profile33
1 files changed, 33 insertions, 0 deletions
diff --git a/etc/digikam.profile b/etc/digikam.profile
new file mode 100644
index 000000000..fd19953a0
--- /dev/null
+++ b/etc/digikam.profile
@@ -0,0 +1,33 @@
1# Persistent global definitions go here
2include /etc/firejail/globals.local
3
4# This file is overwritten during software install.
5# Persistent customizations should go in a .local file.
6include /etc/firejail/digikam.local
7
8noblacklist ${HOME}/.kde4/share/apps/digikam
9noblacklist ${HOME}/.kde/share/apps/digikam
10noblacklist ${HOME}/.config/digikamrc
11
12include /etc/firejail/disable-common.inc
13include /etc/firejail/disable-programs.inc
14include /etc/firejail/disable-passwdmgr.inc
15include /etc/firejail/disable-devel.inc
16
17caps.drop all
18netfilter
19nonewprivs
20noroot
21protocol unix,inet,inet6,netlink
22
23# This is a seccomp whitelist profile for Debian jessie, Kubuntu 17.04.
24# Uncomment seccomp.keep line and try it out. By default only the regular seccomp blacklist profile is enabled.
25#seccomp.keep fallocate,getrusage,openat,access,arch_prctl,bind,brk,chdir,chmod,clock_getres,clone,close,connect,dup2,dup3,eventfd2,execve,fadvise64,fcntl,fdatasync,flock,fstat,fstatfs,ftruncate,futex,getcwd,getdents,getegid,geteuid,getgid,getpeername,getpgrp,getpid,getppid,getrandom,getresgid,getresuid,getrlimit,getsockname,getsockopt,gettid,getuid,inotify_add_watch,inotify_init,inotify_init1,inotify_rm_watch,ioctl,lseek,lstat,madvise,mbind,memfd_create,mkdir,mmap,mprotect,msync,munmap,nanosleep,open,pipe,pipe2,poll,ppoll,prctl,pread64,pwrite64,read,readlink,readlinkat,recvfrom,recvmsg,rename,rt_sigaction,rt_sigprocmask,rt_sigreturn,sched_getaffinity,sched_getparam,sched_get_priority_max,sched_get_priority_min,sched_getscheduler,sched_setscheduler,sched_yield,sendmsg,sendto,setgid,setresgid,setresuid,set_robust_list,setsid,setsockopt,set_tid_address,setuid,shmat,shmctl,shmdt,shmget,shutdown,socket,stat,statfs,sysinfo,timerfd_create,umask,uname,unlink,wait4,waitid,write,writev,fchmod,fchown,unshare,exit,exit_group
26seccomp
27
28nogroups
29shell none
30# private-bin program
31# private-etc none
32# private-dev - prevents libdc1394 loading; this lib is used to connect to a camera device
33private-tmp