LAInus TorvaldAInus OS π€
comments
No. LAInux. π
No. LAinAIux
No. LAInux. Slopinux. π€π€π€
SELinux is a critical part of the least privilege model of a Android system. It is why Android hasn't been impacted by almost all Linux CVEs. Unlike desktop Linux, Android was created after modern security threats were around. Overtime the system has been partitioned so that a compromise in ome area doesn't impact others. It isn't flawless but it does a pretty good job.
Android itself is pretty secure due to it being created after model security threats.
Don't disable SELinux
It breaks the entire Android security model. Your device will become highly vulnerable as apps will have full access to everything. All it takes is a browser exploit and you are cooked.
SELinux is really important for security
Dealing with selinux policies makes me miss grsec and pax.
Precisely. SE Linux is good for a handful of extremely strict environments
Things can be 2 things
Only of you want to. my comment is open source.
- under MIT licence.
So the correct way to use SELinux is to checks notes disable it
if you mean GrapheneOS, you can't not know that GrapheneOS's security is thanks almost in no part to SELinux
tenet
I love this. First time seeing it.
Yeah, AppArmor is a lot more straightforward. I could buy an argument that technically the SELinux approach is more flexible, but it's hard to imagine someone needing that much flexibility in the general use case.
I can understand why something like Android could get more mileage out of SELinux' model, but most scenarios are very capably modeled by AppArmor approach and much easier and less fragile functionality wise.
I have come to the general understanding that unless you have a million dollars on the line and a million more dollars to give to one person to manage it.
Just use app armor
Over the last year I have done this entire. Went from app armor to SEL and now I'm back on app armor.
You couldn't pay me enough to try SEL again.
It assumes the user is an idiot. And it assumes the user should not own their own device.
That is the core tenant of how it works.
Aka deny all base line.
is this the thread where we add "in the ass" to common knowledge?
selinux has, is, and will always be a fucking pain in the ass for us custom rommers
Android is not, and never was, secure. Selinux is a bandaid.
Without lubricant that is
I'm. amuxh bigger fan of apparmor. Easier to configure, easier to debug, easier to fix, and as far as I know it gives the same level of security