spender wrote:The part about CAP_DAC_OVERRIDE can be done when I implement nested ACLs. It will still remain a part of the subject ACL, but you will be able to tune it based on the process that executes it.
That nested acl idea is great and gives lot more flexibility.
spender wrote:I suppose I could implement the globbing support, but it wouldn't be dynamic at all in the kernel. All it would do would be applying ACLs to every filename matching that pattern when the ACL system is being enabled.
That's just what I need and it makes some of my acls much shorter.
There is only few things where I need it and it's not problem that it doesn't refresh when directory content changes(anyway I need to go admin mode and restart acl when I add users).
But if you think it will make too much problems when people don't understand it limitations, then leave that idea.
It's not good if people have false sense of security.
spender wrote:I see what you're saying about the pax flags. I agree, it is more clear. The only problem is what to do if someone does something like +PAX_PAGEEXEC, when it's enabled by default. Do we ignore or do we raise an error? I'll think about it and possibly write it up tomorrow.
I think we need to ignore because it's not good if you need to modify all acls when you change something from kernel.
Maybe gradm could just warn about that. If it's possible.
-Nizery