Current implementation is as follows.
- security_path_*: MAC before DAC
- security_inode_*: DAC before MAC
I can understand Casey and Valdis' MAC first approach from the ideal
security perspective. However, from the pragmatic perspective, we
prefer DAC before MAC approach as SELinux does. This approach doesn't
change error code returned to callers if requested access is denied
by DAC.
Regards,
--