asterinas/book/src/kernel/linux-compatibility/syscall-feature-coverage/system-information-and-misc
Chen Chengjun 3f3838d3a3 Support reboot syscall 2025-11-28 11:32:16 +08:00
..
README.md Support reboot syscall 2025-11-28 11:32:16 +08:00
arch_prctl.scml Refactor syscall limitations by extracting SCML to separate files 2025-11-16 15:50:48 +08:00
clock_gettime.scml Refactor syscall limitations by extracting SCML to separate files 2025-11-16 15:50:48 +08:00
clock_nanosleep.scml Refactor syscall limitations by extracting SCML to separate files 2025-11-16 15:50:48 +08:00
fully_supported.scml Mark some syscalls without flags as fully supported 2025-11-26 17:34:20 +08:00
getrandom.scml Refactor syscall limitations by extracting SCML to separate files 2025-11-16 15:50:48 +08:00
getrusage.scml Refactor syscall limitations by extracting SCML to separate files 2025-11-16 15:50:48 +08:00
reboot.scml Support reboot syscall 2025-11-28 11:32:16 +08:00

README.md

System Information & Misc.

arch_prctl

Supported functionality in SCML:

{{#include arch_prctl.scml}}

Unsupported codes:

  • ARCH_GET_CPUID and ARCH_SET_CPUID
  • ARCH_GET_GS and ARCH_SET_GS

For more information, see the man page.

getrusage

Supported functionality in SCML:

{{#include getrusage.scml}}

Unsupported who flags:

  • RUSAGE_CHILDREN

For more information, see the man page.

getrandom

Supported functionality in SCML:

{{#include getrandom.scml}}

Silently-ignored flags:

  • GRND_NONBLOCK because the underlying operation never blocks

For more information, see the man page.

reboot

Supported functionality in SCML:

{{#include reboot.scml}}

Unsupported op flags:

  • LINUX_REBOOT_CMD_CAD_OFF
  • LINUX_REBOOT_CMD_CAD_ON
  • LINUX_REBOOT_CMD_KEXEC
  • LINUX_REBOOT_CMD_RESTART
  • LINUX_REBOOT_CMD_RESTART2
  • LINUX_REBOOT_CMD_SW_SUSPEND

For more information, see the man page.

POSIX Clocks

clock_gettime

Supported functionality in SCML:

{{#include clock_gettime.scml}}

Unsupported predefined clock IDs:

  • CLOCK_REALTIME_ALARM
  • CLOCK_BOOTTIME_ALARM
  • CLOCK_TAI

For more information, see the man page.

clock_nanosleep

Supported functionality in SCML:

{{#include clock_nanosleep.scml}}

Unsupported clock IDs:

  • CLOCK_TAI

For more information, see the man page.