mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +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
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).
|
* **`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
|
* **`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.
|
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
|
#### `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
|
* **`ubsan_is_deadly`** - This node controls the deadliness of the kernel undefined behavior
|
||||||
sanitizer errors.
|
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
|
### Consistency and stability of data across multiple read operations
|
||||||
|
|
||||||
When opening a data node, the kernel generates the required data so it's prepared
|
When opening a data node, the kernel generates the required data so it's prepared
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue