src/winsup/cygwin ChangeLog sec_helper.cc secu ...
corinna@cygwin.com
corinna@cygwin.com
Tue Nov 12 07:51:00 GMT 2002
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2002-11-12 07:51:12
Modified files:
winsup/cygwin : ChangeLog sec_helper.cc security.h syscalls.cc
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1585&r2=1.1586
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_helper.cc.diff?cvsroot=src&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.h.diff?cvsroot=src&r1=1.32&r2=1.33
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.233&r2=1.234
More information about the Cygwin-cvs
mailing list