this post was submitted on 19 Jul 2024
1282 points (99.4% liked)

Programmer Humor

19821 readers
1417 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 0 points 5 months ago (1 children)

Having the data exposed to userspace via an API would avoid having to have a kernel module at all... Which when malformed wouldn't compromise the kernel.

[โ€“] [email protected] 4 points 5 months ago

I mean, sure. But typically operating systems don't expose that type of information to user space, instead providing a kernel interface with user mode configuration.

It's why they use the same basic approach on mac and Linux.