pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: Back-patch use of unnamed POSIX semaphores for Linux?
Date: Thu, 8 Dec 2016 08:34:24 -0500
Message-ID: <e501493b-e361-50db-dcb1-24e1402d9444@2ndquadrant.com> (raw)
In-Reply-To: <27169.1481121490@sss.pgh.pa.us>
References: <32387.1481079186@sss.pgh.pa.us>
	<722c489e-810a-be9c-f005-3b6bdcb4c59f@2ndquadrant.com>
	<27169.1481121490@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 12/7/16 9:38 AM, Tom Lane wrote:
>> Even with that change, dynamic shared memory is still vulnerable to be
>> removed.
> Really?  I thought we concluded that it is safe because it is detectably
> attached to running processes.

The DSM implementation uses POSIX shared memory, which doesn't have an
attachment count like SysV shared memory.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (28+ messages)  latest in thread

Message-ID: <e501493b-e361-50db-dcb1-24e1402d9444@2ndquadrant.com>
Permalink:  ../e501493b-e361-50db-dcb1-24e1402d9444@2ndquadrant.com/
Also on:    postgresql.org/message-id/e501493b-e361-50db-dcb1-24e1402d9444@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: Back-patch use of unnamed POSIX semaphores for Linux?
  In-Reply-To: <e501493b-e361-50db-dcb1-24e1402d9444@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox