Re: loading a module

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

 



On Friday 05 October 2001 15:25, you wrote:
> There is no such concept as loadable syscalls in Linux.
> On some architectures you can overwrite sys_call_table entries,
> but that's racy, unportable and will cause you problems in the future.

my code is specific to intel platform
I m using RedHat 7.1
Actually this is what i did:
I found that there are only 221 system calls in intel architecture
so i just inserted a new call at the 222 the position of the sys_call_table.
and it works.that module is specific for RedHat 7.1 which uses the 2.4.2-2 
kernel in an intel machine.So i think it wont be a problem.
please clarify if my assumptions are wrong.

thanks and regards,
mohan.
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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