freebsd-skq/sys/fs
jhb 3fab33edd0 The changes that introduced fo_mmap() treated all character device
mappings as if MAP_SHARED was always present since in general MAP_PRIVATE
is not permitted for character devices.  However, there is one exception
in that MAP_PRIVATE mappings are permitted for /dev/zero.

Only require a writable file descriptor (FWRITE) for shared, writable
mappings of character devices.  vm_mmap_cdev() will reject any private
mappings for other devices.

Reviewed by:	kib
Reported by:	sbruno (broke qemu cross-builds), peter
Differential Revision:	https://reviews.freebsd.org/D3316
2015-08-06 16:50:37 +00:00
..
autofs
cd9660
cuse
deadfs
devfs The changes that introduced fo_mmap() treated all character device 2015-08-06 16:50:37 +00:00
ext2fs - Remove some dead code copied from ffs. 2015-07-29 03:06:08 +00:00
fdescfs fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
fifofs
fuse
msdosfs
nandfs
nfs Make the size of the hash tables used by the NFSv4 server tunable. 2015-05-27 22:00:05 +00:00
nfsclient nfsclient: Protest loudly when GETATTR responses are invalid 2015-08-05 22:27:30 +00:00
nfsserver This patch fixes a problem where, if the NFSv4 server has a previous 2015-07-29 23:06:30 +00:00
nullfs Check suspendability on the mountpoint returned by VOP_GETWRITEMOUNT. 2015-07-05 22:37:33 +00:00
procfs The si_status field of the siginfo_t, provided by the waitid(2) and 2015-07-18 09:02:50 +00:00
pseudofs Hide vfs.pfs.trace variable if it is not used. 2015-05-24 18:11:22 +00:00
smbfs
tmpfs In tmpfs_chtimes(), remove checks on the nanosecond level when 2015-07-26 08:33:46 +00:00
udf
unionfs Check suspendability on the mountpoint returned by VOP_GETWRITEMOUNT. 2015-07-05 22:37:33 +00:00