change default behavior for execve from accept to log
This commit is contained in:
parent
6b52b19eaf
commit
bc6ed96d43
@ -134,7 +134,7 @@ fn main() -> anyhow::Result<()> {
|
||||
let mut filter = ScmpFilterContext::new_filter(default_action)?;
|
||||
|
||||
filter.add_rule(
|
||||
ScmpAction::Allow,
|
||||
ScmpAction::Log,
|
||||
ScmpSyscall::from(nix::libc::SYS_execve as i32),
|
||||
)?;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user