freebsd-dev/sys
Mark Johnston 711fbd17ec Add helper functions proc_readmem() and proc_writemem().
These helper functions can be used to read in or write a buffer from or to
an arbitrary process' address space. Without them, this can only be done
using proc_rwmem(), which requires the caller to fill out a uio. This is
onerous and results in code duplication; the new functions provide a simpler
interface which is sufficient for most existing callers of proc_rwmem().

This change also adds a manual page for proc_rwmem() and the new functions.

Reviewed by:	jhb, kib
Differential Revision:	https://reviews.freebsd.org/D4245
2015-12-07 21:33:15 +00:00
..
amd64 Merge common parts of i386 and amd64 md_var.h and smp.h into 2015-12-07 17:41:20 +00:00
arm Add helper functions proc_readmem() and proc_writemem(). 2015-12-07 21:33:15 +00:00
arm64 Add support for usermode (vdso-like) gettimeofday(2) and 2015-12-07 12:20:26 +00:00
boot Remove stray unescaped % in Booting from ... informational message 2015-12-05 23:59:30 +00:00
bsm
cam The ccb_xflags enumeration was removed from FreeBSD/head in 2015-12-07 21:04:27 +00:00
cddl Add helper functions proc_readmem() and proc_writemem(). 2015-12-07 21:33:15 +00:00
compat Add some structures and defines which will be used when decoding small 2015-12-03 12:51:54 +00:00
conf Add support for usermode (vdso-like) gettimeofday(2) and 2015-12-07 12:20:26 +00:00
contrib Add initial ar9300 HAL support for the spectral scan mode. 2015-12-02 05:36:45 +00:00
crypto const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Add helper to catch single step debug event and distinguish it from bkpt 2015-11-27 19:03:59 +00:00
dev When setting up VLANs on a Raspberry Pi ethernet port, the MTU drops 2015-12-07 18:55:33 +00:00
fs The cdevpriv_dtr_t typedef was not able to be used in a function prototype 2015-12-02 18:27:30 +00:00
gdb
geom Fix a style issue in g_disk_limit(). 2015-12-04 03:44:12 +00:00
gnu Fixing a memory leak on module unloading. 2015-09-11 22:43:35 +00:00
i386 Merge common parts of i386 and amd64 md_var.h and smp.h into 2015-12-07 17:41:20 +00:00
isa
kern Add helper functions proc_readmem() and proc_writemem(). 2015-12-07 21:33:15 +00:00
kgssapi
libkern libkern: ffs, fls: s/4/3/ the 3rd BSD clause 2015-10-22 21:04:47 +00:00
mips Add helper functions proc_readmem() and proc_writemem(). 2015-12-07 21:33:15 +00:00
modules Update the mlx5 shared driver code to the latest version, which 2015-12-07 13:16:48 +00:00
net Remove LLE read lock from IPv4 fast path. 2015-12-05 09:50:37 +00:00
net80211 [net80211] decode WPA cipher config '0' as "clear cipher config". 2015-11-26 01:54:58 +00:00
netgraph Move iflladdr_event eventhandler invocation to if_setlladdr. 2015-11-14 13:34:03 +00:00
netinet Fix the allocation of outgoing streams: 2015-12-06 16:17:57 +00:00
netinet6 Fix the allocation of outgoing streams: 2015-12-06 16:17:57 +00:00
netipsec Overhaul if_enc(4) and make it loadable in run-time. 2015-11-25 07:31:59 +00:00
netnatm
netpfil Add destroy_object callback to object rewriting framework. 2015-11-23 22:06:55 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs Add kernel support to the NFS server for the "-manage-gids" 2015-11-30 21:54:27 +00:00
nfsclient
nfsserver
nlm
ofed Fix i386 build WITH_OFED=YES. Remove some redundant KASSERTs. 2015-12-04 18:20:55 +00:00
opencrypto Remove unneeded includes of opt_kdtrace.h. 2015-11-22 02:01:01 +00:00
pc98 Add asynchronous command support to the pass(4) driver, and the new 2015-12-03 20:54:55 +00:00
powerpc Bump MAXCPU. We already run on hardware with 32 threads and the same hardware 2015-12-03 16:24:55 +00:00
rpc Improve locking of sg_threadcount. 2015-11-19 08:04:05 +00:00
security fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
sparc64 Remove sv_prepsyscall, sv_sigsize and sv_sigtbl members of the struct 2015-11-28 08:49:07 +00:00
sys Add helper functions proc_readmem() and proc_writemem(). 2015-12-07 21:33:15 +00:00
teken Sync HPA and VPA implementations with CUP. 2015-08-24 07:49:27 +00:00
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools Rename the /usr/share/doc/legal files to driver.LICENSE to work around 2015-10-16 00:38:05 +00:00
ufs Update ctime when atime or birthtime are updated. 2015-12-07 12:09:04 +00:00
vm vm_fault_hold: handle vm_page_rename failure 2015-12-06 17:46:12 +00:00
x86 Merge common parts of i386 and amd64 md_var.h and smp.h into 2015-12-07 17:41:20 +00:00
xdr
xen xen/intr: fix the event channel enabled per-cpu mask 2015-11-05 14:33:46 +00:00
Makefile