diff options
| author | Benjamin Tissoires <bentiss@kernel.org> | 2026-08-25 11:55:11 +0200 |
|---|---|---|
| committer | Benjamin Tissoires <bentiss@kernel.org> | 2026-09-01 16:08:28 +0200 |
| commit | 67bfe48a29fbddfff77e13d4d327e49fca2c2be5 (patch) | |
| tree | 27099ee15966b5e821a6364ab824a636eb3a96dd /scripts/Makefile.thinlto | |
| parent | a8e04f3f894ccb52cfcd7e60125a9f35da4a616d (diff) | |
| download | linux-67bfe48a29fbddfff77e13d4d327e49fca2c2be5.tar.gz linux-67bfe48a29fbddfff77e13d4d327e49fca2c2be5.zip | |
HID: bpf: mark struct hid_device as safe BPF pointer
Commit ee9ad135b208 ("bpf: Reject a store through a fault prone
pointer") in the BPF tree makes the verifier reject any writes to
hid_device->{name,uniq,phys}. A simple solution is to mark the struct
hid_device as safe from a BPF point of view.
Suggested-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
