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:
Liav A 2023-09-09 15:58:24 +03:00 committed by Andrew Kaster
parent 29c89d3b95
commit 13f9b9282e

View file

@ -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