aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-01-22 15:48:25 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2022-01-22 15:48:25 -0500
commitac83117d02c01f144f73ccb407c9697ec6510778 (patch)
tree6ae279612fc1d0e896f9012b4f2df96b5a893fd2 /src/fseccomp
parentman: mention that private-bin and private-etc are cumulative (diff)
downloadfirejail-ac83117d02c01f144f73ccb407c9697ec6510778.tar.gz
firejail-ac83117d02c01f144f73ccb407c9697ec6510778.tar.zst
firejail-ac83117d02c01f144f73ccb407c9697ec6510778.zip
netlink - fixing the fix
Diffstat (limited to 'src/fseccomp')
-rw-r--r--src/fseccomp/protocol.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fseccomp/protocol.c b/src/fseccomp/protocol.c
index b072f6ad6..25742c173 100644
--- a/src/fseccomp/protocol.c
+++ b/src/fseccomp/protocol.c
@@ -58,7 +58,6 @@ static char *protocol[] = {
58 "netlink", 58 "netlink",
59 "packet", 59 "packet",
60 "bluetooth", 60 "bluetooth",
61 "netlink",
62 NULL 61 NULL
63}; 62};
64 63
@@ -69,8 +68,7 @@ static struct sock_filter protocol_filter_command[] = {
69 WHITELIST(AF_INET6), 68 WHITELIST(AF_INET6),
70 WHITELIST(AF_NETLINK), 69 WHITELIST(AF_NETLINK),
71 WHITELIST(AF_PACKET), 70 WHITELIST(AF_PACKET),
72 WHITELIST(AF_BLUETOOTH), 71 WHITELIST(AF_BLUETOOTH)
73 WHITELIST(AF_NETLINK)
74}; 72};
75#endif 73#endif
76// Note: protocol[] and protocol_filter_command are synchronized 74// Note: protocol[] and protocol_filter_command are synchronized