pub enum Arch {
Show 17 variants
ScmpArchNative = 0,
ScmpArchX86 = 1_073_741_827,
ScmpArchX86_64 = 3_221_225_534,
ScmpArchX32 = 1_073_741_886,
ScmpArchArm = 1_073_741_864,
ScmpArchAarch64 = 3_221_225_655,
ScmpArchMips = 8,
ScmpArchMips64 = 2_147_483_656,
ScmpArchMips64n32 = 2_684_354_568,
ScmpArchMipsel = 1_073_741_832,
ScmpArchMipsel64 = 3_221_225_480,
ScmpArchMipsel64n32 = 3_758_096_392,
ScmpArchPpc = 20,
ScmpArchPpc64 = 2_147_483_669,
ScmpArchPpc64le = 3_221_225_493,
ScmpArchS390 = 22,
ScmpArchS390x = 2_147_483_670,
}
Expand description
Available seccomp architectures.
Variants§
ScmpArchNative = 0
The native architecture.
ScmpArchX86 = 1_073_741_827
The x86 (32-bit) architecture.
ScmpArchX86_64 = 3_221_225_534
The x86-64 (64-bit) architecture.
ScmpArchX32 = 1_073_741_886
The x32 (32-bit x86_64) architecture.
This is different from the value used by the kernel because we need to be able to distinguish between x32 and x86_64.
ScmpArchArm = 1_073_741_864
The ARM architecture.
ScmpArchAarch64 = 3_221_225_655
The AArch64 architecture.
ScmpArchMips = 8
The MIPS architecture.
ScmpArchMips64 = 2_147_483_656
The MIPS64 architecture.
ScmpArchMips64n32 = 2_684_354_568
The MIPS64n32 architecture.
ScmpArchMipsel = 1_073_741_832
The MIPSel architecture.
ScmpArchMipsel64 = 3_221_225_480
The MIPSel64 architecture.
ScmpArchMipsel64n32 = 3_758_096_392
The MIPSel64n32 architecture.
ScmpArchPpc = 20
The PowerPC architecture.
ScmpArchPpc64 = 2_147_483_669
The PowerPC64 architecture.
ScmpArchPpc64le = 3_221_225_493
The PowerPC64le architecture.
ScmpArchS390 = 22
The S390 architecture.
ScmpArchS390x = 2_147_483_670
The S390x architecture.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Arch
impl<'de> Deserialize<'de> for Arch
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Arch
impl PartialEq for Arch
impl Copy for Arch
impl Eq for Arch
impl StructuralPartialEq for Arch
Auto Trait Implementations§
impl Freeze for Arch
impl RefUnwindSafe for Arch
impl Send for Arch
impl Sync for Arch
impl Unpin for Arch
impl UnwindSafe for Arch
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)