* Patch: linux-2.5.45/fs/fcblist.c - export symbols for unix sockets
@ 2002-11-01 11:25 Adam J. Richter
2002-11-01 17:01 ` Davide Libenzi
0 siblings, 1 reply; 2+ messages in thread
From: Adam J. Richter @ 2002-11-01 11:25 UTC (permalink / raw)
To: davidel; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 922 bytes --]
linux-2.5.45/fs/fcblist.c contains some symbols that are
needed for unix domain sockets if unix sockets are compiled as a
module. fcblist.o is already in the export-objs declaration in
fs/Makefile, so I think the intention was for the EXPORT_SYMBOL
declarations to be in that file.
Here is the patch. I have verified that unix domain sockets
load with this patch (possibly with some more EXPORT_SYMBOL changes in
my netsyms.c, which has a bunch of additional exports).
Davide: please let me know if this patch is OK (others are
welcome to comment too), and, if so, if you are going to forward this
to Linus or if you want me to do something more.
--
Adam J. Richter __ ______________ 575 Oroville Road
adam@yggdrasil.com \ / Milpitas, California 95035
+1 408 309-6081 | g g d r a s i l United States of America
"Free Software For The Rest Of Us."
[-- Attachment #2: fcblist.diff --]
[-- Type: text/plain, Size: 559 bytes --]
--- linux-2.5.45/fs/fcblist.c 2002-10-30 16:43:07.000000000 -0800
+++ linux/fs/fcblist.c 2002-10-31 02:39:38.000000000 -0800
@@ -31,6 +31,7 @@
0, /* POLL_PRI */
ION_HUP /* POLL_HUP */
};
+EXPORT_SYMBOL(ion_band_table);
long poll_band_table[NSIGPOLL] = {
POLLIN | POLLRDNORM, /* POLL_IN */
@@ -40,6 +41,7 @@
POLLPRI | POLLRDBAND, /* POLL_PRI */
POLLHUP | POLLERR /* POLL_HUP */
};
+EXPORT_SYMBOL(poll_band_table);
@@ -65,6 +67,7 @@
read_unlock_irqrestore(&filep->f_cblock, flags);
}
+EXPORT_SYMBOL(file_notify_event);
/*
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Patch: linux-2.5.45/fs/fcblist.c - export symbols for unix sockets
2002-11-01 11:25 Patch: linux-2.5.45/fs/fcblist.c - export symbols for unix sockets Adam J. Richter
@ 2002-11-01 17:01 ` Davide Libenzi
0 siblings, 0 replies; 2+ messages in thread
From: Davide Libenzi @ 2002-11-01 17:01 UTC (permalink / raw)
To: Adam J. Richter; +Cc: Linux Kernel Mailing List
On Fri, 1 Nov 2002, Adam J. Richter wrote:
> linux-2.5.45/fs/fcblist.c contains some symbols that are
> needed for unix domain sockets if unix sockets are compiled as a
> module. fcblist.o is already in the export-objs declaration in
> fs/Makefile, so I think the intention was for the EXPORT_SYMBOL
> declarations to be in that file.
>
> Here is the patch. I have verified that unix domain sockets
> load with this patch (possibly with some more EXPORT_SYMBOL changes in
> my netsyms.c, which has a bunch of additional exports).
>
> Davide: please let me know if this patch is OK (others are
> welcome to comment too), and, if so, if you are going to forward this
> to Linus or if you want me to do something more.
I'll put this in my next patch to Linus. Exports were there in the
original patch ( /dev/epoll ) but after being caught by a cleanup phobia I
nuke them all :)
- Davide
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-01 16:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-01 11:25 Patch: linux-2.5.45/fs/fcblist.c - export symbols for unix sockets Adam J. Richter
2002-11-01 17:01 ` Davide Libenzi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®