mirror of
https://github.com/bol-van/zapret.git
synced 2025-08-10 01:02:03 +03:00
nfqws,tpws: separate droproot from dropcaps
This commit is contained in:
@@ -293,7 +293,7 @@ static int nfq_main(void)
|
||||
ssize_t rd;
|
||||
|
||||
sec_harden();
|
||||
if (params.droproot && !droproot(params.uid, params.gid))
|
||||
if (params.droproot && !droproot(params.uid, params.gid) || !dropcaps())
|
||||
return 1;
|
||||
print_id();
|
||||
if (params.droproot && !test_list_files())
|
||||
|
Reference in New Issue
Block a user