require explanation about /proc/ksyms

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

 



Hello,
         I insert a module with a variable mysec and
function process_proc_write_myfile as EXPORT_SYMBOL. I
compile it with
gcc -O2 -DMODULE -D__KERNEL__ -c myprocmod.c -I
/usr/src/linux-2.4.24/include -Wall. Then i check
/proc/ksyms
c8146c20 mysec_R__ver_mysec     [mybufproc]
c8146060
process_proc_write_myfile_R__ver_process_proc_write_myfile
    [mybufproc]
c8146000
__insmod_mybufproc_O/home/guest/mybufproc.o_M42196265_V132120
 [mybufproc]
c8146060 __insmod_mybufproc_S.text_L1188  [mybufproc]
c8146520 __insmod_mybufproc_S.rodata_L228 [mybufproc]
c8146760 __insmod_mybufproc_S.data_L180   [mybufproc]

I want to know what are the above entries signifies?
also why my exported variable and function have
versioning as its own n
ame compared to standard system calls in my
/proc/ksyms as
c01f27d0 sock_create_Rec6d66f4
c01f1dc0 sock_alloc_R96b54654
c01f1e80 sock_release_Rf85fb0bf
c01f3d30 sock_setsockopt_R12de6517
c01f4280 sock_getsockopt_R617c6ea6
c01f1ee0 sock_sendmsg_Ra6caf726
c01f1fa0 sock_recvmsg_Rae57d3e3

regards,
linux_lover


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
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