From 52c1f8045c38bcce0229b2cc3c69b1cbe21eb629 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 18 Sep 2024 17:38:12 +0200 Subject: sys/linux: add syz_create_resource syz_create_resource allows to turn any value into a resource. Improve binfmt descriptions using syz_create_resource: we need to pass the same file name to write syscalls and execve. Use syz_create_resource to improve binfmt descriptions. --- sys/linux/binfmt.txt.const | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/linux/binfmt.txt.const') diff --git a/sys/linux/binfmt.txt.const b/sys/linux/binfmt.txt.const index f87766baf..e9acd5aad 100644 --- a/sys/linux/binfmt.txt.const +++ b/sys/linux/binfmt.txt.const @@ -1,5 +1,7 @@ # Code generated by syz-sysgen. DO NOT EDIT. arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x +AT_FDCWD = 18446744073709551516 +BINFMT_OPEN_FLAGS = 65, mips64le:257 ELF32_PHDR_SIZE = 32 ELF64_PHDR_SIZE = 56 EM_386 = 3 @@ -21,6 +23,8 @@ PT_SHLIB = 5 PT_TLS = 7 QMAGIC = 204 ZMAGIC = 267 +__NR_close = 6, amd64:3, arm64:riscv64:57, mips64le:5003 __NR_execve = 11, amd64:59, arm64:riscv64:221, mips64le:5057 __NR_execveat = 281, 386:358, amd64:322, arm:387, mips64le:5316, ppc64le:362, s390x:354 +__NR_openat = 56, 386:295, amd64:257, arm:322, mips64le:5247, ppc64le:286, s390x:288 __NR_write = 4, amd64:1, arm64:riscv64:64, mips64le:5001 -- cgit mrf-deployment