From 630f91534550728d1f9473b754bb1eeb6fbaacce Mon Sep 17 00:00:00 2001 From: Carlos Llamas Date: Thu, 24 Feb 2022 08:33:04 -0800 Subject: [PATCH] sepolicy: allow new BINDER_GET_EXTENDED_ERROR ioctl All domains using libbinder need access to this new ioctl in order to pull precise information upon failed binder operations. Bug: 28321379 Tested: clients can now use the ioctl through libbinder Signed-off-by: Carlos Llamas Change-Id: I8d6e5ca6b133b934855a7545cc1a9786e2c4ad65 --- public/ioctl_defines | 1 + public/ioctl_macros | 1 + 2 files changed, 2 insertions(+) diff --git a/public/ioctl_defines b/public/ioctl_defines index 51cce4e06..11f7f3e77 100644 --- a/public/ioctl_defines +++ b/public/ioctl_defines @@ -132,6 +132,7 @@ define(`BC_RELEASE', `0x40046306') define(`BC_REPLY', `0x40406301') define(`BC_REQUEST_DEATH_NOTIFICATION', `0x400c630e') define(`BC_TRANSACTION', `0x40406300') +define(`BINDER_GET_EXTENDED_ERROR', `0xc0486211') define(`BINDER_ENABLE_ONEWAY_SPAM_DETECTION', `0x40046210') define(`BINDER_FREEZE', `0x400c620e') define(`BINDER_GET_FROZEN_INFO', `0xc00c620f') diff --git a/public/ioctl_macros b/public/ioctl_macros index 47a515715..64ee1b0d7 100644 --- a/public/ioctl_macros +++ b/public/ioctl_macros @@ -73,4 +73,5 @@ BINDER_WRITE_READ BINDER_SET_IDLE_TIMEOUT BINDER_SET_MAX_THREADS BINDER_SET_IDLE_PRIORITY BINDER_SET_CONTEXT_MGR BINDER_THREAD_EXIT BINDER_VERSION BINDER_GET_NODE_DEBUG_INFO BINDER_GET_NODE_INFO_FOR_REF BINDER_SET_CONTEXT_MGR_EXT BINDER_ENABLE_ONEWAY_SPAM_DETECTION +BINDER_GET_EXTENDED_ERROR }')