Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!gwyn@brl-vld From: gwyn@brl-vld@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: A possible security bug fix Message-ID: <3398@sri-arpa.UUCP> Date: Sat, 23-Jul-83 20:51:12 EDT Article-I.D.: sri-arpa.3398 Posted: Sat Jul 23 20:51:12 1983 Date-Received: Mon, 25-Jul-83 04:07:51 EDT Lines: 9 From: Doug Gwyn (VLD/VMB)Yes, there is a problem with requiring FDs 0..2 to be open on exec; that would keep people from shutting up stderr by $ foo 2>&- Better to write the programs in a paranoid style (check everything that might go wrong). Too many UNIX programs fail disastrously when they could recover from unexpected situations, or at least terminate gracefully.