Linux poll(2) functionality difference from Solaris (10)

From: Matti Aarnio
Date: Fri Dec 01 2006 - 06:40:16 EST


I am coding first rounds usually on Linux, but I do try to verify
everything on several other UNIXes.

During this port debugging I realized that on Solaris the
poll(2) result flags return POLLEOF without POLLIN on files
that have EOF condition for reading.

In same situation the Linux 2.6.15 returns POLLIN, but I don't
know if there is also POLLEOF. (Same with 2.6.9 at vger.kernel.org)


To track the issue, I did enter it also into Kernel Bugzilla:

http://bugzilla.kernel.org/show_bug.cgi?id=7609


/Matti Aarnio -- Now VGER could run more than 1000 parallel
outgoing SMTP sessions. (Not that it really needs to.)
-
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/