Skip to content

Commit

Permalink
sandbox: fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Moody committed Apr 30, 2019
1 parent 01d123b commit 9c66312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/sandbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void lightwave_sandbox()
seccomp_rule_add_exact(ctx, SCMP_ACT_ALLOW, SCMP_SYS(exit_group), 0);
seccomp_rule_add_exact(ctx, SCMP_ACT_ALLOW, SCMP_SYS(getcwd), 0);

/* permit open(..., O_RDONLY) and openat(..., ..., O_RDONLY*/
/* permit open(..., O_RDONLY) and openat(..., ..., O_RDONLY) */
seccomp_rule_add_exact
(ctx, SCMP_ACT_ALLOW, SCMP_SYS(open), 1,
SCMP_A1(SCMP_CMP_EQ, O_RDONLY));
Expand Down

0 comments on commit 9c66312

Please sign in to comment.