asterinas/book/src/kernel/linux-compatibility/syscall-flag-coverage/file-descriptor-and-io-control/README.md

1.2 KiB

File Descriptor and I/O Control

fcntl

Supported functionality in SCML:

{{#include fcntl.scml}}

Unsupported commands:

  • F_NOTIFY
  • F_OFD_SETLK, F_OFD_SETLKW and F_OFD_GETLK
  • F_GETOWN_EX and F_SETOWN_EX
  • F_GETSIG and F_SETSIG
  • F_SETLEASE and F_GETLEASE
  • F_SETPIPE_SZ and F_GETPIPE_SZ
  • F_ADD_SEALS and F_GET_SEALS
  • F_GET_RW_HINT and F_SET_RW_HINT
  • F_GET_FILE_RW_HINT and F_SET_FILE_RW_HINT

For more information, see the man page.

pipe and pipe2

Supported functionality in SCML:

{{#include pipe_and_pipe2.scml}}

Silently-ignored flags:

  • O_DIRECT
  • O_NONBLOCK

For more information, see the man page.

eventfd and eventfd2

Supported functionality in SCML:

{{#include eventfd_and_eventfd2.scml}}

Silently-ignored flags:

  • EFD_NONBLOCK
  • EFD_SEMAPHORE

For more information, see the man page.