summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/mquery.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use PROTO_NORMAL() on __syscall to go direct, adjusting the declarationguenther2015-09-111-10/+7
| | | | | | | to eliminate some casts. Retire some uses of old-style STUB* macros where superseded by namespace.h bits tweaks and ok deraadt@
* Make consistent the syscall stubs for the syscalls that got specialguenther2011-10-161-2/+8
| | | | | | | | handling to fix up the alignment of 64bit arguments so that they do the same dance where _thread_sys_FOO is the real stub and FOO is a weak alias. For some of them, this is needed for cancellation handling. From discussions with fgsch@, ok millert@
* Make __syscall prototypes more consistent. Use register_t as themillert2005-04-061-5/+3
| | | | | return value for system calls that return size_t or ssize_t and quad_t for those that return off_t.
* add minimal __syscall() proto for lintderaadt2004-07-151-1/+5
|
* Change mquery() function call signature to be the same a mmap(). Itdrahn2003-04-281-4/+5
| | | | | | | | 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.
* backout mquery change, something broke when not combined with a different diff.drahn2003-04-251-5/+4
|
* change mquery() function call signature to be the same a mmap(). Itdrahn2003-04-251-4/+5
| | | | | | | | 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@
* There are two related changes.art2003-04-141-0/+17
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.