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/sys.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/linux/sys.txt') 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]) -- cgit mrf-deployment