1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/vm
John Baldwin 44731cab3b Change the suser() API to take advantage of td_ucred as well as do a
general cleanup of the API.  The entire API now consists of two functions
similar to the pre-KSE API.  The suser() function takes a thread pointer
as its only argument.  The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0.  The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.

Discussed on:	smp@
2002-04-01 21:31:13 +00:00
..
default_pager.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
device_pager.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
phys_pager.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
pmap.h Remove __P. 2002-03-19 22:20:14 +00:00
swap_pager.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
swap_pager.h Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
uma_core.c Reset the cachefree statistics after draining the cache. This fixes a bug 2002-03-24 10:56:11 +00:00
uma_int.h Add a new mtx_init option "MTX_DUPOK" which allows duplicate acquires of locks 2002-03-27 09:23:41 +00:00
uma.h Add uma_zone_set_max() to add enforced limits to non vm obj backed zones. 2002-03-20 05:28:34 +00:00
vm_contig.c
vm_extern.h Remove an unused prototype. 2002-03-26 05:30:59 +00:00
vm_fault.c Remove __P. 2002-03-19 22:20:14 +00:00
vm_glue.c Remove __P. 2002-03-19 22:20:14 +00:00
vm_init.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
vm_kern.c
vm_kern.h
vm_map.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
vm_map.h
vm_meter.c
vm_mmap.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
vm_object.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
vm_object.h
vm_page.c
vm_page.h
vm_pageout.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
vm_pageout.h Remove __P. 2002-03-19 22:20:14 +00:00
vm_pageq.c
vm_pager.c Remove __P. 2002-03-19 22:20:14 +00:00
vm_pager.h Remove __P. 2002-03-19 22:20:14 +00:00
vm_param.h
vm_swap.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
vm_unix.c
vm_zeroidle.c
vm_zone.c
vm_zone.h
vm.h
vnode_pager.c Remove __P. 2002-03-19 22:20:14 +00:00
vnode_pager.h Remove __P. 2002-03-19 22:20:14 +00:00