Skip to content
Commit 2c3c8bea authored by Chris Wright's avatar Chris Wright Committed by Greg Kroah-Hartman
Browse files

sysfs: add struct file* to bin_attr callbacks



This allows bin_attr->read,write,mmap callbacks to check file specific data
(such as inode owner) as part of any privilege validation.

Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 68d75ed4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment