diff options
| author | Olivier Certner <olce@FreeBSD.org> | 2025-08-29 16:35:56 +0000 |
|---|---|---|
| committer | Olivier Certner <olce@FreeBSD.org> | 2025-09-17 12:16:02 +0000 |
| commit | 30193fce433cdad465904b6efe3814bf234ea74e (patch) | |
| tree | 3849b582aab9e960bf614e6ae04ed15f674a8e79 | |
| parent | 9397b2ef741c57c8b2f0fdf796cc86267ecf2213 (diff) | |
cred: Remove obsolete comment after getgroups() not returning the eGID
No functional change.
Fixes: 9da2fe96ff2e ("kern: fix setgroups(2) and getgroups(2) to match other platforms")
MFC after: 5 days
MFC to: stable/15
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52267
| -rw-r--r-- | sys/kern/kern_prot.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index 3333a168a754..591994e92e7d 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -291,11 +291,6 @@ sys_getgid(struct thread *td, struct getgid_args *uap) return (0); } -/* - * Get effective group ID. The "egid" is groups[0], and could be obtained - * via getgroups. This syscall exists because it is somewhat painful to do - * correctly in a library function. - */ #ifndef _SYS_SYSPROTO_H_ struct getegid_args { int dummy; |
