tpws,nfqws: seccomp hardening

This commit is contained in:
bol-van
2022-11-22 17:49:53 +03:00
parent 3f8825e668
commit 7af2d43d5f
23 changed files with 408 additions and 3 deletions

View File

@@ -276,6 +276,8 @@ static int nfq_main()
if (!rawsend_preinit(params.bind_fix4,params.bind_fix6))
goto exiterr;
sec_harden();
if (params.droproot && !droproot(params.uid, params.gid))
goto exiterr;
print_id();