summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2000-09-12o add missing getsid() prototypeTodd C. Miller
o fix typo in getsid() that broke getsid(pid) where pid != 0 o cause getsid() and getpgid() to return EPERM if requesting the id of a session/process group not in the current session o check for NULL session in getsid() for exiting processes
2000-09-12regenTodd C. Miller
2000-09-12sys_getsid() and sys_getpgid() return pid_t, not int (though pid_t *is*Todd C. Miller
an int so this didn't break anything).
2000-09-12NATM domain; stoklund@taxidriver.dkTheo de Raadt
2000-09-07On resume run the powerhook in installation order.Artur Grabowski
(the powerhooks were always run in reverse order).
2000-09-07Put powerhooks on a CIRCLEQ instead of LIST.Artur Grabowski
Use FOREACH macros instead of walking the list manually.
2000-09-07Run powerhooks at splhigh.Artur Grabowski
2000-09-05Wrap power hooks in splimp(), fixes WaveLAN suspend problem; thanks art@Aaron Campbell
2000-08-31re-org ecoff headers. move some declarations from exec_ecoff.c to exec_ecoff.hEric Jackson
so they can be used for osf1 emul.
2000-08-23Move the updating of timeout queues to after ticks is incremented.Artur Grabowski
The older code actually ensured that no timeout would be too early, but it violated the principle of least surprise by making it seem (when you looked at the time variable) that every timeout was one tick late. Also periodic timeouts (that readd themselves in the timeout function), will now happen with the frequency you expect.
2000-08-08permit changing flagsTheo de Raadt
2000-08-04clear rings before freeing themTheo de Raadt
2000-08-04KNFTheo de Raadt
2000-08-03s/principal/priciple/; from netbsdMichael Shalayeff
2000-07-19Many drivers use a timeout on ttrstrt, make this a generic interface.Artur Grabowski
2000-07-17art, at least commit something which compiles!Theo de Raadt
2000-07-17Don't wait for B_READ buffers on shutdown.Artur Grabowski
From NetBSD.
2000-07-17FORK_SHAREVM only works on non-UVM kernels.Artur Grabowski
Pointed out by miod@
2000-07-12remove m_pulldown statistics, which is highly experimentalJun-ichiro itojun Hagino
2000-07-10last change was not tested on VM systemsTheo de Raadt
2000-07-07The rfork sharing of vmspace is .. special and was broken with UVM.Artur Grabowski
Add a new flag to fork1 - FORK_VMNOSTACK that shares all of the vmspace except the stack and use it for rfork.
2000-07-07Make hzto return 0 for timeouts that should happen now or in the past.Artur Grabowski
2000-07-07Be more paranoid about return values from hzto.Artur Grabowski
2000-07-07Isn't code sharing great?Artur Grabowski
poll had the same timeout problem as select.
2000-07-07When select is awakened by a select collission, we need to recalculateArtur Grabowski
the timeout.
2000-07-06Change splsoftclock() to spllowersoftclock(). (art@ ok)Hakan Olsson
2000-07-06Typo in comment and some cleanup of roundrobin.Artur Grabowski
2000-07-06printf %sTodd T. Fries
2000-07-05Stop sleeps from returning early (by up to a clock tick).Paul Janzen
From FreeBSD: eventually, we should replace hzto() with something like tvtohz() as well.
2000-06-27Slight optimization of wakeup.Artur Grabowski
2000-06-25disable automatic crashdump when swap encryption is onNiels Provos
2000-06-23remove obsolete vtrace guts; art@Michael Shalayeff
2000-06-22regen-vtraceMichael Shalayeff
2000-06-22make vtrace always obsolte; art@Michael Shalayeff
2000-06-20timeout_add: Remove the right timeout when we see that it is on the list.Artur Grabowski
2000-06-18Mark kernel threads as system processes. Make ps hide them by default,Niklas Hallqvist
show them with -k. Do not try to show RSS based values for them as they mess up column alignment. vmstat -f now shows kernel threads separately from rforks too.
2000-06-18Process ID 5 is now the crypto kernel thread.Angelos D. Keromytis
2000-06-17initial import of tcfs.Niels Provos
2000-06-16take MIN/MAX from param.h, okay theo@Niels Provos
2000-06-12update icmp6 name lookup code to conform to 05 draft. previous codeJun-ichiro itojun Hagino
was 03/05 chimera. ping6: -n by default due to too many false error report due to too long reverse query delay.
2000-06-08Add explicit inclusions of signalvar.h to files actually using syms definedNiklas Hallqvist
there but relying on an indirect inclusion
2000-06-07Allow passing an address to 'show malloc' and print out some information aboutArtur Grabowski
that address.
2000-06-07Change debug_malloc_print so that it can be called from ddb.Artur Grabowski
2000-06-07Default type and size to -1.Artur Grabowski
2000-06-06This code will not work without UVM.Artur Grabowski
Add an #error instead of breaking while compiling.
2000-06-06malloc debugging code. Enabled by option MALLOC_DEBUG.Artur Grabowski
Make sure you read the docs (malloc(9)) before use.
2000-06-06If the process is P_NOZOMBIE free it's resources in the reaper.Artur Grabowski
Noone will wait for it (because noone is allowed to wait for it).
2000-06-05No need to use curproc here. We already know who we are.Artur Grabowski
2000-06-05Changes to exit handling.Artur Grabowski
cpu_exit no longer frees the vmspace and u-area. This is now handled by a separate kernel thread "reaper". This is to avoid sleeping locks in the critical path of cpu_exit where we're not allowed to sleep. From NetBSD
2000-05-19Add enable to history when enable command i used. Reported by itojun@ and ↵Mats O Jansson
David Brownlee <abs@mono.org>. -moj