2 ms·
No, actually, RSBAC does this via policy. That is, the developer does not need to bother. The developer does what the developer does. The policy enforces it,
by zobzu 15y ago
No, actually, RSBAC does this via policy.
That is, the developer does not need to bother. The developer does what the developer does.
The policy enforces it, regardless of the code. If in certain conditions, as a user, you disagree with the user of CAP_SYS_ADMIN, RSBAC denies it (context-based too, via other modules!)
You can for example wrap that in a role-based policy, tied per binary, or simply by wrapping it in a RSBAC jail. (rsbac_jail -options /path/to/said/program)
I don't think the other ones do that, as it's quite specific. They just plain deny.
That's mostly because RSBAC has it's own framework (as does GrSecurity, but GrSecurity does not go as deep in that regard)