diff options
author | Paul Moore <paul.moore@hp.com> | 2008-02-05 01:29:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:20 -0500 |
commit | eda61d32e8ad1d9102872f9a0abf3344bf9c5e67 (patch) | |
tree | d1c11a47c97b3f29d54021cd4aa9c0b8963ed0c8 /net/ipv4 | |
parent | 97829955ad291acec1d8b94e9911b3ceb1118bb1 (diff) |
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 <paul.moore@hp.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: James Morris <jmorris@namei.org>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/cipso_ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c index a2241060113b..8cd357f41283 100644 --- a/net/ipv4/cipso_ipv4.c +++ b/net/ipv4/cipso_ipv4.c | |||
@@ -547,8 +547,8 @@ int cipso_v4_doi_remove(u32 doi, | |||
547 | rcu_read_lock(); | 547 | rcu_read_lock(); |
548 | list_for_each_entry_rcu(dom_iter, &doi_def->dom_list, list) | 548 | list_for_each_entry_rcu(dom_iter, &doi_def->dom_list, list) |
549 | if (dom_iter->valid) | 549 | if (dom_iter->valid) |
550 | netlbl_domhsh_remove(dom_iter->domain, | 550 | netlbl_cfg_map_del(dom_iter->domain, |
551 | audit_info); | 551 | audit_info); |
552 | rcu_read_unlock(); | 552 | rcu_read_unlock(); |
553 | cipso_v4_cache_invalidate(); | 553 | cipso_v4_cache_invalidate(); |
554 | call_rcu(&doi_def->rcu, callback); | 554 | call_rcu(&doi_def->rcu, callback); |