13–15 Nov 2023
America/New_York timezone

Improving UAPI Compatibility Review with Automated Tooling

14 Nov 2023, 10:10
40m
"Potomac G" (Omni Richmond Hotel)

"Potomac G"

Omni Richmond Hotel

80
Build Systems MC Build Systems MC

Speaker

John Moon (Qualcomm Innovation Center, Inc.)

Description

Maintaining userspace API (UAPI) compatibility has been a cornerstone of Linux’s success over the years as it has allowed users to confidently upgrade their kernels without worrying about their userspace programs breaking.

Traditionally, kernel developers have used code review and testing to find UAPI-breaking changes. With libabigail, an additional tool could be added to the kernel tree which would allow developers to analyze a patch for UAPI breakages before the code is even executed. It could be integrated into build pipelines/processes to give developers helpful, immediate feedback and codify the kernel’s UAPI stability policy.

Beyond UAPI headers, this talk will explore additional boundaries between user and kernel space: sysfs and module parameters; in order to guarantee a stable kernel upgrade, changes to these interfaces must be backwards-compatible as well. Though, since they do not offer a clean C API, libabigail cannot help to analyze them. We hope to generate a robust discussion on how we could analyze the compatibility of these interfaces going forward.

Primary author

John Moon (Qualcomm Innovation Center, Inc.)

Presentation materials

Diamond Sponsors
Platinum Sponsor
Gold Sponsors
Silver Sponsors
Catchbox Sponsor
Livestream Sponsors
T-Shirt Sponsor
Conference Services Provided by