summaryrefslogtreecommitdiff
path: root/man/sd_machine_get_class.xml
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-11-06 16:48:11 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-11-06 17:02:21 +0100
commit2d58aa4692e9fc47911bff5d064ba3e328c35369 (patch)
treef1350652b6f29dc7aa293d2891eed7709e131f43 /man/sd_machine_get_class.xml
parent3f85ef0f05ffc51e19f86fb83a1c51e8e3cd6817 (diff)
shared: create files even if the SELinux policy has no context for them
The SELinux policy defines no context for some files. E.g.: $ matchpathcon /run/lock/subsys /dev/mqueue /run/lock/subsys <<none>> /dev/mqueue <<none>> We still need to be able to create them. In this case selabel_lookup_raw() returns ENOENT. We should then skip setfscreatecon(), but still return success. It was broken since c34255bdb2 ("label: unify code to make directories, symlinks").
Diffstat (limited to 'man/sd_machine_get_class.xml')
0 files changed, 0 insertions, 0 deletions