Can I add a systemcall from a module?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In some kernel versions it is possible to add or modify a
systemcallby changing the sys_call_table. But because this table is not intended to be changed at runtime, it has no protection. Changing the table will lead to race conditions. Even without the race conditions, there are problems related to removing the modules while they are in use or stacked. Because of the problems with changingsys_call_tablefrom modules, the symbol is no longer exported in new kernels. In other words if you get"unresolved symbol sys_call_table"when trying to load a module, it means there is a bug in the module, and the kernel does no longer accept such buggy modules.