CVSROOT: /cvs Module name: src Changes by: es...@cvs.openbsd.org 2016/03/05 03:47:08
Modified files: sbin/mknod : mknod.8 mknod.c Log message: Almost complete rewrite of mknod. With this, none of the original code survives, so the Copyright notice can be changed accordingly. This does pledge upfront, because having fifos or devices with setuid/gid/sticky makes no sense anyway. The reorganization was done to allow a "create multiple devices" at once mode, in order to speed up MAKEDEV (eventually) now that the ksh builtin is gone. The code is picky and checks all parameters before doing anything. Inputs from natano, deraadt, rpe, millert, tb, jmc... okay tb@, deraadt@