diff options
| author | Andrii Nakryiko <[email protected]> | 2024-08-06 22:38:12 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-09-13 01:57:54 +0000 |
| commit | 433d7ce2d86d21274838c9e8c796f4232cd13cdb (patch) | |
| tree | 0edfccd22377e193ed1897147e3ce531a5c18d1f /rust/helpers | |
| parent | bpf: more trivial fdget() conversions (diff) | |
| download | kernel-433d7ce2d86d21274838c9e8c796f4232cd13cdb.tar.gz kernel-433d7ce2d86d21274838c9e8c796f4232cd13cdb.zip | |
security,bpf: constify struct path in bpf_token_create() LSM hook
There is no reason why struct path pointer shouldn't be const-qualified
when being passed into bpf_token_create() LSM hook. Add that const.
Acked-by: Paul Moore <[email protected]> (LSM/SELinux)
Suggested-by: Al Viro <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
