Add samsung specific changes
This commit is contained in:
@@ -32,10 +32,6 @@
|
||||
|
||||
#include <trace/events/module.h>
|
||||
|
||||
#ifdef CONFIG_SECURITY_DEFEX
|
||||
#include <linux/defex.h>
|
||||
#endif
|
||||
|
||||
static kernel_cap_t usermodehelper_bset = CAP_FULL_SET;
|
||||
static kernel_cap_t usermodehelper_inheritable = CAP_FULL_SET;
|
||||
static DEFINE_SPINLOCK(umh_sysctl_lock);
|
||||
@@ -427,11 +423,6 @@ int call_usermodehelper_exec(struct subprocess_info *sub_info, int wait)
|
||||
if (strlen(sub_info->path) == 0)
|
||||
goto out;
|
||||
|
||||
#ifdef CONFIG_SECURITY_DEFEX
|
||||
if (task_defex_user_exec(sub_info->path)) {
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
* Set the completion pointer only if there is a waiter.
|
||||
* This makes it possible to use umh_complete to free
|
||||
|
Reference in New Issue
Block a user