This series contains some follow-up patches for the policy rwlock to RCU conversion that has been merged recently. Passed selinux-testsuite under both release and debug Fedora kernel configs. v2: - just dereference the policy pointer directly in security_read_policy() - add a patch to remove the redundant policycap array from selinux_state - drop the refcount patch for now and remove the RFC keyword - I'd like to check the performance impact before going further with it - also, it might be better to continue holding read_lock() in existing functions and only use the refcount approach in the IMA policy export function (the standard access pattern will work the same also after adding the refcount support) Ondrej Mosnacek (3): selinux: simplify away security_policydb_len() selinux: eliminate the redundant policycap array selinux: remove the 'initialized' flag from selinux_state security/selinux/include/security.h | 53 ++++++------------ security/selinux/selinuxfs.c | 12 ++-- security/selinux/ss/services.c | 85 +++++++---------------------- 3 files changed, 43 insertions(+), 107 deletions(-) -- 2.26.2