summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
1997-12-16evaluate length before doing compat stuff which might overwrite theNiels Provos
length field we are going to evaluate. From FreeBSD, originally submitted by: pb@fasterix.freenix.org (Pierre Beyssac)
1997-12-12Fixed spelling in a comment.gene
1997-12-11do not clear setuid/setgid for *chmod(-1,-1); pointed out by provosTheo de Raadt
1997-12-10extra ()Theo de Raadt
1997-12-10Remove special case for O_TRUNC that is irelevant now thatTodd C. Miller
we disallow O_TRUNC with O_RDONLY.
1997-12-10try again; proactively check that O_TRUNC has FWRITETheo de Raadt
1997-12-10only permit O_TRUNC if FWRITE is set; chatted about by millert and myself ↵Theo de Raadt
for nearly an hour
1997-12-09fix O_TRUNC and O_{SH,EX}LOCK properly; problem found by provosTheo de Raadt
1997-12-08add kern.nosuidcoredump to lock things out even moreTheo de Raadt
1997-11-30fix TIOCGPGRP in sunos emulationTheo de Raadt
1997-11-24Fix non-DIAGNOSTIC (and non-COMPAT*) compilationNiklas Hallqvist
1997-11-24fix memory leak; hbriceno@lcs.mit.eduTheo de Raadt
1997-11-23indentMichael Shalayeff
1997-11-23nuke prehistoric disk statisticsMichael Shalayeff
1997-11-20Fix for open(2) when O_TRUNC and O_??LOCK are used together. ITodd C. Miller
ran the fix by Kirk, who said it was an OK solution and pointed out two problems.
1997-11-18Use 0177777, not 07777 as the mask to check for EINVAL. This allowsTodd C. Miller
one to use the st_mode field in struct stat as an argument to f?chmod().
1997-11-17kleink: When fstat(2)ing a file descriptor of a local communications domainTheo de Raadt
socket, fill the socket's creation time into the stat structure's st_[acm]time fields: POSIX requires this behavior for pipe(2). N.B.: updating the st_[am]time fields when reading/writing the pipe is neither required nor implemented, though.
1997-11-17only consider 9 bits for the umaskTheo de Raadt
1997-11-17make chmod() and fchmod() return EINVAL for bad mode bitsTheo de Raadt
1997-11-17indentTheo de Raadt
1997-11-15for shutdown(2), if "how" is not 0-2, return EINVALTheo de Raadt
1997-11-14Fixed up a VOP_UNLOCK call so that it uses the correction proc *Constantine Sapuntzakis
1997-11-14syncTheo de Raadt
1997-11-14convert to void *addrTheo de Raadt
1997-11-13syncTheo de Raadt
1997-11-13make msync() have 3 argsTheo de Raadt
1997-11-13Count characters even when !OPOST and FLUSHO.Theo de Raadt
Don't output the \r for ONLCR if FLUSHO; mycroft
1997-11-13syncTheo de Raadt
1997-11-13add getsid(2), XPG4Theo de Raadt
1997-11-13in ttywait(), double check if we need to sleep before sleepingTheo de Raadt
1997-11-13EXTPROC fix from lite2.Todd C. Miller
1997-11-11MSG_EOR on SOCK_STREAM is invalid; wollmanTheo de Raadt
1997-11-11uninitialized variableNiklas Hallqvist
1997-11-08Sync to NetBSD; some extra KNFNiklas Hallqvist
1997-11-07Fixed hang on shutdownConstantine Sapuntzakis
Disabled vop_nolock for now. Filesystems still need to be cleaned up.
1997-11-07EXT2FS somehow disappeared from the list of file systems.Constantine Sapuntzakis
1997-11-07$OpenBSD$Niklas Hallqvist
1997-11-06DEBUG now compilesConstantine Sapuntzakis
1997-11-06Fixes so that it compiles with #ifdef DEBUGConstantine Sapuntzakis
1997-11-06Removed i386-specific crudConstantine Sapuntzakis
1997-11-06fix ps(1) LIM columnkstailey
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
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