summaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
authorGary Tierney2017-01-09 16:07:32 +0100
committerPaul Moore2017-01-09 16:07:32 +0100
commit900fde06cb9d27625fec4f5cabd7f5462adc79fb (patch)
tree11fb58c6c970d18b21e02f86631d3dbf27c43b11 /security/smack
parentselinux: log errors when loading new policy (diff)
downloadkernel-qcow2-linux-900fde06cb9d27625fec4f5cabd7f5462adc79fb.tar.gz
kernel-qcow2-linux-900fde06cb9d27625fec4f5cabd7f5462adc79fb.tar.xz
kernel-qcow2-linux-900fde06cb9d27625fec4f5cabd7f5462adc79fb.zip
selinux: default to security isid in sel_make_bools() if no sid is found
Use SECINITSID_SECURITY as the default SID for booleans which don't have a matching SID returned from security_genfs_sid(), also update the error message to a warning which matches this. This prevents the policy failing to load (and consequently the system failing to boot) when there is no default genfscon statement matched for the selinuxfs in the new policy. Signed-off-by: Gary Tierney <gary.tierney@gmx.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions