projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selinux: dump statistics for more hash tables
[linux-2.6-block.git]
/
security
/
selinux
/
ss
/
conditional.c
diff --git
a/security/selinux/ss/conditional.c
b/security/selinux/ss/conditional.c
index f12476855b27de9ffc6d1ad351b55c64dddacb21..e868fc403d753cbd1fc31b110de60379f92d2c18 100644
(file)
--- a/
security/selinux/ss/conditional.c
+++ b/
security/selinux/ss/conditional.c
@@
-169,6
+169,9
@@
int cond_init_bool_indexes(struct policydb *p)
p->p_bools.nprim, sizeof(*p->bool_val_to_struct), GFP_KERNEL);
if (!p->bool_val_to_struct)
return -ENOMEM;
+
+ avtab_hash_eval(&p->te_cond_avtab, "conditional_rules");
+
return 0;
}