OSDN Git Service

binder: create node flag to request sender's security context
authorTodd Kjos <tkjos@android.com>
Mon, 14 Jan 2019 17:10:21 +0000 (09:10 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 12:55:08 +0000 (13:55 +0100)
commitec74136ded792deed80780a2f8baf3521eeb72f9
treeba8f8c2506386a221b7efe1f5ac069819d281651
parent8fdf90626588bc02af1200f6320d1d9c0540526f
binder: create node flag to request sender's security context

To allow servers to verify client identity, allow a node
flag to be set that causes the sender's security context
to be delivered with the transaction. The BR_TRANSACTION
command is extended in BR_TRANSACTION_SEC_CTX to
contain a pointer to the security context string.

Signed-off-by: Todd Kjos <tkjos@google.com>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c
include/uapi/linux/android/binder.h