aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-01-15 20:16:02 +0100
committerDmitry Vyukov <dvyukov@google.com>2016-01-15 20:16:02 +0100
commit81dc7f8dc8d450c5fd5b15f7ea4dd184ed35b497 (patch)
treeaaef241650864f063e40785887bf5c1abaf3864b /executor
parent1bdeb308d3e36cd340cee8554ba2f660425c3195 (diff)
sys: support /dev/input/event ioctls
Diffstat (limited to 'executor')
-rw-r--r--executor/syscalls.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h
index f0af5c641..e6881ebf8 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -876,6 +876,42 @@ call_t syscalls[] = {
{"syz_open_dev$mice", 1000001},
{"syz_open_dev$evdev", 1000001},
{"write$evdev", 1},
+ {"ioctl$EVIOCGVERSION", 16},
+ {"ioctl$EVIOCGID", 16},
+ {"ioctl$EVIOCGREP", 16},
+ {"ioctl$EVIOCGKEYCODE", 16},
+ {"ioctl$EVIOCGKEYCODE_V2", 16},
+ {"ioctl$EVIOCGEFFECTS", 16},
+ {"ioctl$EVIOCGMASK", 16},
+ {"ioctl$EVIOCGNAME", 16},
+ {"ioctl$EVIOCGPHYS", 16},
+ {"ioctl$EVIOCGUNIQ", 16},
+ {"ioctl$EVIOCGPROP", 16},
+ {"ioctl$EVIOCGMTSLOTS", 16},
+ {"ioctl$EVIOCGKEY", 16},
+ {"ioctl$EVIOCGLED", 16},
+ {"ioctl$EVIOCGSND", 16},
+ {"ioctl$EVIOCGSW", 16},
+ {"ioctl$EVIOCGBITKEY", 16},
+ {"ioctl$EVIOCGBITSND", 16},
+ {"ioctl$EVIOCGBITSW", 16},
+ {"ioctl$EVIOCGABS0", 16},
+ {"ioctl$EVIOCGABS20", 16},
+ {"ioctl$EVIOCGABS2F", 16},
+ {"ioctl$EVIOCGABS3F", 16},
+ {"ioctl$EVIOCSREP", 16},
+ {"ioctl$EVIOCSKEYCODE", 16},
+ {"ioctl$EVIOCSKEYCODE_V2", 16},
+ {"ioctl$EVIOCSFF", 16},
+ {"ioctl$EVIOCRMFF", 16},
+ {"ioctl$EVIOCGRAB", 16},
+ {"ioctl$EVIOCREVOKE", 16},
+ {"ioctl$EVIOCSMASK", 16},
+ {"ioctl$EVIOCSCLOCKID", 16},
+ {"ioctl$EVIOCSABS0", 16},
+ {"ioctl$EVIOCSABS20", 16},
+ {"ioctl$EVIOCSABS2F", 16},
+ {"ioctl$EVIOCSABS3F", 16},
};
#endif
@@ -1744,6 +1780,42 @@ call_t syscalls[] = {
{"syz_open_dev$mice", 1000001},
{"syz_open_dev$evdev", 1000001},
{"write$evdev", 64},
+ {"ioctl$EVIOCGVERSION", 29},
+ {"ioctl$EVIOCGID", 29},
+ {"ioctl$EVIOCGREP", 29},
+ {"ioctl$EVIOCGKEYCODE", 29},
+ {"ioctl$EVIOCGKEYCODE_V2", 29},
+ {"ioctl$EVIOCGEFFECTS", 29},
+ {"ioctl$EVIOCGMASK", 29},
+ {"ioctl$EVIOCGNAME", 29},
+ {"ioctl$EVIOCGPHYS", 29},
+ {"ioctl$EVIOCGUNIQ", 29},
+ {"ioctl$EVIOCGPROP", 29},
+ {"ioctl$EVIOCGMTSLOTS", 29},
+ {"ioctl$EVIOCGKEY", 29},
+ {"ioctl$EVIOCGLED", 29},
+ {"ioctl$EVIOCGSND", 29},
+ {"ioctl$EVIOCGSW", 29},
+ {"ioctl$EVIOCGBITKEY", 29},
+ {"ioctl$EVIOCGBITSND", 29},
+ {"ioctl$EVIOCGBITSW", 29},
+ {"ioctl$EVIOCGABS0", 29},
+ {"ioctl$EVIOCGABS20", 29},
+ {"ioctl$EVIOCGABS2F", 29},
+ {"ioctl$EVIOCGABS3F", 29},
+ {"ioctl$EVIOCSREP", 29},
+ {"ioctl$EVIOCSKEYCODE", 29},
+ {"ioctl$EVIOCSKEYCODE_V2", 29},
+ {"ioctl$EVIOCSFF", 29},
+ {"ioctl$EVIOCRMFF", 29},
+ {"ioctl$EVIOCGRAB", 29},
+ {"ioctl$EVIOCREVOKE", 29},
+ {"ioctl$EVIOCSMASK", 29},
+ {"ioctl$EVIOCSCLOCKID", 29},
+ {"ioctl$EVIOCSABS0", 29},
+ {"ioctl$EVIOCSABS20", 29},
+ {"ioctl$EVIOCSABS2F", 29},
+ {"ioctl$EVIOCSABS3F", 29},
};
#endif