From b270611864ec905fee493d0535175fc614201850 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 7 Jun 2022 07:50:47 +0200 Subject: sys/linux: add new binder ioctl --- sys/linux/dev_binder.txt | 7 +++++++ sys/linux/dev_binder.txt.const | 1 + 2 files changed, 8 insertions(+) (limited to 'sys/linux') diff --git a/sys/linux/dev_binder.txt b/sys/linux/dev_binder.txt index 1fcfa6a95..63725769b 100644 --- a/sys/linux/dev_binder.txt +++ b/sys/linux/dev_binder.txt @@ -36,6 +36,7 @@ ioctl$BINDER_GET_NODE_INFO_FOR_REF(fd fd_binder, cmd const[BINDER_GET_NODE_INFO_ ioctl$BINDER_FREEZE(fd fd_binder, cmd const[BINDER_FREEZE], arg ptr[in, binder_freeze_info]) ioctl$BINDER_GET_FROZEN_INFO(fd fd_binder, cmd const[BINDER_GET_FROZEN_INFO], arg ptr[in, binder_frozen_status_info]) ioctl$BINDER_ENABLE_ONEWAY_SPAM_DETECTION(fd fd_binder, cmd const[BINDER_ENABLE_ONEWAY_SPAM_DETECTION], arg ptr[in, bool32]) +ioctl$BINDER_GET_EXTENDED_ERROR(fd fd_binder, cmd const[BINDER_GET_EXTENDED_ERROR], arg ptr[out, binder_extended_error]) openat$binder_debug(fd const[AT_FDCWD], file ptr[in, string[binder_debug_file]], flags const[O_RDONLY], mode const[0]) fd @@ -270,3 +271,9 @@ binder_cmd_dead_binder_done { cmd const[BC_DEAD_BINDER_DONE, int32] cookie binder_cookie } [packed] + +binder_extended_error { + id int32 + command int32 + param int32 +} diff --git a/sys/linux/dev_binder.txt.const b/sys/linux/dev_binder.txt.const index 1f3e9198a..d879c9b1d 100644 --- a/sys/linux/dev_binder.txt.const +++ b/sys/linux/dev_binder.txt.const @@ -20,6 +20,7 @@ BC_TRANSACTION = 1077961472, mips64le:ppc64le:2151703296 BC_TRANSACTION_SG = 1078485777, mips64le:ppc64le:2152227601 BINDER_ENABLE_ONEWAY_SPAM_DETECTION = 1074029072, mips64le:ppc64le:2147770896 BINDER_FREEZE = 1074553358, mips64le:ppc64le:2148295182 +BINDER_GET_EXTENDED_ERROR = 3222037009 BINDER_GET_FROZEN_INFO = 3222037007 BINDER_GET_NODE_DEBUG_INFO = 3222823435 BINDER_GET_NODE_INFO_FOR_REF = 3222823436 -- cgit mrf-deployment