mirror of
https://github.com/bol-van/zapret.git
synced 2025-12-21 23:18:09 +03:00
tpws,nfqws: seccomp hardening
This commit is contained in:
@@ -943,11 +943,11 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
set_ulimit();
|
||||
sec_harden();
|
||||
|
||||
if (params.droproot && !droproot(params.uid,params.gid))
|
||||
goto exiterr;
|
||||
print_id();
|
||||
|
||||
//splice() causes the process to receive the SIGPIPE-signal if one part (for
|
||||
//example a socket) is closed during splice(). I would rather have splice()
|
||||
//fail and return -1, so blocking SIGPIPE.
|
||||
|
||||
Reference in New Issue
Block a user