From c290649e47664daaf7ef0b9a50545d7bb121535d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 16 Feb 2003 04:02:37 -0800 Subject: [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. --- drivers/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/input/input.c') 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); -- cgit v1.2.3