patch-2.2.17 linux/include/linux/kmod.h
Next file: linux/include/linux/nls.h
Previous file: linux/include/linux/ixjuser.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Mon Sep 4 18:39:28 2000
- Orig file:
v2.2.16/include/linux/kmod.h
- Orig date:
Mon Sep 4 18:37:11 2000
diff -u --recursive --new-file v2.2.16/include/linux/kmod.h linux/include/linux/kmod.h
@@ -6,7 +6,14 @@
#ifdef CONFIG_KMOD
extern int request_module(const char * name);
+extern int exec_usermodehelper(char *program_path, char *argv[], char *envp[]);
#else
+#include <linux/errno.h>
+
#define request_module(x) do {} while(0)
+static inline int exec_usermodehelper(char *program_path, char *argv[], char *envp[])
+{
+ return -EACCES;
+}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)