[PATCH] ash: clear NONBLOCK flag from stdin when in foreground

Cathey, Jim jcathey at ciena.com
Wed Aug 17 22:49:31 UTC 2011


>Some state needs to be shared. But the blocking/non-blocking flag
>should not; the flag should be attached to every copy of the
descriptor,
>not to the file.

Agreed.  If a non-blocking flag needs to exist (and I think it
shouldn't) it should be part of the fcntl set, private to the
process and not shared.

-- Jim






More information about the busybox mailing list