Subject: Re: improvements to mknod(8)
To: David Laight <david@l8s.co.uk>
From: Luke Mewburn <lukem@netbsd.org>
List: tech-userlevel
Date: 02/08/2003 18:21:40
On Fri, Feb 07, 2003 at 04:28:20PM +0000, David Laight wrote:
  | There is also a possible scurity problem in that the file
  | permissions are currently set after a device entry has been created.
  | This does leave a narrow 'window of opportunity...

Not really; the umask is 077 for all operations (except when
MAKEDEV.local is run, where the umask is temporarily set to 0).

Luke.