[–] 2 points 1 week ago

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.

  • source
  • parent
  • context
  • [–] 2 points 2 weeks ago (1 child)

    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.

  • source
  • parent
  • context
  • view more: β€Ή prev next β€Ί