Commit [2c3c8b]  Maximize  Restore  History

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 <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Chris Wright Chris Wright 2010-05-13

Greg Kroah-Hartman Greg Kroah-Hartman 2010-05-21

1 2 3 .. 5 > >> (Page 1 of 5)
changed arch
changed arch/alpha
changed arch/alpha/kernel
changed arch/alpha/kernel/pci-sysfs.c
changed arch/mips
changed arch/mips/txx9
changed arch/mips/txx9/generic
changed arch/mips/txx9/generic/setup.c
changed arch/powerpc
changed arch/powerpc/sysdev
changed arch/powerpc/sysdev/mv64x60_pci.c
changed arch/s390
changed arch/s390/kernel
changed arch/s390/kernel/ipl.c
changed drivers
changed drivers/acpi
changed drivers/acpi/system.c
changed drivers/base
changed drivers/base/firmware_class.c
changed drivers/firmware
changed drivers/firmware/dcdbas.c
changed drivers/firmware/dell_rbu.c
changed drivers/firmware/efivars.c
changed drivers/gpu
changed drivers/gpu/drm
arch
Directory.
arch/alpha
Directory.
arch/alpha/kernel
Directory.
arch/alpha/kernel/pci-sysfs.c Diff Switch to side-by-side view
Loading...
arch/mips
Directory.
arch/mips/txx9
Directory.
arch/mips/txx9/generic/setup.c Diff Switch to side-by-side view
Loading...
arch/powerpc
Directory.
arch/powerpc/sysdev
Directory.
arch/powerpc/sysdev/mv64x60_pci.c Diff Switch to side-by-side view
Loading...
arch/s390
Directory.
arch/s390/kernel
Directory.
arch/s390/kernel/ipl.c Diff Switch to side-by-side view
Loading...
drivers
Directory.
drivers/acpi
Directory.
drivers/acpi/system.c Diff Switch to side-by-side view
Loading...
drivers/base
Directory.
drivers/base/firmware_class.c Diff Switch to side-by-side view
Loading...
drivers/firmware
Directory.
drivers/firmware/dcdbas.c Diff Switch to side-by-side view
Loading...
drivers/firmware/dell_rbu.c Diff Switch to side-by-side view
Loading...
drivers/firmware/efivars.c Diff Switch to side-by-side view
Loading...
drivers/gpu
Directory.
drivers/gpu/drm
Directory.
1 2 3 .. 5 > >> (Page 1 of 5)