Repository navigation
Open
3 / 123 of 12 issues completedLabels
area/bpfBPF: the verifier, the JIT, maps and BTF.area/containerscgroup v2 and the container interfaces.area/netNetworking: sockets, TCP, netlink and netfilter.area/securityLSMs, seccomp, Landlock, capabilities and mitigations.area/vfsThe VFS, the dentry cache, procfs and sysfs.kind/milestoneA tracking issue for one milestone. It lists the items and the exit criterion.priority/p2Do this when there is time.
Milestone
Description
The L4 distribution images boot to multi user mode with systemd.
Items
- R5 systemd as PID 1: cgroup v2 controllers, namespaces and pidfds #536 systemd as PID 1: cgroup v2 with all controllers, all namespaces and pidfds. Exit: systemd boots and starts its default units.
- R5 eBPF: the interpreter, maps and cgroup programs #537 The eBPF interpreter, maps and cgroup programs. Exit: systemd IP accounting and the device controller work.
- R5 netlink: rules, nexthops, generic netlink and ethtool for networkd, resolved and udevd #538 The netlink families for networkd, resolved and udevd. Exit: networkd configures the network and udevd names the devices.
- R5 uevents, the keyring, fanotify and inotify #539 uevents, the keyring, fanotify and inotify. Exit: Their LTP tests reach the pass set of the reference.
- R5 AppArmor and SELinux: the LSM framework, permissive and then enforcing #540 AppArmor and SELinux, first in permissive mode and then in enforcing mode. Exit: Ubuntu boots with AppArmor enforcing. Fedora boots with SELinux enforcing.
- R5 TPM: the CRB and TIS drivers, /dev/tpm0 and /dev/tpmrm0 #541 The TPM driver. Exit: systemd-cryptenroll binds a key to the virtual TPM.
- R5 nftables: the hooks, nf_tables, conntrack and NAT #542 nftables. Exit: The nftables test suite reaches the pass set of the reference.
- R5 the remaining /sys and /proc files that the images read #543 The remaining /sys and /proc files that the corpus reads. Exit: The L4 trace of each image shows no missing file.
- Bench on KVM: will-it-scale for CortenMM and the huge page flush #533 Bench on KVM: will-it-scale for CortenMM and the huge page flush. Exit: The numbers for both backends on x86_64 and arm64 are in tools/bench, and open question 1 (Open question 1: CortenMM or VMAs as the source of truth for address spaces #22) is decided.
Exit criterion
The L4 images boot to multi user mode and pass their smoke tests on both tier 1 architectures: Debian 13, Ubuntu 26.04 and 26.10, Fedora 44, Arch, Alpine 3.22 and NixOS 26.05. The systemd TEST-* integration tests reach the pass set of the reference, apart from the listed exceptions.
If we stop here
We have a kernel that distributions can use in place of Linux in virtual machines.
Refer to spec/22-milestones.md.
Metadata
Metadata
Assignees
Labels
area/bpfBPF: the verifier, the JIT, maps and BTF.area/containerscgroup v2 and the container interfaces.area/netNetworking: sockets, TCP, netlink and netfilter.area/securityLSMs, seccomp, Landlock, capabilities and mitigations.area/vfsThe VFS, the dentry cache, procfs and sysfs.kind/milestoneA tracking issue for one milestone. It lists the items and the exit criterion.priority/p2Do this when there is time.
Activity
tamnd commentedon Nov 1, 2026
Added #533: the bench on KVM for CortenMM and the huge page flush, moved from #405 and #435 in R4. It also decides open question 1 (#22).
271 remaining items
tamnd commentedon Nov 20, 2026
#539 item 5, part 1 of 3: #815. A write of 2 or 3 to
/proc/sys/vm/drop_cachesnow removes the evictable fanotify marks of unused inodes. LTP fanotify10 and fanotify23 pass on x86_64 and arm64. FAN_PRE_ACCESS (fanotify24) and the time of fanotify05 follow in two more PRs.tamnd commentedon Nov 20, 2026
#816 merged: an IPv4 route can go through an IPv6 gateway (
RTA_VIA), as Linux 5.2 and later. With this,test_route_via_ipv6andtest_nexthopof the networkd tests pass on rukernel x86_64, and NetworkdNetworkTests gives 31 passes of 42 (29 before) (#538).tamnd commentedon Nov 20, 2026
cgroup2 file handles: #817 is merged.
name_to_handle_aton cgroup2 givesFILEID_KERNFSwith the cgroup ID.open_by_handle_atfinds the cgroup, gives the file its path in the mount ofmount_fd, and givesESTALEfor a removed cgroup or one outside the mount.NFTSet=cgroup:added no element, and TEST-75 stopped at testcase_11_nft.testok, in 492 s under QEMU TCG. Before: it stopped at testcase_11_nft. The Linux reference passes 10 of 10.systemdboot test passes on x86_64.tamnd commentedon Nov 21, 2026
#539 item 5, part 2 of 3: #818. fanotify has
FAN_PRE_ACCESSon ext3, ext4 and XFS, asSB_I_ALLOW_HSMof Linux 7.x. LTP fanotify24 passes on x86_64 and arm64 (ext3 and ext4 pass, ext2 and tmpfs give TCONF as in Linux).tamnd commentedon Nov 21, 2026
#539 item 5, part 3 of 3: #819. A lookup in
/proc/PIDmakes only the entry of the name, and ext2/ext4 find a free inode 64 bits at a time. LTP fanotify05 on x86_64 under QEMU TCG at a load average of about 8 takes 146 s and passes; before, it took 269 s and timed out.tamnd commentedon Nov 21, 2026
Release 0.5.38: https://github.com/tamnd/rukernel/releases/tag/v0.5.38. It has the PRs #803 to #819 (#820).
tamnd commentedon Nov 21, 2026
#821 merged for #540 (SELinux, part 10). The checks of the maps of files and of anonymous memory, as
selinux_mmap_fileandfile_map_prot_checkof Linux: a map of a file needsmap,read,writeif it is shared and can write, andexecuteif it can run code. A map that can run code needsexecmemif it is anonymous memory, a file without an inode, or a private map that can also write. The selinux boot test passed with 122 of 122 checks on x86_64 and on arm64.mprotectcomes in the next part.tamnd commentedon Nov 21, 2026
#822 merged for #540 (SELinux, part 11). The checks of the operations on other tasks, as
selinux_task_kill, the task hooks,selinux_capget,selinux_capsetand theptracehooks of Linux: a signal needssigkill,sigstop,sigchld,signullorsignal, and the process group, the session, the scheduler, the limits, the capabilities andptraceneed their permissions of the classprocess.prlimiton the caller itself does not call the hook. The selinux boot test passed with 134 of 134 checks on x86_64 and on arm64.tamnd commentedon Nov 21, 2026
#823: arm64 CLOCK_MONOTONIC, CLOCK_REALTIME and jiffies now come from CNTVCT_EL0 (mult and shift, no tick count), in the kernel and the vDSO, and the tick is armed at an absolute CVAL (#813). On loaded TCG (load 11), sleep(60) and a 20 s busy loop now give ratio 1.000 to the host and the counter; before they gave 3.1 and 7.8.
tamnd commentedon Nov 21, 2026
#824 merged for #540 (SELinux, part 12). The checks of the mounts, as
selinux_mount,selinux_move_mountandselinux_umountof Linux: a new mount and a move of a mount needmountonon the place of the mount, a remount needsremountof the file system, and an unmount needsunmountof the file system. The selinux boot test passed with 140 of 140 checks on x86_64 and on arm64.tamnd commentedon Nov 22, 2026
Released v0.5.39 (#825). It has the PRs #821 to #824: the SELinux checks of maps, of the operations on other tasks and of mounts (#540), and the arm64 clock from the virtual counter (#813).
tamnd commentedon Nov 23, 2026
#826: multipath routes (
RTA_MULTIPATH) for IPv4 and IPv6, as Linux.NetworkdNetworkTests.test_route_staticnow passes on x86_64 and arm64, and NetworkdNetworkTests gives 32 of 42 on x86_64 (31 before) (#538).tamnd commentedon Nov 23, 2026
#542: copy-on-write for the sets of nf_tables, #827.
hangat 1800 s with 2 VMs at a load of 9 to 15. Alone, vmap_timeout passes in 1010 s, and in 1087 s with main.The "Sets and maps" item stays open. It needs a full run of the sets and maps tests on both architectures.
tamnd commentedon Nov 23, 2026
#828 merged for #540 (SELinux, part 13). The check of the capabilities, as
selinux_capableandcred_has_capabilityof Linux: after the capability module, a capability needs its permission on the task itself incapabilityorcapability2, or incap_usernsorcap2_usernsfor another user namespace. Thecapablehook now gets the user namespace, as on Linux. The selinux boot test passed with 145 of 145 checks on x86_64 and on arm64.tamnd commentedon Nov 23, 2026
#829: #752 item 3 (TEST-55-OOMD), part 1. The reclaim and the swap reads count in
memory.pressure, the reclaim ofmemory.highworks in batches and walks the address space in steps of 2 MiB, one swap I/O runs at a time and the other tasks sleep, and a killed thread does not reclaim. systemd-oomd now killstestmunchin each run. All 5 test cases pass in about 1 run of 3 (host load 2.0 to 2.6). The other runs fail because the test does not seetestchillin the 15 seconds before the next kill of systemd-oomd: the system is too slow under the load ofstress-ng. Item 3 stays open.