[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Fix setsid(0)
From: |
Samuel Thibault |
Subject: |
Re: [RFC] Fix setsid(0) |
Date: |
Tue, 17 Jan 2006 23:40:12 +0100 |
User-agent: |
Mutt/1.5.9i-nntp |
Hi,
Thomas Bushnell BSG, le Tue 17 Jan 2006 13:56:05 -0800, a écrit :
> The same situation happens with getpgid, and you will see that in the
> case of getpgid, the C library handles the zero-argument case itself.
Well, it is a bit different: I'd interpret the way the C library does it
as an optimization: it keeps a record of the current pgrp.
The question might be rephrased into: do we want proc server interaction
to be XSI-compliant, or do we want strict XSI compliancy only at libc
level?
Regards,
Samuel