diff options
author | 2022-01-22 15:48:25 -0500 | |
---|---|---|
committer | 2022-01-22 15:48:25 -0500 | |
commit | ac83117d02c01f144f73ccb407c9697ec6510778 (patch) | |
tree | 6ae279612fc1d0e896f9012b4f2df96b5a893fd2 | |
parent | man: mention that private-bin and private-etc are cumulative (diff) | |
download | firejail-ac83117d0.tar.gz firejail-ac83117d0.tar.zst firejail-ac83117d0.zip |
netlink - fixing the fix
-rw-r--r-- | etc/profile-m-z/supertuxkart.profile | 2 | ||||
-rw-r--r-- | src/fseccomp/protocol.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/etc/profile-m-z/supertuxkart.profile b/etc/profile-m-z/supertuxkart.profile index 473472251..862f8f336 100644 --- a/etc/profile-m-z/supertuxkart.profile +++ b/etc/profile-m-z/supertuxkart.profile | |||
@@ -43,7 +43,7 @@ noroot | |||
43 | notv | 43 | notv |
44 | nou2f | 44 | nou2f |
45 | novideo | 45 | novideo |
46 | protocol unix,inet,inet6,bluetooth | 46 | protocol unix,inet,inet6,bluetooth,netlink |
47 | seccomp | 47 | seccomp |
48 | seccomp.block-secondary | 48 | seccomp.block-secondary |
49 | shell none | 49 | shell none |
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 |