Re: [bug-grep] [patch] getting '--devices=skip' to
work



Paul Eggert wrote:
Tim Waugh <twaugh@xxxxxxxxxx> writes:


https://bugzilla.redhat.com/beta/show_bug.cgi?id=135942

FYI this also could be a dupe:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135905

Of the coreutils programs that use O_NONBLOCK:

chown and touch don't do I/O.
dd uses O_NONBLOCK only when the user asks for it explicitly.
shred uses it only on /dev/random.
stty uses it only on its argument, which is supposed to be a device.
(There is a FIXME that this assumption should be checked, but there's more
to be fixed here than O_NONBLOCK.)
tail does nonblocking reads in some cases but doesn't use select() or poll().

None of these uses would run afoul of the bug that you mentioned, as
far as I can tell.

POSIX is pretty vague about what O_NONBLOCK does, except for pipes,
fifos, and sockets. So if we limited ourselves to what POSIX
required, coreutils would require several changes. I wouldn't bother
with this, though, unless there's a real problem.

So did the following change make it into redhat kernel-2.6.8-1.624
http://www.ussg.iu.edu/hypermail/linux/kernel/0410.0/index.html#0210
and was then subsequently removed?
Note I don't ever see it going into the official kernel.

--
Pádraig Brady - http://www.pixelbeat.org
--


...



Privacy