From c40503e1fa86f3027e003118aaf91646a82f2b5d Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 26 Oct 2021 15:15:11 +0000 Subject: all: add binderfs fuzzing support Create one instance of binderfs per process and add descriptions to enable syzkaller to create binderfs mounts and binder devices itself. Keep descriptions compatible with the legacy mode (when devices are created at boot time). --- sys/linux/dev_binderfs.txt.const | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sys/linux/dev_binderfs.txt.const (limited to 'sys/linux/dev_binderfs.txt.const') diff --git a/sys/linux/dev_binderfs.txt.const b/sys/linux/dev_binderfs.txt.const new file mode 100644 index 000000000..f21650a03 --- /dev/null +++ b/sys/linux/dev_binderfs.txt.const @@ -0,0 +1,10 @@ +# Code generated by syz-sysgen. DO NOT EDIT. +arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x +AT_FDCWD = 18446744073709551516 +BINDERFS_NAME_LEN = 256 +BINDER_CTL_ADD = 3238552065 +__NR_ioctl = 54, amd64:16, arm64:riscv64:29, mips64le:5015 +__NR_mkdirat = 34, 386:296, amd64:258, arm:323, mips64le:5248, ppc64le:287, s390x:289 +__NR_mount = 21, amd64:165, arm64:riscv64:40, mips64le:5160 +__NR_openat = 56, 386:295, amd64:257, arm:322, mips64le:5247, ppc64le:286, s390x:288 +__NR_unlinkat = 35, 386:301, amd64:263, arm:328, mips64le:5253, ppc64le:292, s390x:294 -- cgit mrf-deployment