summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
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@.
2003-04-25syncDale Rahn
2003-04-25change 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 and installed before building ld.so with this change. ok millert@ tedu@
2003-04-23Move m_copyback() to uipc_mbuf where it makes some kinda sense; ok dhartmeiJason Wright
2003-04-19Tweak previous sprintf -> snprintf fix to eliminate unnecessaryKenneth R Westerback
intermediate variable. Suggested by deraadt@. ok henning@ millert@ tdeval@
2003-04-16Use uvm_findspace() to verify that the addresses allocated to ld.so areDale Rahn
not already used. limit nphdr to 32. ok tedu@
2003-04-14rename ticks to nticks to avoid global. ok deraadt@ krw@Ted Unangst
2003-04-14syncTheo de Raadt
2003-04-14There are two related changes.Artur Grabowski
The first one is an mquery(2) syscall. It's for asking the VM system about where to map things. It will be used by ld.so, read the man page for details. The second change is related and is a centralization of uvm_map hint that all callers of uvm_map calculated. This will allow us to adjust this hint on architectures that have segments for non-exec mappings. deraadt@ drahn@ ok.
2003-04-13diff from nordin@ to prevent wraparound on long uptime machines.Ted Unangst
ok art@ deraadt@ miod@ tdeval@
2003-04-11zombies can't live allproc list. art fixed the real problem a while ago.Ted Unangst
2003-04-10woah. last commit contained way too much. revert, and apply only the ↵Ted Unangst
change intended.