Svante Signell, on Mon 14 Mar 2016 12:20:18 +0100, wrote: > On Mon, 2016-03-14 at 12:02 +0100, Samuel Thibault wrote: > > Svante Signell, on Mon 14 Mar 2016 09:05:56 +0100, wrote: > > > On Mon, 2016-03-14 at 00:57 +0100, Samuel Thibault wrote: > > > > Svante Signell, on Sun 13 Mar 2016 14:19:35 +0100, wrote: > > > > > Running the code reveals that the current implementation in glibc is > > > > > buggy: > > > > > > > > > > > Well, the program works perfectly on kFreeBSD (Linux is different). > > > > That doesn't mean that the program behaves correctly. > > Why, because it doesn't have a sleep statement?
I was referring to strict logic: it's not just because it happens to work on some set of Operating Systems that it is necessarily a correct behavior. Here, the problem is that it assumes that receiving credentials still makes sense *after* the sender process has exited. Samuel