diff options
| author | Tim Murray <timmurray@google.com> | 2017-03-22 22:02:20 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-16 17:47:00 +0200 |
| commit | df5ac75816efe7f58c56826957bfb09eb2127098 (patch) | |
| tree | 7223a9a69aa111a127826538ccc4a7a87fbcb777 /include/uapi/linux | |
| parent | 7755159b1ba50c59c1c05fa8069a884fae526d66 (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')
| -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) /* |
