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 > >> (Page 1 of 3)
changed arch/alpha/kernel/pci-sysfs.c
changed arch/mips/txx9/generic/setup.c
changed arch/powerpc/sysdev/mv64x60_pci.c
changed arch/s390/kernel/ipl.c
changed drivers/acpi/system.c
changed drivers/base/firmware_class.c
changed drivers/firmware/dcdbas.c
changed drivers/firmware/dell_rbu.c
changed drivers/firmware/efivars.c
changed drivers/gpu/drm/drm_sysfs.c
changed drivers/misc/c2port/core.c
changed drivers/misc/eeprom/at24.c
changed drivers/misc/eeprom/at25.c
changed drivers/misc/eeprom/eeprom.c
changed drivers/misc/eeprom/max6875.c
changed drivers/misc/ds1682.c
changed drivers/net/netxen/netxen_nic_main.c
changed drivers/net/qlcnic/qlcnic_main.c
changed drivers/pci/hotplug/acpiphp_ibm.c
changed drivers/pci/pci-sysfs.c
changed drivers/pcmcia/cistpl.c
changed drivers/power/olpc_battery.c
changed drivers/rapidio/rio-sysfs.c
changed drivers/rtc/rtc-cmos.c
changed drivers/rtc/rtc-ds1305.c
arch/alpha/kernel/pci-sysfs.c Diff Switch to side-by-side view
Loading...
arch/mips/txx9/generic/setup.c Diff Switch to side-by-side view
Loading...
arch/powerpc/sysdev/mv64x60_pci.c Diff Switch to side-by-side view
Loading...
arch/s390/kernel/ipl.c Diff Switch to side-by-side view
Loading...
drivers/acpi/system.c Diff Switch to side-by-side view
Loading...
drivers/base/firmware_class.c Diff Switch to side-by-side view
Loading...
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/drm/drm_sysfs.c Diff Switch to side-by-side view
Loading...
drivers/misc/c2port/core.c Diff Switch to side-by-side view
Loading...
drivers/misc/eeprom/at24.c Diff Switch to side-by-side view
Loading...
drivers/misc/eeprom/at25.c Diff Switch to side-by-side view
Loading...
drivers/misc/eeprom/eeprom.c Diff Switch to side-by-side view
Loading...
drivers/misc/eeprom/max6875.c Diff Switch to side-by-side view
Loading...
drivers/misc/ds1682.c Diff Switch to side-by-side view
Loading...
drivers/net/netxen/netxen_nic_main.c Diff Switch to side-by-side view
Loading...
drivers/net/qlcnic/qlcnic_main.c Diff Switch to side-by-side view
Loading...
drivers/pci/hotplug/acpiphp_ibm.c Diff Switch to side-by-side view
Loading...
drivers/pci/pci-sysfs.c Diff Switch to side-by-side view
Loading...
drivers/pcmcia/cistpl.c Diff Switch to side-by-side view
Loading...
drivers/power/olpc_battery.c Diff Switch to side-by-side view
Loading...
drivers/rapidio/rio-sysfs.c Diff Switch to side-by-side view
Loading...
drivers/rtc/rtc-cmos.c Diff Switch to side-by-side view
Loading...
drivers/rtc/rtc-ds1305.c Diff Switch to side-by-side view
Loading...
1 2 3 > >> (Page 1 of 3)