aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/uffd.txt.const
diff options
context:
space:
mode:
authorfellair <tesladead43@gmail.com>2025-07-03 18:53:40 +0300
committerAleksandr Nogikh <nogikh@google.com>2025-07-03 16:26:36 +0000
commit76ad128ce0cb38f6fb253e8afcc22a3205a506ca (patch)
tree36186be4fe946abf44c1b07ff110599ce2888af5 /sys/linux/uffd.txt.const
parentc42f29fb7d319c08ea66a8b4e26d6125361cff41 (diff)
sys/linux: update userfaultfd descriptions
Add 2 regular missing ioctl syscalls: - UFFDIO_MOVE - UFFDIO_POISON Add USERFAULTFD_IOC_NEW ioctl that allows to procure userfaultfds by way of accessing /dev/userfaultfd. No other descriptions are touched, neither are any config options. Tested on local x86_64 syzkaller instance with enabled_syscalls[] option turned on.
Diffstat (limited to 'sys/linux/uffd.txt.const')
-rw-r--r--sys/linux/uffd.txt.const8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/linux/uffd.txt.const b/sys/linux/uffd.txt.const
index bcab8f462..0e2c3dc34 100644
--- a/sys/linux/uffd.txt.const
+++ b/sys/linux/uffd.txt.const
@@ -1,5 +1,6 @@
# Code generated by syz-sysgen. DO NOT EDIT.
arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x
+AT_FDCWD = 18446744073709551516
O_CLOEXEC = 524288
O_NONBLOCK = 2048, mips64le:128
UFFDIO_API = 3222841919
@@ -8,6 +9,11 @@ UFFDIO_CONTINUE_MODE_DONTWAKE = 1
UFFDIO_COPY = 3223890435
UFFDIO_COPY_MODE_DONTWAKE = 1
UFFDIO_COPY_MODE_WP = 2
+UFFDIO_MOVE = 3223890437
+UFFDIO_MOVE_MODE_ALLOW_SRC_HOLES = 2
+UFFDIO_MOVE_MODE_DONTWAKE = 1
+UFFDIO_POISON = 3223366152
+UFFDIO_POISON_MODE_DONTWAKE = 1
UFFDIO_REGISTER = 3223366144
UFFDIO_REGISTER_MODE_MINOR = 4
UFFDIO_REGISTER_MODE_MISSING = 1
@@ -32,5 +38,7 @@ UFFD_FEATURE_PAGEFAULT_FLAG_WP = 1
UFFD_FEATURE_SIGBUS = 128
UFFD_FEATURE_THREAD_ID = 256
UFFD_USER_MODE_ONLY = 1
+USERFAULTFD_IOC_NEW = 43520, mips64le:ppc64le:536914432
__NR_ioctl = 54, amd64:16, arm64:riscv64:29, mips64le:5015
+__NR_openat = 56, 386:295, amd64:257, arm:322, mips64le:5247, ppc64le:286, s390x:288
__NR_userfaultfd = 282, 386:374, amd64:323, arm:388, mips64le:5317, ppc64le:364, s390x:355