diff options
| author | Tim Murray <timmurray@google.com> | 2017-03-22 22:02:20 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-16 19:09:16 +0200 |
| commit | 7872edf0e328681e781eed97a744a61e38c19a10 (patch) | |
| tree | f3f63587a4847472bcef5600e213523cf3d042c2 /include/uapi/linux/android | |
| parent | 8ad3d9e51a317ef56817c2edb8c9ae3febf953aa (diff) | |
binder: make FIFO inheritance a per-context option
Add a new ioctl to binder to control whether FIFO inheritance should happen.
In particular, hwbinder should inherit FIFO priority from callers, but standard
binder threads should not.
Test: boots
bug 36516194
Signed-off-by: Tim Murray <timmurray@google.com>
Change-Id: I8100c4364b7d15d1bf00a8ca5c286e4d4b23ce85
Diffstat (limited to 'include/uapi/linux/android')
| -rw-r--r-- | include/uapi/linux/android/binder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/android/binder.h b/include/uapi/linux/android/binder.h index 78196aa9f..5f63fde33 100644 --- a/include/uapi/linux/android/binder.h +++ b/include/uapi/linux/android/binder.h @@ -253,6 +253,7 @@ struct binder_node_debug_info { #define BINDER_SET_CONTEXT_MGR _IOW('b', 7, __s32) #define BINDER_THREAD_EXIT _IOW('b', 8, __s32) #define BINDER_VERSION _IOWR('b', 9, struct binder_version) +#define BINDER_SET_INHERIT_FIFO_PRIO _IO('b', 10) #define BINDER_GET_NODE_DEBUG_INFO _IOWR('b', 11, struct binder_node_debug_info) /* |
