1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys
Konstantin Belousov 940cb0e2bb Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd.
Add MAC framework entries for posix shm read and write.

Do not allow implicit extension of the underlying memory segment past
the limit set by ftruncate(2) by either of the syscalls.  Read and
write returns short i/o, lseek(2) fails with EINVAL when resulting
offset does not fit into the limit.

Discussed with:	alc
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
2013-08-21 17:45:00 +00:00
..
amd64 Do not create superpage mappings in the iommu. 2013-08-20 06:46:40 +00:00
arm Add support for uarts other than the serial console in TI OMAP SoCs. 2013-08-21 14:33:02 +00:00
boot Add support for uarts other than the serial console in TI OMAP SoCs. 2013-08-21 14:33:02 +00:00
bsm
cam Fix the (unused for now) SCSI_PROTO_iSCSI define to match style(9). 2013-08-21 07:45:47 +00:00
cddl Enhance the ZFS vdev layer to maintain both a logical and a physical 2013-08-21 04:10:24 +00:00
compat Regenerate after r254491. 2013-08-18 13:38:39 +00:00
conf Allow UART_POLL_FREQ to be set as a kernel option as well as via tunable 2013-08-19 15:51:30 +00:00
contrib
crypto
ddb
dev Add support for uarts other than the serial console in TI OMAP SoCs. 2013-08-21 14:33:02 +00:00
fs Make the seek a method of the struct fileops. 2013-08-21 17:36:01 +00:00
gdb
geom
gnu/fs/reiserfs
i386
ia64
isa
kern Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. 2013-08-21 17:45:00 +00:00
kgssapi
libkern
mips
modules Fix 'make depend'. 2013-08-21 08:01:52 +00:00
net After r241616 properly export ifi_baudrate_pf in the 32bit compat case. 2013-08-20 14:35:17 +00:00
net80211 Reorder the mbuf defines to make more sense and group related flags 2013-08-19 14:25:11 +00:00
netatalk
netgraph
netinet Reorder the mbuf defines to make more sense and group related flags 2013-08-19 14:25:11 +00:00
netinet6 Add m_clrprotoflags() to clear protocol specific mbuf flags at up and 2013-08-19 13:27:32 +00:00
netipsec
netipx
netnatm
netpfil Add m_clrprotoflags() to clear protocol specific mbuf flags at up and 2013-08-19 13:27:32 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Stop an ipoib interface before detaching it. 2013-08-20 18:08:06 +00:00
opencrypto
pc98
pci
powerpc
rpc
security Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. 2013-08-21 17:45:00 +00:00
sparc64
sys Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. 2013-08-21 17:45:00 +00:00
teken
tools
ufs
vm Addendum to r254141: Allow recursion on the free pages queues lock in 2013-08-21 15:31:43 +00:00
x86
xdr
xen
Makefile