diff options
| author | Bill Roberts <bill.roberts@arm.com> | 2026-06-15 15:03:25 -0500 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2026-07-02 14:59:24 -0400 |
| commit | 149b192e376d746bf7b8e1e02541c2256c3b17f0 (patch) | |
| tree | 9c7effab4eb9cfe0ecc7ab2f451a9a27a13e1d43 /tools/perf/scripts/python | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
lsm: clarify security_task_prctl() hook documentation
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 <bill.roberts@arm.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
[PM: subj tweak, comment tweak -> "prctl to prctl()" ]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
