Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-08-15 17:08:47 +0400
committerCorinna Vinschen <corinna@vinschen.de>2008-08-15 17:08:47 +0400
commit9258eca9d4a23ccaa0caf9b5b01020613b2d3ffa (patch)
tree87ba35965c9550e9928ad693f04e044b02de6696 /config/mt-mips16-compat
parent2bd94f906de5009a87effeab8dccfb0573c55f46 (diff)
* mkgroup.c (fetch_current_pgrp_sid): New function to fetch primary
group SID from user token. (current_group): Move up in file. Move fetching primary group SID to fetch_current_pgrp_sid. (enum_local_groups): Check if current SID is the same as current user's primary group SID. (enum_groups): Ditto. (main): Call fetch_current_pgrp_sid before enumerating groups. Call current_group only if current group hasn't been enumerated already. * mkpasswd.c (fetch_current_user_sid): New function to fetch current user SID from user token. (current_user): Move fetching current user SID to fetch_current_user_sid. (enum_users): Check if current SID is the same as current user's SID. (main): Call fetch_current_user_sid before enumerating users. Call current_user only if current user hasn't been enumerated already.
Diffstat (limited to 'config/mt-mips16-compat')
0 files changed, 0 insertions, 0 deletions