require explanation about /proc/ksyms

From: linux.lover (linux.lover2004_at_gmail.com)
Date: 02/21/05

  • Next message: linux.lover: "Help compiling & running these two kernel module that share a variable between them"
    Date: 20 Feb 2005 21:17:52 -0800
    
    

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


  • Next message: linux.lover: "Help compiling & running these two kernel module that share a variable between them"