Back to The NetBSD Foundation
GSoC 2026

Testing Compat Linux: Syscall testing

NetBSD is capable of running binaries compiled for Linux through a thin in-kernel translation layer, the Compat Linux. Currently, the Linux emulation is not covered by the NetBSD test suite, this project aims to target that area, focusing on testing the syscalls emulations. To achieve this, the syscalls tests from the Linux Test Project will be used. They will be compiled for Linux and the resulting binaries will be run with the Compat Linux. This project will focus on the most basic/used syscalls, this allows for a great coverage of use cases, and will make running more complex tests easier in the future. The syscalls to be tested are: Basic IO: read, write, open, close, lseek, stat, fstat Processes: fork, execve, exit, waitid, dup, dup2, pipe Memory: nmap, munmap, mprotect, brk Sockets: socket, bind, connect, accept

Project details

Contributor

Henrique Brito

Mentors

Not available

Technologies

Not listed in the archive