mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
usermodehelper: use UMH_WAIT_PROC consistently
A few call_usermodehelper() callers use the hardcoded constant instead of the proper UMH_WAIT_PROC, fix them. Reported-by: Tetsuo Handa <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Cc: Lars Ellenberg <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Michal Januszewski <[email protected]> Cc: Florian Tobias Schandinat <[email protected]> Cc: Kentaro Takeda <[email protected]> Cc: Tetsuo Handa <[email protected]> Cc: James Morris <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a02d6fd643
commit
70834d3070
5 changed files with 6 additions and 6 deletions
|
|
@ -102,7 +102,7 @@ void tomoyo_load_policy(const char *filename)
|
|||
envp[0] = "HOME=/";
|
||||
envp[1] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin";
|
||||
envp[2] = NULL;
|
||||
call_usermodehelper(argv[0], argv, envp, 1);
|
||||
call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC);
|
||||
tomoyo_check_profile();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue