r/linuxquestions • • Dec 21 '25

Why don't kernel level anti-cheats exist on linux?

Its my understanding that programs can get access to kernel space by installing themselves as drivers (makes sense, actual drivers likely require the privilege to control hardware) - I'm assuming drivers on linux also have access to kernel space - so why cant an anti-cheat just install itself as a driver, in the same way it does on windows? Just curious about the inner workings

347 Upvotes

193 comments sorted by

View all comments

Show parent comment

2

u/Sorry-Committee2069 Dec 22 '25

Reminder that you can't so much as allocate RAM pages or (I think) even print text to the kernel log without your code being licensed as GPL-adjacent. It's basically impossible to *not* be GPL-licensed (and this system doesn't accept MIT licenses, which has always confused me.)

1

u/AiwendilH Dec 22 '25

I think the requirement to duallicense MIT/GPL is mostly to make it clear what it means to use EXPORT_SYMBOL_GPL() symbols. If you use those symbols you create a combined work of your (kernel module) code and the GPL licensed kernel. So the outcome has to follow the GPL license. So even if a kernel module would be only licensed MIT someone distributing the kernel module would still have to offer full GPL "support" for it.

But not completely sure because this wouldn't really need dual-licensing...it's just how the GPL works.