Could not find syscall_table_32.S file in linux

I am using the linux-headers-2.6.32-21 in a virtual machine. I am going to write a new system call. I found other files to write the initials of system calls, but I can not find this directory syscall_table_32.S in arch/x86/kernel/ . Please help me how and where can I find this file. I doubt it might be hidden due to permission problems or others.

+4
source share
2 answers

The following latch removes it:

 commit 303395ac3bf3e2cb488435537d416bc840438fcb Author: H. Peter Anvin < hpa@linux.intel.com > Date: Fri Nov 11 16:07:41 2011 -0800 x86: Generate system call tables and unistd_*.h from tables Generate system call tables and unistd_*.h automatically from the tables in arch/x86/syscalls. All other information, like NR_syscalls, is auto-generated, some of which is in asm-offsets_*.c. This allows us to keep all the system call information in one place, and allows for kernel space and user space to see different information; this is currently used for the ia32 system call numbers when building the 64-bit kernel, but will be used by the x32 ABI in the near future. This also removes some gratuitious differences between i386, x86-64 and ia32; in particular, now all system call tables are generated with the same mechanism. 

because now the syscall table is generated using the script arch / x86 / syscalls / syscalltbl.sh based on arch / x86 / syscalls / syscall_ {32,64} .tbl.

+3
source

/usr/src/kernels/3.3.4-5.fc17.i686.PAE/arch/x86/include/generated/asm

here you can get syscalls_32.h.

0
source

All Articles