Re: Linux 2.2.20pre10

Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Wed, 12 Sep 2001 10:36:30 +0200 (CEST)


On Wed, 12 Sep 2001, David Woodhouse wrote:

> alan@lxorguk.ukuu.org.uk said:
> > o Fix null request_mode return (David Woodhouse)
>
> Is this attribution correct?

I suppose this fragment is refered to:

diff -ur linux-2.2.20-pre9.work/include/linux/kmod.h linux-2.2.20-pre10.work/include/linux/kmod.h
--- linux-2.2.20-pre9.work/include/linux/kmod.h Wed Aug 29 01:30:13 2001
+++ linux-2.2.20-pre10.work/include/linux/kmod.h Wed Sep 12 10:14:14 2001
@@ -13,7 +13,10 @@
#else
#include <linux/errno.h>

-#define request_module(x) do {} while(0)
+static inline int request_module(const char *name)
+{
+ return -EINVAL;
+}
static inline int exec_usermodehelper(char *program_path, char *argv[], char *envp[])
{
return -EACCES;

--Kai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/