Skip to content

Commit 8d6d51e

Browse files
rddunlappcmoore
authored andcommitted
docs: selinux: add '=' signs to kernel boot options
Provide the full kernel boot option string (with ending '=' sign). They won't work without that and that is how other boot options are listed. If used without an '=' sign (as listed here), they cause an "Unknown parameters" message and are added to init's argument strings, polluting them. Unknown kernel command line parameters "enforcing checkreqprot BOOT_IMAGE=/boot/bzImage-517rc6", will be passed to user space. Run /sbin/init as init process with arguments: /sbin/init enforcing checkreqprot with environment: HOME=/ TERM=linux BOOT_IMAGE=/boot/bzImage-517rc6 Signed-off-by: Randy Dunlap <[email protected]> Cc: Paul Moore <[email protected]> Cc: Stephen Smalley <[email protected]> Cc: Eric Paris <[email protected]> Cc: [email protected] Cc: Jonathan Corbet <[email protected]> [PM: removed bogus 'Fixes' line] Signed-off-by: Paul Moore <[email protected]>
1 parent 2bfe15c commit 8d6d51e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@
550550
nosocket -- Disable socket memory accounting.
551551
nokmem -- Disable kernel memory accounting.
552552

553-
checkreqprot [SELINUX] Set initial checkreqprot flag value.
553+
checkreqprot= [SELINUX] Set initial checkreqprot flag value.
554554
Format: { "0" | "1" }
555555
See security/selinux/Kconfig help text.
556556
0 -- check protection applied by kernel (includes
@@ -1439,7 +1439,7 @@
14391439
(in particular on some ATI chipsets).
14401440
The kernel tries to set a reasonable default.
14411441

1442-
enforcing [SELINUX] Set initial enforcing status.
1442+
enforcing= [SELINUX] Set initial enforcing status.
14431443
Format: {"0" | "1"}
14441444
See security/selinux/Kconfig help text.
14451445
0 -- permissive (log only, no denials).

0 commit comments

Comments
 (0)