Re: Re: BUG #13755: pgwin32_is_service not checking if SECURITY_SERVICE_SID is disabled

From: "MauMau" <maumau307(at)gmail(dot)com>
To: "Michael Paquier" <michael(dot)paquier(at)gmail(dot)com>, "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
Cc: "Breen Hagan" <breen(at)rtda(dot)com>, "Heikki Linnakangas" <hlinnaka(at)iki(dot)fi>, "Alvaro Herrera" <alvherre(at)2ndquadrant(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: BUG #13755: pgwin32_is_service not checking if SECURITY_SERVICE_SID is disabled
Date: 2016-11-07 21:47:52
Message-ID: 8230C8E316B544FC92813D96FA139F2E@tunaPC
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Hi, Michael

As I guessed in the previous mail, both our patches cause
pgwin32_is_service() to return 1 even when SECURITY_SERVICE_RID is
disabled, if the service is running as a Local System. The existing
logic of checking for Local System should be removed. The attached
patch fixes this problem.

Regards
Takayuki Tsunakawa

Attachment Content-Type Size
win32-security-service-v5.patch application/octet-stream 6.2 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2016-11-07 22:20:08 Re: BUG #14416: checkpoints never completed
Previous Message Jonathon Nelson 2016-11-07 19:48:52 Re: BUG #14416: checkpoints never completed

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2016-11-07 22:09:57 Re: Add support for SRF and returning composites to pl/tcl
Previous Message Guillaume Lelarge 2016-11-07 21:01:41 Re: Exclude pg_largeobject form pg_dump