Thread (5 messages) 5 messages, 2 authors, 2024-08-27
STALE640d
Revisions (2)
  1. v4 current
  2. v5 [diff vs current]

[PATCH v4 0/3] HID: hidraw: HIDIOCREVOKE introduction

From: bentiss@kernel.org
Date: 2024-08-26 15:48:08
Also in: linux-kselftest, lkml

The is the v4 of the HIDIOCREVOKE patches.

Link to v3: https://lore.kernel.org/all/20240812052753.GA478917@quokka/ (local)

After a small discussion with Peter, we decided to:
- drop the BPF hooks that are problematic (Linus doesn't want
  "ALLOW_ERROR_INJECTION" to be used as "normal" fmodret bpf hooks)
- punt those BPF hooks later once we get the API right
- I'll be the one sending that new version, given that it's easier for
  me ATM

For testing the patch, and for convenience, I added a new selftest
program that can test this new ioctl. This will also allow us to
integrate the (future) BPF hooks and show how this should be used.

Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
---
Benjamin Tissoires (2):
      selftests/hid: Add initial hidraw tests skeleton
      selftests/hid: Add HIDIOCREVOKE tests

Peter Hutterer (1):
      HID: hidraw: add HIDIOCREVOKE ioctl

 drivers/hid/hidraw.c                   |  39 +-
 include/linux/hidraw.h                 |   1 +
 include/uapi/linux/hidraw.h            |   1 +
 tools/testing/selftests/hid/.gitignore |   1 +
 tools/testing/selftests/hid/Makefile   |   2 +-
 tools/testing/selftests/hid/hidraw.c   | 665 +++++++++++++++++++++++++++++++++
 6 files changed, 704 insertions(+), 5 deletions(-)
---
base-commit: 6e4436539ae182dc86d57d13849862bcafaa4709
change-id: 20240826-hidraw-revoke-0a02ebb21743

Best regards,
-- 
Benjamin Tissoires [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help