git: 5eda09abc32f - stable/14 - sys/proc.h: add comments to the flag2 bits
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Nov 2024 00:43:42 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=5eda09abc32f0707664a76367aea8ab2db2ea506
commit 5eda09abc32f0707664a76367aea8ab2db2ea506
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-11-09 02:02:36 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-14 00:42:18 +0000
sys/proc.h: add comments to the flag2 bits
(cherry picked from commit 14b3a4564af36d30a94f01d7d94e64f72df7b880)
---
sys/sys/proc.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 6d6a4e8624c5..96cfc5f199ae 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -874,7 +874,7 @@ struct proc {
MAP_STACK */
#define P2_STKGAP_DISABLE_EXEC 0x00001000 /* Stack gap disabled
after exec */
-#define P2_ITSTOPPED 0x00002000
+#define P2_ITSTOPPED 0x00002000 /* itimers stopped */
#define P2_PTRACEREQ 0x00004000 /* Active ptrace req */
#define P2_NO_NEW_PRIVS 0x00008000 /* Ignore setuid */
#define P2_WXORX_DISABLE 0x00010000 /* WX mappings enabled */
@@ -882,7 +882,7 @@ struct proc {
#define P2_WEXIT 0x00040000 /* exit just started, no
external thread_single() is
permitted */
-#define P2_REAPKILLED 0x00080000
+#define P2_REAPKILLED 0x00080000 /* REAP_KILL pass touched me */
#define P2_MEMBAR_PRIVE 0x00100000 /* membar private expedited
registered */
#define P2_MEMBAR_PRIVE_SYNCORE 0x00200000 /* membar private expedited