summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2024-09-13 15:16:56 +0200
committerBenjamin Tissoires <bentiss@kernel.org>2024-09-13 15:16:56 +0200
commit6937a82d48e30c7cae4947e0a7f0a3be6006ce0a (patch)
treef55e24fad69a8a8d4e3732e871775a647c357492 /include/linux
parent054e0bd3457735ee03879c49e36f15f649fe9c86 (diff)
parent321f7798cfb8d834ae0ed0d467c8bf46804243f9 (diff)
Merge branch 'for-6.12/hidraw' into for-linus
- introduction of HIDIOCREVOKE ioctl to revoke a hidraw fd opened by a regular (non-root) application (Peter Hutterer)
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hidraw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hidraw.h b/include/linux/hidraw.h
index cd67f4ca5599..18fd30a288de 100644
--- a/include/linux/hidraw.h
+++ b/include/linux/hidraw.h
@@ -32,6 +32,7 @@ struct hidraw_list {
struct hidraw *hidraw;
struct list_head node;
struct mutex read_mutex;
+ bool revoked;
};
#ifdef CONFIG_HIDRAW