Linaro Connect 24

Cover image

Join us at Linaro Connect, where innovation meets collaboration!

Discover the future of ARM open-source software, network with industry leaders, engineers, and ARM software experts, and don’t forget the Linaro Connect hacking sessions.

Let’s connect, learn, and innovate together.

May 14, 2024

1 week ago

May 17, 2024

1 week ago

Madrid, Spain

Profile Picture
Arnd Bergmann

Kernel maintainer
Linaro
Standard Ticket

Arnd has been a kernel maintainer with Linaro for over 12 years and maintains the SoC tree, while getting involved in many areas of the kernel overall. He coordinates treewide changes across architectures and maintains the include/asm-generic subdirectory that contains common infrastructure for CPU architectures.

Talks

MAD24-315 Rethinking the kernel system call entry

Session

Linux kernel

  • Thursday, 16 May 11:35 - 12:00
  • Room: Session 2 | Tenerife I

The kernel currently contains two different ways of generating system call tables across architectures, with bits of it abstracted by rather complicated macros that are universally hated and that that occasionally run into dangerous corner cases when they are wrong. Arnd is working on a rewrite of this code to end up with a version using generated code to make this consistent across all architectures. The resulting infrastructure will allow correct argument sanitation for compat syscalls for architectures that support 32-bit compat binaries, At the same time describing system calls enough to have the user space side generated from the same description, which can be used by things like the C library, debugger or tracing in userspace. Adding a new system call should become a matter of editing a single file, and it will be easier to add support for additional ABIs such as 128-bit pointer userspace coexisting with the current 32-bit and 64-bit binaries.