aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2009-02-05 19:01:45 -0500
committerJames Morris <jmorris@namei.org>2009-02-05 19:01:45 -0500
commitcb5629b10d64a8006622ce3a52bc887d91057d69 (patch)
tree7c06d8f30783115e3384721046258ce615b129c5 /Documentation/kernel-parameters.txt
parent8920d5ad6ba74ae8ab020e90cc4d976980e68701 (diff)
parentf01d1d546abb2f4028b5299092f529eefb01253a (diff)
Merge branch 'master' into next
Conflicts: fs/namei.c Manually merged per: diff --cc fs/namei.c index 734f2b5,bbc15c2..0000000 --- a/fs/namei.c +++ b/fs/namei.c @@@ -860,9 -848,8 +849,10 @@@ static int __link_path_walk(const char nd->flags |= LOOKUP_CONTINUE; err = exec_permission_lite(inode); if (err == -EAGAIN) - err = vfs_permission(nd, MAY_EXEC); + err = inode_permission(nd->path.dentry->d_inode, + MAY_EXEC); + if (!err) + err = ima_path_check(&nd->path, MAY_EXEC); if (err) break; @@@ -1525,14 -1506,9 +1509,14 @@@ int may_open(struct path *path, int acc flag &= ~O_TRUNC; } - error = vfs_permission(nd, acc_mode); + error = inode_permission(inode, acc_mode); if (error) return error; + - error = ima_path_check(&nd->path, ++ error = ima_path_check(path, + acc_mode & (MAY_READ | MAY_WRITE | MAY_EXEC)); + if (error) + return error; /* * An append-only file must be opened in append mode for writing. */ Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt129
1 files changed, 92 insertions, 37 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 31e0c2c3c6e3..8cc40a1bee06 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -92,6 +92,7 @@ parameter is applicable:
92 SUSPEND System suspend states are enabled. 92 SUSPEND System suspend states are enabled.
93 FTRACE Function tracing enabled. 93 FTRACE Function tracing enabled.
94 TS Appropriate touchscreen support is enabled. 94 TS Appropriate touchscreen support is enabled.
95 UMS USB Mass Storage support is enabled.
95 USB USB support is enabled. 96 USB USB support is enabled.
96 USBHID USB Human Interface Device support is enabled. 97 USBHID USB Human Interface Device support is enabled.
97 V4L Video For Linux support is enabled. 98 V4L Video For Linux support is enabled.
@@ -141,6 +142,7 @@ and is between 256 and 4096 characters. It is defined in the file
141 ht -- run only enough ACPI to enable Hyper Threading 142 ht -- run only enough ACPI to enable Hyper Threading
142 strict -- Be less tolerant of platforms that are not 143 strict -- Be less tolerant of platforms that are not
143 strictly ACPI specification compliant. 144 strictly ACPI specification compliant.
145 rsdt -- prefer RSDT over (default) XSDT
144 146
145 See also Documentation/power/pm.txt, pci=noacpi 147 See also Documentation/power/pm.txt, pci=noacpi
146 148
@@ -151,16 +153,20 @@ and is between 256 and 4096 characters. It is defined in the file
151 default: 0 153 default: 0
152 154
153 acpi_sleep= [HW,ACPI] Sleep options 155 acpi_sleep= [HW,ACPI] Sleep options
154 Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig, old_ordering } 156 Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig,
155 See Documentation/power/video.txt for s3_bios and s3_mode. 157 old_ordering, s4_nonvs }
158 See Documentation/power/video.txt for information on
159 s3_bios and s3_mode.
156 s3_beep is for debugging; it makes the PC's speaker beep 160 s3_beep is for debugging; it makes the PC's speaker beep
157 as soon as the kernel's real-mode entry point is called. 161 as soon as the kernel's real-mode entry point is called.
158 s4_nohwsig prevents ACPI hardware signature from being 162 s4_nohwsig prevents ACPI hardware signature from being
159 used during resume from hibernation. 163 used during resume from hibernation.
160 old_ordering causes the ACPI 1.0 ordering of the _PTS 164 old_ordering causes the ACPI 1.0 ordering of the _PTS
161 control method, wrt putting devices into low power 165 control method, with respect to putting devices into
162 states, to be enforced (the ACPI 2.0 ordering of _PTS is 166 low power states, to be enforced (the ACPI 2.0 ordering
163 used by default). 167 of _PTS is used by default).
168 s4_nonvs prevents the kernel from saving/restoring the
169 ACPI NVS memory during hibernation.
164 170
165 acpi_sci= [HW,ACPI] ACPI System Control Interrupt trigger mode 171 acpi_sci= [HW,ACPI] ACPI System Control Interrupt trigger mode
166 Format: { level | edge | high | low } 172 Format: { level | edge | high | low }
@@ -195,7 +201,7 @@ and is between 256 and 4096 characters. It is defined in the file
195 acpi_skip_timer_override [HW,ACPI] 201 acpi_skip_timer_override [HW,ACPI]
196 Recognize and ignore IRQ0/pin2 Interrupt Override. 202 Recognize and ignore IRQ0/pin2 Interrupt Override.
197 For broken nForce2 BIOS resulting in XT-PIC timer. 203 For broken nForce2 BIOS resulting in XT-PIC timer.
198 acpi_use_timer_override [HW,ACPI} 204 acpi_use_timer_override [HW,ACPI]
199 Use timer override. For some broken Nvidia NF5 boards 205 Use timer override. For some broken Nvidia NF5 boards
200 that require a timer override, but don't have 206 that require a timer override, but don't have
201 HPET 207 HPET
@@ -470,8 +476,8 @@ and is between 256 and 4096 characters. It is defined in the file
470 476
471 clearcpuid=BITNUM [X86] 477 clearcpuid=BITNUM [X86]
472 Disable CPUID feature X for the kernel. See 478 Disable CPUID feature X for the kernel. See
473 include/asm-x86/cpufeature.h for the valid bit numbers. 479 arch/x86/include/asm/cpufeature.h for the valid bit
474 Note the Linux specific bits are not necessarily 480 numbers. Note the Linux specific bits are not necessarily
475 stable over kernel options, but the vendor specific 481 stable over kernel options, but the vendor specific
476 ones should be. 482 ones should be.
477 Also note that user programs calling CPUID directly 483 Also note that user programs calling CPUID directly
@@ -552,6 +558,11 @@ and is between 256 and 4096 characters. It is defined in the file
552 not work reliably with all consoles, but is known 558 not work reliably with all consoles, but is known
553 to work with serial and VGA consoles. 559 to work with serial and VGA consoles.
554 560
561 coredump_filter=
562 [KNL] Change the default value for
563 /proc/<pid>/coredump_filter.
564 See also Documentation/filesystems/proc.txt.
565
555 cpcihp_generic= [HW,PCI] Generic port I/O CompactPCI driver 566 cpcihp_generic= [HW,PCI] Generic port I/O CompactPCI driver
556 Format: 567 Format:
557 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>] 568 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]
@@ -567,9 +578,6 @@ and is between 256 and 4096 characters. It is defined in the file
567 a memory unit (amount[KMG]). See also 578 a memory unit (amount[KMG]). See also
568 Documentation/kdump/kdump.txt for a example. 579 Documentation/kdump/kdump.txt for a example.
569 580
570 cs4232= [HW,OSS]
571 Format: <io>,<irq>,<dma>,<dma2>,<mpuio>,<mpuirq>
572
573 cs89x0_dma= [HW,NET] 581 cs89x0_dma= [HW,NET]
574 Format: <dma> 582 Format: <dma>
575 583
@@ -722,10 +730,6 @@ and is between 256 and 4096 characters. It is defined in the file
722 Default value is 0. 730 Default value is 0.
723 Value can be changed at runtime via /selinux/enforce. 731 Value can be changed at runtime via /selinux/enforce.
724 732
725 es1371= [HW,OSS]
726 Format: <spdif>,[<nomix>,[<amplifier>]]
727 See also header of sound/oss/es1371.c.
728
729 ether= [HW,NET] Ethernet cards parameters 733 ether= [HW,NET] Ethernet cards parameters
730 This option is obsoleted by the "netdev=" option, which 734 This option is obsoleted by the "netdev=" option, which
731 has equivalent usage. See its documentation for details. 735 has equivalent usage. See its documentation for details.
@@ -824,8 +828,8 @@ and is between 256 and 4096 characters. It is defined in the file
824 828
825 hlt [BUGS=ARM,SH] 829 hlt [BUGS=ARM,SH]
826 830
827 hvc_iucv= [S390] Number of z/VM IUCV Hypervisor console (HVC) 831 hvc_iucv= [S390] Number of z/VM IUCV hypervisor console (HVC)
828 back-ends. Valid parameters: 0..8 832 terminal devices. Valid values: 0..8
829 833
830 i8042.debug [HW] Toggle i8042 debug mode 834 i8042.debug [HW] Toggle i8042 debug mode
831 i8042.direct [HW] Put keyboard port into non-translated mode 835 i8042.direct [HW] Put keyboard port into non-translated mode
@@ -873,17 +877,19 @@ and is between 256 and 4096 characters. It is defined in the file
873 See Documentation/ide/ide.txt. 877 See Documentation/ide/ide.txt.
874 878
875 idle= [X86] 879 idle= [X86]
876 Format: idle=poll or idle=mwait, idle=halt, idle=nomwait 880 Format: idle=poll, idle=mwait, idle=halt, idle=nomwait
877 Poll forces a polling idle loop that can slightly improves the performance 881 Poll forces a polling idle loop that can slightly
878 of waking up a idle CPU, but will use a lot of power and make the system 882 improve the performance of waking up a idle CPU, but
879 run hot. Not recommended. 883 will use a lot of power and make the system run hot.
880 idle=mwait. On systems which support MONITOR/MWAIT but the kernel chose 884 Not recommended.
881 to not use it because it doesn't save as much power as a normal idle 885 idle=mwait: On systems which support MONITOR/MWAIT but
882 loop use the MONITOR/MWAIT idle loop anyways. Performance should be the same 886 the kernel chose to not use it because it doesn't save
883 as idle=poll. 887 as much power as a normal idle loop, use the
884 idle=halt. Halt is forced to be used for CPU idle. 888 MONITOR/MWAIT idle loop anyways. Performance should be
889 the same as idle=poll.
890 idle=halt: Halt is forced to be used for CPU idle.
885 In such case C2/C3 won't be used again. 891 In such case C2/C3 won't be used again.
886 idle=nomwait. Disable mwait for CPU C-states 892 idle=nomwait: Disable mwait for CPU C-states
887 893
888 ide-pci-generic.all-generic-ide [HW] (E)IDE subsystem 894 ide-pci-generic.all-generic-ide [HW] (E)IDE subsystem
889 Claim all unknown PCI IDE storage controllers. 895 Claim all unknown PCI IDE storage controllers.
@@ -923,6 +929,10 @@ and is between 256 and 4096 characters. It is defined in the file
923 929
924 inttest= [IA64] 930 inttest= [IA64]
925 931
932 iomem= Disable strict checking of access to MMIO memory
933 strict regions from userspace.
934 relaxed
935
926 iommu= [x86] 936 iommu= [x86]
927 off 937 off
928 force 938 force
@@ -1074,8 +1084,8 @@ and is between 256 and 4096 characters. It is defined in the file
1074 lapic [X86-32,APIC] Enable the local APIC even if BIOS 1084 lapic [X86-32,APIC] Enable the local APIC even if BIOS
1075 disabled it. 1085 disabled it.
1076 1086
1077 lapic_timer_c2_ok [X86-32,x86-64,APIC] trust the local apic timer in 1087 lapic_timer_c2_ok [X86-32,x86-64,APIC] trust the local apic timer
1078 C2 power state. 1088 in C2 power state.
1079 1089
1080 libata.dma= [LIBATA] DMA control 1090 libata.dma= [LIBATA] DMA control
1081 libata.dma=0 Disable all PATA and SATA DMA 1091 libata.dma=0 Disable all PATA and SATA DMA
@@ -1127,6 +1137,8 @@ and is between 256 and 4096 characters. It is defined in the file
1127 If there are multiple matching configurations changing 1137 If there are multiple matching configurations changing
1128 the same attribute, the last one is used. 1138 the same attribute, the last one is used.
1129 1139
1140 lmb=debug [KNL] Enable lmb debug messages.
1141
1130 load_ramdisk= [RAM] List of ramdisks to load from floppy 1142 load_ramdisk= [RAM] List of ramdisks to load from floppy
1131 See Documentation/blockdev/ramdisk.txt. 1143 See Documentation/blockdev/ramdisk.txt.
1132 1144
@@ -1560,6 +1572,9 @@ and is between 256 and 4096 characters. It is defined in the file
1560 1572
1561 nosoftlockup [KNL] Disable the soft-lockup detector. 1573 nosoftlockup [KNL] Disable the soft-lockup detector.
1562 1574
1575 noswapaccount [KNL] Disable accounting of swap in memory resource
1576 controller. (See Documentation/controllers/memory.txt)
1577
1563 nosync [HW,M68K] Disables sync negotiation for all devices. 1578 nosync [HW,M68K] Disables sync negotiation for all devices.
1564 1579
1565 notsc [BUGS=X86-32] Disable Time Stamp Counter 1580 notsc [BUGS=X86-32] Disable Time Stamp Counter
@@ -1579,6 +1594,10 @@ and is between 256 and 4096 characters. It is defined in the file
1579 1594
1580 nr_uarts= [SERIAL] maximum number of UARTs to be registered. 1595 nr_uarts= [SERIAL] maximum number of UARTs to be registered.
1581 1596
1597 ohci1394_dma=early [HW] enable debugging via the ohci1394 driver.
1598 See Documentation/debugging-via-ohci1394.txt for more
1599 info.
1600
1582 olpc_ec_timeout= [OLPC] ms delay when issuing EC commands 1601 olpc_ec_timeout= [OLPC] ms delay when issuing EC commands
1583 Rather than timing out after 20 ms if an EC 1602 Rather than timing out after 20 ms if an EC
1584 command is not properly ACKed, override the length 1603 command is not properly ACKed, override the length
@@ -1803,10 +1822,10 @@ and is between 256 and 4096 characters. It is defined in the file
1803 autoconfiguration. 1822 autoconfiguration.
1804 Ranges are in pairs (memory base and size). 1823 Ranges are in pairs (memory base and size).
1805 1824
1806 dynamic_printk 1825 dynamic_printk Enables pr_debug()/dev_dbg() calls if
1807 Enables pr_debug()/dev_dbg() calls if 1826 CONFIG_DYNAMIC_PRINTK_DEBUG has been enabled.
1808 CONFIG_DYNAMIC_PRINTK_DEBUG has been enabled. These can also 1827 These can also be switched on/off via
1809 be switched on/off via <debugfs>/dynamic_printk/modules 1828 <debugfs>/dynamic_printk/modules
1810 1829
1811 print-fatal-signals= 1830 print-fatal-signals=
1812 [KNL] debug: print fatal signals 1831 [KNL] debug: print fatal signals
@@ -1894,7 +1913,7 @@ and is between 256 and 4096 characters. It is defined in the file
1894 1913
1895 reboot= [BUGS=X86-32,BUGS=ARM,BUGS=IA-64] Rebooting mode 1914 reboot= [BUGS=X86-32,BUGS=ARM,BUGS=IA-64] Rebooting mode
1896 Format: <reboot_mode>[,<reboot_mode2>[,...]] 1915 Format: <reboot_mode>[,<reboot_mode2>[,...]]
1897 See arch/*/kernel/reboot.c or arch/*/kernel/process.c 1916 See arch/*/kernel/reboot.c or arch/*/kernel/process.c
1898 1917
1899 relax_domain_level= 1918 relax_domain_level=
1900 [KNL, SMP] Set scheduler's default relax_domain_level. 1919 [KNL, SMP] Set scheduler's default relax_domain_level.
@@ -2294,7 +2313,8 @@ and is between 256 and 4096 characters. It is defined in the file
2294 2313
2295 thermal.psv= [HW,ACPI] 2314 thermal.psv= [HW,ACPI]
2296 -1: disable all passive trip points 2315 -1: disable all passive trip points
2297 <degrees C>: override all passive trip points to this value 2316 <degrees C>: override all passive trip points to this
2317 value
2298 2318
2299 thermal.tzp= [HW,ACPI] 2319 thermal.tzp= [HW,ACPI]
2300 Specify global default ACPI thermal zone polling rate 2320 Specify global default ACPI thermal zone polling rate
@@ -2382,6 +2402,41 @@ and is between 256 and 4096 characters. It is defined in the file
2382 usbhid.mousepoll= 2402 usbhid.mousepoll=
2383 [USBHID] The interval which mice are to be polled at. 2403 [USBHID] The interval which mice are to be polled at.
2384 2404
2405 usb-storage.delay_use=
2406 [UMS] The delay in seconds before a new device is
2407 scanned for Logical Units (default 5).
2408
2409 usb-storage.quirks=
2410 [UMS] A list of quirks entries to supplement or
2411 override the built-in unusual_devs list. List
2412 entries are separated by commas. Each entry has
2413 the form VID:PID:Flags where VID and PID are Vendor
2414 and Product ID values (4-digit hex numbers) and
2415 Flags is a set of characters, each corresponding
2416 to a common usb-storage quirk flag as follows:
2417 a = SANE_SENSE (collect more than 18 bytes
2418 of sense data);
2419 c = FIX_CAPACITY (decrease the reported
2420 device capacity by one sector);
2421 h = CAPACITY_HEURISTICS (decrease the
2422 reported device capacity by one
2423 sector if the number is odd);
2424 i = IGNORE_DEVICE (don't bind to this
2425 device);
2426 l = NOT_LOCKABLE (don't try to lock and
2427 unlock ejectable media);
2428 m = MAX_SECTORS_64 (don't transfer more
2429 than 64 sectors = 32 KB at a time);
2430 o = CAPACITY_OK (accept the capacity
2431 reported by the device);
2432 r = IGNORE_RESIDUE (the device reports
2433 bogus residue values);
2434 s = SINGLE_LUN (the device has only one
2435 Logical Unit);
2436 w = NO_WP_DETECT (don't test whether the
2437 medium is write-protected).
2438 Example: quirks=0419:aaf5:rl,0421:0433:rc
2439
2385 add_efi_memmap [EFI; x86-32,X86-64] Include EFI memory map in 2440 add_efi_memmap [EFI; x86-32,X86-64] Include EFI memory map in
2386 kernel's map of available physical RAM. 2441 kernel's map of available physical RAM.
2387 2442
@@ -2442,8 +2497,8 @@ and is between 256 and 4096 characters. It is defined in the file
2442 Format: 2497 Format:
2443 <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]] 2498 <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]
2444 2499
2445 norandmaps Don't use address space randomization 2500 norandmaps Don't use address space randomization. Equivalent to
2446 Equivalent to echo 0 > /proc/sys/kernel/randomize_va_space 2501 echo 0 > /proc/sys/kernel/randomize_va_space
2447 2502
2448______________________________________________________________________ 2503______________________________________________________________________
2449 2504