Re: using sys_mknod in init_module

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

 



Hi,

Le Wed, 17 May 2006 13:59:13 +0800,
"Adrian - Razvan Deaconescu" <razvand@xxxxxxxxx> a écrit :

> in kernel 2.6 if you would like to have acces to the system calls
> table you'll have to modify the source code and recompile the kernel
> 
> if you have a PC (x86 architecture) you'll have to complete the file
> arch/i386/kernel/i386_ksyms.c with the following lines
> 
> 	extern void* sys_call_table[];
> 	EXPORT_SYMBOL(sys_call_table);

Hurk... Such a bad hack.

Sincerly,

Thomas
-- 
Thomas Petazzoni - thomas.petazzoni@xxxxxxxx
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

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