git: bea59ce7c96a - stable/15 - syscalls: Old setgroups(2)/getgroups(2): Remove superfluous STD type

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Tue, 23 Sep 2025 12:03:45 UTC
The branch stable/15 has been updated by olce:

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

commit bea59ce7c96ad3e7d84aa384fb08cda55c508907
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-09-12 12:27:43 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-09-23 12:02:46 +0000

    syscalls: Old setgroups(2)/getgroups(2): Remove superfluous STD type
    
    An examination of the scripts under 'sys/tools/syscalls' indicates that
    keeping STD as a type in the presence of COMPATxx does not make any
    difference, and regenerating system call files with STD removed does
    indeed not show any difference.  Moreover, this practice is inconsistent
    with the rest of the file.
    
    Thus, remove the superfluous STD type for the two above-mentioned system
    calls.  While here, re-order the remaining types for getgroups() to be
    consistent with other such occurences (COMPATxx before CAPENABLED).
    
    Reviewed by:    kevans, emaste
    MFC after:      5 days
    MFC to:         stable/15
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D52499
    
    (cherry picked from commit 696cfb27ca4e60ebd49c45355a8a9c4945f84f98)
---
 sys/kern/syscalls.master | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 911f9093824b..967af1f5313c 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -552,13 +552,13 @@
 		    _Out_writes_bytes_(len/PAGE_SIZE) char *vec
 		);
 	}
-79	AUE_GETGROUPS	STD|CAPENABLED|COMPAT14 {
+79	AUE_GETGROUPS	COMPAT14|CAPENABLED {
 		int getgroups(
 		    int gidsetsize,
 		    _Out_writes_opt_(gidsetsize) gid_t *gidset
 		);
 	}
-80	AUE_SETGROUPS	STD|COMPAT14 {
+80	AUE_SETGROUPS	COMPAT14 {
 		int setgroups(
 		    int gidsetsize,
 		    _In_reads_(gidsetsize) const gid_t *gidset