mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
NetLabel: introduce a new kernel configuration API for NetLabel
Add a new set of configuration functions to the NetLabel/LSM API so that LSMs can perform their own configuration of the NetLabel subsystem without relying on assistance from userspace. Signed-off-by: Paul Moore <[email protected]> Signed-off-by: Casey Schaufler <[email protected]> Reviewed-by: James Morris <[email protected]> Cc: Chris Wright <[email protected]> Cc: Stephen Smalley <[email protected]> Cc: Casey Schaufler <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
97829955ad
commit
eda61d32e8
6 changed files with 225 additions and 9 deletions
|
|
@ -547,8 +547,8 @@ int cipso_v4_doi_remove(u32 doi,
|
|||
rcu_read_lock();
|
||||
list_for_each_entry_rcu(dom_iter, &doi_def->dom_list, list)
|
||||
if (dom_iter->valid)
|
||||
netlbl_domhsh_remove(dom_iter->domain,
|
||||
audit_info);
|
||||
netlbl_cfg_map_del(dom_iter->domain,
|
||||
audit_info);
|
||||
rcu_read_unlock();
|
||||
cipso_v4_cache_invalidate();
|
||||
call_rcu(&doi_def->rcu, callback);
|
||||
|
|
|
|||
Loading…
Reference in a new issue