Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

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
changed drivers/gpu/drm/drm_sysfs.c
changed drivers/misc
changed drivers/misc/c2port
changed drivers/misc/c2port/core.c
changed drivers/misc/ds1682.c
changed drivers/misc/eeprom
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/net
changed drivers/net/netxen
changed drivers/net/netxen/netxen_nic_main.c
changed drivers/net/qlcnic
changed drivers/net/qlcnic/qlcnic_main.c
changed drivers/pci
changed drivers/pci/hotplug
changed drivers/pci/hotplug/acpiphp_ibm.c
changed drivers/pci/pci-sysfs.c
changed drivers/pcmcia
changed drivers/pcmcia/cistpl.c
changed drivers/power
changed drivers/power/olpc_battery.c
changed drivers/rapidio
changed drivers/rapidio/rio-sysfs.c
changed drivers/rtc
changed drivers/rtc/rtc-cmos.c
changed drivers/rtc/rtc-ds1305.c
changed drivers/rtc/rtc-ds1307.c
changed drivers/rtc/rtc-ds1511.c
changed drivers/rtc/rtc-ds1553.c
changed drivers/rtc/rtc-ds1742.c
changed drivers/rtc/rtc-m48t59.c
changed drivers/rtc/rtc-stk17ta8.c
changed drivers/rtc/rtc-tx4939.c
changed drivers/s390
changed drivers/s390/cio
changed drivers/s390/cio/chp.c
changed drivers/scsi
changed drivers/scsi/3w-sas.c
changed drivers/scsi/arcmsr
changed drivers/scsi/arcmsr/arcmsr_attr.c
changed drivers/scsi/ibmvscsi
changed drivers/scsi/ibmvscsi/ibmvfc.c
changed drivers/scsi/ipr.c
changed drivers/scsi/lpfc
changed drivers/scsi/lpfc/lpfc_attr.c
changed drivers/scsi/qla2xxx
changed drivers/scsi/qla2xxx/qla_attr.c
changed drivers/staging
changed drivers/staging/udlfb
changed drivers/staging/udlfb/udlfb.c
changed drivers/usb
changed drivers/usb/core
changed drivers/usb/core/sysfs.c
changed drivers/video
changed drivers/video/aty
changed drivers/video/aty/radeon_base.c
changed drivers/w1
changed drivers/w1/slaves
changed drivers/w1/slaves/w1_ds2431.c
changed drivers/w1/slaves/w1_ds2433.c
changed drivers/w1/slaves/w1_ds2760.c
changed drivers/w1/w1.c
changed drivers/zorro
changed drivers/zorro/zorro-sysfs.c
changed fs
changed fs/sysfs
changed fs/sysfs/bin.c
changed include
changed include/linux
changed include/linux/sysfs.h
changed kernel
changed kernel/ksysfs.c
changed kernel/module.c
changed net
changed net/bridge
changed net/bridge/br_sysfs_br.c
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.
drivers/gpu/drm/drm_sysfs.c Diff Switch to side-by-side view
Loading...
drivers/misc
Directory.
drivers/misc/c2port
Directory.
drivers/misc/c2port/core.c Diff Switch to side-by-side view
Loading...
drivers/misc/ds1682.c Diff Switch to side-by-side view
Loading...
drivers/misc/eeprom
Directory.
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/net
Directory.
drivers/net/netxen
Directory.
drivers/net/netxen/netxen_nic_main.c Diff Switch to side-by-side view
Loading...
drivers/net/qlcnic
Directory.
drivers/net/qlcnic/qlcnic_main.c Diff Switch to side-by-side view
Loading...
drivers/pci
Directory.
drivers/pci/hotplug
Directory.
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
Directory.
drivers/pcmcia/cistpl.c Diff Switch to side-by-side view
Loading...
drivers/power
Directory.
drivers/power/olpc_battery.c Diff Switch to side-by-side view
Loading...
drivers/rapidio
Directory.
drivers/rapidio/rio-sysfs.c Diff Switch to side-by-side view
Loading...
drivers/rtc
Directory.
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...
drivers/rtc/rtc-ds1307.c Diff Switch to side-by-side view
Loading...
drivers/rtc/rtc-ds1511.c Diff Switch to side-by-side view
Loading...
drivers/rtc/rtc-ds1553.c Diff Switch to side-by-side view
Loading...
drivers/rtc/rtc-ds1742.c Diff Switch to side-by-side view
Loading...
drivers/rtc/rtc-m48t59.c Diff Switch to side-by-side view
Loading...
drivers/rtc/rtc-stk17ta8.c Diff Switch to side-by-side view
Loading...
drivers/rtc/rtc-tx4939.c Diff Switch to side-by-side view
Loading...
drivers/s390
Directory.
drivers/s390/cio
Directory.
drivers/s390/cio/chp.c Diff Switch to side-by-side view
Loading...
drivers/scsi
Directory.
drivers/scsi/3w-sas.c Diff Switch to side-by-side view
Loading...
drivers/scsi/arcmsr
Directory.
drivers/scsi/arcmsr/arcmsr_attr.c Diff Switch to side-by-side view
Loading...
drivers/scsi/ibmvscsi/ibmvfc.c Diff Switch to side-by-side view
Loading...
drivers/scsi/ipr.c Diff Switch to side-by-side view
Loading...
drivers/scsi/lpfc
Directory.
drivers/scsi/lpfc/lpfc_attr.c Diff Switch to side-by-side view
Loading...
drivers/scsi/qla2xxx/qla_attr.c Diff Switch to side-by-side view
Loading...
drivers/staging
Directory.
drivers/staging/udlfb/udlfb.c Diff Switch to side-by-side view
Loading...
drivers/usb
Directory.
drivers/usb/core
Directory.
drivers/usb/core/sysfs.c Diff Switch to side-by-side view
Loading...
drivers/video
Directory.
drivers/video/aty
Directory.
drivers/video/aty/radeon_base.c Diff Switch to side-by-side view
Loading...
drivers/w1
Directory.
drivers/w1/slaves
Directory.
drivers/w1/slaves/w1_ds2431.c Diff Switch to side-by-side view
Loading...
drivers/w1/slaves/w1_ds2433.c Diff Switch to side-by-side view
Loading...
drivers/w1/slaves/w1_ds2760.c Diff Switch to side-by-side view
Loading...
drivers/w1/w1.c Diff Switch to side-by-side view
Loading...
drivers/zorro
Directory.
drivers/zorro/zorro-sysfs.c Diff Switch to side-by-side view
Loading...
fs
Directory.
fs/sysfs
Directory.
fs/sysfs/bin.c Diff Switch to side-by-side view
Loading...
include
Directory.
include/linux
Directory.
include/linux/sysfs.h Diff Switch to side-by-side view
Loading...
kernel
Directory.
kernel/ksysfs.c Diff Switch to side-by-side view
Loading...
kernel/module.c Diff Switch to side-by-side view
Loading...
net
Directory.
net/bridge
Directory.
net/bridge/br_sysfs_br.c Diff Switch to side-by-side view
Loading...
1 2 3 .. 5 > >> (Page 1 of 5)