aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2013-09-11 21:56:50 +0200
committerJiri Kosina <[email protected]>2013-09-13 15:11:21 +0200
commit331415ff16a12147d57d5c953f3a961b7ede348b (patch)
tree79a497ffd03b720215e567c9c9862090fc76d0fa /lib/memory-notifier-error-inject.c
parentb04c99e3b845892d754ee8052d6324c39c4040de (diff)
HID: provide a helper for validating hid reports
Many drivers need to validate the characteristics of their HID report during initialization to avoid misusing the reports. This adds a common helper to perform validation of the report exisitng, the field existing, and the expected number of values within the field. Signed-off-by: Kees Cook <[email protected]> Cc: [email protected] Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions