diff options
Diffstat (limited to 'security/selinux/ss/services.c')
-rw-r--r-- | security/selinux/ss/services.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index 9ea2feca3cd4..494ff527c174 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c | |||
@@ -1791,6 +1791,7 @@ int security_load_policy(void *data, size_t len) | |||
1791 | selinux_complete_init(); | 1791 | selinux_complete_init(); |
1792 | avc_ss_reset(seqno); | 1792 | avc_ss_reset(seqno); |
1793 | selnl_notify_policyload(seqno); | 1793 | selnl_notify_policyload(seqno); |
1794 | selinux_status_update_policyload(seqno); | ||
1794 | selinux_netlbl_cache_invalidate(); | 1795 | selinux_netlbl_cache_invalidate(); |
1795 | selinux_xfrm_notify_policyload(); | 1796 | selinux_xfrm_notify_policyload(); |
1796 | return 0; | 1797 | return 0; |
@@ -1870,6 +1871,7 @@ int security_load_policy(void *data, size_t len) | |||
1870 | 1871 | ||
1871 | avc_ss_reset(seqno); | 1872 | avc_ss_reset(seqno); |
1872 | selnl_notify_policyload(seqno); | 1873 | selnl_notify_policyload(seqno); |
1874 | selinux_status_update_policyload(seqno); | ||
1873 | selinux_netlbl_cache_invalidate(); | 1875 | selinux_netlbl_cache_invalidate(); |
1874 | selinux_xfrm_notify_policyload(); | 1876 | selinux_xfrm_notify_policyload(); |
1875 | 1877 | ||
@@ -2374,6 +2376,7 @@ out: | |||
2374 | if (!rc) { | 2376 | if (!rc) { |
2375 | avc_ss_reset(seqno); | 2377 | avc_ss_reset(seqno); |
2376 | selnl_notify_policyload(seqno); | 2378 | selnl_notify_policyload(seqno); |
2379 | selinux_status_update_policyload(seqno); | ||
2377 | selinux_xfrm_notify_policyload(); | 2380 | selinux_xfrm_notify_policyload(); |
2378 | } | 2381 | } |
2379 | return rc; | 2382 | return rc; |