commit | 348dc288d4bf4c0272a46a80f97748f36916601b | [log] [tgz] |
---|---|---|
author | Vishal Goel <vishal.goel@samsung.com> | Wed Nov 23 10:45:31 2016 +0530 |
committer | Casey Schaufler <casey@schaufler-ca.com> | Tue Jan 10 09:47:20 2017 -0800 |
tree | a95c23588984356c64a58c444b92e238718f59b5 | |
parent | 3d4f673a6988f57e6f6ccd1a3b79eee171545e08 [diff] |
Smack: Traverse the smack_known_list using list_for_each_entry_rcu macro In smack_from_secattr function,"smack_known_list" is being traversed using list_for_each_entry macro, although it is a rcu protected structure. So it should be traversed using "list_for_each_entry_rcu" macro to fetch the rcu protected entry. Signed-off-by: Vishal Goel <vishal.goel@samsung.com> Signed-off-by: Himanshu Shukla <himanshu.sh@samsung.com> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>