]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/exec.c: do_execve_common(): use current_user()
authorOleg Nesterov <oleg@redhat.com>
Wed, 19 Jun 2013 00:08:23 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:42 +0000 (17:27 +1000)
commit517f01eedfc1cb1830577b0dffd39c54662ba947
treed9a074ad575224aa2a052f2c3b2e8f2a7c54fe15
parent9ba05a253843d270d2920e5e06c9a8adfcd62470
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