]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/exec.c: do_execve_common(): use current_user()
authorOleg Nesterov <oleg@redhat.com>
Thu, 27 Jun 2013 23:53:56 +0000 (09:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:58 +0000 (16:38 +1000)
commit930854cd19c6840167e8c993cbeab34c56de63d1
treea24422d16cf511d1f930c897da3e19f2be83aaba
parente91818d75c15d8c857221076efe33aebabee138d
fs/exec.c: do_execve_common(): use current_user()

Trivial cleanup.  do_execve_common() can use current_user() and avoid the
unnecessary "struct cred *cred" var.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/exec.c