Can't access open / arch / x86 / syscalls / syscall_32.tbl

How do I write this command after switching to kernel. When I compile it, it didn't show any list. Is there any other command to open the list?

open /arch/x86/syscalls/syscall_32.tbl 



source to share

1 answer


Remove the first character /

from your file path (as it should be relative ).

Check file

Now make sure this file exists using the tool file


$ file arch/x86/syscalls/syscall_32.tbl


Print file

If the file exists, you can print it using the cat

or commands less

. For example:.

$ less arch/x86/syscalls/syscall_32.tbl


You can also open this file in an editor such as. using the command vi


If the file is missing

This file comes with the Linux kernel sources. It was added by this commit in kernel 3.3. Therefore, you must be using kernel 3.3 or higher to have this file.

How to load kernel with file syscall_32.tbl

Download the main vanilla kernel sources from via Git (using instructions here ):

$ git clone git://
$ cd linux/


Now you have to figure out which version to use. It depends on your task (how you plan to use this kernel further). If it was intended to be used on a Linux Linux distribution, I would say to pick the closest version for your distribution kernel:

$ uname -a


You can see all available versions by issuing the following Git command:

$ git tag


You can now switch to the version of your choice (in the output from the above command). For example. you can switch to v3.3

like this:

$ git checkout v3.3


Switch to version 3.3 or higher and your kernel sources will have a arch/x86/syscalls/syscall_32.tbl


$ less arch/x86/syscalls/syscall_32.tbl




All Articles