Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Strange mkfifo problem over NFS
@ 1994-10-30 19:21 Trevor Blackwell
  1994-10-31 15:24 ` Peter da Silva
  1994-11-01 10:38 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Trevor Blackwell @ 1994-10-30 19:21 UTC (permalink / 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-11-03  3:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-10-30 19:21 Strange mkfifo problem over NFS Trevor Blackwell
1994-10-31 15:24 ` Peter da Silva
1994-11-03  3:04   ` Trevor Blackwell
1994-11-01 10:38 ` Stefan Monnier

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