Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-20 | It is possible for a sensor to be detached and freed while it is being | David Gwynne | |
copied out to userland. If this happens we get a use after free and things blow up. Prevent this by making a local copy of the sensor that cannot be freed elsewhere in the kernel and copying that out instead. found by mbalmer@ ok deraadt@ krw@ | |||
2006-05-20 | add show all pools command listing all pools as vmstat -m does; miod@ ok | Michael Shalayeff | |
2006-05-18 | paramter -> parameter | Miod Vallat | |
2006-05-17 | cf_unit should have a value between 0 and cd_ndevs. So set cf_unit to 0 when | Kenneth R Westerback | |
cd_ndevs is set to 0. "No kidding!" deraadt@ "Seems to make sense to me." beck@ "Seems right." miod@ | |||
2006-05-17 | Don't cast malloc() | Pedro Martelletto | |
2006-05-17 | Detach children devices in reverse order. This gives better display, and | Kenneth R Westerback | |
allows cf_unit to be decremented correctly. 'put it in' deraadt@ "i think it's good' tedu@ | |||
2006-05-17 | change ktr_len to size_t. put ktr_type after comm for better alignment | Ted Unangst | |
ok deraadt | |||
2006-05-14 | When assigning a unit number, treat running off the end of the | Kenneth R Westerback | |
cd_devs[] array the same as finding a NULL entry. Fixes inconsistant assignment of unit numbers to media slots on the Neodio 8-in-1 USB card reader donated by Manuel Pata. Previously the unit numbers would vary depending on whether it had attached an even or odd number of times. 'reads ok' marco@ ok miod@ | |||
2006-05-11 | One more (!foo & BAR) bogus test. | Miod Vallat | |
2006-05-09 | Administrative changes for aviion, ok deraadt@ | Miod Vallat | |
2006-05-08 | Add smbios support for i386 and amd64, fix ipmi to use this new functionallity, | Gordon Willem Klok | |
hook up some sysctls to add system vendor/product/version and UUID reporting. "get it in" deraadt@ | |||
2006-05-07 | add a name to rwlock so that we can tell where procs are getting stuck | Ted Unangst | |
without breaking into ddb. doubles the size of rwlock [1], but moving forward this really helps. ok/tested pedro fgsch millert krw [1 - next person to add a field to this struct gets whipped with a wet noodle] | |||
2006-05-07 | remove drain hooks from pool. | Ted Unangst | |
1. drain hooks and lists of allocators make the code complicated 2. the only hooks in the system are the mbuf reclaim routines 3. if reclaim is actually able to put a meaningful amount of memory back in the system, i think something else is dicked up. ie, if reclaiming your ip fragment buffers makes the difference thrashing swap and not, your system is in a load of trouble. 4. it's a scary amount of code running with very weird spl requirements and i'd say it's pretty much totally untested. raise your hand if your router is running at the edge of swap. 5. the reclaim stuff goes back to when mbufs lived in a tiny vm_map and you could run out of va. that's very unlikely (like impossible) now. ok/tested pedro krw sturm | |||
2006-05-07 | forgot to remove this sentence from the comment | Nikolay Sturm | |
ok pedro | |||
2006-05-06 | initialize the propolice cookie more carefully so -fstack-protector-all | Theo de Raadt | |
will work; ok miod | |||
2006-05-01 | Move vn_isunder() to vfs_vnops.c, that's the place for vn_* functions | Pedro Martelletto | |
2006-05-01 | Rename functions and move prototypes around | Pedro Martelletto | |
2006-05-01 | Make static functions global so DDB can see them | Pedro Martelletto | |
2006-04-30 | Backout last commit, it makes us crash when a ptraced program forks. | Mark Kettenis | |
2006-04-30 | remove the simplelock argument from vfs_busy() which is currently not | Nikolay Sturm | |
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn | |||
2006-04-30 | Prune remaining of the code, no binary change | Pedro Martelletto | |
2006-04-30 | Prune getcwd_common() and vn_isunder(), no binary change | Pedro Martelletto | |
2006-04-30 | Prune proc_isunder() and sys___getcwd(), no binary change | Pedro Martelletto | |
2006-04-29 | KNF bits | Pedro Martelletto | |
2006-04-28 | Regen | Pedro Martelletto | |
2006-04-28 | Instrumentation for an in-kernel getcwd() implementation. | Pedro Martelletto | |
Not yet activated. Diff by marius@ long ago, from NetBSD. Okay miod@ and krw@. | |||
2006-04-27 | create a (very simple) method for timestamping CTS & DCD events on ttys, | Theo de Raadt | |
using ioctl TIOCSTSTAMP & TIOCGTSTAMP. to be used later for gps monitoring type things; ok kettenis miod | |||
2006-04-24 | Use NULL where NULL is meant, from thib, no binary change | Pedro Martelletto | |
2006-04-23 | 'fall into' -> FALLTHROUGH | Pedro Martelletto | |
2006-04-23 | Remove unnecessary ARGSUSED comment | Pedro Martelletto | |
2006-04-23 | KNF | Pedro Martelletto | |
2006-04-21 | back out my last commit. | David Gwynne | |
art pointed out that timeout_set is the initializer of timeout structs. this means that the ONQUEUE flag could be set when timeout_set is given freshly allocated memory. my commit suddenly introduced the requirement that you bzero a timeout before initialising it. without the bzero we could generate false positives about the timeout being already queued. art did produce a diff that would walk the queues when the flag was set to see if it really was in the lists, but deraadt considers this too much of a hit. | |||
2006-04-20 | much -> must | Pedro Martelletto | |
2006-04-19 | Remove unused mount list simple_lock() goo | Pedro Martelletto | |
2006-04-19 | wdog_init is only called from wdog_register, so fold them in together. | David Gwynne | |
from mk. ok markus@ | |||
2006-04-18 | if you go timeout_set, timeout_add, and then timeout_set again you can | David Gwynne | |
screw up the queues that tie all the timeouts together. this makes us panic if we detect that happening. its a lot easier to debug that the weird side effects of broken timeout queues. ok mickey@ kettenis@ deraadt@ pedro@ | |||
2006-04-18 | set the params that govern watchdog behaviour back to defaults when the | David Gwynne | |
wdog is shut down. from mk. ok markus@ | |||
2006-04-15 | Repair FIOGETOWN operation; from Alexandre Ratchov. | Miod Vallat | |
2006-04-06 | release kernel lock _after_ the emulation exit hook is called to protect ↵ | Michael Shalayeff | |
possible free()s; tedu@ deraadt@ ok | |||
2006-03-27 | do not rush putting embrionic process on child/thread/sibling lists and set ↵ | Michael Shalayeff | |
timeouts earlier as we can sleep later and get signals and exit and cause all kinds of hell; pedro@ ok | |||
2006-03-26 | do per file io accounting and show that in fstat as well; pedro@ marco@ ok | Michael Shalayeff | |
2006-03-17 | rev 1.77 | Brad Smith | |
m_cat() - if it is safe, copy data portion into 1st mbuf even if 1st mbuf is M_EXT mbuf. rev 1.72 clarify comment on m_cat(). From itojun NetBSD ok claudio@ mcbride@ | |||
2006-03-17 | In m_pulldown avoid a prepend to the next mbuf in the chain if the result | Brad Smith | |
would still not have all data we want continous. From martin NetBSD ok claudio@ mcbride@ | |||
2006-03-16 | Turn EXTENT_ALIGN into an inline function; shaves about 50 to 100 bytes | Miod Vallat | |
on RISC arches, but m68k loses a few bytes; ok deraadt@ | |||
2006-03-15 | add sysctl_int_lower(). This can read, but can only write to a kernel | Theo de Raadt | |
variable if the result is a lowering of the value; tested matthieu | |||
2006-03-15 | copyout() the pollfds if poll() gets interrupted. This resets the revents | Claudio Jeker | |
bitmask and makes poll() behave like documented in the man page. OK deraadt@ | |||
2006-03-12 | sensors_head is only used in kern_sensors.c, so its unnecessay to declare | David Gwynne | |
it in sensors.h. from Constantine A. Murenin | |||
2006-03-05 | Use more queue macros rather than doing it by hand; ok otto@ krw@ | Miod Vallat | |
2006-03-05 | splimp -> splvm | Brad Smith | |
2006-03-04 | With the exception of two other small uncommited diffs this moves | Brad Smith | |
the remainder of the network stack from splimp to splnet. ok miod@ |