From 39654d01661ea9310b9b886a572ee24b1e4c9cfb Mon Sep 17 00:00:00 2001 From: netblue Date: Fri, 21 Jan 2022 10:13:22 -0500 Subject: adding netlink to --protocol list (#4605) --- src/fseccomp/protocol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/fseccomp') diff --git a/src/fseccomp/protocol.c b/src/fseccomp/protocol.c index 25742c173..b072f6ad6 100644 --- a/src/fseccomp/protocol.c +++ b/src/fseccomp/protocol.c @@ -58,6 +58,7 @@ static char *protocol[] = { "netlink", "packet", "bluetooth", + "netlink", NULL }; @@ -68,7 +69,8 @@ static struct sock_filter protocol_filter_command[] = { WHITELIST(AF_INET6), WHITELIST(AF_NETLINK), WHITELIST(AF_PACKET), - WHITELIST(AF_BLUETOOTH) + WHITELIST(AF_BLUETOOTH), + WHITELIST(AF_NETLINK) }; #endif // Note: protocol[] and protocol_filter_command are synchronized -- cgit v1.2.3-54-g00ecf