Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!mhuxn!mhuxm!sftig!sftri!sfmag!eagle!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.sources.bugs Subject: Re: /dev/stdin for SVR2 Message-ID: <398@umcp-cs.UUCP> Date: Sat, 22-Jun-85 00:14:58 EDT Article-I.D.: umcp-cs.398 Posted: Sat Jun 22 00:14:58 1985 Date-Received: Mon, 24-Jun-85 06:33:50 EDT References: <334@umcp-cs.UUCP> <3879@alice.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 10 Darn! I was hoping I edited that in time, but apparently not. The posted /dev/stdin appears to give root write access to directories as well as files. (Try "od -c /dev/stdin".) Also, it doesn't deal with opening /dev/stdin when fd 0 is not already open (gets you a dup of /dev/stdin, which you didn't have open; not sure what the consequences are but they probably aren't good.) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland