summaryrefslogtreecommitdiff
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2003-02-16 04:02:37 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-02-16 04:02:37 -0800
commitc290649e47664daaf7ef0b9a50545d7bb121535d (patch)
tree5eb73f462780d70423ef79b10a8dc9ade09d5c35 /drivers/input/input.c
parent817f3eeecfc635d6c88f4bc38ef6619e99deaca0 (diff)
[PATCH] get rid of exec_usermodehelper, replace with call_usermodehelper
Urban Widmark points out that modprobe calls system() in many configurations, which drops privs since request_module() doesn't set ruid and rguid. This gets rid of exec_usermodehelper and makes everyone use call_usermodehelper, which has a new "wait" flag.
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r--drivers/input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index fdfe4150aafa..30796fc98f74 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -383,7 +383,7 @@ static void input_call_hotplug(char *verb, struct input_dev *dev)
argv[0], argv[1], envp[0], envp[1], envp[2], envp[3], envp[4]);
#endif
- value = call_usermodehelper(argv [0], argv, envp);
+ value = call_usermodehelper(argv [0], argv, envp, 0);
kfree(buf);
kfree(envp);