aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2019-01-14 09:44:53 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2019-01-14 09:44:53 -0500
commitae3db84128503c16fd638b5c7bf9408d64ce14ba (patch)
treec9767454fa6a0555f3bd9784e6d5d7b7433b932e
parentfix error message (diff)
downloadfirejail-ae3db84128503c16fd638b5c7bf9408d64ce14ba.tar.gz
firejail-ae3db84128503c16fd638b5c7bf9408d64ce14ba.tar.zst
firejail-ae3db84128503c16fd638b5c7bf9408d64ce14ba.zip
adding mincore syscall to the default seccomp filter and some independent profiles
-rw-r--r--README.md7
-rw-r--r--RELNOTES6
-rw-r--r--etc/clementine.profile2
-rw-r--r--etc/firefox-common.profile2
-rw-r--r--etc/kmail.profile2
-rw-r--r--etc/mpd.profile2
-rw-r--r--etc/qutebrowser.profile2
-rw-r--r--etc/torbrowser-launcher.profile2
-rw-r--r--src/fseccomp/syscall.c5
-rw-r--r--src/man/firejail.txt2
10 files changed, 24 insertions, 8 deletions
diff --git a/README.md b/README.md
index a86e24388..35b712667 100644
--- a/README.md
+++ b/README.md
@@ -144,6 +144,13 @@ The new LTS branch is here: https://github.com/netblue30/firejail/tree/LTSbase
144 144
145## New profiles: 145## New profiles:
146 146
147`````
148$ ls etc/*.profile | wc -l
149608
150`````
151We have more than 600 application profiles on mainline!
152
153
147QMediathekView, aria2c, Authenticator, checkbashisms, devilspie, devilspie2, easystroke, github-desktop, min, 154QMediathekView, aria2c, Authenticator, checkbashisms, devilspie, devilspie2, easystroke, github-desktop, min,
148bsdcat, bsdcpio, bsdtar, lzmadec, lbunzip2, lbzcat, lbzip2, lzcat, lzcmp, lzdiff, lzegrep, lzfgrep, lzgrep, 155bsdcat, bsdcpio, bsdtar, lzmadec, lbunzip2, lbzcat, lbzip2, lzcat, lzcmp, lzdiff, lzegrep, lzfgrep, lzgrep,
149lzless, lzma, lzmainfo, lzmore, unlzma, unxz, xzcat, xzcmp, xzdiff, xzegrep, xzfgrep, xzgrep, xzless, xzmore, 156lzless, lzma, lzmainfo, lzmore, unlzma, unxz, xzcat, xzcmp, xzdiff, xzegrep, xzfgrep, xzgrep, xzless, xzmore,
diff --git a/RELNOTES b/RELNOTES
index 0ba81018e..381f9ebb8 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -2,6 +2,12 @@ firejail (0.9.56.1) baseline; urgency=low
2 * work in progress 2 * work in progress
3 * --disable-mnt rework 3 * --disable-mnt rework
4 * --net.print command 4 * --net.print command
5 * GitLab CI/CD integration: disto specific builds
6 * profile parser enhancements and conditional handling support
7 for HAS_APPIMAGE, HAS_NODBUS, BROWSER_DISABLE_U2F
8 * profile name support
9 * added explicit nonewprivs support to join option
10 * add mincore syscall to default seccomp list
5 * new profiles: QMediathekView, aria2c, Authenticator, checkbashisms 11 * new profiles: QMediathekView, aria2c, Authenticator, checkbashisms
6 * new profiles: devilspie, devilspie2, easystroke, github-desktop, min 12 * new profiles: devilspie, devilspie2, easystroke, github-desktop, min
7 * new profiles: bsdcat, bsdcpio, bsdtar, lzmadec, lbunzip2, lbzcat 13 * new profiles: bsdcat, bsdcpio, bsdtar, lzmadec, lbunzip2, lbzcat
diff --git a/etc/clementine.profile b/etc/clementine.profile
index 147b0de4b..1cf478ead 100644
--- a/etc/clementine.profile
+++ b/etc/clementine.profile
@@ -27,7 +27,7 @@ nou2f
27novideo 27novideo
28protocol unix,inet,inet6 28protocol unix,inet,inet6
29# blacklisting of ioprio_set system calls breaks clementine 29# blacklisting of ioprio_set system calls breaks clementine
30seccomp.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 30seccomp.drop mincore,@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
31 31
32private-dev 32private-dev
33private-tmp 33private-tmp
diff --git a/etc/firefox-common.profile b/etc/firefox-common.profile
index ad8a0a0b7..288afa8a2 100644
--- a/etc/firefox-common.profile
+++ b/etc/firefox-common.profile
@@ -40,7 +40,7 @@ noroot
40notv 40notv
41?BROWSER_DISABLE_U2F: nou2f 41?BROWSER_DISABLE_U2F: nou2f
42protocol unix,inet,inet6,netlink 42protocol unix,inet,inet6,netlink
43seccomp.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 43seccomp.drop mincore,@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
44shell none 44shell none
45#disable tracelog, it breaks or causes major issues with many firefox based browsers, see github issue #1930 45#disable tracelog, it breaks or causes major issues with many firefox based browsers, see github issue #1930
46#tracelog 46#tracelog
diff --git a/etc/kmail.profile b/etc/kmail.profile
index 1f8403ef1..85eb74998 100644
--- a/etc/kmail.profile
+++ b/etc/kmail.profile
@@ -50,7 +50,7 @@ nou2f
50novideo 50novideo
51protocol unix,inet,inet6,netlink 51protocol unix,inet,inet6,netlink
52# we need to allow chroot, io_getevents, ioprio_set, io_setup, io_submit system calls 52# we need to allow chroot, io_getevents, ioprio_set, io_setup, io_submit system calls
53seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,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 53seccomp.drop mincore,@clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,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
54# tracelog 54# tracelog
55# writable-run-user is needed for signing and encrypting emails 55# writable-run-user is needed for signing and encrypting emails
56writable-run-user 56writable-run-user
diff --git a/etc/mpd.profile b/etc/mpd.profile
index e06b83aa9..c532edeb2 100644
--- a/etc/mpd.profile
+++ b/etc/mpd.profile
@@ -30,7 +30,7 @@ novideo
30protocol unix,inet,inet6 30protocol unix,inet,inet6
31# blacklisting of ioprio_set system calls breaks auto-updating of 31# blacklisting of ioprio_set system calls breaks auto-updating of
32# MPD's database when files in music_directory are changed 32# MPD's database when files in music_directory are changed
33seccomp.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 33seccomp.drop mincore,@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
34shell none 34shell none
35 35
36#private-bin mpd,bash 36#private-bin mpd,bash
diff --git a/etc/qutebrowser.profile b/etc/qutebrowser.profile
index ac9f9bfd9..7193a04ed 100644
--- a/etc/qutebrowser.profile
+++ b/etc/qutebrowser.profile
@@ -41,5 +41,5 @@ noroot
41notv 41notv
42protocol unix,inet,inet6,netlink 42protocol unix,inet,inet6,netlink
43# blacklisting of chroot system calls breaks qt webengine 43# blacklisting of chroot system calls breaks qt webengine
44seccomp.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 44seccomp.drop mincore,@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
45# tracelog 45# tracelog
diff --git a/etc/torbrowser-launcher.profile b/etc/torbrowser-launcher.profile
index a9244683f..dd444103e 100644
--- a/etc/torbrowser-launcher.profile
+++ b/etc/torbrowser-launcher.profile
@@ -41,7 +41,7 @@ notv
41nou2f 41nou2f
42novideo 42novideo
43protocol unix,inet,inet6 43protocol unix,inet,inet6
44seccomp.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 44seccomp.drop mincore,@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
45shell none 45shell none
46# tracelog may cause issues, see github issue #1930 46# tracelog may cause issues, see github issue #1930
47#tracelog 47#tracelog
diff --git a/src/fseccomp/syscall.c b/src/fseccomp/syscall.c
index 3b10c4473..b17d86a0b 100644
--- a/src/fseccomp/syscall.c
+++ b/src/fseccomp/syscall.c
@@ -168,7 +168,10 @@ static const SyscallGroupList sysgroups[] = {
168 "umount," 168 "umount,"
169#endif 169#endif
170#ifdef SYS_userfaultfd 170#ifdef SYS_userfaultfd
171 "userfaultfd" 171 "userfaultfd,"
172#endif
173#ifdef SYS_mincore // 0.9.57
174 "mincore"
172#endif 175#endif
173 }, 176 },
174 { .name = "@default-nodebuggers", .list = 177 { .name = "@default-nodebuggers", .list =
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 2d0bd26d0..0d402ef36 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -1700,7 +1700,7 @@ Enable seccomp filter and blacklist the syscalls in the default list (@default).
1700_sysctl, acct, add_key, adjtimex, afs_syscall, bdflush, bpf, break, chroot, clock_adjtime, clock_settime, 1700_sysctl, acct, add_key, adjtimex, afs_syscall, bdflush, bpf, break, chroot, clock_adjtime, clock_settime,
1701create_module, delete_module, fanotify_init, finit_module, ftime, get_kernel_syms, getpmsg, gtty, init_module, 1701create_module, delete_module, fanotify_init, finit_module, ftime, get_kernel_syms, getpmsg, gtty, init_module,
1702io_cancel, io_destroy, io_getevents, io_setup, io_submit, ioperm, iopl, ioprio_set, kcmp, kexec_file_load, 1702io_cancel, io_destroy, io_getevents, io_setup, io_submit, ioperm, iopl, ioprio_set, kcmp, kexec_file_load,
1703kexec_load, keyctl, lock, lookup_dcookie, mbind, migrate_pages, modify_ldt, mount, move_pages, mpx, 1703kexec_load, keyctl, lock, lookup_dcookie, mbind, migrate_pages, modify_ldt, mount, mincore, move_pages, mpx,
1704name_to_handle_at, nfsservctl, ni_syscall, open_by_handle_at, pciconfig_iobase, pciconfig_read, pciconfig_write, perf_event_open, 1704name_to_handle_at, nfsservctl, ni_syscall, open_by_handle_at, pciconfig_iobase, pciconfig_read, pciconfig_write, perf_event_open,
1705personality, pivot_root, process_vm_readv, process_vm_writev, prof, profil, ptrace, putpmsg, 1705personality, pivot_root, process_vm_readv, process_vm_writev, prof, profil, ptrace, putpmsg,
1706query_module, reboot, remap_file_pages, request_key, rtas, s390_mmio_read, s390_mmio_write, s390_runtime_instr, 1706query_module, reboot, remap_file_pages, request_key, rtas, s390_mmio_read, s390_mmio_write, s390_runtime_instr,