diff options
author | Olivier Certner <olce@FreeBSD.org> | 2025-10-09 09:19:37 +0000 |
---|---|---|
committer | Olivier Certner <olce@FreeBSD.org> | 2025-10-09 11:34:23 +0000 |
commit | bb339adfb2a26c5bb71cd4275dff80f615534ab6 (patch) | |
tree | 58e05b6cfe016ae9f8001bb98b13fb16948d55f3 /sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c | |
parent | f5544556754ec6b33c1d13c7648a354fef645b2f (diff) |
getgrouplist() sets the variable containing the allocated length in
input to the full effective group list length, not the number of slots
that were actually filled in case the passed array is too small to
contain it.
While here, on this condition, improve the error message by outputting
the corresponding user name.
MFC after: 1 hour
Fixes: e6c623c86ab4 ("Add support for the "-manage-gids" option to the nfsuserd daemon.")
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c')
0 files changed, 0 insertions, 0 deletions