git: d511e97c54d3 - main - libsysdecode: support rfork(RFSPAWN)

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Wed, 19 Jun 2024 20:39:39 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=d511e97c54d3b143368ff3896b4ab51040ca8994

commit d511e97c54d3b143368ff3896b4ab51040ca8994
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-06-19 20:38:31 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-06-19 20:38:31 +0000

    libsysdecode: support rfork(RFSPAWN)
    
    Match the "U" in RFSPAWN's value (1U<<31) (and "u" for completeness).
    Reject kernel-only RFPPWAIT to avoid a duplicate entry.
    
    Reviewed by:    imp, markj
    Sponsored by:   DARPA, AFRL
    Differential Revision:  https://reviews.freebsd.org/D45597
---
 lib/libsysdecode/mktables | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libsysdecode/mktables b/lib/libsysdecode/mktables
index 8a990e0408d5..87ab24ddf1a5 100644
--- a/lib/libsysdecode/mktables
+++ b/lib/libsysdecode/mktables
@@ -120,7 +120,7 @@ gen_table "procctlcmd"      "PROC_[A-Z_]+[[:space:]]+[0-9]"                 "sys
 gen_table "ptraceop"        "PT_[[:alnum:]_]+[[:space:]]+[0-9]+"           "sys/ptrace.h"
 gen_table "quotactlcmds"    "Q_[A-Z]+[[:space:]]+0x[0-9]+"                 "ufs/ufs/quota.h"
 gen_table "rebootopt"       "RB_[A-Z]+[[:space:]]+0x[0-9]+"                "sys/reboot.h"
-gen_table "rforkflags"      "RF[A-Z]+[[:space:]]+\([0-9]+<<[0-9]+\)"       "sys/unistd.h"
+gen_table "rforkflags"      "RF[A-Z]+[[:space:]]+\([0-9]+[uU]?<<[0-9]+\)"       "sys/unistd.h"	"RFPPWAIT"
 gen_table "rlimit"          "RLIMIT_[A-Z]+[[:space:]]+[0-9]+"              "sys/resource.h"
 gen_table "rusage"          "RUSAGE_[A-Z]+[[:space:]]+[-0-9]+"             "sys/resource.h"
 gen_table "schedpolicy"     "SCHED_[A-Z]+[[:space:]]+[0-9]+"               "sys/sched.h"