Re: [PATCH] staging: android: binder.c: Use more appropriate functions for euid retrieval

From: Greg KH
Date: Sat May 31 2014 - 15:52:13 EST


On Sat, May 31, 2014 at 10:43:34PM +0300, Tair Rzayev wrote:
> Instead of getting the reference to whole credential structure, use
> task_euid() and current_euid() to get it.
>
> Signed-off-by: Tair Rzayev <tair.rzayev@xxxxxxxxx>
> ---
> drivers/staging/android/binder.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)

What kernel tree did you make this against? It doesn't seem to match up
with what is in my staging-next branch to merge with Linus for the next
release, so please work against that one.

Oh, and I think this is already been done, although in a bit different
way there, please check to make sure it is correct.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/