aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-apple.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2013-04-16 15:40:09 -0700
committerJiri Kosina <jkosina@suse.cz>2013-04-30 10:09:31 +0200
commit2353f2bea307390e015493118e425152b8a5a431 (patch)
treebeb7fd2471690bbd8b0d0982c3b1f40f6784adba /drivers/hid/hid-apple.c
parentHID: debug: break out hid_dump_report() into hid-debug (diff)
downloadlinux-dev-2353f2bea307390e015493118e425152b8a5a431.tar.xz
linux-dev-2353f2bea307390e015493118e425152b8a5a431.zip
HID: protect hid_debug_list
Accesses to hid_device->hid_debug_list are not serialized properly, which could result in SMP concurrency issues when HID debugfs events are accessesed by multiple userspace processess. Serialize all the list operations by a mutex. Spotted by Al Viro. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-apple.c')
0 files changed, 0 insertions, 0 deletions