diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-08-15 13:08:47 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-08-15 13:08:47 +0000 |
commit | 9258eca9d4a23ccaa0caf9b5b01020613b2d3ffa (patch) | |
tree | 87ba35965c9550e9928ad693f04e044b02de6696 /config/mt-mips-elfoabi | |
parent | 2bd94f906de5009a87effeab8dccfb0573c55f46 (diff) | |
download | cygnal-9258eca9d4a23ccaa0caf9b5b01020613b2d3ffa.tar.gz cygnal-9258eca9d4a23ccaa0caf9b5b01020613b2d3ffa.tar.bz2 cygnal-9258eca9d4a23ccaa0caf9b5b01020613b2d3ffa.zip |
* 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-mips-elfoabi')
0 files changed, 0 insertions, 0 deletions