summaryrefslogtreecommitdiff
path: root/sys/kern/subr_prf.c
AgeCommit message (Expand)Author
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-01-20snprintf(9) allows NULL string if size is 0. But doing NULL pointerAlexander Bluhm
2021-06-02kernel: introduce per-CPU panic(9) message bufferscheloha
2021-05-16panic does not require a \n at the end. When one is provided, it looks wrong.Theo de Raadt
2020-11-28Rather than skipping %[sizearg]n in the kernel, panic when it is encountered.Theo de Raadt
2020-07-24Implement BOOT_QUIET option that supresses kernel printf output to theMark Kettenis
2020-07-20fix macro indentTheo de Raadt
2019-07-20Get rid of `ddb_is_active' instead use `db_active'.Martin Pieuchot
2019-05-08Add a compile-time option called SPLASSERT_WATCH which changes theanton
2018-10-29irrelevant part snuck into previous commit; from semarieTheo de Raadt
2018-10-28Correctly deal with upper level unveil's by keeping track of the coveringBob Beck
2018-04-10Do not call logwakeup(), ending in wakeup_n(), while holding a mutex.Martin Pieuchot
2018-03-20Do not panic from ddb(4) when a lock requirement isn't fulfilled.Martin Pieuchot
2018-01-05Show uvm_fault and trace when typing show panic on a page fault'd kernelPaul Irofti
2017-12-30Delete unnecessary <sys/file.h> includesPhilip Guenther
2017-04-30Rename Debugger() into db_enter().Martin Pieuchot
2017-04-30Unifdef KGDB.Martin Pieuchot
2017-04-27Unifdef KADB.Martin Pieuchot
2017-04-20Tweak lock inits to make the system runnable with witness(4)Visa Hankala
2016-05-17Allow sendsyslog(2) with LOG_CONS even when /dev/console has notAlexander Bluhm
2015-09-29Delete the final, inscrutable NOSTRICT and VARARGS lint commentsPhilip Guenther
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-13Add dmesg -s support, to view the output of rc(8) system startup messages.Marco Pfatschbacher
2014-07-13KASSERTMSG(9): New kernel assertion with messageMasao Uebayashi
2014-07-11reboot(9): Add MI reboot entry functionMasao Uebayashi
2013-12-12Add db_vprintf(), and then use it in ACPI's db_disprint() instead ofPhilip Guenther
2013-11-25disable %n in printf(9); there is no need for it in the kernel besidesDamien Miller
2013-08-07After a panic, do not fill up the dmesg with splassert messages.Alexander Bluhm
2013-07-03add support for %td for ptrdiff_t in kernel printfStefan Fritsch
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2011-04-03Allow kernel printfs to go to console if in ddb instead of being redirectedDale Rahn
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2008-06-27Do not disallow kernel crash dumps on panic if swap encryption is enabled,Miod Vallat
2007-12-30Remove unused variable consintr. ok mbalmerAlexander Bluhm
2007-10-08Introduce %z for printf(9), like %z for printf(3). Used to printRay Lai
2007-09-01Remove support for ddb-only %r, %z, and the ddb-specific handling of %n fromMiod Vallat
2007-04-26enable splassert (1) by default; requested and ok manyTheo de Raadt
2006-12-11allow bit 32 to be printed; bug spotted and fix tested by dlgTheo de Raadt
2006-11-17missing punctuation in comments; from bret lambertJason McIntyre
2006-07-06Make the ddb.log sysctl available as an in-ddb variable, $log, for consistency.Miod Vallat
2006-06-01the bit shifted should be a type at least as wide as the comparison (u_quad_t)Jason Wright
2006-05-29extend %b support so that it will allow for arguments with more than 32 bits.Jason Wright
2005-12-27tprintf() is now only necessary for NFS, so do not compile it for kernelsMiod Vallat
2005-12-09ansi and deregister. No binary change.Jonathan Gray
2005-09-27typo in comment: sprintf -> snprintf, ok markus@Alexander von Gernler
2005-04-14Try to start log message buffer on a new line. Helps install scripts avoidKenneth R Westerback
2004-07-20protect printf with a mutex instead of SIMPLELOCK.Artur Grabowski
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
2003-12-21Kill non-standard kernel printf %: braindead extension for good.Miod Vallat