On Saturday 20 August 2011 01:42, Bernd Petrovitsch wrote: > On Fre, 2011-08-19 at 10:07 -0700, Cathey, Jim wrote: > > >>That's why I propose we don't multiply syscalls, but extend existing > > >>socket I/O ops to work on non-sockets. > > > > >IMHO it cannot be more elegant. > > > > Only in one way can it become more elegant. Eliminate sockets > > altogether, making them the fd's that they always should have been. :-) > > IMHO it's one more step in that direction. > I use sockets like fds - except that they might have a few different > parameters to set. > We have already some fds which are seekable and some that are not, so > sockets are just the third (and forth?) variant to it.
Guys, can you semd emails to lkml and advocate for recv/send to be enabled for non-sockets? I mean: every once in a while someone again gets bitten by fcntl(O_NONBLOCK), bitches about it, tries to work around it in userspace (as the thread starter did), and eventually gives up, leaving API unfixed. This repeats ad nauseum, because the problem is not critical enough and generally can be lived with. We need to make more noises on the *kernel ml* about it if we want to ever have non-racy nonblocking read and write. My last attempt was here: https://lkml.org/lkml/2007/8/14/135 https://lkml.org/lkml/2007/8/19/43 I guess a better kernel patch would really help a lot, mine was a very dirty hack... -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
