Edit

IABSD.fr/src/usr.bin/id

Branch :

  • Show log

    Commit

  • Author : jca
    Date : 2024-11-04 21:59:15
    Hash : 2119819d
    Message : Ignore extra groups that don't fit in the buffer passed to getgrouplist(3) Our kernel supports 16 groups (NGROUPS_MAX), but nothing prevents an admin from adding a user to more groups. With that tweak we'll keep on ignoring them instead of potentially reading past the buffer passed to getgrouplist(3). That behavior is explicitely described in initgroups(3). ok millert@ gilles@