Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2024 15:45:34 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2ea829e3abfb - main - sysent: sort modifier flags
Message-ID:  <202411011545.4A1FjYZb029003@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks:

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

commit 2ea829e3abfba1d6b5e81e0b5f06f3dcc0f3f72c
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-10-30 22:47:28 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-11-01 15:44:34 +0000

    sysent: sort modifier flags
    
    These flags are a mix of excusive types and modifer flags.  Comment the
    modifer flags and sort them.
    
    Reviewed by:    emaste
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/1503
---
 sys/tools/syscalls/core/syscall.lua | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys/tools/syscalls/core/syscall.lua b/sys/tools/syscalls/core/syscall.lua
index 402595b998da..ca96fc160211 100644
--- a/sys/tools/syscalls/core/syscall.lua
+++ b/sys/tools/syscalls/core/syscall.lua
@@ -24,8 +24,10 @@ syscall.known_flags = util.set {
 	"NOARGS",
 	"NOPROTO",
 	"NOSTD",
-	"NOTSTATIC",
+
+	-- flags beyond this point are modifiers
 	"CAPENABLED",
+	"NOTSTATIC",
 	"SYSMUX",
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411011545.4A1FjYZb029003>