Skip to content

Commit ea6e942

Browse files
atsushi-nemotoralfbaechle
authored andcommitted
[MIPS] Kconfig: Move some entries to appropriate menu
Currently KEXEC is in "Machine selection", SECCOMP, PM, APM are in "Executable file formats" menu. Move KEXEC and SECCOMP to "Kernel type" and PM, APM to new "Power management options" menu. Also replace "config PM" with kernel/power/Kconfig. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 9a0ad9e commit ea6e942

1 file changed

Lines changed: 34 additions & 34 deletions

File tree

‎arch/mips/Kconfig‎

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -790,23 +790,6 @@ config TOSHIBA_RBTX4938
790790

791791
endchoice
792792

793-
config KEXEC
794-
bool "Kexec system call (EXPERIMENTAL)"
795-
depends on EXPERIMENTAL
796-
help
797-
kexec is a system call that implements the ability to shutdown your
798-
current kernel, and to start another kernel. It is like a reboot
799-
but it is indepedent of the system firmware. And like a reboot
800-
you can start any kernel with it, not just Linux.
801-
802-
The name comes from the similiarity to the exec system call.
803-
804-
It is an ongoing process to be certain the hardware in a machine
805-
is properly shutdown, so do not be surprised if this code does not
806-
initially work for you. It may help to enable device hotplugging
807-
support. As of this writing the exact hardware interface is
808-
strongly in flux, so no good recommendation can be made.
809-
810793
source "arch/mips/ddb5xxx/Kconfig"
811794
source "arch/mips/gt64120/ev64120/Kconfig"
812795
source "arch/mips/jazz/Kconfig"
@@ -1859,6 +1842,40 @@ config MIPS_INSANE_LARGE
18591842
This will result in additional memory usage, so it is not
18601843
recommended for normal users.
18611844

1845+
config KEXEC
1846+
bool "Kexec system call (EXPERIMENTAL)"
1847+
depends on EXPERIMENTAL
1848+
help
1849+
kexec is a system call that implements the ability to shutdown your
1850+
current kernel, and to start another kernel. It is like a reboot
1851+
but it is indepedent of the system firmware. And like a reboot
1852+
you can start any kernel with it, not just Linux.
1853+
1854+
The name comes from the similiarity to the exec system call.
1855+
1856+
It is an ongoing process to be certain the hardware in a machine
1857+
is properly shutdown, so do not be surprised if this code does not
1858+
initially work for you. It may help to enable device hotplugging
1859+
support. As of this writing the exact hardware interface is
1860+
strongly in flux, so no good recommendation can be made.
1861+
1862+
config SECCOMP
1863+
bool "Enable seccomp to safely compute untrusted bytecode"
1864+
depends on PROC_FS && BROKEN
1865+
default y
1866+
help
1867+
This kernel feature is useful for number crunching applications
1868+
that may need to compute untrusted bytecode during their
1869+
execution. By using pipes or other transports made available to
1870+
the process as file descriptors supporting the read/write
1871+
syscalls, it's possible to isolate those applications in
1872+
their own address space using seccomp. Once seccomp is
1873+
enabled via /proc/<pid>/seccomp, it cannot be disabled
1874+
and the task is only allowed to execute a few safe syscalls
1875+
defined by each seccomp mode.
1876+
1877+
If unsure, say Y. Only embedded should say N here.
1878+
18621879
endmenu
18631880

18641881
config RWSEM_GENERIC_SPINLOCK
@@ -2025,23 +2042,6 @@ config BINFMT_ELF32
20252042
bool
20262043
default y if MIPS32_O32 || MIPS32_N32
20272044

2028-
config SECCOMP
2029-
bool "Enable seccomp to safely compute untrusted bytecode"
2030-
depends on PROC_FS && BROKEN
2031-
default y
2032-
help
2033-
This kernel feature is useful for number crunching applications
2034-
that may need to compute untrusted bytecode during their
2035-
execution. By using pipes or other transports made available to
2036-
the process as file descriptors supporting the read/write
2037-
syscalls, it's possible to isolate those applications in
2038-
their own address space using seccomp. Once seccomp is
2039-
enabled via /proc/<pid>/seccomp, it cannot be disabled
2040-
and the task is only allowed to execute a few safe syscalls
2041-
defined by each seccomp mode.
2042-
2043-
If unsure, say Y. Only embedded should say N here.
2044-
20452045
config PM
20462046
bool "Power Management support (EXPERIMENTAL)"
20472047
depends on EXPERIMENTAL && SOC_AU1X00

0 commit comments

Comments
 (0)