]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix handling of restricted processes for Windows Vista (mainly),
authorMagnus Hagander <magnus@hagander.net>
Fri, 29 Feb 2008 15:31:37 +0000 (15:31 +0000)
committerMagnus Hagander <magnus@hagander.net>
Fri, 29 Feb 2008 15:31:37 +0000 (15:31 +0000)
commit0f7b2753f553b0e53c1002634796804e4f129481
tree498e5511a617152ffb1041ff960b878de541ddad
parent5694053570da490c0fa3a8f9245bce3c652215c5
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
src/bin/initdb/initdb.c
src/bin/pg_ctl/pg_ctl.c
src/include/port.h
src/port/exec.c