[google/syzkaller] 21d737: sys: control structural changes during neutralization

0 views
Skip to first unread message

Aleksandr Nogikh

unread,
Sep 29, 2022, 7:44:33 AMSep 29
to syzk...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/google/syzkaller
Commit: 21d737fbf9bad3f2a9190bc31212f29edbfcaeb3
https://github.com/google/syzkaller/commit/21d737fbf9bad3f2a9190bc31212f29edbfcaeb3
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2022-09-29 (Thu, 29 Sep 2022)

Changed paths:
M prog/target.go
M sys/akaros/init.go
M sys/linux/init.go
M sys/linux/init_images.go
M sys/linux/init_images_test.go
M sys/linux/testdata/fs_images/0.in
M sys/linux/testdata/fs_images/0.out0
M sys/openbsd/init.go
M sys/targets/common.go

Log Message:
-----------
sys: control structural changes during neutralization

Ideally, we should properly support the already existing fix flag to
distinguish between fixing and checking, but for now at least let it
control whether structural changes are to be made.

Otherwise we get into trouble while hint-mutating syz_mount_image calls,
because we iterate over all call arguments and (possibly) remove them at
the same time. It leads to `bad group arg size %v, should be <= %v for
%#v type %#v` errors.


Commit: 45fd7169d5def6b5bc3fb4ff028ba831d1ffa063
https://github.com/google/syzkaller/commit/45fd7169d5def6b5bc3fb4ff028ba831d1ffa063
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2022-09-29 (Thu, 29 Sep 2022)

Changed paths:
M sys/linux/fs_fuse.txt
M sys/linux/test/syz_mount_image
M sys/linux/test/syz_mount_image_fuse

Log Message:
-----------
sys/linux: fix invalid args in syz_mount_image tests


Compare: https://github.com/google/syzkaller/compare/d9da3ac63470...45fd7169d5de
Reply all
Reply to author
Forward
0 new messages