commit | bd9d43f47d6944019918a801398c587ee86c4b52 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Wed Jul 03 15:08:34 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jul 03 16:08:03 2013 -0700 |
tree | 56e2f0df4307e5562793b67a8efe7261f168acef | |
parent | 18c830df771f2ba8b4699fea9af1492275ae627b [diff] |
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>