aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-01-23 17:07:38 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-22 23:31:31 -0500
commit496ad9aa8ef448058e36ca7a787c61f2e63f0f54 (patch)
tree8f4abde793cd7db5bb8fde6d27ebcacd0e54379a /security/tomoyo
parent57eccb830f1cc93d4b506ba306d8dfa685e0c88f (diff)
new helper: file_inode(file)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo')
-rw-r--r--security/tomoyo/securityfs_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/securityfs_if.c b/security/tomoyo/securityfs_if.c
index 8592f2fc6ebb..fcf32783b66b 100644
--- a/security/tomoyo/securityfs_if.c
+++ b/security/tomoyo/securityfs_if.c
@@ -135,7 +135,7 @@ static const struct file_operations tomoyo_self_operations = {
135 */ 135 */
136static int tomoyo_open(struct inode *inode, struct file *file) 136static int tomoyo_open(struct inode *inode, struct file *file)
137{ 137{
138 const int key = ((u8 *) file->f_path.dentry->d_inode->i_private) 138 const int key = ((u8 *) file_inode(file)->i_private)
139 - ((u8 *) NULL); 139 - ((u8 *) NULL);
140 return tomoyo_open_control(key, file); 140 return tomoyo_open_control(key, file);
141} 141}
t for the MPC85xx MDS board config MPC8536_DS bool "Freescale MPC8536 DS" select DEFAULT_UIMAGE select SWIOTLB help This option enables support for the MPC8536 DS board config MPC85xx_DS bool "Freescale MPC85xx DS" select PPC_I8259 select DEFAULT_UIMAGE select FSL_ULI1575 if PCI select SWIOTLB help This option enables support for the MPC85xx DS (MPC8544 DS) board config MPC85xx_RDB bool "Freescale MPC85xx RDB" select PPC_I8259 select DEFAULT_UIMAGE select FSL_ULI1575 if PCI select SWIOTLB help This option enables support for the MPC85xx RDB (P2020 RDB) board config P1010_RDB bool "Freescale P1010RDB" select DEFAULT_UIMAGE help This option enables support for the MPC85xx RDB (P1010 RDB) board P1010RDB contains P1010Si, which provides CPU performance up to 800 MHz and 1600 DMIPS, additional functionality and faster interfaces (DDR3/3L, SATA II, and PCI Express). config P1022_DS bool "Freescale P1022 DS" select DEFAULT_UIMAGE select SWIOTLB help This option enables support for the Freescale P1022DS reference board. config P1022_RDK bool "Freescale / iVeia P1022 RDK" select DEFAULT_UIMAGE help This option enables support for the Freescale / iVeia P1022RDK reference board. config P1023_RDS bool "Freescale P1023 RDS" select DEFAULT_UIMAGE help This option enables support for the P1023 RDS board config SOCRATES bool "Socrates" select DEFAULT_UIMAGE help This option enables support for the Socrates board. config KSI8560 bool "Emerson KSI8560" select DEFAULT_UIMAGE help This option enables support for the Emerson KSI8560 board config XES_MPC85xx bool "X-ES single-board computer" select DEFAULT_UIMAGE help This option enables support for the various single-board computers from Extreme Engineering Solutions (X-ES) based on Freescale MPC85xx processors. Manufacturer: Extreme Engineering Solutions, Inc. URL: <http://www.xes-inc.com/> config STX_GP3 bool "Silicon Turnkey Express GP3" help This option enables support for the Silicon Turnkey Express GP3 board. select CPM2 select DEFAULT_UIMAGE config TQM8540 bool "TQ Components TQM8540" help This option enables support for the TQ Components TQM8540 board. select DEFAULT_UIMAGE select TQM85xx config TQM8541 bool "TQ Components TQM8541" help This option enables support for the TQ Components TQM8541 board. select DEFAULT_UIMAGE select TQM85xx select CPM2 config TQM8548 bool "TQ Components TQM8548" help This option enables support for the TQ Components TQM8548 board. select DEFAULT_UIMAGE select TQM85xx config TQM8555 bool "TQ Components TQM8555" help This option enables support for the TQ Components TQM8555 board. select DEFAULT_UIMAGE select TQM85xx select CPM2 config TQM8560 bool "TQ Components TQM8560" help This option enables support for the TQ Components TQM8560 board. select DEFAULT_UIMAGE select TQM85xx select CPM2 config SBC8548 bool "Wind River SBC8548" select DEFAULT_UIMAGE help This option enables support for the Wind River SBC8548 board config GE_IMP3A bool "GE Intelligent Platforms IMP3A" select DEFAULT_UIMAGE select SWIOTLB select MMIO_NVRAM select GENERIC_GPIO select ARCH_REQUIRE_GPIOLIB select GE_FPGA help This option enables support for the GE Intelligent Platforms IMP3A board. This board is a 3U CompactPCI Single Board Computer with a Freescale P2020 processor. config P2041_RDB bool "Freescale P2041 RDB" select DEFAULT_UIMAGE select PPC_E500MC select PHYS_64BIT select SWIOTLB select ARCH_REQUIRE_GPIOLIB select GPIO_MPC8XXX select HAS_RAPIDIO select PPC_EPAPR_HV_PIC help This option enables support for the P2041 RDB board config P3041_DS bool "Freescale P3041 DS" select DEFAULT_UIMAGE select PPC_E500MC select PHYS_64BIT select SWIOTLB select ARCH_REQUIRE_GPIOLIB select GPIO_MPC8XXX select HAS_RAPIDIO select PPC_EPAPR_HV_PIC help This option enables support for the P3041 DS board config P4080_DS bool "Freescale P4080 DS" select DEFAULT_UIMAGE select PPC_E500MC select PHYS_64BIT select SWIOTLB select ARCH_REQUIRE_GPIOLIB select GPIO_MPC8XXX select HAS_RAPIDIO select PPC_EPAPR_HV_PIC help This option enables support for the P4080 DS board config SGY_CTS1000 tristate "Servergy CTS-1000 support" select GPIOLIB select OF_GPIO depends on P4080_DS help Enable this to support functionality in Servergy's CTS-1000 systems. endif # PPC32 config P5020_DS bool "Freescale P5020 DS" select DEFAULT_UIMAGE select E500 select PPC_E500MC select PHYS_64BIT select SWIOTLB select ARCH_REQUIRE_GPIOLIB select GPIO_MPC8XXX select HAS_RAPIDIO select PPC_EPAPR_HV_PIC help This option enables support for the P5020 DS board config P5040_DS bool "Freescale P5040 DS" select DEFAULT_UIMAGE select E500 select PPC_E500MC select PHYS_64BIT select SWIOTLB select ARCH_REQUIRE_GPIOLIB select GPIO_MPC8XXX select HAS_RAPIDIO select PPC_EPAPR_HV_PIC help This option enables support for the P5040 DS board config PPC_QEMU_E500 bool "QEMU generic e500 platform" depends on EXPERIMENTAL select DEFAULT_UIMAGE help This option enables support for running as a QEMU guest using QEMU's generic e500 machine. This is not required if you're using a QEMU machine that targets a specific board, such as mpc8544ds. Unlike most e500 boards that target a specific CPU, this platform works with any e500-family CPU that QEMU supports. Thus, you'll need to make sure CONFIG_PPC_E500MC is set or unset based on the emulated CPU (or actual host CPU in the case of KVM). endif # FSL_SOC_BOOKE config TQM85xx bool