From 0570db01d54fe7756fd29e05355b5602b7ad3c73 Mon Sep 17 00:00:00 2001 From: leitner Date: Mon, 13 Mar 2017 10:49:26 +0000 Subject: [PATCH] update seccomp for i386 socketcall syscall horror --- tinyldap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tinyldap.c b/tinyldap.c index fc27577..fb0e49f 100644 --- a/tinyldap.c +++ b/tinyldap.c @@ -2487,7 +2487,8 @@ static int install_syscall_filter(void) { #ifdef __NR_socketcall ALLOW_SYSCALL(socketcall), -#else +#endif +#ifdef __NR_setsockopt ALLOW_SYSCALL(setsockopt), #endif