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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user