SyscallGroups

Enum SyscallGroups 

Source
#[repr(u32)]
pub enum SyscallGroups {
Show 17 variants File = 1, IPC = 2, Network = 4, Process = 8, Signal = 16, Desc = 32, Memory = 64, Stat = 4_096, LStat = 8_192, StatFs = 16_384, FStatFs = 32_768, StatFsLike = 65_536, FStat = 131_072, StatLike = 262_144, Pure = 524_288, Creds = 2_097_152, Clock = 4_194_304,
}

Variants§

§

File = 1

TF TRACE_FILE Trace file-related syscalls.

§

IPC = 2

TI TRACE_IPC Trace IPC-related syscalls.

§

Network = 4

TN TRACE_NETWORK Trace network-related syscalls.

§

Process = 8

TP TRACE_PROCESS Trace process-related syscalls.

§

Signal = 16

TS TRACE_SIGNAL Trace signal-related syscalls.

§

Desc = 32

TD TRACE_DESC Trace file descriptor-related syscalls.

§

Memory = 64

TM TRACE_MEMORY Trace memory mapping-related syscalls.

§

Stat = 4_096

TST TRACE_STAT Trace {,*_}{,old}{,x}stat{,64} syscalls.

§

LStat = 8_192

TLST TRACE_LSTAT Trace lstat syscalls.

§

StatFs = 16_384

TSF TRACE_STATFS Trace statfs, statfs64, and statvfs syscalls.

§

FStatFs = 32_768

TFSF TRACE_FSTATFS Trace fstatfs, fstatfs64 and fstatvfs syscalls.

§

StatFsLike = 65_536

TSFA TRACE_STATFS_LIKE Trace statfs-like, fstatfs-like and ustat syscalls.

§

FStat = 131_072

TFST TRACE_FSTAT Trace *fstat{,at}{,64} syscalls.

§

StatLike = 262_144

TSTA TRACE_STAT_LIKE Trace *{,l,f}stat{,x,at}{,64} syscalls.

§

Pure = 524_288

PU TRACE_PURE Trace getter syscalls with no arguments.

§

Creds = 2_097_152

TC TRACE_CREDS Trace process credentials-related syscalls.

§

Clock = 4_194_304

TCL TRACE_CLOCK Trace syscalls reading or modifying system clocks.

Trait Implementations§

Source§

impl BitAnd for SyscallGroups

Source§

type Output = BitFlags<SyscallGroups>

The resulting type after applying the & operator.
Source§

fn bitand(self, other: Self) -> Self::Output

Performs the & operation. Read more
Source§

impl BitFlag for SyscallGroups

Source§

fn empty() -> BitFlags<Self>

Create a BitFlags with no flags set (in other words, with a value of 0). Read more
Source§

fn all() -> BitFlags<Self>

Create a BitFlags with all flags set. Read more
Source§

fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>

Create a BitFlags if the raw value provided does not contain any illegal flags. Read more
Source§

fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>

Create a BitFlags from an underlying bitwise value. If any invalid bits are set, ignore them. Read more
Source§

unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>

Create a BitFlags unsafely, without checking if the bits form a valid bit pattern for the type. Read more
Source§

impl BitOr for SyscallGroups

Source§

type Output = BitFlags<SyscallGroups>

The resulting type after applying the | operator.
Source§

fn bitor(self, other: Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitXor for SyscallGroups

Source§

type Output = BitFlags<SyscallGroups>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: Self) -> Self::Output

Performs the ^ operation. Read more
Source§

impl Clone for SyscallGroups

Source§

fn clone(&self) -> SyscallGroups

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SyscallGroups

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Not for SyscallGroups

Source§

type Output = BitFlags<SyscallGroups>

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl PartialEq for SyscallGroups

Source§

fn eq(&self, other: &SyscallGroups) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl RawBitFlags for SyscallGroups

Source§

const EMPTY: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <group::SyscallGroups as enumflags2::_internal::RawBitFlags>::Numeric}

A value with no bits set.
Source§

const DEFAULT: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <group::SyscallGroups as enumflags2::_internal::RawBitFlags>::Numeric}

The value used by the Default implementation. Equivalent to EMPTY, unless customized.
Source§

const ALL_BITS: <Self as RawBitFlags>::Numeric = {transmute(0x006ff07f): <group::SyscallGroups as enumflags2::_internal::RawBitFlags>::Numeric}

A value with all flag bits set.
Source§

const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<SyscallGroups>"

The name of the type for debug formatting purposes. Read more
Source§

type Numeric = u32

The underlying integer type.
Source§

fn bits(self) -> <Self as RawBitFlags>::Numeric

Return the bits as a number type.
Source§

impl Copy for SyscallGroups

Source§

impl Eq for SyscallGroups

Source§

impl StructuralPartialEq for SyscallGroups

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Erasable for T

Source§

const ACK_1_1_0: bool = true

Whether this implementor has acknowledged the 1.1.0 update to unerase’s documented implementation requirements. Read more
Source§

unsafe fn unerase(this: NonNull<Erased>) -> NonNull<T>

Unerase this erased pointer. Read more
Source§

fn erase(this: NonNull<Self>) -> NonNull<Erased>

Turn this erasable pointer into an erased pointer. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.