Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-21 | enforce restrictions on prot and flags to mprotect and mmap. invalid or | Ted Unangst | |
undefined flags are now rejected instead of silently ignored. makes "unintentional" mprotect calls a touch harder. ok art@ deraadt@ jason@ | |||
2003-07-01 | add MAP_TRYFIXED, mostly to help emulate other systems. | Ted Unangst | |
when set, uvm will not attempt to avoid a heap address, if requested. from todd vierling, via http://marc.theaimsgroup.com/?l=netbsd-tech-kern&m=105612525808607&w=1 | |||
2003-07-01 | remove sys_omquery. it was only used for two weeks, and you can't | Ted Unangst | |
source upgrade from a system that used it anyway. ok art deraadt drahn | |||
2003-06-29 | quell a "not a pointer" warning by using 0x%lx instead of %p for a vaddr_t | Anil Madhavapeddy | |
suggested by art@ | |||
2003-06-12 | Fix compile with NFS but not FIFO. | Henric Jungheim | |
ok deraadt@ | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-01 | Typo in panic message. | Miod Vallat | |
2003-05-17 | Typos; from Julien Bordet <zejames@greyhats.org> | Alexander Yurchenko | |
Close PR 3262 | |||
2003-05-05 | Move exec base to 0x1c000000, exe/data gap to 512MB. Allows better | Dale Rahn | |
interleave of exe/shared libs. Raise MAXDSIZ back to 1G. This change REQUIRES a binary update on i386. | |||
2003-05-01 | typos; | Jason McIntyre | |
ok art@ | |||
2003-04-28 | Change mquery() function call signature to be the same a mmap(). It | Dale 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-25 | backout mquery change, something broke when not combined with a different diff. | Dale Rahn | |
2003-04-25 | change mquery() function call signature to be the same a mmap(). It | Dale 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-18 | Return EINVAL if MAP_FIXED was specified but was not available. ok tedu@ | Dale Rahn | |
2003-04-17 | changes to support mquery with 1Gsep on i386. avoid heap on mappings. | Dale Rahn | |
2003-04-14 | There 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-07 | int -> ssize_t. | Mike Pechkin | |
+checked by regress. millert@, art@ ok. | |||
2003-03-29 | ubchist is not a fully cooked kadaver and though use the other well formed ↵ | Michael Shalayeff | |
pdhist one until ubc gaets back. art@ ok | |||
2003-03-28 | zero'd -> zeroed; | Jason McIntyre | |
ok art@, miod@ | |||
2003-03-04 | do not treat map entries above the stack as stack; only for the grow-ups | Michael Shalayeff | |
2003-02-18 | fix the way stack is written into the core file on the upward growing stack ↵ | Michael Shalayeff | |
machines. the other case is not affected. miod@ deraadt@ ok | |||
2003-01-29 | check the uvm_fault_wire() for failure, just like other calls; art@ ok | Michael Shalayeff | |
2003-01-09 | Remove fetch(9) and store(9) functions from the kernel, and replace the few | Miod Vallat | |
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC | |||
2002-12-20 | user-defined stacks check is the same for grownups as for growndowns | Michael Shalayeff | |
2002-12-19 | simplify stack grownups (growndowns are not touched) | Michael Shalayeff | |
2002-12-09 | Two splasserts in map entry allocation. | Artur Grabowski | |
2002-11-19 | Use queue.h macros | Jason Wright | |
2002-11-08 | Don't uvm_useracc and then vslock. vslock is better at finding illegal mappings. | Artur Grabowski | |
2002-11-06 | Eliminate the use of KERN_SUCCESS outside of uvm/ | Artur Grabowski | |
Also uvm_map returns KERN_* codes that are directly mapped to errnos, so we can return them instead of doing some attempt to translation. drahn@ "I see no problem" pval@ "makes sense" | |||
2002-10-29 | Since memory deallocation can't fail, remove the error return from | Artur Grabowski | |
uvm_unmap, uvm_deallocate and a few other functions. Simplifies some code and reduces diff to the UBC branch. | |||
2002-10-29 | "len = entry->end - entry->start;" then logically "entry->start + len" | Artur Grabowski | |
should be equal to "entry->end". (len is never changed) | |||
2002-10-17 | - name in uvm_tree_sanity must be const. | Artur Grabowski | |
- fix a typo in comment. - enable uvm_tree_sanity ifdef DEBUG | |||
2002-10-12 | Remove more '\n's from panic() statements. Both trailing and leading. | Kenneth R Westerback | |
Diff generated by Chris Kuethe. | |||
2002-10-07 | this removes the functionality of adding allocated | Michael Shalayeff | |
pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this. | |||
2002-10-06 | Initialize the result list in uvm_pglistalloc. | Artur Grabowski | |
2002-09-17 | int is small for returned values from uvm_rb_{space,subtree_space}, use | Mike Pechkin | |
vsize_t instead. art@ ok | |||
2002-09-12 | Change the PMAP_PAGEIDLEZERO api to take the struct vm_page instead of the pa. | Artur Grabowski | |
2002-09-12 | Change the PMAP_{MAP,UNMAP}_POOLPAGE api to take a vm_page as argument | Artur Grabowski | |
and return a VM_PAGE. This is to allow sparc64 to cheaply record the VAC color for those pages. | |||
2002-09-11 | kill annoying trailing spaces (in hope it fixes /0 for me) | Michael Shalayeff | |
2002-09-10 | Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page * | Artur Grabowski | |
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok. | |||
2002-08-30 | __FUNCTION__ -> __func__ that I forgot to commit. | Marc Espie | |
2002-08-23 | map the heap without PROT_EXEC. | Artur Grabowski | |
deraadt@ ok. | |||
2002-08-23 | Fix missing FRELE in mmap(2); ok art | Peter Valchev | |
2002-08-20 | print as unsigned for unsigned values, when printing out a map in ddb; art@ ok | Michael Shalayeff | |
2002-07-23 | Now that sparc64 implements reverse splassert, it make sense | Artur Grabowski | |
to add splassert(IPL_NONE) in a few strategic places. | |||
2002-07-20 | Only add a pmap_physseg if MD code defines __HAVE_PMAP_PHYSSEG. | Artur Grabowski | |
2002-07-02 | inital -> initial | Nathan Binkert | |
2002-06-14 | spelling; from Brian Poole <raj@cerias.purdue.edu> | Todd T. Fries | |
2002-06-11 | Allow MD code to define __HAVE_VM_PAGE_MD to add own members into struct ↵ | Artur Grabowski | |
vm_page. From NetBSD. | |||
2002-06-11 | Remove a stupid assert that grows the kernel by 40kB. | Artur Grabowski | |