Linux Documentation
 help / color / mirror / Atom feed
* [PATCH] docs: proc.rst: comm: mention the included NUL
@ 2024-02-05 15:41 Christoph Anton Mitterer
  2024-02-06  2:22 ` [PATCH v2 0/1] " Christoph Anton Mitterer
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Anton Mitterer @ 2024-02-05 15:41 UTC (permalink / raw)
  To: linux-doc; +Cc: corbet

Indicate that the actual value will be one character less.

Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
---
 Documentation/filesystems/proc.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index 104c6d047d9b..41b9be923519 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -1899,8 +1899,8 @@ For more information on mount propagation see:
 These files provide a method to access a task's comm value. It also allows for
 a task to set its own or one of its thread siblings comm value. The comm value
 is limited in size compared to the cmdline value, so writing anything longer
-then the kernel's TASK_COMM_LEN (currently 16 chars) will result in a truncated
-comm value.
+then the kernel's TASK_COMM_LEN (currently 16 chars, including the null
+terminator) will result in a truncated comm value.
 
 
 3.7	/proc/<pid>/task/<tid>/children - Information about task children
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-09  1:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-05 15:41 [PATCH] docs: proc.rst: comm: mention the included NUL Christoph Anton Mitterer
2024-02-06  2:22 ` [PATCH v2 0/1] " Christoph Anton Mitterer
2024-02-06  2:22   ` [PATCH v2 1/1] " Christoph Anton Mitterer
2024-02-08 22:47     ` Jonathan Corbet
2024-02-08 22:58       ` Christoph Anton Mitterer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox