[][src]Module syscall::call

Function definitions

Functions

attach_iouring

Ask a scheme to attach an already-opened io_uring. The target scheme will become the consumer of the submission queue, and the producer of the completion queue. This syscall is required before an io_uring can operate properly.

brk

Set the end of the process's heap

chdir

Change the process's working directory

chmodDeprecated
clock_gettime

Get the current system time

clone

Produce a fork of the current process, or a new process thread

close

Close a file

dup

Copy and transform a file descriptor

dup2

Copy and transform a file descriptor

enter_iouring

Tell the kernel that the current process has nothing left to do, and is ready to wait for additional io_uring entries before waking up again.

exit

Exit the current process

fchmod

Change file permissions

fchown

Change file ownership

fcntl

Change file descriptor flags

fexec

Replace the current process with a new executable

fmap

Map a file into memory

fpath

Retrieve the canonical path of a file

frename

Rename a file

fstat

Get metadata about a file

fstatvfs

Get metadata about a filesystem

fsync

Sync a file descriptor to its underlying medium

ftruncate

Truncate or extend a file to a specified length

funmap

Unmap a memory-mapped file

futex

Fast userspace mutex

futimens
getcwd

Get the current working directory

getegid

Get the effective group ID

getens

Get the effective namespace

geteuid

Get the effective user ID

getgid

Get the current group ID

getns

Get the current namespace

getpgid

Get the process group ID

getpid

Get the current process ID

getppid

Get the parent process ID

getuid

Get the current user ID

iopl

Set the I/O privilege level

kill

Send a signal sig to the process identified by pid

link

Create a link to a file

lseek

Seek to offset bytes in a file descriptor

mkns

Make a new scheme namespace

mprotect

Change mapping flags

nanosleep

Sleep for the time specified in req

open

Open a file

physalloc

Allocate frames, linearly in physical memory.

physalloc2

Allocate frames, linearly in physical memory, with an extra set of flags. If the flags contain PARTIAL_ALLOC, this will result in physalloc3 with min = 1.

physalloc3

Allocate frames, linearly in physical memory, with an extra set of flags. If the flags contain PARTIAL_ALLOC, the min parameter specifies the number of frames that have to be allocated for this operation to succeed. The return value is the offset of the first frame, and min is overwritten with the number of frames actually allocated.

physfree

Free physically allocated pages

physmap

Map physical memory to virtual memory

physunmap

Unmap previously mapped physical memory

pipe2

Create a pair of file descriptors referencing the read and write ends of a pipe

read

Read from a file descriptor into a buffer

rmdir

Remove a directory

sched_yield

Yield the process's time slice to the kernel

setpgid

Set the process group ID

setregid

Set the current process group IDs

setrens

Make a new scheme namespace

setreuid

Set the current process user IDs

sigaction

Set up a signal handler

sigprocmask

Get and/or set signal masks

sigreturn
umask

Set the file mode creation mask

unlink

Remove a file

virttophys

Convert a virtual address to a physical one

waitpid

Check if a child process has exited or received a signal

write

Write a buffer to a file descriptor