pgsql: Fix handling of restricted processes for Windows Vista (mainly),

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix handling of restricted processes for Windows Vista (mainly),
Date: 2008-02-29 15:31:41
Message-ID: 20080229153141.15ED9754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix handling of restricted processes for Windows Vista (mainly),
by explicitly adding back the user to the DACL of the new process.
This fixes the failure case when executing as the Administrator
user, which had no permissions left at all after we dropped the
Administrators group.

Dave Page with some modifications from me

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/bin/initdb:
initdb.c (r1.152 -> r1.152.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.152&r2=1.152.2.1)
pgsql/src/bin/pg_ctl:
pg_ctl.c (r1.92.2.1 -> r1.92.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_ctl/pg_ctl.c?r1=1.92.2.1&r2=1.92.2.2)
pgsql/src/include:
port.h (r1.116 -> r1.116.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h?r1=1.116&r2=1.116.2.1)
pgsql/src/port:
exec.c (r1.57 -> r1.57.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/exec.c?r1=1.57&r2=1.57.2.1)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2008-02-29 17:09:36 Re: pgsql: Fix handling of restricted processes for Windows Vista (mainly),
Previous Message Magnus Hagander 2008-02-29 15:31:37 pgsql: Fix handling of restricted processes for Windows Vista (mainly),