diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-03-18 17:15:27 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-03-18 17:15:27 +0100 |
commit | 4a9636b1d6d3380eaff53621498445f6adcfc18e (patch) | |
tree | 1fa05c56734c5f4e600e7e71362dcd0bac39b522 /newlib/libc/stdlib/putenv.c | |
parent | 1d91d469ee534fab47fdb710a037378c103fee23 (diff) | |
download | cygnal-4a9636b1d6d3380eaff53621498445f6adcfc18e.tar.gz cygnal-4a9636b1d6d3380eaff53621498445f6adcfc18e.tar.bz2 cygnal-4a9636b1d6d3380eaff53621498445f6adcfc18e.zip |
Implmenet faster getfrompw/getfromgr
* grp.cc (pwdgrp::parse_group): Call cygsid::getfromgr_passwd.
* passwd.cc (pwdgrp::parse_passwd): Call cygsid::getfrompw_gecos.
* pwdgrp.h (cygsid::getfrompw): Implement as inline method here,
accessing pg_pwd's sid member directly.
(cygsid::getfromgr): Implement as inline method here, accessing
pg_grp's sid member directly.
* sec_auth.cc (extract_nt_dom_user): Call cygsid::getfrompw_gecos.
Explain why.
* sec_helper.cc (cygsid::getfrompw): Drop implementation.
(cygsid::getfromgr): Ditto.
* security.h (cygsid::getfrompw_gecos): Implement former getfrompw
inline here.
(cygsid::getfromgr_passwd): Implement former getfromgr inline here.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdlib/putenv.c')
0 files changed, 0 insertions, 0 deletions