From 77e79ca08e54764a84a6f0dfa83bcfc9a7494d08 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 26 Aug 2018 04:54:54 +0200 Subject: sys/linux: add userio descriptions Update #533 --- executor/defs.h | 10 +++++----- executor/syscalls.h | 15 +++++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) (limited to 'executor') diff --git a/executor/defs.h b/executor/defs.h index f9d04fb7c..3ca1ae4b4 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -60,7 +60,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "8600e9d5ccdb9ef2faf96e906017cd916330b6cd" +#define SYZ_REVISION "653420e40f1229688e81b83af5d94ec00d3f8b36" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -70,7 +70,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "59a1b42d93f9b942a6d7feb28265f13e5f18f59b" +#define SYZ_REVISION "05f2fe589c5c3436257454e091f72e966610d5db" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -80,7 +80,7 @@ #if GOARCH_arm #define GOARCH "arm" -#define SYZ_REVISION "b0dd9abc7a5acfffcc6da3159ae9df0700a84a4a" +#define SYZ_REVISION "fbdcb749741366eb0ddae36e107d657053bc3ddb" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -90,7 +90,7 @@ #if GOARCH_arm64 #define GOARCH "arm64" -#define SYZ_REVISION "a704fd29cde1884c766605de62de1d34ec317232" +#define SYZ_REVISION "08c218976280776c081377a76ece94c9005958ec" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -100,7 +100,7 @@ #if GOARCH_ppc64le #define GOARCH "ppc64le" -#define SYZ_REVISION "796e339f01a361b1b5c04a4c0cd5a06c59b26955" +#define SYZ_REVISION "f48d04238b4a7847cf4e24a8548d31c6650a3f3e" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 diff --git a/executor/syscalls.h b/executor/syscalls.h index 47c7b1af8..a081fb3b8 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -2969,6 +2969,9 @@ const call_t syscalls[] = { {"write$UHID_INPUT", 4}, {"write$UHID_INPUT2", 4}, {"write$UHID_SET_REPORT_REPLY", 4}, + {"write$USERIO_CMD_REGISTER", 4}, + {"write$USERIO_CMD_SEND_INTERRUPT", 4}, + {"write$USERIO_CMD_SET_PORT_TYPE", 4}, {"write$binfmt_aout", 4}, {"write$binfmt_elf32", 4}, {"write$binfmt_elf64", 4}, @@ -5146,6 +5149,9 @@ const call_t syscalls[] = { {"write$UHID_INPUT", 1}, {"write$UHID_INPUT2", 1}, {"write$UHID_SET_REPORT_REPLY", 1}, + {"write$USERIO_CMD_REGISTER", 1}, + {"write$USERIO_CMD_SEND_INTERRUPT", 1}, + {"write$USERIO_CMD_SET_PORT_TYPE", 1}, {"write$binfmt_aout", 1}, {"write$binfmt_elf32", 1}, {"write$binfmt_elf64", 1}, @@ -7279,6 +7285,9 @@ const call_t syscalls[] = { {"write$UHID_INPUT", 4}, {"write$UHID_INPUT2", 4}, {"write$UHID_SET_REPORT_REPLY", 4}, + {"write$USERIO_CMD_REGISTER", 4}, + {"write$USERIO_CMD_SEND_INTERRUPT", 4}, + {"write$USERIO_CMD_SET_PORT_TYPE", 4}, {"write$binfmt_aout", 4}, {"write$binfmt_elf32", 4}, {"write$binfmt_elf64", 4}, @@ -9384,6 +9393,9 @@ const call_t syscalls[] = { {"write$UHID_INPUT", 64}, {"write$UHID_INPUT2", 64}, {"write$UHID_SET_REPORT_REPLY", 64}, + {"write$USERIO_CMD_REGISTER", 64}, + {"write$USERIO_CMD_SEND_INTERRUPT", 64}, + {"write$USERIO_CMD_SET_PORT_TYPE", 64}, {"write$binfmt_aout", 64}, {"write$binfmt_elf32", 64}, {"write$binfmt_elf64", 64}, @@ -11379,6 +11391,9 @@ const call_t syscalls[] = { {"write$UHID_INPUT", 4}, {"write$UHID_INPUT2", 4}, {"write$UHID_SET_REPORT_REPLY", 4}, + {"write$USERIO_CMD_REGISTER", 4}, + {"write$USERIO_CMD_SEND_INTERRUPT", 4}, + {"write$USERIO_CMD_SET_PORT_TYPE", 4}, {"write$binfmt_aout", 4}, {"write$binfmt_elf32", 4}, {"write$binfmt_elf64", 4}, -- cgit mrf-deployment