Create a pseudo filesystem with init_pseudo
Create a tiny in-kernel filesystem for internal files with init_pseudo and kern_mount on Linux 6.12, the way sockfs and pipefs are built.
Short posts that solve one thing: the code, the output we got, and why it works.
Create a tiny in-kernel filesystem for internal files with init_pseudo and kern_mount on Linux 6.12, the way sockfs and pipefs are built.
Create a block device the modern way with blk_mq_alloc_tag_set and blk_mq_alloc_disk on Linux 6.12, which takes a queue_limits pointer since 6.9.
Link three split-virtqueue descriptors into one virtio-blk read request with VRING_DESC_F_NEXT, marking only the data and status buffers device-writable.
Let the kernel pick a free major number with alloc_chrdev_region on Linux 6.12, then read it back with MAJOR and find it in /proc/devices.
Call unshare(CLONE_NEWUSER) as a normal user on Linux 6.12 to get a namespace where you hold every capability, and see why geteuid shows 65534.
Set MODULE_LICENSE, MODULE_AUTHOR and MODULE_DESCRIPTION in a Linux 6.12 module, and see how the license decides which symbols you may use.
Rebuild only one driver directory on Linux 6.12 with make M=, so a one-line fix does not send the whole tree back through the compiler.
We send one email when a new post is published. No spam.