Re: [Boost-bugs] [Boost C++ Libraries] #4694: Jailed FreeBSD needs BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4694: Jailed FreeBSD needs BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-09 12:05:03


#4694: Jailed FreeBSD needs
BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY
-----------------------------------------+----------------------------------
  Reporter: Jim Bell <jim@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords: FreeBSD jail
-----------------------------------------+----------------------------------

Comment (by igaztanaga):

 BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY changes the way
 shared memory name is created from a user defined name. If true, the name
 is based on a temporary file. I don't know why this file-based name works
 and the classic one (/shm_name) fails.

 If we want to maintain binary interface, we will need to check for the
 jailed environment in runtime and change shm name behaviour in runtime.

 I'd need a bit of help to know how a process can check if it's working in
 a jailed environment using freebsd C api. Maybe sysctl (2)?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4694#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC