summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kvm_mkdb/kvm_mkdb.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-2/+2
* If we pass `file' via args then we need to unveil(2) it with read permission,mestre2018-10-261-3/+17
* The call to setegid(2) was replaced with setresgid(2) a while ago.tb2017-11-211-2/+2
* use setresgid() rather than setegid, all 3 gids can go the same way.deraadt2016-04-251-2/+2
* missing pledge "getpw" for getgrnam(3)deraadt2015-11-231-2/+2
* Set the effective gid to kmem so the fchown of kvm_bsd.db is allowedmillert2015-11-081-16/+28
* there is a retry path in here which contains rename() and fchown().deraadt2015-11-051-5/+4
* Implement real "flock" request and add it to userland programs thatmillert2015-10-161-2/+2
* semarie points out i am already forgetting the rules are very tight aroundderaadt2015-10-131-6/+2
* oops, a chown appears late on the code. to satisfy this pledgederaadt2015-10-131-9/+16
* kvm_mkdb & dev_mkdb are quite similar. pledge "stdio rpath wpath cpath"deraadt2015-10-121-1/+4
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-4/+3
* the kvm database only needs to be readable by kmem group. make it so.tedu2014-12-231-6/+15
* Make sure the correct errno is reported by warn* or err* and notguenther2014-07-201-2/+2
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-15/+1
* fix off-by-ones in path truncation checks. from Han Boetes; ok deraadt@djm2005-04-141-4/+4
* add -o option to generate kvm database in alternate directory;djm2003-11-211-13/+35
* ansi and protosderaadt2003-06-261-11/+5
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
* use snamesize and realloc properly. ok tdeval@tedu2003-04-061-3/+3
* Part 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.millert2002-02-161-4/+4
* Document -vespie1999-04-181-7/+7
* Only print "already up to date" if in verbose modemillert1999-03-291-5/+5
* Only exit in nlist.c due to a memory error, otherwise just return. A return value of 1 indicates an incorrect executable type, a return value of -1 indicates some other problem. This gives us better fallback from /dev/ksyms to /bsd.millert1999-03-241-17/+18
* Better fallback from /dev/ksyms to /bsd if there are problems with an nlist of /dev/ksymsmillert1999-03-241-21/+49
* crank RLIMIT_DATA, seems to be necessary for some peoplemillert1998-10-061-2/+14
* o If the user doesn't specify a file, use /dev/ksyms in preference tomillert1998-08-231-6/+15
* clean up our temp files on failuremillert1998-08-191-6/+12
* Make kvm_mkdb work againmillert1998-08-191-11/+18
* From NetBSD: make testdb() fail if database version string has length zero.millert1997-01-151-4/+9
* initial import of NetBSD treederaadt1995-10-181-0/+121