Security Models for the Kernel – Harsh Words from Torvalds
A debate on various security models for the Linux kernel has developed on the Linux Kernel Mailing List.
The bone of contention was a suggestion by Andrew Morton to introduce the "Simplified Mandatory Access Control Kernel" (Smack) in kernel 2.6.24. Developer James Morris responded that the decision to introduce Smack had to be seen in the wider context of the kernel's security architecture. He did not criticize Smack itself, but the loadable module LSM, on which Smack is based; however, LSM is only used by SELinux, who also programmed Smack. LSM would have been removed long ago, part from this fact.
Linus Torvalds entered the discussion at this point, responding saying that LSM was staying "You security people are insane. I'm tired of this "only my version is correct" crap. The whole and only point of LSM was to get away from that." Torvalds continues: "I guess I have to merge AppArmor and SMACK just to get this *disease* off the table." Responding to this verbal attack, developer Stephen Smalley objects that Torvalds is normally against loadable schedulers, asking: "Why is security different??"
Torvalds' response is unequivocal: "Schedulers can be objectively tested. There's this thing called "performance" that can generally be quantified on a load basis." He continues, "Yes, you can have crazy ideas in both schedulers and security. Yes, you can simplify both for a particular load. Yes, you can make mistakes in both. But the *discussion* on security seems to never get down to real numbers. So the difference between them is simple: one is "hard science". The other one is "people w****g [expletive deleted] around with their opinions."
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
openSUSE Tumbleweed Ditches AppArmor for SELinux
If you're an openSUSE Tumbleweed user, you can expect a major change to the distribution.
-
Plasma 6.3 Now Available
Plasma desktop v6.3 has a couple of pretty nifty tricks up its sleeve.
-
LibreOffice 25.2 Has Arrived
If you've been hoping for a release that offers more UI customizations, you're in for a treat.
-
TuxCare Has a Big AlmaLinux 9 Announcement in Store
TuxCare announced it has successfully completed a Security Technical Implementation Guide for AlmaLinux OS 9.
-
First Release Candidate for Linux Kernel 6.14 Now Available
Linus Torvalds has officially released the first release candidate for kernel 6.14 and it includes over 500,000 lines of modified code, making for a small release.
-
System76 Refreshes Meerkat Mini PC
If you're looking for a small form factor PC powered by Linux, System76 has exactly what you need in the Meerkat mini PC.
-
Gnome 48 Alpha Ready for Testing
The latest Gnome desktop alpha is now available with plenty of new features and improvements.
-
Wine 10 Includes Plenty to Excite Users
With its latest release, Wine has the usual crop of bug fixes and improvements, along with some exciting new features.
-
Linux Kernel 6.13 Offers Improvements for AMD/Apple Users
The latest Linux kernel is now available, and it includes plenty of improvements, especially for those who use AMD or Apple-based systems.
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.