Functions prefixed with security_ in SELinux
Casey Schaufler
2014-10-09 17:55:32 UTC
As I've been working on the multiple concurrent modules project I have
frequently encountered the use of the function prefix security_ in
SELinux specific code. I understand and appreciate that this code has
been there since the dawn of time. The LSM infrastructure also uses this
prefix, and that's where I have my concern. When I'm grubbing about for
uses of the LSM infrastructure in the SELinux code it's really quite
annoying. Would the SELinux community be open to considering the
possibility of thinking about cleaning up this bit of namespace
pollution? It surely isn't a critical issue, but it would certainly look

security_context_to_sid -> selinux_context_to_sid

Just a thought.