public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* setup ChangeLog io_stream_cygfile.cc mkdir.cc ...
@ 2008-08-20 10:33 corinna
0 siblings, 0 replies; only message in thread
From: corinna @ 2008-08-20 10:33 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /sourceware/projects/cygwin-apps-home/cvsfiles
Module name: setup
Changes by: corinna@sourceware.org 2008-08-20 10:33:25
Modified files:
. : ChangeLog io_stream_cygfile.cc mkdir.cc
mklink2.cc win32.cc win32.h
Log message:
* io_stream_cygfile.cc (io_stream_cygfile::set_mtime_and_mode):
Accommodate SetPosixPerms being method of nt_sec.
* mkdir.cc (mkdir_p): Ditto.
* mklink2.cc (mkcygsymlink_nt): Ditto.
* win32.cc: Slightly rearrange.
(NTSecurity::SetPosixPerms): Make SetPosixPerms method of NTSecurity
rather than stand-alone function. Remove dynamic allocation for
security descriptors in favor of static allocation. Drop out
preliminary if well-known SIDs are not initialized. Slightly change
and rearrange comments. Add creating NULL SID ACE for special
permissions.
(NTSecurity::initialiseWellKnownSIDs): New function, replacing
NTSecurity::initialiseEveryOneSID. Initialize all well-known SIDs
here. Set wellKnownSIDsinitialized to true on success.
(NTSecurity::setDefaultDACL): Don't call initialiseEveryOneSID. Change
comment. Drop setting failed. Don't open process token here.
(NTSecurity::setBackupPrivileges): New function.
(NTSecurity::setDefaultSecurity): Call initialiseWellKnownSIDs.
Open process token here. Disable setting primary group. Add comment
to explain why.
* win32.h (SetPosixPerms): Move to NTSecurity.
(class NTSecurity): Add SetPosixPerms method. Make all SIDs private
again. Make NoteFailedAPI private. Add setBackupPrivileges method.
Rename usid to UsersSID. Remove failed method and _failed member.
Add wellKnownSIDsinitialized accessors and _wellKnownSIDsinitialized
member.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.607&r2=2.608
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/io_stream_cygfile.cc.diff?cvsroot=cygwin-apps&r1=2.25&r2=2.26
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/mkdir.cc.diff?cvsroot=cygwin-apps&r1=2.8&r2=2.9
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/mklink2.cc.diff?cvsroot=cygwin-apps&r1=2.5&r2=2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.cc.diff?cvsroot=cygwin-apps&r1=2.5&r2=2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.h.diff?cvsroot=cygwin-apps&r1=2.16&r2=2.17
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-20 10:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-20 10:33 setup ChangeLog io_stream_cygfile.cc mkdir.cc corinna
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).