]> git.baikalelectronics.ru Git - kernel.git/commit
staging: android: binder.c: Use more appropriate functions for euid retrieval
authorTair Rzayev <tair.rzayev@gmail.com>
Sat, 31 May 2014 19:43:34 +0000 (22:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Jun 2014 18:36:47 +0000 (11:36 -0700)
commit37494912273d0118c39af8bbb347adf2a63298e0
treeb4734eddf726089c6f3b6023bd7059c07b69a11d
parentbb7567945241d38d3b96c05c63a5677053b4ffb5
staging: android: binder.c: Use more appropriate functions for euid retrieval

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@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c