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)
commit57bab7cb353d71c10611c34571fcb3c9f38b4792
treeb4734eddf726089c6f3b6023bd7059c07b69a11d
parent5bcfab136078d02e8ad990bffcb76d150be83dd9
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