Skip to content
Snippets Groups Projects
Commit 8e003b1c authored by Cristian Toader's avatar Cristian Toader
Browse files

fixed socket syscall bug

parent 3802cae9
No related branches found
No related tags found
No related merge requests found
......@@ -1187,8 +1187,6 @@ add_noparam_filter(scmp_filter_ctx ctx)
// add general filters
for (i = 0; i < ARRAY_LENGTH(filter_nopar_gen); i++) {
if (filter_nopar_gen[i] < 0)
continue;
rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, filter_nopar_gen[i], 0);
if (rc != 0) {
log_err(LD_BUG,"(Sandbox) failed to add syscall index %d (NR=%d), "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment