diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-11-12 15:51:11 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-11-12 15:51:11 +0000 |
commit | 7a11fe607eab33a7f10f7927c3922305561798b7 (patch) | |
tree | eadac72b0f1a686f9a4118ac3274be688c12ba29 /winsup/cygwin/autoload.cc | |
parent | bc612556a86599090fc390fe0a4b77c84d87704a (diff) | |
download | cygnal-7a11fe607eab33a7f10f7927c3922305561798b7.tar.gz cygnal-7a11fe607eab33a7f10f7927c3922305561798b7.tar.bz2 cygnal-7a11fe607eab33a7f10f7927c3922305561798b7.zip |
* syscalls.cc (chmod): Simplify conditional.
* sec_helper (cygsid::getfromstr): Reorganize to remove
calls to strcpy and strtok_r.
(cygsid::getfromgr): Change type to __uid32_t instead of int.
Keep only the allow_ntsec branch. Never call LookupAccountSid
which calls PDCs, simply return -1 in case of failure.
Use cygsid == instead of calling EqualSid and remove test
for NULL psid.
* security.h: Declare cygsid::getfromgr as __uid32_t.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
0 files changed, 0 insertions, 0 deletions