Re: sys_open undefined! when i try to load module

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

 



On 8/28/06, Octavian Purdila <tavi@xxxxxxxxx> wrote:
On Monday 28 August 2006 08:59, suman adak wrote:
> On 8/25/06, Octavian Purdila <tavi@xxxxxxxxx> wrote:
> > On Friday 25 August 2006 17:07, suman adak wrote:
> > > You prababily didn't read my mail. I already told i found this sysmbol
> >
> > in
> >
> > > System.map  file which contain all exported sysmbol address.
> > >
> > > root@ajit my_module]# cat /boot/System.map-2.6.15-1.2054_FC5 | grep -i
> > > "sys_open"
> > > c0152074 T do_sys_open
> > > c015211e T sys_openat
> > > c0152139 T sys_open
> > > c032a29c r __ksymtab_sys_openat
> > > c032d4dc r __kcrctab_sys_openat
> > > c0330175 r __kstrtab_sys_openat
> > > [root@ajit my_module]#
> >

I've missed that previously, but it looks like sys_open is not exported in
your kernel (there is no __ksymtab_sys_open).

BTW, is there a way to see all exported symbols of a kernel, when we do not
have System.map available?


/sbin/ksyms tells you which symbols are exported in running kernel.
by default in standard kernel, no system call functions are exported,
if you want to use them, you need to export them explicitly in kernel
code and recompile and boot you m/c with that newly recomplied kernel
image.

Gaurav

Thanks,
tavi

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



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