Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | warn for strcpy|strcat|sprintf|vsprintf; ok art dhartmei pval, and either henning or pb, i cannot tell which it was | 2003-05-10 | 1 | -2/+7 | ||
| | ||||||
* | use snprintf | 2003-05-06 | 1 | -6/+6 | ||
| | ||||||
* | Fix kernel snprintf function(s) to be like | 2003-01-13 | 1 | -29/+26 | ||
| | | | | | | userland in return values. deraadt@ ok. | |||||
* | Stuff needed for gcc 3.X. | 2002-10-14 | 1 | -9/+38 | ||
| | | | | | | | | | | | | | | gcc has the nice feature of optimizing various common constructs into more optimal ones, inlining various calls, etc. The problem with that is that it assumes that we have a proper libc backing us. We really don't want to loose all those features by defining -ffreestanding and right now there is no way to just disable some of them, so we have to make the kernel more libc-like in some aspects to make it work with newer gcc. rename putchar to kputchar because it was nothing like libc putchar (and only internal to this function). Implement dummy putchar and puts (not prototyped outside this file). | |||||
* | Add one more level to the kern.splassert sysctl. | 2002-05-20 | 1 | -4/+8 | ||
| | | | | | | | | 0 - do nothing. 1 - small message on error (function name and the levels). 2 - big message on error (function name, levels and traceback (if possible)). 3 - panic. After suggestion from deraadt@. | |||||
* | dump the stack on splassert failure (XXX - need some kind of | 2002-05-18 | 1 | -2/+2 | ||
| | | | | rate limiting). | |||||
* | If ddb.panic is disabled, print the stack trace before dumping. | 2002-05-18 | 1 | -1/+3 | ||
| | ||||||
* | Implement splassert() for sparc - a tool for finding problems related to | 2002-05-15 | 1 | -1/+24 | ||
| | | | | | | | spl handling (already found 3 problems). Man page in a few seconds. deraadt@ ok. | |||||
* | Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things | 2002-03-15 | 1 | -67/+1 | ||
| | | | | the ANSI way. | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -4/+4 | ||
| | ||||||
* | Allocate rusage, pgrp, ucred and session with pool. | 2002-01-23 | 1 | -1/+2 | ||
| | ||||||
* | remove some XXX comments | 2001-12-02 | 1 | -13/+6 | ||
| | ||||||
* | remove statics | 2001-11-15 | 1 | -6/+5 | ||
| | ||||||
* | make sure that va_start() has matching va_end() | 2001-09-05 | 1 | -3/+4 | ||
| | ||||||
* | use %ll instead of %q | 2001-09-05 | 1 | -4/+4 | ||
| | ||||||
* | remove old vm | 2001-06-27 | 1 | -3/+3 | ||
| | ||||||
* | KNF | 2001-06-22 | 1 | -30/+30 | ||
| | ||||||
* | avoid sign extension for %b | 2001-02-22 | 1 | -2/+2 | ||
| | ||||||
* | disable automatic crashdump when swap encryption is on | 2000-06-25 | 1 | -1/+8 | ||
| | ||||||
* | Get rid of leading NULs in /kern/msgbuf. If the msgbuf modified in between | 2000-03-13 | 1 | -1/+2 | ||
| | | | | | reads at just the right time is is possible to get duplicate output but in practice this is extremely rare. Joint effort with Theo. | |||||
* | Add an option DDB_SAFE_CONSOLE that defaults db_console to 1. | 2000-03-02 | 1 | -1/+16 | ||
| | | | | In many cases, setting db_console in /etc/rc is too late. | |||||
* | enlarge msgbuf, somewhat line netbsd did | 2000-02-22 | 1 | -4/+8 | ||
| | ||||||
* | snprintf in kernel; assar@stacken.kth.se | 1999-12-02 | 1 | -17/+83 | ||
| | ||||||
* | panic prints a newline for you, don't do it in the panic string | 1999-01-11 | 1 | -2/+2 | ||
| | ||||||
* | NUL terminate the buffer in vsprintf | 1999-01-10 | 1 | -2/+4 | ||
| | ||||||
* | default to console ddb off | 1998-04-04 | 1 | -2/+2 | ||
| | ||||||
* | rename ddb.panic_ddb, and add ddb.console. Now you can stop console ddb entry | 1998-02-05 | 1 | -3/+4 | ||
| | | | | | with a sysctl. There will be architectures and drivers that lack function, and I trust the maintainers of those will forget to add the code.. | |||||
* | NULL deref | 1998-01-24 | 1 | -6/+6 | ||
| | ||||||
* | support expanded panicstr; and add vsprintf back | 1998-01-21 | 1 | -4/+30 | ||
| | ||||||
* | sysctl ddb.panic_ddb; felix@mamba.pond.sub.org | 1997-12-29 | 1 | -2/+6 | ||
| | ||||||
* | Do not lose the first char in msgbuf | 1997-12-28 | 1 | -5/+4 | ||
| | ||||||
* | import torek's vfprintf() from libc [renamed to kprintf and all | 1997-11-04 | 1 | -424/+783 | ||
| | | | | | | | | | | | | | | | | | | | | | | | floating point stuff removed]. the new kprintf replaces the 3 different (and buggy) versions of printf that were in the kernel before (kprintf, sprintf, and db_printf), thus reducing duplicated code by 2/3's. this fixes (or adds) several printf formats. XXX: new kprintf still supports several non-standard '%' formats: %: - passes an additional format string and argument list recursively %b - used to decode error registers %r - int, but print in radix "db_radix" [DDB only] %z - 'signed hex' [DDB only] %n - unsigned int, but print in radix "db_radix" [DDB only] note that DDB's "%n" conflicts with standard "%n" which takes the number of characters written so far and stores it into the integer indicated by the "int *" pointer arg. yuck! while here, add comments for each function explaining what it is supposed to do. | |||||
* | added 'q' modifier (64-bit integers) in kernel vsprintf/kprintf | 1997-10-01 | 1 | -19/+64 | ||
| | ||||||
* | -Wcast-qual cleanup | 1996-12-06 | 1 | -5/+5 | ||
| | ||||||
* | back out bitmask_snprintf() | 1996-11-29 | 1 | -78/+1 | ||
| | ||||||
* | Commented out a def, only referenced in out-commented code | 1996-11-24 | 1 | -2/+2 | ||
| | ||||||
* | added bitmap_snprintf | 1996-11-24 | 1 | -1/+78 | ||
| | ||||||
* | __assert added, impl from netbsd, however put elsewhere. use it instead | 1996-10-19 | 1 | -1/+15 | ||
| | | | | of private versions (one even using the userland header) in if_sn.c | |||||
* | fix vsnprintf return val | 1996-07-28 | 1 | -3/+3 | ||
| | ||||||
* | make printf/addlog return 0, for compat to userland | 1996-07-23 | 1 | -3/+5 | ||
| | ||||||
* | Fixed NetBSD pr #2633 (douzzer@mit.edu)--Be slightly more reasonable | 1996-07-19 | 1 | -1/+13 | ||
| | | | | about something like printf ("bogus format %l"); | |||||
* | -Wall & -Wstrict-prototype fixes | 1996-07-02 | 1 | -6/+6 | ||
| | ||||||
* | expand %d is panicstr | 1996-06-26 | 1 | -10/+28 | ||
| | ||||||
* | sync syscalls, no sys/cpu.h | 1996-05-02 | 1 | -3/+2 | ||
| | ||||||
* | partial sync with netbsd 960418, more to come | 1996-04-21 | 1 | -11/+7 | ||
| | ||||||
* | NetBSD 960317 merge | 1996-04-19 | 1 | -1/+5 | ||
| | ||||||
* | From NetBSD: Merge with NetBSD 960217 | 1996-02-29 | 1 | -14/+25 | ||
| | ||||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+639 | ||