aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-08-06 22:38:12 +0000
committerAndrii Nakryiko <[email protected]>2024-09-13 01:57:54 +0000
commit433d7ce2d86d21274838c9e8c796f4232cd13cdb (patch)
tree0edfccd22377e193ed1897147e3ce531a5c18d1f /rust/helpers
parentbpf: more trivial fdget() conversions (diff)
downloadkernel-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