Re: [PATCH] security: don't use RCU accessors for cred->session_keyring

2019-04-10 Thread James Morris
On Wed, 27 Mar 2019, Jann Horn wrote: > sparse complains that a bunch of places in kernel/cred.c access > cred->session_keyring without the RCU helpers required by the __rcu > annotation. > > cred->session_keyring is written in the following places: > > - prepare_kernel_cred() [in a new cred st

[PATCH] security: don't use RCU accessors for cred->session_keyring

2019-03-27 Thread Jann Horn
sparse complains that a bunch of places in kernel/cred.c access cred->session_keyring without the RCU helpers required by the __rcu annotation. cred->session_keyring is written in the following places: - prepare_kernel_cred() [in a new cred struct] - keyctl_session_to_parent() [in a new cred st