diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-09-18 17:38:12 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-09-19 08:37:17 +0000 |
| commit | 52c1f8045c38bcce0229b2cc3c69b1cbe21eb629 (patch) | |
| tree | 6795b28e4d5cf644369433d5e1906fbf1bfe7e1b /sys/linux/sys.txt | |
| parent | 6d197301fe4a048a54f3203599963947b6563bd9 (diff) | |
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.
Diffstat (limited to 'sys/linux/sys.txt')
| -rw-r--r-- | sys/linux/sys.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 4ee926fd6..a9fbd3f72 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -462,9 +462,9 @@ sysfs$3(option const[3]) statfs(path ptr[in, filename], buf buffer[out]) fstatfs(fd fd, buf buffer[out]) -uselib(lib ptr[in, filename]) -init_module(mod ptr[in, string], len len[mod], args ptr[in, string]) -finit_module(fd fd, args ptr[in, string], flags flags[finit_module_flags]) +uselib(lib ptr_binfmt_file) +init_module(mod ptr[in, binfmt_elf64], len len[mod], args ptr[in, string]) +finit_module(fd fd_binfmt, args ptr[in, string], flags flags[finit_module_flags]) delete_module(name ptr[in, string], flags flags[delete_module_flags]) kexec_load(entry intptr, nr_segments len[segments], segments ptr[in, array[kexec_segment]], flags flags[kexec_load_flags]) syslog(cmd flags[syslog_cmd], buf ptr[out, array[int8], opt], len len[buf]) |
