Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: tlb@chardonnay.harvard.edu (Trevor Blackwell)
Subject: Strange mkfifo problem over NFS
Date: 30 Oct 1994 19:21:55 GMT	[thread overview]
Message-ID: <TLB.94Oct30142155@chardonnay.harvard.edu> (raw)


There are 2 Alphas, running OSF1 2.0 revision 240. 
Alpha A mounts some disks on alpha B.

When I run mkfifo on alpha A, to the NFS-mounted file system serverd
from alpha B, I get:

crwxr-x---   1 tlb      kung       0,  0 Oct 30 13:50 mkfifo-xxx

which is not a fifo at all, but a console device.  And, in fact,
writing to this first file produces usually output on the console.

When I use mkfifo on a locally mounted disk, I get the right thing:

prw-r-----   1 tlb      system         0 Oct 30 14:12 mkfifo-xxx


I say usually, because sometimes writing to the file produced a kernel
protection fault (Kernel read from illegal address) and reboot.

I wrote a program to call the mknod system call directly, and my
attempt to create a pipe also created character device 0,0.

Looking at this file from alpha B, I see the same character device
0,0. So this is a breach of security, because anyone can create a
character special file. I can't seem to make it be anything other than
0,0, however, so it's not so serious.

But it means I can't use FIFOs the way I'd like.

The system crash was pretty irritating, too. I haven't fully explored
what makes it happen.

Anyone know what's up?

--
Trevor Blackwell         tlb@das.harvard.edu          (617) 495-8912
But Marge! In today's modern cars, you can't get lost, what with all
the silicon chips and such!
Disclaimer: My opinions only.


             reply	other threads:[~1994-10-30 19:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-30 19:21 Trevor Blackwell [this message]
1994-10-31 15:24 ` Strange mkfifo problem over NFS Peter da Silva
1994-11-03  3:04   ` Trevor Blackwell
1994-11-01 10:38 ` Stefan Monnier
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox