diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-05-17 11:55:48 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-05-17 11:56:54 +0200 |
| commit | 95dfd515a0c71707f8d3505bda1bbeca40a679f0 (patch) | |
| tree | 5f1377563f11c650580159dc04db840222ebdc28 /sys/linux/test/binder | |
| parent | 2755003a3478210957df2c52a49485db50773537 (diff) | |
sys/linux: improve binder descriptions
Refine some consts to increase changes of correct programs.
Fix some types. Add comments and a test.
Diffstat (limited to 'sys/linux/test/binder')
| -rw-r--r-- | sys/linux/test/binder | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/linux/test/binder b/sys/linux/test/binder new file mode 100644 index 000000000..18f1aece7 --- /dev/null +++ b/sys/linux/test/binder @@ -0,0 +1,6 @@ +r0 = syz_open_dev$binder(&AUTO='/dev/binder#\x00', 0x0, 0x2) +ioctl$BINDER_SET_CONTEXT_MGR_EXT(r0, AUTO, &AUTO={AUTO, 0x100, 0x0, 0x0}) +mmap$binder(&(0x7f00000a0000), 0x2000, 0x1, 0x11, r0, 0x0) +r1 = syz_open_dev$binder(&AUTO='/dev/binder#\x00', 0x0, 0x2) +mmap$binder(&(0x7f00000c0000), 0x2000, 0x1, 0x11, r1, 0x0) +ioctl$BINDER_WRITE_READ(r1, AUTO, &AUTO={AUTO, AUTO, &AUTO=[@transaction_sg={AUTO, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, AUTO, AUTO, &AUTO={@flat=@binder={AUTO, 0x0, 0x0, 0x0}, @fd={AUTO, AUTO, r0, AUTO, 0x0}, @ptr={AUTO, 0x0, &AUTO=""/10, AUTO, 0x0, 0x0}}, &AUTO={AUTO, AUTO, AUTO}}, 0x10}], AUTO, AUTO, &AUTO}) |
