]> git.karo-electronics.de Git - mv-sheeva.git/commit
umh: creds: kill subprocess_info->cred logic
authorOleg Nesterov <oleg@redhat.com>
Wed, 26 May 2010 21:43:01 +0000 (14:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:45 +0000 (09:12 -0700)
commitc70a626d3eba373514c72287c93588b6974a0059
treec23b890cbbeb824e52e1eaee6812bc88496a246d
parent685bfd2c48bb3284d31e73ff3151c957d76deda9
umh: creds: kill subprocess_info->cred logic

Now that nobody ever changes subprocess_info->cred we can kill this member
and related code.  ____call_usermodehelper() always runs in the context of
freshly forked kernel thread, it has the proper ->cred copied from its
parent kthread, keventd.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cred.h
include/linux/kmod.h
kernel/cred.c
kernel/kmod.c