Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-02-10 | Fix off-by-one wrt TTY_LETTERS and minor being out of bounds. Missed | Todd C. Miller | |
when I fixed the other TTY_LETTERS/TTY_SUFFIX off-by-ones. | |||
2004-02-10 | Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGET | Todd C. Miller | |
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many. | |||
2004-02-10 | Dynamically allocate space for ptys; adapted from NetBSD by beck@ | Todd C. Miller | |
2004-02-08 | restored & repaired wcookie support; kettenis@chello.nl | Theo de Raadt | |
2004-02-05 | Decrement reference count in error case if uvm_map(9) fails and we | Todd C. Miller | |
had previously increased the reference count. Should not happen, but... From dhartmei@; ok deraadt@ | |||
2004-02-05 | Correct a reference counting bug in shmat(2); adapted from FreeBSD. | Todd C. Miller | |
OK deraadt@ tedu@ dhartmei@ | |||
2004-02-01 | Grok union like struct in genassym.cf. Will be needed shortly. | Miod Vallat | |
2004-01-29 | The Sxxx proc state defines start at 1, not 0. Also make the const | Todd C. Miller | |
usage more correct and fix a signed/unsigned format mismatch. Based on a patch from Patrick Latifi. OK deraadt@ | |||
2004-01-28 | oh, i'll happily steal the commit. ok henning@, markus@, otto@ (iirc) | Daniel Hartmeier | |
from KOZUKA Masahiro, fixes PR 3651 | |||
2004-01-26 | having the monotonic thing as DEBUG is not going to get it fixed faster, it ↵ | Theo de Raadt | |
is just going to annoy people | |||
2004-01-21 | dynamic bufq support. basically a nullop. ok grange@ | Ted Unangst | |
2004-01-21 | call timeout_startup early, so timeouts are available. report from sam smith | Ted Unangst | |
ok art deraadt | |||
2004-01-14 | Get rid of M_LOCKF and use pool for allocating lockf structures. | Alexander Yurchenko | |
From NetBSD. Tested by many people, ok art@. | |||
2004-01-14 | sync | Ted Unangst | |
2004-01-14 | change sigaltstack.ss_size type to size_t. handle syscall fallout. | Ted Unangst | |
add stack_t and ucontext_t typedefs. ok deraadt@ | |||
2004-01-12 | sync | Ted Unangst | |
2004-01-12 | new syscall closefrom(int fd) closes all fds equal and greater than fd. | Ted Unangst | |
ok deraadt@ millert@ | |||
2004-01-12 | klist_invalidate to help clean up when the backend disappears, tested by mpf@ | Ted Unangst | |
2004-01-12 | these need to be synced when vnode_if.src changes | Ted Unangst | |
2004-01-09 | back out vnode parents. weird breakge found in ports tree | Ted Unangst | |
2004-01-07 | Add p_rlim_rss_cur for ps "lim" field. OK deraadt@ | Todd C. Miller | |
2004-01-07 | no kern_watchdog for SMALL_KERNEL; ok deraadt@ | Markus Friedl | |
2004-01-07 | Unbreak KERN_PROC_KTHREAD. Explicitly list KERN_PROC_KTHREAD in | Todd C. Miller | |
the sysctl_doproc() switch so it does not match the default case (EINVAL). deraadt@ OK. | |||
2004-01-07 | Add p_emul to kinfo_proc2 for ps | Todd C. Miller | |
2004-01-07 | Implement KERN_PROC2 sysctl from NetBSD. This will allow us to | Todd C. Miller | |
have ps and friends be independent of changes in struct proc et al in the kernel. OK deraadt@ | |||
2004-01-06 | keep track of a vnode's parent dir. ufs only, and unused atm, but | Ted Unangst | |
the fun stuff is coming. testing by brad. | |||
2004-01-06 | lock filedesc before manipulating. avoids some rare races. | Ted Unangst | |
testing for quite some time by brad + otto | |||
2004-01-03 | put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros | Marc Espie | |
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@. | |||
2004-01-01 | 2004 | Theo de Raadt | |
2003-12-31 | regen | Todd C. Miller | |
2003-12-31 | wait4(2) takes and returns pid_t, not int. OK deraadt@ and miod@ | Todd C. Miller | |
2003-12-28 | make check for too large allocations earlier, instead of fiddling with it. | Ted Unangst | |
less error prone (no wraparound). no real functional change though. ok markus tdeval | |||
2003-12-23 | enough is enough, driving people insane is not nice | Theo de Raadt | |
2003-12-23 | print tv_usec fields correctly in reporting conmonotonic time | Michael Shalayeff | |
2003-12-22 | Remove duplicated code (pasto) | Todd C. Miller | |
2003-12-21 | Kill non-standard kernel printf %: braindead extension for good. | Miod Vallat | |
ok markus@ drahn@ | |||
2003-12-20 | In semop(2), use an array on the stack for small values of nsops so | Todd C. Miller | |
we don't have to use malloc/free. Adapted from FreeBSD; ok tedu@ | |||
2003-12-19 | Add a check for time not flowing monotonically and just don't change | Todd C. Miller | |
p->p_rtime in this case instead of zeroing it; based on an idea from nordin@. Also add a printf about microtime() not being monotonic for this case (from miod@) #ifdef DIAGNOSTIC. This version OK otto@ | |||
2003-12-18 | add new hw sysctls, cpuspeed and setperf to control cpu frequency. | Ted Unangst | |
convert longrun support to use new sysctls. add enhanced speedstep support, based on code by Michael Eriksson. idea, help testing & ok deraadt@ | |||
2003-12-17 | Use SLIST macros instead of rolling our own. Idea from and partly | Todd C. Miller | |
based on changes from FreeBSD. | |||
2003-12-15 | Fix some sign issues that fell out from the change of rlim_t to unsigned. | Todd C. Miller | |
Also add a check for a negative result when subtracting microtime(&now) from runtime and simply treat this as zero. This should *not* happen but due to an apparent bug in microtime on dual clock machines, it does. The microtime bug is currently being examined. Based on a diff from miod@ with help from otto@; ok deraadt@ otto@ | |||
2003-12-15 | workaround a clock tick handling bug that the rlimit code just exposed. | Theo de Raadt | |
2003-12-11 | regen now that [gs]etpriority(2) take id_t, not int. | Todd C. Miller | |
2003-12-11 | Add id_t type as per POSIX and use it for [gs]etpriority(2). | Todd C. Miller | |
OK henning@ and deraadt@ | |||
2003-12-11 | POSIX says rlim_t should be unsigned so make it u_quad_t. Also add | Todd C. Miller | |
POSIX-mandated RLIM_SAVED_MAX and RLIM_SAVED_CUR defines. On OpenBSD these are identical to RLIM_INFINITY as allowed by POSIX. OK deraadt@ | |||
2003-12-10 | missed in previous commit | Todd C. Miller | |
2003-12-10 | regen after poll(2) change | Todd C. Miller | |
2003-12-10 | Add an nfds_t type as per POSIX and also add pollfd_t like Solaris has. | Todd C. Miller | |
2003-12-03 | Pass -Wsign-compare and avoid a potential malloc(0); ok henning@ | Todd C. Miller | |
2003-12-02 | Check array index before using it; from Tim Robbins via Niels. | Todd C. Miller | |