Hi all,
Debian recently started added a linux-bpf-dev binary package that
installs the BPF header vmlinux.h at:
/usr/include/$DEB_HOST_MULTIARCH/linux/bpf/vmlinux.h
After we did this Luca noted that in Ubuntu the corresponding binary
package installs it at:
/usr/include/$DEB_HOST_MULTIARCH/linux/vmlinux.h
and as a result the systemd package needs to use distribution-
conditional logic to use this header.
We discussed this in a merge request <https://salsa.debian.org/kernel-team/linux/-/merge_requests/1359>
(currently down, sorry) and also at a meeting on IRC <https://meetbot.debian.net/debian-kernel/2025/debian-kernel.2025-04-02-19.00.log.html>.
The main argument for using <linux/bpf/vmlinux.h> is that it is less
likely to conflict with or be confused with a posible future UAPI header installed at /usr/include/linux/vmlinux.h.
Would you consider moving this header in Ubuntu to align with Debian?
Or alternatively would you like to argue for the converse (Debian should align with Ubuntu)?
Ben.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 00:50:48 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,573 |