diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-09-27 14:41:10 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-09-27 14:18:05 +0000 |
| commit | 95d40a21f5c6887f4108ab117ce6fb1de8a2fe64 (patch) | |
| tree | d7f2984f9e8bbfdb967393727751bb143b4082cc /sys/linux | |
| parent | b5aa5a628e316145ceaef930396e6e27592e2ff5 (diff) | |
sys/linux: fix binfmt_misc format
We create 2 binfmt_misc formats:
":syz0:M:0:\x01::./file0:"
":syz1:M:1:\x02::./file0:POC"
They don't require syz0/1 prefix in the fix. syz0/1 is just name of the format.
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/binfmt.txt | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/linux/binfmt.txt b/sys/linux/binfmt.txt index d0e6b7b23..3833860d8 100644 --- a/sys/linux/binfmt.txt +++ b/sys/linux/binfmt.txt @@ -17,7 +17,7 @@ execveat$binfmt(dirfd fd_dir, file ptr_binfmt_file, argv ptr[in, argv_array], en openat$binfmt(fd const[AT_FDCWD], file ptr_binfmt_file, flags const[BINFMT_OPEN_FLAGS], mode const[0x1ff]) fd_binfmt write$binfmt_script(fd fd_binfmt, data ptr[in, binfmt_script], len bytesize[data]) -write$binfmt_misc(fd fd_binfmt, data ptr[in, binfmt_misc], len bytesize[data]) +write$binfmt_misc(fd fd_binfmt, data ptr[in, array[int8]], len bytesize[data]) write$binfmt_aout(fd fd_binfmt, data ptr[in, binfmt_aout], len bytesize[data]) write$binfmt_elf32(fd fd_binfmt, data ptr[in, binfmt_elf32], len bytesize[data]) write$binfmt_elf64(fd fd_binfmt, data ptr[in, binfmt_elf64], len bytesize[data]) @@ -44,13 +44,6 @@ binfmt_script_arg { arg stringnoz } -binfmt_misc { - hdr stringnoz[binfmt_misc_headers] - data array[int8] -} - -binfmt_misc_headers = "syz0", "syz1" - binfmt_aout { exec exec data array[int8] |
