From 15d9ef1ba68914223fcd4a989c9c6df8b7565a1d Mon Sep 17 00:00:00 2001 From: smitsohu Date: Sun, 10 Dec 2017 00:43:09 +0100 Subject: fix (and harden) kmail - #1541 --- etc/kmail.profile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'etc/kmail.profile') diff --git a/etc/kmail.profile b/etc/kmail.profile index fdc96c97f..7aad57987 100644 --- a/etc/kmail.profile +++ b/etc/kmail.profile @@ -18,10 +18,13 @@ nodvd nogroups nonewprivs noroot +nosound notv +novideo protocol unix,inet,inet6,netlink -seccomp -tracelog +# blacklisting of chroot system calls breaks kmail +seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice +# tracelog private-dev # private-tmp -- cgit v1.2.3-54-g00ecf