added netlink to the protocol list for firefox, required by some camera devices connected over firewire or usb

This commit is contained in:
netblue30 2015-11-15 09:07:36 -05:00
parent 69be1d0e86
commit 932b3b9319
2 changed files with 1 additions and 2 deletions

View file

@ -6,7 +6,7 @@ include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
caps.drop all
seccomp
protocol unix,inet,inet6
protocol unix,inet,inet6,netlink
netfilter
noroot
whitelist ~/.mozilla

View file

@ -148,7 +148,6 @@ static void monitor_application(pid_t app_pid) {
struct dirent *entry;
app_pid = 0;
while ((entry = readdir(dir)) != NULL) {
char *end;
unsigned pid;
if (sscanf(entry->d_name, "%u", &pid) != 1)
continue;