summaryrefslogtreecommitdiffstats
path: root/AUTHORS
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-11-17 17:24:31 +0000
committerColin Guthrie <colin@mageia.org>2014-11-17 17:43:45 +0000
commit130ce2915743952a8b40e8c3bab4d8bc5848564e (patch)
tree2f8c34bed5e6b2d6f12a37a4c2ccd8d1d580cd2e /AUTHORS
parentdeb5fedd10f1e367973f55ba82677c41e7ca4643 (diff)
downloadperl-MDK-Common-130ce2915743952a8b40e8c3bab4d8bc5848564e.tar
perl-MDK-Common-130ce2915743952a8b40e8c3bab4d8bc5848564e.tar.gz
perl-MDK-Common-130ce2915743952a8b40e8c3bab4d8bc5848564e.tar.bz2
perl-MDK-Common-130ce2915743952a8b40e8c3bab4d8bc5848564e.tar.xz
perl-MDK-Common-130ce2915743952a8b40e8c3bab4d8bc5848564e.zip
Add an is_real_group API
This is similar to the is_real_user() API added in the previous commit and will be useful in higher level code which might need to filter the display appropriately. Here we use the heuristic that if the GID is in the range 500-999 then we check to see whether the group is the primary group of a user with the same name (and the user is considered a 'real' user) or that the group has any member who is considered 'real'. mga#14346
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions