diff options
author | Andrii Nakryiko <[email protected]> | 2024-08-06 15:38:12 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-09-12 18:57:54 -0700 |
commit | 433d7ce2d86d21274838c9e8c796f4232cd13cdb (patch) | |
tree | 0edfccd22377e193ed1897147e3ce531a5c18d1f /drivers/fpga/fpga-bridge.c | |
parent | eceb7b33e5f3bc1e60047d8695cb937b93a08ced (diff) |
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 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions