public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* setup ChangeLog LogFile.cc LogFile.h main.cc r ...
@ 2013-11-07 13:14 corinna
  0 siblings, 0 replies; only message in thread
From: corinna @ 2013-11-07 13:14 UTC (permalink / raw)
  To: cygwin-apps-cvs

CVSROOT:	/cvs/cygwin-apps
Module name:	setup
Changes by:	corinna@sourceware.org	2013-11-07 13:14:19

Modified files:
	.              : ChangeLog LogFile.cc LogFile.h main.cc res.rc 
	                 resource.h setup.exe.manifest 
	                 setup64.exe.manifest win32.cc win32.h 

Log message:
	* LogFile.cc (LogFile::exit): Don't print ending message after
	successful elevation.
	* res.rc (IDS_ELEVATED): New string.
	* resource.h (IDS_ELEVATED): New string resource number.
	
	* LogFile.cc (LogFile::flushAll): New function to flush log all logging
	to files without exiting (as LogFile::exit does).
	* LogFile.h: Declare new method closeAll.
	* main.cc (NoAdminOption): Add new CLI options -B/--no-admin. This
	option allows the user to suppress privilege elevation (in tandem with
	"asInvoker" requestedExecutionLevel changes to exe manifests).
	(WinMain): check if setup run with Administrator privilege and if the
	NoAdminOption has not been specified, attempt to elevate privilege to an
	Administrator via WINAPI ShellExecuteEx().
	* setup.exe.manifest: Add requestedExecutionLevel of asInvoker to allow
	suppression of privilege elevation.
	* setup64.exe.manifest: Modify requestedExecutionLevel from
	requireAdministrator to asInvoker to allow suppression of privilege
	elevation. Continuity of privilege elevation attempt on startup is
	implemented by main.cc changes to WinMain().
	* win32.cc (NTSecurity::isRunAsAdmin): New function to allow main.cc to
	check if setup.exe has been run with privilege elevated to Administrator
	level.
	* win32.h: Declare new method isRunAsAdmin.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.830&r2=2.831
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/LogFile.cc.diff?cvsroot=cygwin-apps&r1=2.20&r2=2.21
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/LogFile.h.diff?cvsroot=cygwin-apps&r1=2.6&r2=2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/main.cc.diff?cvsroot=cygwin-apps&r1=2.73&r2=2.74
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/res.rc.diff?cvsroot=cygwin-apps&r1=2.102&r2=2.103
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/resource.h.diff?cvsroot=cygwin-apps&r1=2.44&r2=2.45
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/setup.exe.manifest.diff?cvsroot=cygwin-apps&r1=2.5&r2=2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/setup64.exe.manifest.diff?cvsroot=cygwin-apps&r1=2.1&r2=2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.cc.diff?cvsroot=cygwin-apps&r1=2.14&r2=2.15
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.h.diff?cvsroot=cygwin-apps&r1=2.32&r2=2.33


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-07 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-07 13:14 setup ChangeLog LogFile.cc LogFile.h main.cc r 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).