summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dev_mkdb
AgeCommit message (Collapse)AuthorFilesLines
2018-10-18unveil the required paths. "r" to inspect /dev, and "rwc" forderaadt1-3/+13
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 (whichderaadt1-2/+2
was the same size)
2015-11-30change Xrs from now-defunct db(3) to dbopen(3); this wasn;t ajmc1-5/+6
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 thatmillert1-2/+2
use pledge and file locking. OK deraadt@
2015-10-12kvm_mkdb & dev_mkdb are quite similar. pledge "stdio rpath wpath cpath"deraadt1-1/+4
except kvm_mkdb also does "getpw".
2015-09-10reduce .Nd to one line and kill .Tn while hereschwarze1-5/+3
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-3/+2
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);okan1-2/+2
not used in any cases. ok deraadt@, guenther@, millert@
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-12/+1
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;jmc1-2/+2
2005-04-04nlist.h not neededderaadt1-4/+2
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert2-13/+5
rescinded 22 July 1999. Proofed by myself and Theo.
2002-07-14ansideraadt1-6/+4
2002-03-14kill more registers.mpech1-4/+4
millert@ ok
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-3/+3
2000-10-03set bsize for hash to some reasonable value instead ofmickey1-3/+9
defaulting to the underlying fs block size. add rcsid tag. millert@ ok.
1999-12-05some MAXPATHLEN +1 thingiesderaadt1-2/+2
1999-07-07The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.aaron1-2/+2
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 cleanupaaron1-4/+4
1998-11-08usr.sbin/ man page repairs, a-iaaron1-8/+14
1997-09-21$OpenBSD$deraadt1-2/+1
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!millert1-2/+2
1996-08-29fix warningderaadt1-2/+2
1995-10-18initial import of NetBSD treederaadt3-0/+241