Commit a3d3043
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: 8af43b6 ("selinux: support wildcard network interface names")
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
[PM: /netlabel/netif/ due to a typo in the description]
Signed-off-by: Paul Moore <paul@paul-moore.com>1 parent 8af43b6 commit a3d3043
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2587 | 2587 | | |
2588 | 2588 | | |
2589 | 2589 | | |
2590 | | - | |
2591 | | - | |
2592 | 2590 | | |
2593 | 2591 | | |
2594 | 2592 | | |
2595 | 2593 | | |
2596 | 2594 | | |
2597 | 2595 | | |
| 2596 | + | |
2598 | 2597 | | |
2599 | 2598 | | |
2600 | 2599 | | |
| |||
0 commit comments