Re: [PATCH] cred: remove RCU initializer for init_task.cred
Paul Moore <[email protected]>
| Newsgroups | gmane.linux.kernel.lsm,gmane.linux.kernel |
|---|---|
| Message-ID | <CAHC9VhTBCwEAx8SfTYygTDu_Uoz768ZrABzb-8cgwf4e=KMGfQ@mail.gmail.com> |
On Wed, Aug 12, 2026 at 10:51 AM Jann Horn <[email protected]> wrote: > > sparse noticed that an RCU initializer was left behind for init_task.cred, > which is no longer marked __rcu. Fix it up. > > Fixes: a4229a2a16a8 ("cred: clarify that task_struct::cred is only for the current task") > Reported-by: kernel test robot <[email protected]> > Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ > Signed-off-by: Jann Horn <[email protected]> > --- > maybe squash this into the original commit, if that is a thing you do on > the dev-staging branch? Yep, I'll go ahead and do that. The lsm/dev-staging branch isn't a stable/reliable branch like some of the others, it can change frequently; see the doc below if you are interested. https://github.com/LinuxSecurityModule/kernel/blob/main/README.md#dev-staging-branch -- paul-moore.com