You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selinux::module now support .fc files. We could add a selinux::restorecon define and subscribe it to all file resources with se* parameters set and/or to modules for specific directories.
@thias has an SELinux module that can set file contexts, though I don't really feel comfortable just wholesale copying his code and making a PR against this module without permission.
FWIW, that code is probably quite fragile and I don't think I even use it myself at the moment. Do feel free to copy/paste it as long as you follow the ASL 1.0 it's licensed under. And some credit is always welcome, even if this is probably not the kind of code to be proud of ;-)
My SELinux module is mostly just hacks. A proper module using types and providers would be much nicer.
There currently no support to change the label policy on the filesystems.
I would like to
semanage fcontext
-like way to set labelsAn alternative way to set the labels would be to use .fc when building selinux modules.
The text was updated successfully, but these errors were encountered: