Commit a3d3043e authored by Christian Göttsche's avatar Christian Göttsche Committed by Paul Moore
Browse files

selinux: get netif_wildcard policycap from policy instead of cache



Retrieve the netif_wildcard policy capability in security_netif_sid()
from the locked active policy instead of the cached value in
selinux_state.

Fixes: 8af43b61 ("selinux: support wildcard network interface names")
Signed-off-by: default avatarChristian Göttsche <cgzones@googlemail.com>
Acked-by: default avatarStephen Smalley <stephen.smalley.work@gmail.com>
[PM: /netlabel/netif/ due to a typo in the description]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 8af43b61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment