git: 2ea829e3abfb - main - sysent: sort modifier flags
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Nov 2024 15:45:34 UTC
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",
}