From: Chris Wright Date: Thu, 13 May 2010 01:28:57 +0000 (-0700) Subject: sysfs: add struct file* to bin_attr callbacks X-Git-Tag: v2.6.35-rc1~459^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c3c8bea608866d8bd9dcf92657d57fdcac011c5;p=pandora-kernel.git 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: Chris Wright Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed