摘要
Linux平台越来越广泛地应用于各种行业领域,尤其在后台服务端,嵌入Linux开发更是方兴未艾。而在这些应用的背后,安全稳定性和简洁高效性是其成功的两大关键特性。Linux下系统调用的规则在很大程度上实现了这两大特性。本文阐述了如何设计和实现系统调用的具体方法,并提供了从用户空间调用系统调用的实例。最后,进一步讨论了实现系统调用的正反两个方面,对增加系统调用的优缺点给予了陈述及总结。
The Linux platform is applied more and more widely in all kinds of fields,especially in backstage server end. In addition, the development of embedded Linux is forwarded. Behind all these applications ,security ,stability, simplicity and efficiency are the key features to success. Under Linux,the rules of system call achieve and consolidate these features. This paper emphasizes the rules of system calls, illustrates the specific method to design and achieve a new system call and provides an instance of a system call from user space. At the end, this paper gives a further discussion on the positive and negative aspects to achieve system call and summarizes the advantages and disadvantages to add system call.
出处
《河北软件职业技术学院学报》
2009年第3期45-48,共4页
Journal of Hebei Software Institute