Обсуждение: pgsql: Fix handling of restricted processes for Windows Vista (mainly),

Поиск
Список
Период
Сортировка

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

От
mha@postgresql.org (Magnus Hagander)
Дата:
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_2_STABLE

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.125 -> r1.125.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.125&r2=1.125.2.1)
    pgsql/src/bin/pg_ctl:
        pg_ctl.c (r1.74.2.2 -> r1.74.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_ctl/pg_ctl.c?r1=1.74.2.2&r2=1.74.2.3)
    pgsql/src/include:
        port.h (r1.106.2.2 -> r1.106.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h?r1=1.106.2.2&r2=1.106.2.3)
    pgsql/src/port:
        exec.c (r1.43 -> r1.43.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/exec.c?r1=1.43&r2=1.43.2.1)