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 00:46:49 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

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

> Currently, setsid(0) always return 1, while it should return the sid of
> the calling process.  Here is a proposed patch:

I have no particular objection, but what is the standard that
specifies its return value this way?

Despite the suggestive name of setsid, there is no such thing in Posix
as a "session id".

Thomas




reply via email to

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