patch-2.3.44 linux/include/linux/kmod.h
Next file: linux/include/linux/mm.h
Previous file: linux/include/linux/interrupt.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Feb 12 10:48:07 2000
- Orig file:
v2.3.43/linux/include/linux/kmod.h
- Orig date:
Wed Aug 18 16:43:30 1999
diff -u --recursive --new-file v2.3.43/linux/include/linux/kmod.h linux/include/linux/kmod.h
@@ -6,7 +6,12 @@
#ifdef CONFIG_KMOD
extern int request_module(const char * name);
+extern int exec_usermodehelper(char *program_path, char *argv[], char *envp[]);
#else
#define request_module(x) do {} while(0)
+extern inline int exec_usermodehelper(char *program_path, char *argv[], char *envp[])
+{
+ return -EACCES;
+}
#endif
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])