From: Adrian Bunk <bunk@stusta.de>
To: "James C. Georgas" <jgeorgas@rogers.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] make UNIX a bool
Date: Fri, 3 Mar 2006 12:46:42 +0100 [thread overview]
Message-ID: <20060303114642.GO9295@stusta.de> (raw)
In-Reply-To: <1141361097.3582.40.camel@Rainsong.home>
On Thu, Mar 02, 2006 at 11:44:57PM -0500, James C. Georgas wrote:
> On Thu, 2006-02-03 at 22:44 +0100, Adrian Bunk wrote:
>
> > > >
> > > > We do not have to export symbols we don't want to export to modules but
> > > > needed by CONFIG_UNIX.
> > >
> > > Sorry, I must just be dense, or something.
> > >
> > > Is not the only difference between a modular driver and a built in
> > > driver supposed to be the initialization and cleanup functions?
> > >
> > > I don't see why you would have to expose any additional symbols, over
> > > and above the existing required symbols, to load your module.
> >
> > Every kernel symbol a module uses must be explicitely exported with
> > EXPORT_SYMBOL.
>
> Yes, I understand that I need to export symbols to define the interface
> to my driver. whether its a module or compiled in. This is how other
> systems interact with my driver, right?
EXPORT_SYMBOL is only required for modules.
> > CONFIG_UNIX uses symbols that are neither used by any other in-kernel
> > modules nor should be exported.
>
> Are you saying that AF_UNIX has to export symbols for its own private
> functions in order to call them? I guess I don't understand this. Why
> not just call them. They're in scope within the driver code, aren't
> they?
No, this is about functions defined in other parts of the kernel.
> James C. Georgas <jgeorgas@rogers.com>
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2006-03-03 11:46 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-25 16:01 [2.6 patch] make UNIX a bool Adrian Bunk
2006-02-25 17:13 ` Stephen Hemminger
2006-02-25 17:28 ` Arjan van de Ven
2006-02-26 18:19 ` Diego Calleja
2006-02-25 22:46 ` Olaf Hering
2006-03-25 19:47 ` Adrian Bunk
2006-03-26 15:20 ` Jan-Benedict Glaw
2006-03-26 21:48 ` Joshua Hudson
2006-02-27 22:18 ` James C. Georgas
2006-02-27 22:29 ` Adrian Bunk
2006-03-01 3:09 ` Dmitry Torokhov
2006-03-01 17:58 ` Adrian Bunk
2006-03-02 1:31 ` Herbert Xu
2006-03-02 17:38 ` Adrian Bunk
2006-03-02 19:51 ` Jan-Benedict Glaw
2006-03-02 20:39 ` Adrian Bunk
2006-03-02 20:51 ` Jan-Benedict Glaw
2006-03-02 21:28 ` Adrian Bunk
2006-03-03 9:27 ` Jan-Benedict Glaw
2006-03-02 20:28 ` Jesper Juhl
2006-03-02 20:32 ` Adrian Bunk
2006-03-02 20:40 ` Jesper Juhl
2006-03-02 21:40 ` Adrian Bunk
2006-03-02 21:53 ` Jan Engelhardt
2006-03-02 22:32 ` Adrian Bunk
2006-03-03 13:31 ` make IPV4 modular (was: [2.6 patch] make UNIX a bool) Jan Engelhardt
2006-03-03 13:52 ` Adrian Bunk
2006-03-02 21:46 ` [2.6 patch] make UNIX a bool Adrian Bunk
2006-03-03 9:30 ` Jan-Benedict Glaw
2006-03-03 4:28 ` James C. Georgas
[not found] ` <1141335521.3582.14.camel@Rainsong.home>
[not found] ` <20060302214423.GI9295@stusta.de>
2006-03-03 4:44 ` James C. Georgas
2006-03-03 11:46 ` Adrian Bunk [this message]
2006-03-03 14:48 ` James C. Georgas
2006-03-03 15:10 ` Adrian Bunk
2006-03-03 17:50 ` James C. Georgas
2006-03-03 17:55 ` Adrian Bunk
2006-03-03 21:11 ` James C. Georgas
2006-03-02 20:34 ` Randy.Dunlap
2006-02-28 14:52 ` Jan-Benedict Glaw
2006-02-28 15:30 ` James C. Georgas
2006-02-28 19:15 ` Jan Engelhardt
2006-03-02 21:47 ` Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2006-03-03 4:06 [Fwd: Re: [2.6 patch] make UNIX a bool] James C. Georgas
2006-03-03 4:14 ` [2.6 patch] make UNIX a bool James C. Georgas
2006-03-03 4:32 ` Kyle Moffett
2006-03-03 21:31 ` James C. Georgas
2006-03-04 22:57 ` Kyle Moffett
2006-03-06 23:42 ` James C. Georgas
2006-03-06 23:59 ` James C. Georgas
2006-02-17 15:41 [PATCH 0/2] RCU updates Dipankar Sarma
2006-02-17 15:43 ` [PATCH 1/2] rcu batch tuning Dipankar Sarma
2006-02-17 15:46 ` [PATCH 2/2] fix file counting Dipankar Sarma
2006-02-18 9:04 ` Andrew Morton
2006-02-18 9:25 ` Dipankar Sarma
2006-02-18 12:14 ` Christoph Hellwig
2006-02-18 12:31 ` Arjan van de Ven
2006-02-20 22:36 ` [2.6 patch] make UNIX a bool Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060303114642.GO9295@stusta.de \
--to=bunk@stusta.de \
--cc=jgeorgas@rogers.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.