summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
1997-11-06mak kernel compiles w/o bios0Michael Shalayeff
1997-11-04fix printf formatting of "ps" (aka "show all proc") so that lines neverchuck
overflow (always hated that). replaced "/m" flag with: /a == show process address info /n == show normal process info [currently the default] /w == show process wait/emul info
1997-11-04import torek's vfprintf() from libc [renamed to kprintf and allchuck
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.
1997-10-28dkcsum is *really* mandatory. XXX will be done differently later.Niklas Hallqvist
1997-10-24prevent open() with wrong flagsTheo de Raadt
1997-10-21When the input queues are flushed on a blocked tty, make sure to unblockNiklas Hallqvist
it, if it's currently in a blocked state due to input flow control. This was typically seen with drivers implementing th t_hwiflow function, and starting of ppp (line discipline changes flushes the input queue). Independently discovered and fixed slightly different than NetBSD PR#4227.
1997-10-17Don't allow root to set the clock back in time if securelevel > 1. ThisTodd C. Miller
got nuked when settime() was added.
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-10-01added 'q' modifier (64-bit integers) in kernel vsprintf/kprintfAngelos D. Keromytis
1997-09-27Cleaning up my tree.. that is why nits like this extra blank lineNiklas Hallqvist
gets committed
1997-09-24s/DEBUG/LKM_DEBUG/gMichael Shalayeff
1997-09-18it is definately wrong to initialize the pgid at open() time because theTheo de Raadt
uid/euid used for checking in csignal() is controlled by whoever used TIOCSPGRP previously.
1997-09-15From FreeBSD (joerg@freebsd.org):Todd C. Miller
Implement SA_NOCLDWAIT by reparenting kids of processes that have the appropriate bit set to PID 1, and let PID 1 handle the zombie. This assumes that PID 1 will wait for its kids (which is true of init). This also includes some FreeBSD sigaction.2.
1997-09-12add copyright for the work i did in csignal()Theo de Raadt
1997-09-03changes for ps "emul" optionkstailey
1997-09-02COMPAT_BSDOS exec and compat changes.Jason Downs
1997-08-31for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uidTheo de Raadt
and euid as well, then deliver them using new csignal() interface which ensures that pgid setting process is permitted to signal the pgid process(es). Thanks to newsham@aloha.net for extensive help and discussion.
1997-08-31mbuf leak repair; mycroft@netbsdTheo de Raadt
1997-08-30repair all that gunkTheo de Raadt
1997-08-30empty files suckTheo de Raadt
1997-08-29regen for prefix ntp system calls with sys_ like other system callskstailey
1997-08-29prefix ntp system calls with sys_ like other system callskstailey
1997-08-21constrain nfiles so that fdavail() never lies; bug report and test program ↵Theo de Raadt
from abelits@phobos.illtel.denver.co.us
1997-08-20In m_split(), restore m_pkthdr.len to original length if weTodd C. Miller
get an error. From Koji Imada <koji@math.human.nagoya-u.ac.jp>
1997-08-07I know u_short will always be 16 bits, call me a pedant..Niklas Hallqvist
1997-08-04let us all try this for a while, and argue amongst ourselves.Theo de Raadt
make a read(2) on an open'd directory return 0 bytes. always.
1997-08-01only allow setuid if fd_refcnt == 1, due to rforkTheo de Raadt
1997-08-01disable RFFDG; long explanation...Theo de Raadt
1997-07-28two unneeded variables; enami@ba2.so-net.or.jpTheo de Raadt
1997-07-25return EINVAL in case bad locking specified; netbsdMichael Shalayeff
1997-07-25oops, bad commentsMichael Shalayeff
1997-07-25add {struct,member,export} keywords, tsarna@endicor.comMichael Shalayeff
1997-07-25indent properlyTheo de Raadt
1997-07-25from netbsd: check user access rights only if UIO_USERSPACEMichael Shalayeff
1997-07-23No need to doubly include vm/vm.hNiklas Hallqvist
1997-07-23Add AppleTalk.denny
1997-07-20vm.hTheo de Raadt
1997-07-15cannot do this; flipk has found test cases where this failsTheo de Raadt
1997-07-12Add some more extent stuff, in preperation of PnP. Huh? Did ITobias Weingartner
say PnP? Anyways, this stuff just adds the ability to register the extents on creation, etc, etc... Someone needs to add a DDB command "show extent", to make this really usefull... ;-)
1997-07-11Do not force FOLLOW (to follow symbolic links) when creating new filesThorsten Lockert
1997-07-07count pages in forkstat, see "vmstat -f"kstailey
1997-06-29constrain lowwater >= highwaterTheo de Raadt
1997-06-23oopsTheo de Raadt
1997-06-23for SO_SND*/SO_RCV*, clip low-end of parameter to 1Theo de Raadt
1997-06-22wasn't a race after all. properly initialize event_q pointers so theflipk
last one doesn't point off the end.
1997-06-21notes about sysctl additionsMichael Shalayeff
1997-06-21revert, there's a nasty race condition here.flipk
1997-06-18Switch to the NetBSD implementation of null path handling; by kleink@NetBSD.orgThorsten Lockert