Re: [PATCH] security: clarify task_prctl hook documentation
Paul Moore <[email protected]>
| Newsgroups | org.kernel.vger.linux-security-module,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Jun 15, 2026 Bill Roberts <[email protected]> wrote: > > The task_prctl hook comment incorrectly described the hook as checking > whether a prctl operation is allowed. In reality, the hook exists for > LSMs to handle LSM-specific prctl operations. > > Update the function description and kernel-doc comment to reflect the > actual behavior. The old wording appears to have been copied from other > permission-check hooks despite differing semantics. > > Signed-off-by: Bill Roberts <[email protected]> > Acked-by: Casey Schaufler <[email protected]> > Reviewed-by: Serge Hallyn <[email protected]> > --- > security/security.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Good catch, thanks! Merged into lsm/dev. -- paul-moore.com