On Mon, Jan 28, 2008 at 06:47:22PM +0700, Mulyadi Santosa wrote:
> Hi...
>
> On Jan 28, 2008 5:56 PM, Adrian Bunk <[EMAIL PROTECTED]> wrote:
> > On Fri, Jan 25, 2008 at 09:55:05AM +0700, Mulyadi Santosa wrote:
> > > Hi...
> > >
> > > On Jan 25, 2008 9:27 AM, Joseph Fannin <[EMAIL PROTECTED]> wrote:
> > >...
> > > > I'd like to find a definitive way to see if a symbol is exported or
> > > > not for a particular architechture -- without a full suite of cross
> > > > compilers.
> > > basically, anything...AFAIK, which isn't declared "static" can be
> > > accessed from the modules
> > >...
> >
> > Wrong, modules can only access code that gets explicitely
> > EXPORT_SYMBOL'ed.
>
> I see... well I was referring by calling directly to function's
> address...and I consider it "accessible code". But ok, that's a bit
> hackish.
Theoretically you can access every byte of the kernel from a module
(different from what you said this includes also static code as long as
gcc didn't optimize it away), but this list isn't
[EMAIL PROTECTED] and the only supported way is through
EXPORT_SYMBOL().
> Thanks for the correction Adrian.
>
> regards,
>
> Mulyadi.
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
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ