aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-06-07 07:50:47 +0200
committerDmitry Vyukov <dvyukov@google.com>2022-06-07 13:50:04 +0200
commitb270611864ec905fee493d0535175fc614201850 (patch)
treee54158c7b694f3a6f051550da97d89fabecd1015 /sys/linux
parent846de3b6d47376bbaea95a4910eda36c300b8b99 (diff)
sys/linux: add new binder ioctl
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/dev_binder.txt7
-rw-r--r--sys/linux/dev_binder.txt.const1
2 files changed, 8 insertions, 0 deletions
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