Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-01-28 | get rid of the sensors globals. theyre were only used by sysctl for | David Gwynne | |
locating and finding the correct sensor to spit out. instead provide a a sensor_get function that wraps up the access to the vars. theyre now safe inside kern_sensors.c. theres also a touch of whitespace tweaking ok grange@ | |||
2006-01-21 | Remove now unused zeroref member in cfattach structures. | Miod Vallat | |
2006-01-21 | Make sure cache_revlookup() doesn't return invalid cache entries. | Pedro Martelletto | |
This function will be used in the future. Okay marius@. | |||
2006-01-20 | revert auto-skew. some ntpd implementations interact poorly. | Ted Unangst | |
2006-01-19 | redo (w/ proper changes everywhere ;): | Michael Shalayeff | |
take interp[MAXPATHLEN] off the stack. from mickey, ok otto while here, switch above from malloc to pool, remove stupid casts tedu@ miod@ ok | |||
2006-01-19 | Replace SENSOR_ADD() macro with a pair of functions | Alexander Yurchenko | |
sensor_add()/sensor_del() so that sensors can be attached and detached dynamicaly. ok kettenis@ deraadt@ dlg@ | |||
2006-01-18 | Fix logic botch when checking for COMPAT_SUNOS binary specifics; repairs | Miod Vallat | |
some TIOCGPGRP result fallout. ok deraadt@ | |||
2006-01-13 | auto adjusting adjtime. be more responsive to large clock deltas, | Ted Unangst | |
and attempt to compensate for incorrect clocks by adjusting ticks slowly. ok deraadt | |||
2006-01-13 | In config_detach_children(), after detaching a device, restart the device | Miod Vallat | |
list walk from its parent device, as the device which was following it may have been one of its children, and thus gone as well. Found the hard way using the strict queue macros. Feedback and help toby@, ok deraadt@ | |||
2006-01-09 | Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks. | Pedro Martelletto | |
Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64. | |||
2006-01-07 | p_dupfd need only be -1, nothing else. but this is nothing like what aaron ↵ | Theo de Raadt | |
has coming... | |||
2006-01-07 | Backout last revision, it's broken. Try pkg_add redhat_base-8.0p7 on i386 | Aaron Campbell | |
to see; page fault trap in linux_elf_probe (char *itp is being passed as NULL and then "if (itp[0])" attempts to dereference it). deraadt@ "trash it asap" | |||
2006-01-06 | typo fix from ray lai; | Jason McIntyre | |
ok deraadt | |||
2006-01-06 | oring in PCATCH doesn't help if we don't pass the right prio to tsleep | Ted Unangst | |
2006-01-06 | check in of "rwlock.20051230" from art. | Ted Unangst | |
mostly cleanup and simplification, though now also supporting upgrade and downgrade via the magic wand. | |||
2006-01-06 | take interp[MAXPATHLEN] off the stack. from mickey, ok otto | Ted Unangst | |
while here, switch above from malloc to pool, remove stupid casts | |||
2006-01-05 | ansi/deregister | Jonathan Gray | |
2006-01-05 | if a kthread fails to call kthread_exit() but instead returns, | Ted Unangst | |
bad things happen. fix acct thread. from art | |||
2006-01-03 | Make #undef match its temporary #define. | Miod Vallat | |
2006-01-03 | remove duplicate comment; | Jason McIntyre | |
from thordur i. bjornsson; | |||
2006-01-02 | regen | Jonathan Gray | |
2006-01-02 | Make this generate code with ansi function declarations. | Jonathan Gray | |
No binary change in compiled version of generated file. | |||
2006-01-01 | 2006 | Miod Vallat | |
2005-12-31 | Split the d_type field of cdevsw entries into d_type and d_flags for clarity. | Miod Vallat | |
Discussed with and ok deraadt@ millert@ | |||
2005-12-31 | Nuke unused variable 'space' found by lint. Eliminate some trailing | Kenneth R Westerback | |
whitespace. No binary diff on i386. ok pedro@ | |||
2005-12-30 | rebuild | Ted Unangst | |
2005-12-30 | change thrwakeup to take an argument which specifies how many threads | Ted Unangst | |
to wakeup. | |||
2005-12-29 | Fix wrong optimization in spec_write() that goes: if we are about to do | Pedro Martelletto | |
a write that will globber the whole buffer, and it's not in cache, do not bother reading it in. That's wrong, since the user may be trying to write beyond the disk extent, in which case we definitely want to return an error, rather than returning saying the write was okay, and failing later on at an 'uncatched' biodone(). Okay tedu@. | |||
2005-12-27 | tprintf() is now only necessary for NFS, so do not compile it for kernels | Miod Vallat | |
which like NFSSERVER and NFSCLIENT. | |||
2005-12-22 | 1. when signalling a process group, don't deliver a copy to every thread | Ted Unangst | |
2. when delivering a STOP or CONT signal to a process, now replicate to every thread. makes ^Z and fg work nicer, first noticed by peter hessler. signals and threads are not right, but this is at least a little less wrong. | |||
2005-12-22 | fix memory leak conditions in thrsleep and significantly simplify | Ted Unangst | |
2005-12-21 | ansi/deregister. No binary change. | Jonathan Gray | |
2005-12-14 | timeout code is not so happy with the negative values | Ted Unangst | |
2005-12-14 | change wait message for thrsleep to "thrsleep" | Ted Unangst | |
2005-12-13 | ansi/deregister. No binary change. | Jonathan Gray | |
2005-12-13 | make exiting actually work when a thread receives a signal. | Ted Unangst | |
previously, the child and parent would deadlock in the kernel and be unable to exit. help with diagnosis from art@. | |||
2005-12-13 | stupid me got the cast backwards | Ted Unangst | |
2005-12-13 | rebuild | Ted Unangst | |
2005-12-13 | thrsleep and thrwakeup, cast syscall arg from void * to long. | Ted Unangst | |
2005-12-13 | change the first arg to thrsleep and thrwakeup to a void *. | Ted Unangst | |
i had initially selected long since the kernel doesn't attempt to interpret this value in any way, but since it is always a pointer value in practice, this makes a little more sense. binary compat in any case. suggestion from deraadt@ | |||
2005-12-11 | Replace procfs_domem() with a similar interface, process_domem(), which lives | Miod Vallat | |
out of procfs and gets a ptrace request PT_{READ,WRITE}_{I,D} as argument; also procfs_checkioperm() becomes process_checkioperm(). From art@ some time ago; ok kettenis@ pedro@ | |||
2005-12-09 | ansi and deregister. No binary change. | Jonathan Gray | |
2005-12-08 | Don't panic for pathological i/o sizes unless minphys() really is | Kenneth R Westerback | |
broken. Eliminate an unneeded variable and potential conversion issues in SCIOCCOMMAND code before calling physio. Similar to what NetBSD does. Fixes cdda2wav vs "Billie Holiday - Songs for Distingue Lovers" problem noted by Alexandre Ratchov. Tested by Alexandre. ok marco@ pedro@ deraadt@ mickey@ | |||
2005-12-07 | do not allow setugid processes to use /dev/fd/#, unless they are a | Theo de Raadt | |
setuid-script and are attempting to dup is the specific setuid-script fd via such a pathname; ok tedu pedro millert | |||
2005-12-06 | Remove fdescfs | Pedro Martelletto | |
2005-12-04 | forgot to set P_THREAD for threaded processes | Ted Unangst | |
2005-12-04 | Add vn_access(), discussed with and okay uwe@ | Pedro Martelletto | |
2005-12-04 | older gcc (like real C) does not let you declare local variables after | Theo de Raadt | |
doing functional code; ie. LIST_INIT() | |||
2005-12-03 | rebuild | Ted Unangst | |
2005-12-03 | kernel support for threaded processes (rthreads). | Ted Unangst | |
uses rfork(RFTHREAD) to create threads, which are presently processes that are a little more tightly bound together. several new syscalls added to facilitate a userland thread library. all conditional on RTHREADS, currently disabled. ok deraadt |