[PATCH v3][BZ 21340] add support for POSIX_SPAWN_SETSID

Joseph Myers joseph@codesourcery.com
Wed Apr 5 15:02:00 GMT 2017


On Wed, 5 Apr 2017, Szabolcs Nagy wrote:

> On 05/04/17 13:31, Joseph Myers wrote:
> > On Wed, 5 Apr 2017, daurnimator wrote:
> >> 2017-04-05  Daurnimator  <quae@daurnimator.com>
> >>
> >>     [BZ #21340]
> >>     * conform/data/spawn.h-data: Add POSIX_SPAWN_SETSID flag.
> > 
> > You should never add a symbol to the conform/ expectations unless it is 
> > actually defined by a released standard.  In a case like this, of a symbol 
> > intended to be added in a future version, it should not be in the conform/ 
> > data, and should be conditioned on __USE_GNU in the headers.
> 
> i dont see why the __USE_GNU is necessary.

Although there are a few exceptions (e.g. errno numbers), common practice 
in glibc is not to rely on reserved namespaces other than _[_A-Z]* and to 
declare symbols only for the relevant standards (and likewise for 
link-time namespace).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list