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
accepton this platform. - The system call number for
accept4on this platform. - The system call number for
accesson this platform. - The system call number for
accton this platform. - The system call number for
add_keyon this platform. - The system call number for
adjtimexon this platform. - The system call number for
afs_syscallon this platform. - The system call number for
alarmon this platform. - The system call number for
arch_prctlon this platform. - The system call number for
bindon this platform. - The system call number for
bpfon this platform. - The system call number for
brkon this platform. - The system call number for
capgeton this platform. - The system call number for
capseton this platform. - The system call number for
chdiron this platform. - The system call number for
chmodon this platform. - The system call number for
chownon this platform. - The system call number for
chrooton this platform. - The system call number for
clock_adjtimeon this platform. - The system call number for
clock_getreson this platform. - The system call number for
clock_gettimeon this platform. - The system call number for
clock_nanosleepon this platform. - The system call number for
clock_settimeon this platform. - The system call number for
cloneon this platform. - The system call number for
clone3on this platform. - The system call number for
closeon this platform. - The system call number for
close_rangeon this platform. - The system call number for
connecton this platform. - The system call number for
copy_file_rangeon this platform. - The system call number for
creaton this platform. - The system call number for
create_moduleon this platform. - The system call number for
delete_moduleon this platform. - The system call number for
dupon this platform. - The system call number for
dup2on this platform. - The system call number for
dup3on this platform. - The system call number for
epoll_createon this platform. - The system call number for
epoll_create1on this platform. - The system call number for
epoll_ctlon this platform. - The system call number for
epoll_ctl_oldon this platform. - The system call number for
epoll_pwaiton this platform. - The system call number for
epoll_pwait2on this platform. - The system call number for
epoll_waiton this platform. - The system call number for
epoll_wait_oldon this platform. - The system call number for
eventfdon this platform. - The system call number for
eventfd2on this platform. - The system call number for
execveon this platform. - The system call number for
execveaton this platform. - The system call number for
exiton this platform. - The system call number for
exit_groupon this platform. - The system call number for
faccessaton this platform. - The system call number for
faccessat2on this platform. - The system call number for
fadvise64on this platform. - The system call number for
fallocateon this platform. - The system call number for
fanotify_initon this platform. - The system call number for
fanotify_markon this platform. - The system call number for
fchdiron this platform. - The system call number for
fchmodon this platform. - The system call number for
fchmodaton this platform. - The system call number for
fchownon this platform. - The system call number for
fchownaton this platform. - The system call number for
fcntlon this platform. - The system call number for
fdatasyncon this platform. - The system call number for
fgetxattron this platform. - The system call number for
finit_moduleon this platform. - The system call number for
flistxattron this platform. - The system call number for
flockon this platform. - The system call number for
forkon this platform. - The system call number for
fremovexattron this platform. - The system call number for
fsconfigon this platform. - The system call number for
fsetxattron this platform. - The system call number for
fsmounton this platform. - The system call number for
fsopenon this platform. - The system call number for
fspickon this platform. - The system call number for
fstaton this platform. - The system call number for
fstatfson this platform. - The system call number for
fsyncon this platform. - The system call number for
ftruncateon this platform. - The system call number for
futexon this platform. - The system call number for
futimesaton this platform. - The system call number for
getcpuon this platform. - The system call number for
getcwdon this platform. - The system call number for
getdentson this platform. - The system call number for
getdents64on this platform. - The system call number for
getegidon this platform. - The system call number for
geteuidon this platform. - The system call number for
getgidon this platform. - The system call number for
getgroupson this platform. - The system call number for
getitimeron this platform. - The system call number for
getpeernameon this platform. - The system call number for
getpgidon this platform. - The system call number for
getpgrpon this platform. - The system call number for
getpidon this platform. - The system call number for
getpmsgon this platform. - The system call number for
getppidon this platform. - The system call number for
getpriorityon this platform. - The system call number for
getrandomon this platform. - The system call number for
getresgidon this platform. - The system call number for
getresuidon this platform. - The system call number for
getrlimiton this platform. - The system call number for
getrusageon this platform. - The system call number for
getsidon this platform. - The system call number for
getsocknameon this platform. - The system call number for
getsockopton this platform. - The system call number for
gettidon this platform. - The system call number for
gettimeofdayon this platform. - The system call number for
getuidon this platform. - The system call number for
getxattron this platform. - The system call number for
get_kernel_symson this platform. - The system call number for
get_mempolicyon this platform. - The system call number for
get_robust_liston this platform. - The system call number for
get_thread_areaon this platform. - The system call number for
init_moduleon this platform. - The system call number for
inotify_add_watchon this platform. - The system call number for
inotify_initon this platform. - The system call number for
inotify_init1on this platform. - The system call number for
inotify_rm_watchon this platform. - The system call number for
ioctlon this platform. - The system call number for
iopermon this platform. - The system call number for
ioplon this platform. - The system call number for
ioprio_geton this platform. - The system call number for
ioprio_seton this platform. - The system call number for
io_cancelon this platform. - The system call number for
io_destroyon this platform. - The system call number for
io_geteventson this platform. - The system call number for
io_pgeteventson this platform. - The system call number for
io_setupon this platform. - The system call number for
io_submiton this platform. - The system call number for
io_uring_enteron this platform. - The system call number for
io_uring_registeron this platform. - The system call number for
io_uring_setupon this platform. - The system call number for
kcmpon this platform. - The system call number for
kexec_file_loadon this platform. - The system call number for
kexec_loadon this platform. - The system call number for
keyctlon this platform. - The system call number for
killon this platform. - The system call number for
landlock_add_ruleon this platform. - The system call number for
landlock_create_ruleseton this platform. - The system call number for
landlock_restrict_selfon this platform. - The system call number for
lchownon this platform. - The system call number for
lgetxattron this platform. - The system call number for
linkon this platform. - The system call number for
linkaton this platform. - The system call number for
listenon this platform. - The system call number for
listxattron this platform. - The system call number for
llistxattron this platform. - The system call number for
lookup_dcookieon this platform. - The system call number for
lremovexattron this platform. - The system call number for
lseekon this platform. - The system call number for
lsetxattron this platform. - The system call number for
lstaton this platform. - The system call number for
madviseon this platform. - The system call number for
mbindon this platform. - The system call number for
membarrieron this platform. - The system call number for
memfd_createon this platform. - The system call number for
migrate_pageson this platform. - The system call number for
mincoreon this platform. - The system call number for
mkdiron this platform. - The system call number for
mkdiraton this platform. - The system call number for
mknodon this platform. - The system call number for
mknodaton this platform. - The system call number for
mlockon this platform. - The system call number for
mlock2on this platform. - The system call number for
mlockallon this platform. - The system call number for
mmapon this platform. - The system call number for
modify_ldton this platform. - The system call number for
mounton this platform. - The system call number for
mount_setattron this platform. - The system call number for
move_mounton this platform. - The system call number for
move_pageson this platform. - The system call number for
mprotecton this platform. - The system call number for
mq_getsetattron this platform. - The system call number for
mq_notifyon this platform. - The system call number for
mq_openon this platform. - The system call number for
mq_timedreceiveon this platform. - The system call number for
mq_timedsendon this platform. - The system call number for
mq_unlinkon this platform. - The system call number for
mremapon this platform. - The system call number for
msgctlon this platform. - The system call number for
msggeton this platform. - The system call number for
msgrcvon this platform. - The system call number for
msgsndon this platform. - The system call number for
msyncon this platform. - The system call number for
munlockon this platform. - The system call number for
munlockallon this platform. - The system call number for
munmapon this platform. - The system call number for
name_to_handle_aton this platform. - The system call number for
nanosleepon this platform. - The system call number for
newfstataton this platform. - The system call number for
nfsservctlon this platform. - The system call number for
openon this platform. - The system call number for
openaton this platform. - The system call number for
openat2on this platform. - The system call number for
open_by_handle_aton this platform. - The system call number for
open_treeon this platform. - The system call number for
pauseon this platform. - The system call number for
perf_event_openon this platform. - The system call number for
personalityon this platform. - The system call number for
pidfd_getfdon this platform. - The system call number for
pidfd_openon this platform. - The system call number for
pidfd_send_signalon this platform. - The system call number for
pipeon this platform. - The system call number for
pipe2on this platform. - The system call number for
pivot_rooton this platform. - The system call number for
pkey_allocon this platform. - The system call number for
pkey_freeon this platform. - The system call number for
pkey_mprotecton this platform. - The system call number for
pollon this platform. - The system call number for
ppollon this platform. - The system call number for
prctlon this platform. - The system call number for
pread64on this platform. - The system call number for
preadvon this platform. - The system call number for
preadv2on this platform. - The system call number for
prlimit64on this platform. - The system call number for
process_madviseon this platform. - The system call number for
process_vm_readvon this platform. - The system call number for
process_vm_writevon this platform. - The system call number for
pselect6on this platform. - The system call number for
ptraceon this platform. - The system call number for
putpmsgon this platform. - The system call number for
pwrite64on this platform. - The system call number for
pwritevon this platform. - The system call number for
pwritev2on this platform. - The system call number for
query_moduleon this platform. - The system call number for
quotactlon this platform. - The system call number for
readon this platform. - The system call number for
readaheadon this platform. - The system call number for
readlinkon this platform. - The system call number for
readlinkaton this platform. - The system call number for
readvon this platform. - The system call number for
rebooton this platform. - The system call number for
recvfromon this platform. - The system call number for
recvmmsgon this platform. - The system call number for
recvmsgon this platform. - The system call number for
remap_file_pageson this platform. - The system call number for
removexattron this platform. - The system call number for
renameon this platform. - The system call number for
renameaton this platform. - The system call number for
renameat2on this platform. - The system call number for
request_keyon this platform. - The system call number for
restart_syscallon this platform. - The system call number for
rmdiron this platform. - The system call number for
rseqon this platform. - The system call number for
rt_sigactionon this platform. - The system call number for
rt_sigpendingon this platform. - The system call number for
rt_sigprocmaskon this platform. - The system call number for
rt_sigqueueinfoon this platform. - The system call number for
rt_sigreturnon this platform. - The system call number for
rt_sigsuspendon this platform. - The system call number for
rt_sigtimedwaiton this platform. - The system call number for
rt_tgsigqueueinfoon this platform. - The system call number for
sched_getaffinityon this platform. - The system call number for
sched_getattron this platform. - The system call number for
sched_getparamon this platform. - The system call number for
sched_getscheduleron this platform. - The system call number for
sched_get_priority_maxon this platform. - The system call number for
sched_get_priority_minon this platform. - The system call number for
sched_rr_get_intervalon this platform. - The system call number for
sched_setaffinityon this platform. - The system call number for
sched_setattron this platform. - The system call number for
sched_setparamon this platform. - The system call number for
sched_setscheduleron this platform. - The system call number for
sched_yieldon this platform. - The system call number for
seccompon this platform. - The system call number for
securityon this platform. - The system call number for
selecton this platform. - The system call number for
semctlon this platform. - The system call number for
semgeton this platform. - The system call number for
semopon this platform. - The system call number for
semtimedopon this platform. - The system call number for
sendfileon this platform. - The system call number for
sendmmsgon this platform. - The system call number for
sendmsgon this platform. - The system call number for
sendtoon this platform. - The system call number for
setdomainnameon this platform. - The system call number for
setfsgidon this platform. - The system call number for
setfsuidon this platform. - The system call number for
setgidon this platform. - The system call number for
setgroupson this platform. - The system call number for
sethostnameon this platform. - The system call number for
setitimeron this platform. - The system call number for
setnson this platform. - The system call number for
setpgidon this platform. - The system call number for
setpriorityon this platform. - The system call number for
setregidon this platform. - The system call number for
setresgidon this platform. - The system call number for
setresuidon this platform. - The system call number for
setreuidon this platform. - The system call number for
setrlimiton this platform. - The system call number for
setsidon this platform. - The system call number for
setsockopton this platform. - The system call number for
settimeofdayon this platform. - The system call number for
setuidon this platform. - The system call number for
setxattron this platform. - The system call number for
set_mempolicyon this platform. - The system call number for
set_robust_liston this platform. - The system call number for
set_thread_areaon this platform. - The system call number for
set_tid_addresson this platform. - The system call number for
shmaton this platform. - The system call number for
shmctlon this platform. - The system call number for
shmdton this platform. - The system call number for
shmgeton this platform. - The system call number for
shutdownon this platform. - The system call number for
sigaltstackon this platform. - The system call number for
signalfdon this platform. - The system call number for
signalfd4on this platform. - The system call number for
socketon this platform. - The system call number for
socketpairon this platform. - The system call number for
spliceon this platform. - The system call number for
staton this platform. - The system call number for
statfson this platform. - The system call number for
statxon this platform. - The system call number for
swapoffon this platform. - The system call number for
swaponon this platform. - The system call number for
symlinkon this platform. - The system call number for
symlinkaton this platform. - The system call number for
syncon this platform. - The system call number for
syncfson this platform. - The system call number for
sync_file_rangeon this platform. - The system call number for
sysfson this platform. - The system call number for
sysinfoon this platform. - The system call number for
syslogon this platform. - The system call number for
teeon this platform. - The system call number for
tgkillon this platform. - The system call number for
timeon this platform. - The system call number for
timerfd_createon this platform. - The system call number for
timerfd_gettimeon this platform. - The system call number for
timerfd_settimeon this platform. - The system call number for
timer_createon this platform. - The system call number for
timer_deleteon this platform. - The system call number for
timer_getoverrunon this platform. - The system call number for
timer_gettimeon this platform. - The system call number for
timer_settimeon this platform. - The system call number for
timeson this platform. - The system call number for
tkillon this platform. - The system call number for
truncateon this platform. - The system call number for
tuxcallon this platform. - The system call number for
umaskon this platform. - The system call number for
umount2on this platform. - The system call number for
unameon this platform. - The system call number for
unlinkon this platform. - The system call number for
unlinkaton this platform. - The system call number for
unshareon this platform. - The system call number for
uselibon this platform. - The system call number for
userfaultfdon this platform. - The system call number for
ustaton this platform. - The system call number for
utimeon this platform. - The system call number for
utimensaton this platform. - The system call number for
utimeson this platform. - The system call number for
vforkon this platform. - The system call number for
vhangupon this platform. - The system call number for
vmspliceon this platform. - The system call number for
vserveron this platform. - The system call number for
wait4on this platform. - The system call number for
waitidon this platform. - The system call number for
writeon this platform. - The system call number for
writevon this platform. - The system call number for
_sysctlon 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 Aliases§
- The type of all system call arguments and return values on this platform.