Skip to content

scottmac-dev/linux-syscalls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring, learning, documenting, implementing linux syscalls

Syscalls Done

NETWORKING

  • socket
  • bind
  • listen
  • connect
  • accept
  • send / recv
  • setsockopt
  • getaddrinfo (via zig interfaces, kind of)

FILESYSTEM

  • sendfile: alloc free file transfer
  • open
  • close
  • stat / statx
  • read
  • write
  • inotify: file system watching and notification
  • poll
  • signals -> sigaction, kill

PROCESS

  • fork: forks child process
  • execve: executes child process
  • pipe2
  • dup2
  • tee
  • splice
  • waitpid
  • getpid

MISC

  • getrandom: /dev/urandom alternative
  • mmap
  • munmap
  • mprotect

IOURING

  • io_uring_setup
  • io_uring_enter
  • mmap
  • munmap

About

An example based repo exploring and implementing various linux syscalls

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages