收藏 分享(赏)

高级操作系统高级操作系统 (23).pdf

上传人:职教中国 文档编号:13788282 上传时间:2022-10-23 格式:PDF 页数:14 大小:1.42MB
下载 相关 举报
高级操作系统高级操作系统 (23).pdf_第1页
第1页 / 共14页
高级操作系统高级操作系统 (23).pdf_第2页
第2页 / 共14页
高级操作系统高级操作系统 (23).pdf_第3页
第3页 / 共14页
亲,该文档总共14页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、第5讲:The Interface of OS第二节:Overview of POSIXIntroduction HistoryFirst Research Edition (1971)Complete rewrite (4213 lines kernel)Reference architecture34 system calls18 common with PDP-7 version18 survive until todayBinary code APIAbstraction of standard I/ODevices as filesHalf Century of Unix: Hist

2、ory, Preservation, and Lessons Learned, Diomidis Spinellis, 2017Analyzing a Decade of Linux System Calls, Mojtaba Bagherzadeh, etc. ICSE 2018. . . . . . . . . . . . . . . . . . . . .Introduction History. . . . . . . . . . . . . . . . . . . . .Introduction History. . . . . . . . . . . . . . . . . . .

3、 . .Introduction The sequence of a system call. . . . . . . . . . . . . . . . . . . . .Introduction An overview of syscall data collection. . . . . . . . . . . . . . . . . . . . .Introduction An overview of syscall empirical study. . . . . . . . . . . . . . . . . . . . .Introduction Syscall Categori

4、es. . . . . . . . . . . . . . . . . . . . .Introduction sibling syscalls. . . . . . . . . . . . . . . . . . . . .Introduction new syscalls. . . . . . . . . . . . . . . . . . . . .Introduction Classifying a Decade of System Call CommitsAdd/remove: The commit was made to add or remove one or moresyste

5、m calls.Bug fix: The commit was made to fix a bug.Improvement: The commit was made to make an improvement.Restructuring: The commit was made to conduct coderestructuring, such as cleaning up comments or refactoring. . . . . . . . . . . . . . . . . . . . .Introduction The system calls with the most c

6、ommits. . . . . . . . . . . . . . . . . . . . .Introduction Classifying Bug Fixes for SysallsCompatibility: Compatibility-related bugs are caused by compatibility issuesbetween architectures (e.g., 32-bit versus 64-bit).Concurrency: Concurrency-related bugs are caused by issues with atom- icity,exec

7、ution order, synchronization or locking, and lead to problems such as deadlockor race conditions.Error code: Error code-related bugs are caused by returning the wrong error codeor handling a returned error code incorrectly.Memory: Memory-related bugs are caused by incorrect usage of the mem- ory,the

8、reby introducing an issue such as a memory leak.Semantic : Semantic bugs are bugs in the implementation of the systemcall-specific behaviour, such as the logic of the service provided by the system call.Signal handling system calls have the highest number of semantic (9.33) andcompatibility-related (1.70) bug fixes per system call. . . . . . . . . . . . . . . . . . . . .Introduction Classifying Bug Fixes for SysallsSignal handling system calls have the highest number of semantic (9.33) andcompatibility-related (1.70) bug fixes per system call. . . . . . . . . . . . . . . . . . . . .

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 大学课件

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报