Re: [Bugme-new] [Bug 10284] New: executables with read bit 'off' cannot open /dev/stdin

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthew Wilcox
Date: Wednesday, March 19, 2008 - 6:56 pm

On Wed, Mar 19, 2008 at 02:31:08PM -0700, Andrew Morton wrote:

Unfortunately, Joe seems not to be able to follow that instruction.
He's left two comments in bugzilla which are not reflected in this email
thread.


I've tried this program on 2.6.25-rc3-00093-g59e1338-dirty and it does
not fail.


Specifically, my tests show:

open-stdin-readable:open("/dev/stdin", O_RDONLY)            = 3
open-stdin-unreadable:open("/dev/stdin", O_RDONLY)            = 3

Joe, can you try a more recent kernel?

Another thing to try would be opening /proc/self/fd/0 or /dev/pts/0
in your program and seeing whether those fail.

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Bugme-new] [Bug 10284] New: executables with read bit ..., Matthew Wilcox, (Wed Mar 19, 6:56 pm)