summaryrefslogtreecommitdiff
path: root/sbin/mknod/mknod.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2016-10-20delete useless call to setlocale(3);Ingo Schwarze
2016-03-07Use the full idiom for error checking with strtoul(3), astb
2016-03-06Drop "rpath" promise. Now that pledge() is called after setlocale(),tb
2016-03-06my bad. thought it was setlocale "C".Marc Espie
2016-03-06Tighten mknod pledge().natano
2016-03-05better error messages, common work with natano@Marc Espie
2016-03-05Remove unused node type; ok espie@natano
2016-03-05Remove debugging code, extra whitespace and a lint annotation.tb
2016-03-05Use mknod(2) to create FIFOs by setting S_IFIFO in the mode.Todd C. Miller
2016-03-05Almost complete rewrite of mknod.Marc Espie
2016-03-04Invert the pledge() condition.natano
2015-12-18pledge "stdio rpath wpath cpath dpath fattr", as long as the -m optionTheo de Raadt
2010-03-27`b' and `c' arguments to mknod are not optional; from LEVAI DanielJason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-12-30do not repeat "usage:" twiceIgor Sobrado
2006-12-16various small improvements;Jason McIntyre
2006-04-08Remove unused variables.David Hill
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-07-03ansiTheo de Raadt
2002-06-09rm trailing whitespaceTodd T. Fries
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2000-02-28Use a base of 0 when calling stroul() as per the man page; gagnocg@ev1.netTodd C. Miller
2000-01-03When a mode is specified via the -m flag, don't allow the umaskTodd C. Miller
1999-04-18merge mknod and mkfifo, support 'p' in mknodTodd C. Miller
1997-10-04freeze strtoul() base to 10Theo de Raadt
1997-06-18fix non-numeric minor number checking; bdeTheo de Raadt
1996-08-02use strtoul and check errors; from freebsdTheo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt