Re: [PATCH] waitid system call

From: Michael Kerrisk
Date: Tue Aug 31 2004 - 02:25:49 EST


Is anyone writing a manual page for this sys call? If not, I will.

> The AIX results someone posted suggested that it does not clear siginfo_t
> fields on WNOHANG early returns.

Yes.

> I still maintain that a POSIX application
> must not assume that waitid will clear any fields.

Despite the fact that I've pushed in the direction of changing
this, I do agree: a portable application must handle weird
behaviours on AIX and HP-UX. (And I would document this in
the man page.)

> However, since the
> majority do, I see no harm in making Linux do so as well.

And I do think this is the right way to go. Perhaps one day
the other implementations will do the Right Thing, or POSIX
will tighten its spec to require the behavior currently
implemented by the majority -- best then that Linux doesn't
imitate the "broken" implementations.

Cheers,

Michael

--
Supergünstige DSL-Tarife + WLAN-Router für 0,- EUR*
Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/