Skip to content

Commit

Permalink
Fix Built-in Seccomp profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Moe-hacker committed Dec 18, 2024
1 parent 04ec4c6 commit 9396ea6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/seccomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ void ruri_setup_seccomp(const struct RURI_CONTAINER *_Nonnull container)
seccomp_rule_add(ctx, SCMP_ACT_KILL, SCMP_SYS(kcmp), 0);
seccomp_rule_add(ctx, SCMP_ACT_KILL, SCMP_SYS(process_vm_readv), 0);
seccomp_rule_add(ctx, SCMP_ACT_KILL, SCMP_SYS(process_vm_writev), 0);
seccomp_rule_add(ctx, SCMP_ACT_KILL, SCMP_SYS(ptrace), 0);
}
if (ruri_is_in_caplist(container->drop_caplist, CAP_SYS_BOOT)) {
seccomp_rule_add(ctx, SCMP_ACT_KILL, SCMP_SYS(kexec_file_load), 0);
Expand Down

0 comments on commit 9396ea6

Please sign in to comment.