mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Base: Document /proc/{pid}/children in proc(7) manpage
This commit is contained in:
parent
e9dae38f38
commit
92a1e9607d
Notes:
sideshowbarker
2024-07-17 10:02:09 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/92a1e9607d Pull-request: https://github.com/SerenityOS/serenity/pull/14355 Reviewed-by: https://github.com/linusg ✅
1 changed files with 3 additions and 2 deletions
|
@ -20,7 +20,7 @@ by a device file.
|
|||
them.
|
||||
* **`dmesg`** - this node exports information from the kernel log.
|
||||
* **`interrupts`** - this node exports information on all IRQ handlers and basic statistics on
|
||||
them.
|
||||
them.
|
||||
* **`kernel_base`** - this node reveals the loading address of the kernel.
|
||||
* **`keymap`** - this node exports information on current used keymap.
|
||||
* **`memstat`** - this node exports statistics on memory allocation in the kernel.
|
||||
|
@ -54,6 +54,7 @@ sanitizer errors.
|
|||
* **`stacks`** - this directory lists all stack traces of process threads.
|
||||
* **`unveil`** - this node exports information on all the unveil requests of a process.
|
||||
* **`vm`** - this node exports information on virtual memory mappings of a process.
|
||||
* **`children`** - this directory lists all the child processes of a process.
|
||||
|
||||
### Consistency and stability of data across multiple read operations
|
||||
|
||||
|
@ -61,7 +62,7 @@ When opening a data node, the kernel generates the required data so it's prepare
|
|||
for read operation when requested to. However, in order to ensure that multiple reads
|
||||
will not create a corrupted data from that data node, a read operation alone will
|
||||
not inquire the kernel to refresh the data.
|
||||
To keep data output being refreshed, the userland has to re-open the data node with a
|
||||
To keep data output being refreshed, the userland has to re-open the data node with a
|
||||
new file descriptor, or to perform the `lseek` syscall on the open file descriptor to
|
||||
reset the the offset to 0.
|
||||
|
||||
|
|
Loading…
Reference in a new issue