Module linux_unsafe::raw
source · Expand description
Thin wrappers around the CPU instructions for making system calls on x86_64.
Constants
The system call number for
accept
on this platform.The system call number for
accept4
on this platform.The system call number for
access
on this platform.The system call number for
acct
on this platform.The system call number for
add_key
on this platform.The system call number for
adjtimex
on this platform.The system call number for
afs_syscall
on this platform.The system call number for
alarm
on this platform.The system call number for
arch_prctl
on this platform.The system call number for
bind
on this platform.The system call number for
bpf
on this platform.The system call number for
brk
on this platform.The system call number for
capget
on this platform.The system call number for
capset
on this platform.The system call number for
chdir
on this platform.The system call number for
chmod
on this platform.The system call number for
chown
on this platform.The system call number for
chroot
on this platform.The system call number for
clock_adjtime
on this platform.The system call number for
clock_getres
on this platform.The system call number for
clock_gettime
on this platform.The system call number for
clock_nanosleep
on this platform.The system call number for
clock_settime
on this platform.The system call number for
clone
on this platform.The system call number for
clone3
on this platform.The system call number for
close
on this platform.The system call number for
close_range
on this platform.The system call number for
connect
on this platform.The system call number for
copy_file_range
on this platform.The system call number for
creat
on this platform.The system call number for
create_module
on this platform.The system call number for
delete_module
on this platform.The system call number for
dup
on this platform.The system call number for
dup2
on this platform.The system call number for
dup3
on this platform.The system call number for
epoll_create
on this platform.The system call number for
epoll_create1
on this platform.The system call number for
epoll_ctl
on this platform.The system call number for
epoll_ctl_old
on this platform.The system call number for
epoll_pwait
on this platform.The system call number for
epoll_pwait2
on this platform.The system call number for
epoll_wait
on this platform.The system call number for
epoll_wait_old
on this platform.The system call number for
eventfd
on this platform.The system call number for
eventfd2
on this platform.The system call number for
execve
on this platform.The system call number for
execveat
on this platform.The system call number for
exit
on this platform.The system call number for
exit_group
on this platform.The system call number for
faccessat
on this platform.The system call number for
faccessat2
on this platform.The system call number for
fadvise64
on this platform.The system call number for
fallocate
on this platform.The system call number for
fanotify_init
on this platform.The system call number for
fanotify_mark
on this platform.The system call number for
fchdir
on this platform.The system call number for
fchmod
on this platform.The system call number for
fchmodat
on this platform.The system call number for
fchown
on this platform.The system call number for
fchownat
on this platform.The system call number for
fcntl
on this platform.The system call number for
fdatasync
on this platform.The system call number for
fgetxattr
on this platform.The system call number for
finit_module
on this platform.The system call number for
flistxattr
on this platform.The system call number for
flock
on this platform.The system call number for
fork
on this platform.The system call number for
fremovexattr
on this platform.The system call number for
fsconfig
on this platform.The system call number for
fsetxattr
on this platform.The system call number for
fsmount
on this platform.The system call number for
fsopen
on this platform.The system call number for
fspick
on this platform.The system call number for
fstat
on this platform.The system call number for
fstatfs
on this platform.The system call number for
fsync
on this platform.The system call number for
ftruncate
on this platform.The system call number for
futex
on this platform.The system call number for
futimesat
on this platform.The system call number for
getcpu
on this platform.The system call number for
getcwd
on this platform.The system call number for
getdents
on this platform.The system call number for
getdents64
on this platform.The system call number for
getegid
on this platform.The system call number for
geteuid
on this platform.The system call number for
getgid
on this platform.The system call number for
getgroups
on this platform.The system call number for
getitimer
on this platform.The system call number for
getpeername
on this platform.The system call number for
getpgid
on this platform.The system call number for
getpgrp
on this platform.The system call number for
getpid
on this platform.The system call number for
getpmsg
on this platform.The system call number for
getppid
on this platform.The system call number for
getpriority
on this platform.The system call number for
getrandom
on this platform.The system call number for
getresgid
on this platform.The system call number for
getresuid
on this platform.The system call number for
getrlimit
on this platform.The system call number for
getrusage
on this platform.The system call number for
getsid
on this platform.The system call number for
getsockname
on this platform.The system call number for
getsockopt
on this platform.The system call number for
gettid
on this platform.The system call number for
gettimeofday
on this platform.The system call number for
getuid
on this platform.The system call number for
getxattr
on this platform.The system call number for
get_kernel_syms
on this platform.The system call number for
get_mempolicy
on this platform.The system call number for
get_robust_list
on this platform.The system call number for
get_thread_area
on this platform.The system call number for
init_module
on this platform.The system call number for
inotify_add_watch
on this platform.The system call number for
inotify_init
on this platform.The system call number for
inotify_init1
on this platform.The system call number for
inotify_rm_watch
on this platform.The system call number for
ioctl
on this platform.The system call number for
ioperm
on this platform.The system call number for
iopl
on this platform.The system call number for
ioprio_get
on this platform.The system call number for
ioprio_set
on this platform.The system call number for
io_cancel
on this platform.The system call number for
io_destroy
on this platform.The system call number for
io_getevents
on this platform.The system call number for
io_pgetevents
on this platform.The system call number for
io_setup
on this platform.The system call number for
io_submit
on this platform.The system call number for
io_uring_enter
on this platform.The system call number for
io_uring_register
on this platform.The system call number for
io_uring_setup
on this platform.The system call number for
kcmp
on this platform.The system call number for
kexec_file_load
on this platform.The system call number for
kexec_load
on this platform.The system call number for
keyctl
on this platform.The system call number for
kill
on this platform.The system call number for
landlock_add_rule
on this platform.The system call number for
landlock_create_ruleset
on this platform.The system call number for
landlock_restrict_self
on this platform.The system call number for
lchown
on this platform.The system call number for
lgetxattr
on this platform.The system call number for
link
on this platform.The system call number for
linkat
on this platform.The system call number for
listen
on this platform.The system call number for
listxattr
on this platform.The system call number for
llistxattr
on this platform.The system call number for
lookup_dcookie
on this platform.The system call number for
lremovexattr
on this platform.The system call number for
lseek
on this platform.The system call number for
lsetxattr
on this platform.The system call number for
lstat
on this platform.The system call number for
madvise
on this platform.The system call number for
mbind
on this platform.The system call number for
membarrier
on this platform.The system call number for
memfd_create
on this platform.The system call number for
migrate_pages
on this platform.The system call number for
mincore
on this platform.The system call number for
mkdir
on this platform.The system call number for
mkdirat
on this platform.The system call number for
mknod
on this platform.The system call number for
mknodat
on this platform.The system call number for
mlock
on this platform.The system call number for
mlock2
on this platform.The system call number for
mlockall
on this platform.The system call number for
mmap
on this platform.The system call number for
modify_ldt
on this platform.The system call number for
mount
on this platform.The system call number for
mount_setattr
on this platform.The system call number for
move_mount
on this platform.The system call number for
move_pages
on this platform.The system call number for
mprotect
on this platform.The system call number for
mq_getsetattr
on this platform.The system call number for
mq_notify
on this platform.The system call number for
mq_open
on this platform.The system call number for
mq_timedreceive
on this platform.The system call number for
mq_timedsend
on this platform.The system call number for
mq_unlink
on this platform.The system call number for
mremap
on this platform.The system call number for
msgctl
on this platform.The system call number for
msgget
on this platform.The system call number for
msgrcv
on this platform.The system call number for
msgsnd
on this platform.The system call number for
msync
on this platform.The system call number for
munlock
on this platform.The system call number for
munlockall
on this platform.The system call number for
munmap
on this platform.The system call number for
name_to_handle_at
on this platform.The system call number for
nanosleep
on this platform.The system call number for
newfstatat
on this platform.The system call number for
nfsservctl
on this platform.The system call number for
open
on this platform.The system call number for
openat
on this platform.The system call number for
openat2
on this platform.The system call number for
open_by_handle_at
on this platform.The system call number for
open_tree
on this platform.The system call number for
pause
on this platform.The system call number for
perf_event_open
on this platform.The system call number for
personality
on this platform.The system call number for
pidfd_getfd
on this platform.The system call number for
pidfd_open
on this platform.The system call number for
pidfd_send_signal
on this platform.The system call number for
pipe
on this platform.The system call number for
pipe2
on this platform.The system call number for
pivot_root
on this platform.The system call number for
pkey_alloc
on this platform.The system call number for
pkey_free
on this platform.The system call number for
pkey_mprotect
on this platform.The system call number for
poll
on this platform.The system call number for
ppoll
on this platform.The system call number for
prctl
on this platform.The system call number for
pread64
on this platform.The system call number for
preadv
on this platform.The system call number for
preadv2
on this platform.The system call number for
prlimit64
on this platform.The system call number for
process_madvise
on this platform.The system call number for
process_vm_readv
on this platform.The system call number for
process_vm_writev
on this platform.The system call number for
pselect6
on this platform.The system call number for
ptrace
on this platform.The system call number for
putpmsg
on this platform.The system call number for
pwrite64
on this platform.The system call number for
pwritev
on this platform.The system call number for
pwritev2
on this platform.The system call number for
query_module
on this platform.The system call number for
quotactl
on this platform.The system call number for
read
on this platform.The system call number for
readahead
on this platform.The system call number for
readlink
on this platform.The system call number for
readlinkat
on this platform.The system call number for
readv
on this platform.The system call number for
reboot
on this platform.The system call number for
recvfrom
on this platform.The system call number for
recvmmsg
on this platform.The system call number for
recvmsg
on this platform.The system call number for
remap_file_pages
on this platform.The system call number for
removexattr
on this platform.The system call number for
rename
on this platform.The system call number for
renameat
on this platform.The system call number for
renameat2
on this platform.The system call number for
request_key
on this platform.The system call number for
restart_syscall
on this platform.The system call number for
rmdir
on this platform.The system call number for
rseq
on this platform.The system call number for
rt_sigaction
on this platform.The system call number for
rt_sigpending
on this platform.The system call number for
rt_sigprocmask
on this platform.The system call number for
rt_sigqueueinfo
on this platform.The system call number for
rt_sigreturn
on this platform.The system call number for
rt_sigsuspend
on this platform.The system call number for
rt_sigtimedwait
on this platform.The system call number for
rt_tgsigqueueinfo
on this platform.The system call number for
sched_getaffinity
on this platform.The system call number for
sched_getattr
on this platform.The system call number for
sched_getparam
on this platform.The system call number for
sched_getscheduler
on this platform.The system call number for
sched_get_priority_max
on this platform.The system call number for
sched_get_priority_min
on this platform.The system call number for
sched_rr_get_interval
on this platform.The system call number for
sched_setaffinity
on this platform.The system call number for
sched_setattr
on this platform.The system call number for
sched_setparam
on this platform.The system call number for
sched_setscheduler
on this platform.The system call number for
sched_yield
on this platform.The system call number for
seccomp
on this platform.The system call number for
security
on this platform.The system call number for
select
on this platform.The system call number for
semctl
on this platform.The system call number for
semget
on this platform.The system call number for
semop
on this platform.The system call number for
semtimedop
on this platform.The system call number for
sendfile
on this platform.The system call number for
sendmmsg
on this platform.The system call number for
sendmsg
on this platform.The system call number for
sendto
on this platform.The system call number for
setdomainname
on this platform.The system call number for
setfsgid
on this platform.The system call number for
setfsuid
on this platform.The system call number for
setgid
on this platform.The system call number for
setgroups
on this platform.The system call number for
sethostname
on this platform.The system call number for
setitimer
on this platform.The system call number for
setns
on this platform.The system call number for
setpgid
on this platform.The system call number for
setpriority
on this platform.The system call number for
setregid
on this platform.The system call number for
setresgid
on this platform.The system call number for
setresuid
on this platform.The system call number for
setreuid
on this platform.The system call number for
setrlimit
on this platform.The system call number for
setsid
on this platform.The system call number for
setsockopt
on this platform.The system call number for
settimeofday
on this platform.The system call number for
setuid
on this platform.The system call number for
setxattr
on this platform.The system call number for
set_mempolicy
on this platform.The system call number for
set_robust_list
on this platform.The system call number for
set_thread_area
on this platform.The system call number for
set_tid_address
on this platform.The system call number for
shmat
on this platform.The system call number for
shmctl
on this platform.The system call number for
shmdt
on this platform.The system call number for
shmget
on this platform.The system call number for
shutdown
on this platform.The system call number for
sigaltstack
on this platform.The system call number for
signalfd
on this platform.The system call number for
signalfd4
on this platform.The system call number for
socket
on this platform.The system call number for
socketpair
on this platform.The system call number for
splice
on this platform.The system call number for
stat
on this platform.The system call number for
statfs
on this platform.The system call number for
statx
on this platform.The system call number for
swapoff
on this platform.The system call number for
swapon
on this platform.The system call number for
symlink
on this platform.The system call number for
symlinkat
on this platform.The system call number for
sync
on this platform.The system call number for
syncfs
on this platform.The system call number for
sync_file_range
on this platform.The system call number for
sysfs
on this platform.The system call number for
sysinfo
on this platform.The system call number for
syslog
on this platform.The system call number for
tee
on this platform.The system call number for
tgkill
on this platform.The system call number for
time
on this platform.The system call number for
timerfd_create
on this platform.The system call number for
timerfd_gettime
on this platform.The system call number for
timerfd_settime
on this platform.The system call number for
timer_create
on this platform.The system call number for
timer_delete
on this platform.The system call number for
timer_getoverrun
on this platform.The system call number for
timer_gettime
on this platform.The system call number for
timer_settime
on this platform.The system call number for
times
on this platform.The system call number for
tkill
on this platform.The system call number for
truncate
on this platform.The system call number for
tuxcall
on this platform.The system call number for
umask
on this platform.The system call number for
umount2
on this platform.The system call number for
uname
on this platform.The system call number for
unlink
on this platform.The system call number for
unlinkat
on this platform.The system call number for
unshare
on this platform.The system call number for
uselib
on this platform.The system call number for
userfaultfd
on this platform.The system call number for
ustat
on this platform.The system call number for
utime
on this platform.The system call number for
utimensat
on this platform.The system call number for
utimes
on this platform.The system call number for
vfork
on this platform.The system call number for
vhangup
on this platform.The system call number for
vmsplice
on this platform.The system call number for
vserver
on this platform.The system call number for
wait4
on this platform.The system call number for
waitid
on this platform.The system call number for
write
on this platform.The system call number for
writev
on this platform.The system call number for
_sysctl
on this platform.Functions
Call into a system function with no arguments.
Call into a system function with one argument.
Call into a system function with two arguments.
Call into a system function with three arguments.
Call into a system function with four arguments.
Call into a system function with five arguments.
Call into a system function with six arguments.
Given a result value from a system call that follows the standard error
return convention for this platform, returns either the given value
verbatim or the kernel error code extracted from it.
Type Definitions
The type of all system call arguments and return values on this platform.