Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - S index
The Linux kernel configuration item CONFIG_STRICT_DEVMEM
has multiple definitions:
lib/Kconfig.debug
The configuration item CONFIG_STRICT_DEVMEM:
( CONFIG_MMU && CONFIG_DEVMEM ) && ( CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED || CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED ) && ( CONFIG_PPC || CONFIG_X86 || CONFIG_ARM64 )
If this option is disabled, you allow userspace (root) access to all of memory, including kernel and userspace memory. Accidental access to this is obviously disastrous, but specific access can be used by people debugging the kernel. Note that with PAT support enabled, even in this case there are restrictions on /dev/mem use due to the cache aliasing requirements.
If this option is switched on, and IO_STRICT_DEVMEM=n, the /dev/mem file only allows userspace access to PCI space and the BIOS code and data regions. This is sufficient for dosemu and X and all common users of /dev/mem.
If in doubt, say Y.
arch/x86/Kconfig.debug
The configuration item CONFIG_STRICT_DEVMEM:
(none)
If this option is disabled, you allow userspace (root) access to all of memory, including kernel and userspace memory. Accidental access to this is obviously disastrous, but specific access can be used by people debugging the kernel. Note that with PAT support enabled, even in this case there are restrictions on /dev/mem use due to the cache aliasing requirements.
If this option is switched on, the /dev/mem file only allows userspace access to PCI space and the BIOS code and data regions. This is sufficient for dosemu and X and all common users of /dev/mem.
If in doubt, say Y.
arch/unicore32/Kconfig.debug
The configuration item CONFIG_STRICT_DEVMEM:
CONFIG_MMU
If this option is disabled, you allow userspace (root) access to all of memory, including kernel and userspace memory. Accidental access to this is obviously disastrous, but specific access can be used by people debugging the kernel.
If this option is switched on, the /dev/mem file only allows userspace access to memory mapped peripherals.
If in doubt, say Y.
arch/s390/Kconfig.debug
The configuration item CONFIG_STRICT_DEVMEM:
(none)
This option restricts access to /dev/mem. If this option is disabled, you allow userspace access to all memory, including kernel and userspace memory. Accidental memory access is likely to be disastrous. Memory access is required for experts who want to debug the kernel.
If you are unsure, say Y.
arch/powerpc/Kconfig.debug
The configuration item CONFIG_STRICT_DEVMEM:
(none)
This option restricts access to /dev/mem. If this option is disabled, you allow userspace access to all memory, including kernel and userspace memory. Accidental memory access is likely to be disastrous. Memory access is required for experts who want to debug the kernel.
If you are unsure, say Y.
arch/arm64/Kconfig.debug
The configuration item CONFIG_STRICT_DEVMEM:
CONFIG_MMU
If this option is disabled, you allow userspace (root) access to all of memory, including kernel and userspace memory. Accidental access to this is obviously disastrous, but specific access can be used by people debugging the kernel.
If this option is switched on, the /dev/mem file only allows userspace access to memory mapped peripherals.
If in doubt, say Y.
arch/arm/Kconfig.debug
The configuration item CONFIG_STRICT_DEVMEM:
CONFIG_MMU
If this option is disabled, you allow userspace (root) access to all of memory, including kernel and userspace memory. Accidental access to this is obviously disastrous, but specific access can be used by people debugging the kernel.
If this option is switched on, the /dev/mem file only allows userspace access to memory mapped peripherals.
If in doubt, say Y.
arch/tile/Kconfig
The configuration item CONFIG_STRICT_DEVMEM:
(none)
(none)
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - S index
Automatically generated (in year 2024). See also LKDDb sources on GitLab