基于Linux的高级系统调用的研究与实现  被引量:1

Analysis and Realization of Advance System-call Based on Linux

在线阅读下载全文

作  者:何福贵[1] 王家礼[1] 刘彩宏[2] 

机构地区:[1]西安电子科技大学机电工程学院 [2]山西西山煤电股份有限公司,山西太原030053

出  处:《现代电子技术》2005年第10期39-41,共3页Modern Electronics Technique

基  金:电子测试技术重点实验室基金项目

摘  要:系统调用是操作系统与用户程序的主要接口。L inux是一个源代码开放且免费的操作系统。分析了L inux系统调用的实现过程,给出了系统调用的结构。对涉及的4个系统文件的主要内容进行了详细地描述。由于L inux在系统调用过程中通过寄存器来传递参数,参数传递的数量不能多于6个,不能适应多数据的传递。在对L inux分析的基础上,提出了实现多参数传递的方法,分析了实现多参数传递涉及的内核函数。最后,通过增加一个新的系统调用函数,实现多参数传递,并给出了具体的实现过程。拓宽了L inux的使用范围。Systemcall is the interface between OS and user′s program. Linux is a freecost and opencode OS.In this paper, the realization process for Linux systemcall is analyzed, the framework for systemcall is presented. Because arguments are transmitted through registers in the process of systemcall, thus available arguments are less than 7 and the multiargument transmission can not be used. On the basis of Linux′s analysis, the method for multiargument transmission is presented, and relative kernel functions are analyzed. Finally, the multiargument transmission is implemented by means of a new systemcall, and the realization process is presented. Applicative range is extended.

关 键 词:系统调用 LINUX 多参数传递 内核函数 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象