From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5f248ef2cb98546d,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-30 11:29:32 PST Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.mathworks.com!news2.near.net!das-news2.harvard.edu!das-news!tlb From: tlb@chardonnay.harvard.edu (Trevor Blackwell) Newsgroups: comp.unix.osf.osf1 Subject: Strange mkfifo problem over NFS Date: 30 Oct 1994 19:21:55 GMT Organization: Harvard University, GLAN Systems Group Distribution: world Message-ID: Reply-To: tlb@das.harvard.edu NNTP-Posting-Host: chardonnay.harvard.edu 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.