Re: using sys_mknod in init_module

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

 




On 5/17/06, Thomas Petazzoni <thomas.petazzoni@xxxxxxxx> wrote:
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


is it possible to do it in some other way (i mean if i want to have access to the sys_call_table)?

Razvan

--
Computers don't make mistakes... What they do they do on purpose!

[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