#include <linux/module.h>
#include <linux/sched.h>
#include <linux/syscalls.h>
#include <linux/unistd.h>
#include <linux/kmod.h>
#include <linux/slab.h>
#include <linux/completion.h>
#include <linux/cred.h>
#include <linux/file.h>
#include <linux/fdtable.h>
#include <linux/workqueue.h>
#include <linux/security.h>
#include <linux/mount.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/resource.h>
#include <linux/notifier.h>
#include <linux/suspend.h>
#include <linux/rwsem.h>
#include <linux/ptrace.h>
#include <asm/uaccess.h>
#include <trace/events/module.h>
Go to the source code of this file.
#define CAP_BSET (void *)1 |
#define RUNNING_HELPERS_TIMEOUT (5 * HZ) |
__usermodehelper_disable - Prevent new helpers from being started. : New value to assign to usermodehelper_disabled.
Set usermodehelper_disabled to and wait for running helpers to exit.
Definition at line 451 of file kmod.c.
__usermodehelper_set_disable_depth - Modify usermodehelper_disabled. : New value to assign to usermodehelper_disabled.
Change the value of usermodehelper_disabled (under umhelper_sem locked for writing) and wakeup tasks waiting for it to change.
Definition at line 437 of file kmod.c.
long usermodehelper_read_lock_wait |
( |
long |
timeout | ) |
|
int usermodehelper_read_trylock |
( |
void |
| ) |
|
void usermodehelper_read_unlock |
( |
void |
| ) |
|
Initial value:= {
{
.procname = "bset",
},
{
.procname = "inheritable",
},
{ }
}
Definition at line 695 of file kmod.c.