bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Fix setsid(0)


From: Thomas Bushnell BSG
Subject: Re: [RFC] Fix setsid(0)
Date: Tue, 17 Jan 2006 15:22:45 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Samuel Thibault <samuel.thibault@ens-lyon.org> writes:

> 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.

No, it's more intentional than that.

> 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?

I think the latter, since XSI is only a specification for the C
library.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]