Revert "mknod(2): Restrict functionality to creating FIFOs."
authorSascha Wildner <saw@online.de>
Thu, 20 Dec 2012 03:54:32 +0000 (04:54 +0100)
committerSascha Wildner <saw@online.de>
Thu, 20 Dec 2012 03:54:32 +0000 (04:54 +0100)
commitb03976aeaedfee025f60d37b5df0a09518d985df
tree51c7f7659ba352e2c5950dcb152dd304b2664aed
parenta83f7ffd960ef95589b77e48387a3ea4447b96ea
Revert "mknod(2): Restrict functionality to creating FIFOs."

This reverts commit d5056fe0532f6e09c1c52b6384f3ef6e6db77a68.

After the commit, stuff like cpdup, tar, etc. used on dev would
start whining when before they would create the nodes, even
though they were not actually usable.

Since the potential breakage in external software is unknown, make
up my mind and go with the lower risk approach, even if it is kind
of pointless.

The mknod(8) utility is left deleted.
sys/emulation/linux/linux_misc.c
sys/kern/vfs_syscalls.c
sys/sys/kern_syscall.h