luite/selinux

Graceful getFileCon

Opened this issue · 0 comments

Any chance we can get a version of getFileCon that returns a (Maybe SecurityContext) instead of throwing an exception when a file does not support that operation? I've encountered this scenario with /proc/sys/*.