Lines 565-572
int call_usermodehelper_exec(struct subprocess_info *sub_info, int wait)
Link Here
|
565 |
* here. This allows us to set STATIC_USERMODEHELPER_PATH to "" and |
565 |
* here. This allows us to set STATIC_USERMODEHELPER_PATH to "" and |
566 |
* disable all call_usermodehelper() calls. |
566 |
* disable all call_usermodehelper() calls. |
567 |
*/ |
567 |
*/ |
568 |
if (strlen(sub_info->path) == 0) |
568 |
if (strlen(sub_info->path) == 0) { |
|
|
569 |
retval = -EPERM; |
569 |
goto out; |
570 |
goto out; |
|
|
571 |
} |
570 |
|
572 |
|
571 |
/* |
573 |
/* |
572 |
* Set the completion pointer only if there is a waiter. |
574 |
* Set the completion pointer only if there is a waiter. |
573 |
- |
|
|