Re: [PATCH] binder: create node flag to request sender's security context

From: Greg KH
Date: Fri Jan 11 2019 - 04:17:01 EST


On Thu, Jan 10, 2019 at 10:21:00AM -0800, Todd Kjos wrote:
> 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@xxxxxxxxxx>
> ---
> drivers/android/binder.c | 106 ++++++++++++++++++++++------
> include/uapi/linux/android/binder.h | 19 +++++
> 2 files changed, 102 insertions(+), 23 deletions(-)

Can you fix up the issue found by 0-day and resend?

thanks,

greg k-h