summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2003-06-02remove terms 3 and 4 of some of my licencesTheo de Raadt
2003-06-02stackgap_random becomes 64KTheo de Raadt
2003-06-01uvm_km_suballoc passes the 'min' argument untouched to uvm_map. uvm_mapArtur Grabowski
uses it as a hint for where to steal space from the parent map. We've been passing random stack garbage as that hint for ages. It's a wonder it didn't break things until we started working on Hammer. noone objected for at least a week.
2003-05-29Add kern.splassert=3. deraadt@ ok.Hakan Olsson
2003-05-27typos in comments; From: Bengt Wessling <bengt@lemuria.org>, 10xHenning Brauer
2003-05-22remove sprintf() and vsprintf(). nothing in the kernel needs it. ifTheo de Raadt
some module does -- tough -- they can rewrite it using the safer versions.
2003-05-21Match vprintf prototype to userland and standards.Artur Grabowski
deraadt@ ok
2003-05-20ansi and de-register; ok millertJason Wright
2003-05-20support for NTFS. from NetBSD via Julien BordetTed Unangst
2003-05-19no need for nfs headers since nqnfs had been removed way long time agoMichael Shalayeff
2003-05-17Typos; from Julien Bordet <zejames@greyhats.org>Alexander Yurchenko
Close PR 3262
2003-05-14add {b,c}devsw_lookup convenience functions.Ted Unangst
move chrtoblk and blktochr into MI code. tested on several archs and ok deraadt@
2003-05-13Add option NO_PROPOLICE, which explicitely disables the use of the propoliceMiod Vallat
stack protection when building kernels. Intended to be used on installation media, with tight space constraints - currently, only added where SMALL_KERNEL was already defined. Not thoroughly tested, but requested by deraadt.
2003-05-13Force "struct timeval time" variable to be aligned to an 8-bit boundary.Miod Vallat
This is at least necessary for the sparc microtime() function, and was only working before by goat luck. The recent commons removal triggered it. __atribute__ syntax borrowed from NetBSD.
2003-05-13Fix the tree. Jason, you were such a rock star yesterday, but it obviouslyTheo de Raadt
blinded you to the fact you were breaking ALL of our install media!
2003-05-13Use EI_OSABI instead of EI_BRANDTodd C. Miller
2003-05-13Back out previous change that causes "vnode table full" for large-scaleChristian Weisgerber
file operations.
2003-05-13support for propolice in the kernel.Ted Unangst
some style input itojun@ tdeval@ toby@ tested, mostly by deraadt, on i386, macppc, vax, sparc64 ok deraadt@ miod@
2003-05-13do reclaim LAYER vnodes, no good reason not toTed Unangst
2003-05-13Kill a bunch more commons (very few left =)Jason Wright
2003-05-12Quoting Theo: Do not approve diffs when you're hungover.Artur Grabowski
Accessing p_md members from MI code is not legal.
2003-05-12use snprintf. ok mickeyTed Unangst
2003-05-12{null,umap}_v* are now named after the file system option:Ted Unangst
{nullfs,umapfs}_v*
2003-05-12sho proc [addr] to print some proc's field; art@ okMichael Shalayeff
2003-05-12Nuke a whole bunch of commons; ok tedu (still more to come *sigh*)Jason Wright
2003-05-11remove two remnants of an imaginary in-kernel AFS supportTed Unangst
2003-05-10warn for strcpy|strcat|sprintf|vsprintf; ok art dhartmei pval, and either ↵Theo de Raadt
henning or pb, i cannot tell which it was
2003-05-10RegenMiod Vallat
2003-05-10Deprecate the swapon system call and move it to COMPAT_25 land, since swapctlMiod Vallat
has been introduced for this release. ok deraadt@ weingart@
2003-05-09Don't map the fake arg list for init with X permissions.Artur Grabowski
niklas@ tdeval@ ok
2003-05-09vmcmd_map_readvn - don't map the initial mapping with X unless theArtur Grabowski
final protection has an X. Doesn't really change anything except reducing I$ flushing. niklas@ ok
2003-05-06attempt to put a process's cwd back in place after a forced umount.Ted Unangst
won't always work, but it's the best we can do for now. this covers at least some of the failure cases the previous commit to vfs_lookup.c checks for. ok weingart@
2003-05-06avoid doing a lookup on no longer mounted directories.Ted Unangst
fixes a crash with forced unmounts. from netbsd
2003-05-06use snprintfTheo de Raadt
2003-05-06string cleaning; tedu okTheo de Raadt
2003-05-05fix test for restoring mnt_syncer in dounmount.Ted Unangst
ok and input csapuntz@
2003-05-04remove unused var docache from relookup. from netbsdTed Unangst
2003-05-03string fixes; tedu okTheo de Raadt
2003-05-02syncTed Unangst
2003-05-01knfTed Unangst
2003-05-01syncTed Unangst
2003-05-01several related changes:Ted Unangst
vfs_subr.c: add a missing simple_lock_init for vnode interlock try to avoid reclaiming locked or layered vnodes initialize vnlock pointer to NULL remove old code to free vnlock, never used lockinit the new vnode lock vfs_syscalls.c: support for VLAYER flag vnode_if.sh: support for splitting VDESC flags vnode_if.src: split VDESC flags WILLPUT is the combination of WILLRELE and WILLUNLOCK most uses for WILLRELE become WILLPUT vnode.h: add v_lock to struct vnode add VLAYER flag update for new VDESC flags
2003-04-29Regen (omsync deprecation)Miod Vallat
2003-04-29Deprecate omsync syscall, and only enable it if COMPAT_25 is required.Miod Vallat
ok deraadt@
2003-04-29after freeing curp, set to NULL. fixes a crash when loading a moduleTed Unangst
twice. similar to patch from Even Farrer farrer at uofu.net
2003-04-28sync mquery.Dale Rahn
2003-04-28Change mquery() function call signature to be the same a mmap(). ItDale Rahn
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built, booted, and 'make includes' before building ld.so with this change.
2003-04-25mquery backout sync.Dale Rahn
2003-04-25backout mquery change, something broke when not combined with a different diff.Dale Rahn
2003-04-25sysctl front-end for the hardware monitoring sensors. This addsAlexander Yurchenko
new node hw.sensors; information from the sensors can be obtained via hw.sensors.n, where n is a sensor number. All values are read only for now. Documentation and back-end drivers are comming. Tested by henning@ and millert@. Four oks from henning@ and one from millert@.