LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to install file syscall_table.S on redhat 9 2.4.20 kernels. (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-file-syscall_table-s-on-redhat-9-2-4-20-kernels-541398/)

umavarma 03-28-2007 03:06 PM

how to install file syscall_table.S on redhat 9 2.4.20 kernels.
 
hi..m new 2 linux..we have 2 make a system call and for that we need to make changes in the file syscall_table.S. redhat 9 having kernel version 2.4.20 doesnt have this file.can you tell me what i need to install so that i can obtain these files in kernel version 2.4.20 itself.

rblampain 04-27-2007 09:20 AM

I am only answering because you had no reply yet, I am not sure my thoughts can be of any help to you and I am not sure I understand what your problem is.

Syscalls evolve all the time, new ones are always added to the list. If you have RH9, it is unlikely this OS is ready for syscalls created after the introduction of RH9.

On the other hand, if you upgrade to a newer kernel as you have done, then the syscalls are automatically available with this new kernel and you do not need to do anything. However syscalls added to the 2.6 kernel will not be available to your 2.4 kernel.

Also, the syscalls that are regularly added to new kernels are specialised and programmers who make use of them have very specific reasons to do so.

A program that uses such calls will not work with a previous kernel.

In most programming, the old syscalls that were used 30 years ago are still used today.

If you are interested in assembly syscalls for Linux (also used in C and other languages), see:
http://www.lxhp.in-berlin.de/lhpsysc1.html

I hope this helps.


All times are GMT -5. The time now is 06:44 PM.