A Method for interpreting the Linux kernel source code

Source: Internet
Author: User
An entry method for interpreting the Linux kernel source code-general Linux technology-Linux programming and kernel information. For more information, see the following. Several system calls, including putpmsg, do not perform any operation, that is, air conditioners to be expanded;

However, they still occupy sys_call_table table items. It is estimated that they were arranged by the designers to facilitate the expansion of system calls;

Therefore, you only need to add the corresponding service routines (for example, add the service routines getmsg or putpmsg) to increase system calls.

Conclusion: Of course, for a large and complex linux

In terms of the kernel, an article is far from enough, and the Code related to system calls is only an extremely small part of the kernel; but it is important to have a method and a good grasp of the analysis method; therefore, the analysis is only a guiding function, and the readers still need to make their own efforts.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.