TGViewer
NetBSD NetBSD @netbsd · 231 subscribers
Post #64 478
Writing a NetBSD kernel module.

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 successive read expect a cryptographically-secure pseudorandom permutation of the original byte string...

https://saurvs.github.io/post/writing-netbsd-kern-mod/

#kernel #module
  • 👍 5
More from @netbsd
  1. Aug 17, 2026NetBSD 11 is Awesome!! Installed this on a system with a 500MHz Pentium iii, 512MB ram and…
  2. Aug 17, 2026NetBSD 11.0 release. The NetBSD project is pleased to (finally) announce the NetBSD 11.0 r…
  3. Aug 17, 2026Better late than never... Let's back to the channel. 🎸
  4. Feb 5, 2026Rust in the Kernel, and other odd decisions. NetBSD already has taken a much odder decisio…
  5. Oct 13, 2025smolBSD. smolBSD is a meta-operating system built on top of NetBSD. It lets you compose yo…
  6. Sep 14, 2025Adventures in porting a Wayland Compositor to NetBSD and OpenBSD. #video #wayland
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →