drwxrwxr-x radio radio u:object_r:unlabeled:s0 factory
I modified sepolicy/attributes and included this line:
#All types used for /factory files.
attribute factory_type;
I then created sepolicy/factory.te file that is this:
type factory, factory_type;
I then modified sepolicy/file_contexts to include
# factory files
/factory(/.*)? u:object_r:factory:s0
I am trying to figure out how to label that part of the filesystem from scratch so I can understand the process a little better. Thanks for any help!
Respectfully,
William C Roberts