RE: Exported symbols in 2.6 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It matters since I am writing a loadable kernel module, and I can use
only exported symbols. It is quite inconvenient to use a kernel function
in the module code and then find out during load time (insmod) that the
function is not actually exported (unless I search through kernel source
code prior to use for a EXPORT_SYMBOL() of the specific function).

Is there a way to differentiate the exported and static symbols from the
/proc/kallsyms listing?

Appreciate any help.

Thanks,
Sarthak

-----Original Message-----
From: Arjan van de Ven [mailto:arjan@xxxxxxxxxxxxx] 
Sent: Thursday, September 01, 2005 10:56 PM
To: Sarthak Ray
Cc: kernelnewbies@xxxxxxxxxxxx
Subject: Re: Exported symbols in 2.6 kernel

On Thu, 2005-09-01 at 16:32 -0700, Sarthak Ray wrote:
> Hello all,
> 
> In v2.6.12 kernel, the /proc/ksyms interface seems to be replaced
> with /proc/kallsyms. However, /proc/kallsyms indicates *all* kernel
> symbols, including static symbols. 
> 
> Is there an easy way to figure out which symbols are exported for use
> in kernel modules (similar to that provided by /proc/ksyms)?

does that really matter?

what do you need this for?

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux