From 13f9b9282eee71fac065aea8b120399a4beada10 Mon Sep 17 00:00:00 2001 From: Liav A Date: Sat, 9 Sep 2023 15:58:24 +0300 Subject: [PATCH] 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. --- Base/usr/share/man/man7/sys.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Base/usr/share/man/man7/sys.md b/Base/usr/share/man/man7/sys.md index 18e6ac95b5..8ce4e15e7d 100644 --- a/Base/usr/share/man/man7/sys.md +++ b/Base/usr/share/man/man7/sys.md @@ -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