[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Fix getsid(0)
From: |
Samuel Thibault |
Subject: |
Re: [RFC] Fix getsid(0) |
Date: |
Tue, 17 Jan 2006 22:23:20 +0100 |
User-agent: |
Mutt/1.5.9i-nntp |
Thomas Bushnell BSG, le Tue 17 Jan 2006 11:33:48 -0800, a écrit :
> > It's an XSI extension:
> >
> > « The getsid() function shall obtain the process group ID of the
> > process that is the session leader of the process specified by pid. If
> > pid is (pid_t)0, it specifies the calling process. »
>
> Oh, getsid certainly should do this.
>
> So is there a bug in setsid? Is there one in getsid?
in getsid(0) (typo in my first mail, but the patch is correct).
Regards,
Samuel