Skip to content

Commit

Permalink
Bump oci-spec to 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kiokuless committed Sep 26, 2024
1 parent 8f0d914 commit 86a41ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/libcontainer/src/seccomp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ fn translate_arch(arch: Arch) -> ScmpArch {
Arch::ScmpArchPpc64le => ScmpArch::Ppc64Le,
Arch::ScmpArchS390 => ScmpArch::S390,
Arch::ScmpArchS390x => ScmpArch::S390X,
Arch::ScmpArchRiscv64 => ScmpArch::Riscv64,
}
}

Expand All @@ -89,6 +90,7 @@ fn translate_action(action: LinuxSeccompAction, errno: Option<u32>) -> Result<Sc
LinuxSeccompAction::ScmpActKillProcess => ScmpAction::KillProcess,
LinuxSeccompAction::ScmpActNotify => ScmpAction::Notify,
LinuxSeccompAction::ScmpActLog => ScmpAction::Log,
LinuxSeccompAction::ScmpActKillThread => ScmpAction::KillThread,
};

tracing::trace!(?action, "translated action");
Expand Down

0 comments on commit 86a41ab

Please sign in to comment.