kernel.rst (7ccc3ebf0c575728bff2d3cb4719ccd84aa186ab) | kernel.rst (944834901adc94b3a44d1dd153eb739a937e52d2) |
---|---|
1=================================== 2Documentation for /proc/sys/kernel/ 3=================================== 4 5.. See scripts/check-sysctl-docs to keep this up to date 6 7 8Copyright (c) 1998, 1999, Rik van Riel <riel@nl.linux.org> --- 422 unchanged lines hidden (view full) --- 431= ========================================================= 432 433 434ignore-unaligned-usertrap 435========================= 436 437On architectures where unaligned accesses cause traps, and where this 438feature is supported (``CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN``; | 1=================================== 2Documentation for /proc/sys/kernel/ 3=================================== 4 5.. See scripts/check-sysctl-docs to keep this up to date 6 7 8Copyright (c) 1998, 1999, Rik van Riel <riel@nl.linux.org> --- 422 unchanged lines hidden (view full) --- 431= ========================================================= 432 433 434ignore-unaligned-usertrap 435========================= 436 437On architectures where unaligned accesses cause traps, and where this 438feature is supported (``CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN``; |
439currently, ``arc``, ``ia64`` and ``loongarch``), controls whether all | 439currently, ``arc`` and ``loongarch``), controls whether all |
440unaligned traps are logged. 441 442= ============================================================= 4430 Log all unaligned accesses. 4441 Only warn the first time a process traps. This is the default 445 setting. 446= ============================================================= 447 | 440unaligned traps are logged. 441 442= ============================================================= 4430 Log all unaligned accesses. 4441 Only warn the first time a process traps. This is the default 445 setting. 446= ============================================================= 447 |
448See also `unaligned-trap`_ and `unaligned-dump-stack`_. On ``ia64``, 449this allows system administrators to override the 450``IA64_THREAD_UAC_NOPRINT`` ``prctl`` and avoid logs being flooded. | 448See also `unaligned-trap`_. |
451 | 449 |
452 | |
453io_uring_disabled 454================= 455 456Prevents all processes from creating new io_uring instances. Enabling this 457shrinks the kernel's attack surface. 458 459= ====================================================================== 4600 All processes can create io_uring instances as normal. This is the --- 1072 unchanged lines hidden (view full) --- 1533will send them to printk() again. 1534 1535This only works if the kernel was booted with ``tp_printk`` enabled. 1536 1537See Documentation/admin-guide/kernel-parameters.rst and 1538Documentation/trace/boottime-trace.rst. 1539 1540 | 450io_uring_disabled 451================= 452 453Prevents all processes from creating new io_uring instances. Enabling this 454shrinks the kernel's attack surface. 455 456= ====================================================================== 4570 All processes can create io_uring instances as normal. This is the --- 1072 unchanged lines hidden (view full) --- 1530will send them to printk() again. 1531 1532This only works if the kernel was booted with ``tp_printk`` enabled. 1533 1534See Documentation/admin-guide/kernel-parameters.rst and 1535Documentation/trace/boottime-trace.rst. 1536 1537 |
1541.. _unaligned-dump-stack: 1542 1543unaligned-dump-stack (ia64) 1544=========================== 1545 1546When logging unaligned accesses, controls whether the stack is 1547dumped. 1548 1549= =================================================== 15500 Do not dump the stack. This is the default setting. 15511 Dump the stack. 1552= =================================================== 1553 1554See also `ignore-unaligned-usertrap`_. 1555 1556 | |
1557unaligned-trap 1558============== 1559 1560On architectures where unaligned accesses cause traps, and where this 1561feature is supported (``CONFIG_SYSCTL_ARCH_UNALIGN_ALLOW``; currently, 1562``arc``, ``parisc`` and ``loongarch``), controls whether unaligned traps 1563are caught and emulated (instead of failing). 1564 --- 102 unchanged lines hidden --- | 1538unaligned-trap 1539============== 1540 1541On architectures where unaligned accesses cause traps, and where this 1542feature is supported (``CONFIG_SYSCTL_ARCH_UNALIGN_ALLOW``; currently, 1543``arc``, ``parisc`` and ``loongarch``), controls whether unaligned traps 1544are caught and emulated (instead of failing). 1545 --- 102 unchanged lines hidden --- |