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

fix: flock filter update

parent 71612f00
No related branches found
No related tags found
No related merge requests found
......@@ -531,6 +531,11 @@ sb_flock(scmp_filter_ctx ctx, sandbox_cfg_t *filter)
if (rc)
return rc;
rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(flock), 1,
SCMP_CMP(1, SCMP_CMP_EQ, LOCK_UN));
if (rc)
return rc;
return 0;
}
......
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