mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 13:30:31 +00:00
Base: Remove remainders of /sys/kernel/constants from sys(7) manual page
There's no constants directory anymore under /sys/kernel, so bring all the described nodes back to the "kernel" directory entries list.
This commit is contained in:
parent
29c89d3b95
commit
13f9b9282e
Notes:
sideshowbarker
2024-07-17 07:16:27 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/13f9b9282e Pull-request: https://github.com/SerenityOS/serenity/pull/20998
1 changed files with 3 additions and 10 deletions
|
@ -55,6 +55,9 @@ them.
|
|||
* **`jails`** - This node exports information about existing jails (only if the current process is not in jail).
|
||||
* **`power_state`** - This node only responds to write requests on it. A written value of `1` results
|
||||
in system reboot. A written value of `2` results in system shutdown.
|
||||
* **`load_base`** - This node reveals the loading address of the kernel.
|
||||
* **`system_mode`** - This node exports the chosen system mode as it was decided based on the kernel commandline or a default value.
|
||||
* **`cmdline`** - This node exports the kernel boot commandline that was passed from the bootloader.
|
||||
|
||||
#### `net` directory
|
||||
|
||||
|
@ -73,16 +76,6 @@ This subdirectory includes global settings of the kernel.
|
|||
* **`ubsan_is_deadly`** - This node controls the deadliness of the kernel undefined behavior
|
||||
sanitizer errors.
|
||||
|
||||
#### `constants` directory
|
||||
|
||||
This subdirectory includes global constants of the kernel.
|
||||
Those nodes are generated during the boot sequence and are completely static,
|
||||
therefore making them very fast to read (no kmalloc or locking is needed).
|
||||
|
||||
* **`load_base`** - This node reveals the loading address of the kernel.
|
||||
* **`system_mode`** - This node exports the chosen system mode as it was decided based on the kernel commandline or a default value.
|
||||
* **`cmdline`** - This node exports the kernel boot commandline that was passed from the bootloader.
|
||||
|
||||
### Consistency and stability of data across multiple read operations
|
||||
|
||||
When opening a data node, the kernel generates the required data so it's prepared
|
||||
|
|
Loading…
Reference in a new issue