Page MenuHomeFreeBSD

syscalls: Old setgroups(2)/getgroups(2): Remove superfluous STD type
ClosedPublic

Authored by olce on Sep 12 2025, 3:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 3, 5:50 PM
Unknown Object (File)
Wed, Dec 3, 5:50 PM
Unknown Object (File)
Tue, Dec 2, 8:17 PM
Unknown Object (File)
Thu, Nov 27, 9:51 AM
Unknown Object (File)
Wed, Nov 26, 1:49 AM
Unknown Object (File)
Tue, Nov 25, 1:42 PM
Unknown Object (File)
Sat, Nov 22, 4:04 AM
Unknown Object (File)
Fri, Nov 21, 8:21 AM
Subscribers

Details

Summary

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).

MFC after: 3 days
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

olce requested review of this revision.Sep 12 2025, 3:27 PM
This revision is now accepted and ready to land.Sep 12 2025, 3:32 PM

Whoops, good shout.

Glad you reviewed that, because I was wondering if this was deliberate or not (maybe you were cooking some other changes related to that).