Syscall

Enum Syscall 

Source
pub enum Syscall {
Show 97 variants Invalid = 0, Getcwd = 17, Eventfd2 = 19, EpollCtl = 21, EpollPwait = 22, EpollCreate1 = 20, Flock = 32, Dup = 23, Dup3 = 24, Fcntl = 25, Ioctl = 29, MkdirAt = 34, UnlinkAt = 35, Ftruncate = 46, Fallocate = 47, LinkAt = 37, FaccessAt = 48, Chdir = 49, Fchmod = 52, OpenAt = 56, Close = 57, Pipe2 = 59, GetDents64 = 61, Lseek = 62, Read = 63, Write = 64, Readv = 65, Writev = 66, Pread64 = 67, Pwrite64 = 68, Pselect6 = 72, Ppoll = 73, NewFstAtAt = 79, NewFstat = 80, ReadLinkAt = 78, Fsync = 82, Exit = 93, ExitGroup = 94, SetTidAddress = 96, Futex = 98, SetRobustList = 99, Nanosleep = 101, TimerCreate = 107, TimerGettime = 108, TimerGetoverrun = 109, TimerSettime = 110, TimerDelete = 111, ClockGettime = 113, ClockGetres = 114, RtSigaction = 134, RtSigprocmask = 135, SetGid = 144, SetUid = 146, SetPgid = 154, GetPgid = 155, Uname = 160, Umask = 166, Prctl = 167, GetPid = 172, GetPpid = 173, GetUid = 174, GetEuid = 175, GetGid = 176, GetEgid = 177, GetTid = 178, Kill = 129, Tkill = 130, Brk = 214, Munmap = 215, Clone = 220, Execve = 221, Mmap = 222, Mprotect = 226, EpollWait = 232, Getrandom = 278, MemfdCreate = 279, Wait4 = 260, Prlimit64 = 261, Socket = 198, Socketpair = 199, Bind = 200, Listen = 201, Accept = 202, Connect = 203, GetSockname = 204, GetPeerName = 205, Sendto = 206, Recvfrom = 207, SetSockopt = 208, GetSockopt = 209, Shutdown = 210, Sendmsg = 211, Recvmsg = 212, Statx = 291, RenameAt2 = 276, Membarrier = 283, FaccessAt2 = 439,
}

Variants§

§

Invalid = 0

§

Getcwd = 17

§

Eventfd2 = 19

§

EpollCtl = 21

§

EpollPwait = 22

§

EpollCreate1 = 20

§

Flock = 32

§

Dup = 23

§

Dup3 = 24

§

Fcntl = 25

§

Ioctl = 29

§

MkdirAt = 34

§

UnlinkAt = 35

§

Ftruncate = 46

§

Fallocate = 47

§

LinkAt = 37

§

FaccessAt = 48

§

Chdir = 49

§

Fchmod = 52

§

OpenAt = 56

§

Close = 57

§

Pipe2 = 59

§

GetDents64 = 61

§

Lseek = 62

§

Read = 63

§

Write = 64

§

Readv = 65

§

Writev = 66

§

Pread64 = 67

§

Pwrite64 = 68

§

Pselect6 = 72

§

Ppoll = 73

§

NewFstAtAt = 79

§

NewFstat = 80

§

ReadLinkAt = 78

§

Fsync = 82

§

Exit = 93

§

ExitGroup = 94

§

SetTidAddress = 96

§

Futex = 98

§

SetRobustList = 99

§

Nanosleep = 101

§

TimerCreate = 107

§

TimerGettime = 108

§

TimerGetoverrun = 109

§

TimerSettime = 110

§

TimerDelete = 111

§

ClockGettime = 113

§

ClockGetres = 114

§

RtSigaction = 134

§

RtSigprocmask = 135

§

SetGid = 144

§

SetUid = 146

§

SetPgid = 154

§

GetPgid = 155

§

Uname = 160

§

Umask = 166

§

Prctl = 167

§

GetPid = 172

§

GetPpid = 173

§

GetUid = 174

§

GetEuid = 175

§

GetGid = 176

§

GetEgid = 177

§

GetTid = 178

§

Kill = 129

§

Tkill = 130

§

Brk = 214

§

Munmap = 215

§

Clone = 220

§

Execve = 221

§

Mmap = 222

§

Mprotect = 226

§

EpollWait = 232

§

Getrandom = 278

§

MemfdCreate = 279

§

Wait4 = 260

§

Prlimit64 = 261

§

Socket = 198

§

Socketpair = 199

§

Bind = 200

§

Listen = 201

§

Accept = 202

§

Connect = 203

§

GetSockname = 204

§

GetPeerName = 205

§

Sendto = 206

§

Recvfrom = 207

§

SetSockopt = 208

§

GetSockopt = 209

§

Shutdown = 210

§

Sendmsg = 211

§

Recvmsg = 212

§

Statx = 291

§

RenameAt2 = 276

§

Membarrier = 283

§

FaccessAt2 = 439

Trait Implementations§

Source§

impl Debug for Syscall

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Syscall

§

impl RefUnwindSafe for Syscall

§

impl Send for Syscall

§

impl Sync for Syscall

§

impl Unpin for Syscall

§

impl UnwindSafe for Syscall

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Error = Infallible

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

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

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.