The branch main has been updated by olce:

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

commit 696cfb27ca4e60ebd49c45355a8a9c4945f84f98
Author:     Olivier Certner <o...@freebsd.org>
AuthorDate: 2025-09-12 12:27:43 +0000
Commit:     Olivier Certner <o...@freebsd.org>
CommitDate: 2025-09-17 12:16:06 +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
---
 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

Reply via email to