summaryrefslogtreecommitdiff
path: root/sbin/dmesg/dmesg.c
AgeCommit message (Expand)Author
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-04dmesg has two modes. The normal sysctl mode, and the -M/-N kvm searcher.Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2015-01-13Add dmesg -s support, to view the output of rc(8) system startup messages.Marco Pfatschbacher
2014-04-22malloc/memset -> calloc. from peter maloneTed Unangst
2010-07-02some data structures were still present when NOKVM was definedTheo de Raadt
2008-10-17init bufdata to NULL for when compiled without KVM supportTheo de Raadt
2006-12-24zap incorrect commentDamien Miller
2005-04-28tiny doses of KNF, inspired by a diff for sth else from Brian <bwaichu@yahoo....Henning Brauer
2005-04-14shave off a few bytes, alpha floppies fit again nowHenning Brauer
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-07-03ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-05kill more registers;Mike Pechkin
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-07-07#include <string.h> for memset() protoTodd C. Miller
2001-06-22smaller dmesgTheo de Raadt
2001-06-22use sysctl to retreive msgbuf out of live system, keep the kvm iface, remove ...Michael Shalayeff
2001-06-04return from main() don't exitMichael Shalayeff
2000-02-22enlarge msgbuf, somewhat line netbsd didTheo de Raadt
1998-07-08whack kmem gid after kvm_openfiles()Theo de Raadt
1998-07-05split KREAD() callsTheo de Raadt
1997-03-29Avoid infinite loops; from NetBSD PR 3285Thorsten Lockert
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesTheo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt