In this post, we’ll look at implementing a simple character device driver as a kernel module in NetBSD. Once it is loaded, userspace processes will be able to
write
an arbitrary byte string to the device, and on every successiveread
expect a cryptographically-secure pseudorandom permutation of the original byte string.
IF you’ve always wanted to learn how to write a NetBSD driver, here’s a great starting point.
I fear the lack of commentary on this article is a tell of sorts, about where the bulk of the software industry is heading!
I’m not sure it’s good!
I’m interested. I’m just starting to get into NetBSD and maybe trying my hand at creating a port for pkgsrc, so this is timely.
I’m not an OS dev, but I might try my hand at it with an Arm board. 🙂
Lobste.rs has some good commentary on the article. https://lobste.rs/s/evdq27/writing_netbsd_kernel_module
It’s more of an indication of where this site has gone… /r/osdev is plenty active as are the old osdev forums.