summaryrefslogtreecommitdiff
path: root/usr.sbin/dev_mkdb
AgeCommit message (Collapse)Author
2018-10-18unveil the required paths. "r" to inspect /dev, and "rwc" forTheo de Raadt
the database. (OpenBSD's first commit was at this moment, 23 years ago)
2018-08-09correct sizeof to use correct buffer, rather than another buffer (whichTheo de Raadt
was the same size)
2015-11-30change Xrs from now-defunct db(3) to dbopen(3); this wasn;t aJason McIntyre
straight replace: thanks both to schwarze and maja for feedback on how to rewrite parts; i've snuck in an rcs id->openbsd id change in dev_mkdb too;
2015-10-16Implement real "flock" request and add it to userland programs thatTodd C. Miller
use pledge and file locking. OK deraadt@
2015-10-12kvm_mkdb & dev_mkdb are quite similar. pledge "stdio rpath wpath cpath"Theo de Raadt
except kvm_mkdb also does "getpw".
2015-09-10reduce .Nd to one line and kill .Tn while hereIngo Schwarze
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2013-11-27remove erroneous char cast to switch expression processing getopt(3);Okan Demirmen
not used in any cases. ok deraadt@, guenther@, millert@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-05-31convert to new .Dd format;Jason McIntyre
2005-04-04nlist.h not neededTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-07-14ansiTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
millert@ ok
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2000-10-03set bsize for hash to some reasonable value instead ofMichael Shalayeff
defaulting to the underlying fs block size. add rcsid tag. millert@ ok.
1999-12-05some MAXPATHLEN +1 thingiesTheo de Raadt
1999-07-07The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.Aaron Campbell
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
1999-06-05remove trailing whitespace, some Nm cleanupAaron Campbell
1998-11-08usr.sbin/ man page repairs, a-iAaron Campbell
1997-09-21$OpenBSD$Theo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-08-29fix warningTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt