freebsd-dev/sys/ufs/ffs
Brooks Davis 44ca4575ea vmapbuf: don't smuggle address or length in buf
Instead, add arguments to vmapbuf.  Since this argument is
always a pointer use a type of void * and cast to vm_offset_t in
vmapbuf.  (In CheriBSD we've altered vm_fault_quick_hold_pages to
take a pointer and check its bounds.)

In no other situtation does b_data contain a user pointer and vmapbuf
replaces b_data with the actual mapping.

Suggested by:	jhb
Reviewed by:	imp, jhb
Obtained from:	CheriBSD
MFC after:	1 week
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D26784
2020-10-21 16:00:15 +00:00
..
ffs_alloc.c Do not copy vp into f_data for DTYPE_VNODE files. 2020-09-15 21:55:21 +00:00
ffs_balloc.c ufs: clean up empty lines in .c and .h files 2020-09-01 21:23:00 +00:00
ffs_extern.h ufs: clean up empty lines in .c and .h files 2020-09-01 21:23:00 +00:00
ffs_inode.c ufs: clean up empty lines in .c and .h files 2020-09-01 21:23:00 +00:00
ffs_rawread.c vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
ffs_snapshot.c Move the pointers stored in the superblock into a separate 2020-06-19 01:02:53 +00:00
ffs_softdep.c ufs: clean up empty lines in .c and .h files 2020-09-01 21:23:00 +00:00
ffs_subr.c ufs: clean up empty lines in .c and .h files 2020-09-01 21:23:00 +00:00
ffs_suspend.c Use the devfs vnode rather than the mntfs vnode for permissions checks. 2020-03-09 15:55:13 +00:00
ffs_tables.c
ffs_vfsops.c Do not leak B_BARRIER. 2020-10-08 22:41:02 +00:00
ffs_vnops.c ufs: clean up empty lines in .c and .h files 2020-09-01 21:23:00 +00:00
fs.h Move the pointers stored in the superblock into a separate 2020-06-19 01:02:53 +00:00
softdep.h This commit enables a UFS filesystem to do a forcible unmount when 2020-05-25 23:47:31 +00:00