中文版 | English
题名

Automated patch backporting in Linux (experience paper)

作者
通讯作者Tan,Shin Hwei
DOI
发表日期
2021-07-11
会议名称
30th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA)
会议录名称
页码
633-645
会议日期
JUL 11-17, 2021
会议地点
null,null,ELECTR NETWORK
出版地
1515 BROADWAY, NEW YORK, NY 10036-9998 USA
出版者
摘要

Whenever a bug or vulnerability is detected in the Linux kernel, the kernel developers will endeavour to fix it by introducing a patch into the mainline version of the Linux kernel source tree. However, many users run older "stable"versions of Linux, meaning that the patch should also be "backported"to one or more of these older kernel versions. This process is error-prone and there is usually along delay in publishing the backported patch. Based on an empirical study, we show that around 8% of all commits submitted to Linux mainline are backported to older versions,but often more than one month elapses before the backport is available. Hence, we propose a patch backporting technique that can automatically transfer patches from the mainline version of Linux into older stable versions. Our approach first synthesizes a partial transformation rule based on a Linux mainline patch. This rule can then be generalized by analysing the alignment between the mainline and target versions. The generalized rule is then applied to the target version to produce a backported patch. We have implemented our transformation technique in a tool called FixMorph and evaluated it on 350 Linux mainline patches. FixMorph correctly backports 75.1% of them. Compared to existing techniques, FixMorph improves both the precision and recall in backporting patches. Apart from automation of software maintenance tasks, patch backporting helps in reducing the exposure to known security vulnerabilities in stable versions of the Linux kernel.

关键词
学校署名
通讯
语种
英语
相关链接[Scopus记录]
收录类别
资助项目
National Natural Science Foundation of China[61902170]
WOS研究方向
Computer Science
WOS类目
Computer Science, Software Engineering ; Computer Science, Theory & Methods
WOS记录号
WOS:000722628800051
EI入藏号
20213110707484
EI主题词
Software testing
EI分类号
Computer Software, Data Handling and Applications:723 ; Computer Applications:723.5
Scopus记录号
2-s2.0-85111463838
来源库
Scopus
引用统计
被引频次[WOS]:10
成果类型会议论文
条目标识符http://sustech.caswiz.com/handle/2SGJ60CL/242086
专题南方科技大学
工学院_计算机科学与工程系
作者单位
1.National University of Singapore,Singapore
2.Southern University of Science and Technology,China
3.Inria,France
通讯作者单位南方科技大学
推荐引用方式
GB/T 7714
Shariffdeen,Ridwan,Gao,Xiang,Duck,Gregory J.,et al. Automated patch backporting in Linux (experience paper)[C]. 1515 BROADWAY, NEW YORK, NY 10036-9998 USA:ASSOC COMPUTING MACHINERY,2021:633-645.
条目包含的文件
文件名称/大小 文献类型 版本类型 开放类型 使用许可 操作
issta21.pdf(338KB)----限制开放--
个性服务
原文链接
推荐该条目
保存到收藏夹
查看访问统计
导出为Endnote文件
导出为Excel格式
导出为Csv格式
Altmetrics Score
谷歌学术
谷歌学术中相似的文章
[Shariffdeen,Ridwan]的文章
[Gao,Xiang]的文章
[Duck,Gregory J.]的文章
百度学术
百度学术中相似的文章
[Shariffdeen,Ridwan]的文章
[Gao,Xiang]的文章
[Duck,Gregory J.]的文章
必应学术
必应学术中相似的文章
[Shariffdeen,Ridwan]的文章
[Gao,Xiang]的文章
[Duck,Gregory J.]的文章
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
[发表评论/异议/意见]
暂无评论

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。