lkml.org 
[lkml]   [2001]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.2.20pre10
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.056 / U:3.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site