]> granicus.if.org Git - postgresql/commit
Fix handling of restricted processes for Windows Vista (mainly),
authorMagnus Hagander <magnus@hagander.net>
Fri, 29 Feb 2008 15:31:33 +0000 (15:31 +0000)
committerMagnus Hagander <magnus@hagander.net>
Fri, 29 Feb 2008 15:31:33 +0000 (15:31 +0000)
commit2d2b0222677fb00b09ee724127a6643c3d451af3
tree1d55bd122768bbea3b31136d173ff53f8b6f0da6
parent4db0d87c9d6c819346f1e4012a44437bf9191a29
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