opnsense-src/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 Implement chflagsat(2) system call, similar to fchmodat(2), but operates on 2013-03-21 22:59:01 +00:00
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 Add firmware for the Intel 2030 and variants. 2013-08-11 01:09:16 +00:00
crypto Fix const propagation issues to make GCC happy. 2013-07-11 16:27:11 +00:00
ddb Small textdump enhancements. 2012-11-01 04:07:08 +00:00
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 rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
geom Change the way that unmapped I/O capability is advertised. 2013-08-15 22:52:39 +00:00
gnu/fs/reiserfs Garbage collect XFS bits which are now already completely disconnected 2013-03-02 15:33:54 +00:00
i386 Add process descriptors support to the GENERIC kernel. It is already being 2013-08-18 10:21:29 +00:00
ia64 Add process descriptors support to the GENERIC kernel. It is already being 2013-08-18 10:21:29 +00:00
isa
kern Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. 2013-08-21 17:45:00 +00:00
kgssapi Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
libkern Fix watchdog pretimeout. 2013-07-27 20:47:01 +00:00
mips Add a missing break. 2013-08-12 00:38:47 +00:00
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 Add const qualifier to the dst parameter of the ifnet if_output method. 2013-04-26 12:50:32 +00:00
netgraph Add constant for PPP-Max-PayLoad tag. 2013-07-23 10:25:34 +00:00
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 Remove the large part of struct ipsecstat. Only few fields of this 2013-07-23 14:14:24 +00:00
netipx Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netnatm Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netpfil Add m_clrprotoflags() to clear protocol specific mbuf flags at up and 2013-08-19 13:27:32 +00:00
netsmb Remove a reference to LK_DRAIN now that lockmgr(9) is gone from this 2013-06-28 20:21:13 +00:00
nfs Changes to allow using BOOTP_NFSROOT and mounting an nfs root filesystem 2013-07-31 19:14:00 +00:00
nfsclient A problem with the old NFS client where large writes to large files 2013-07-04 00:54:23 +00:00
nfsserver - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nlm Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ofed Stop an ipoib interface before detaching it. 2013-08-20 18:08:06 +00:00
opencrypto Make sendfile() a method in the struct fileops. Currently only 2013-08-15 07:54:31 +00:00
pc98 Add process descriptors support to the GENERIC kernel. It is already being 2013-08-18 10:21:29 +00:00
pci Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
powerpc Add process descriptors support to the GENERIC kernel. It is already being 2013-08-18 10:21:29 +00:00
rpc Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
security Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. 2013-08-21 17:45:00 +00:00
sparc64 Add process descriptors support to the GENERIC kernel. It is already being 2013-08-18 10:21:29 +00:00
sys Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. 2013-08-21 17:45:00 +00:00
teken
tools Further refine the handling of stop signals in the NFS client. The 2013-02-21 19:02:50 +00:00
ufs This bug fix is in a code path in rename taken when there is a 2013-08-06 16:50:05 +00:00
vm Addendum to r254141: Allow recursion on the free pages queues lock in 2013-08-21 15:31:43 +00:00
x86 Call set_i8254_freq with MODE_STOP (0) rather than a magic number of 0. 2013-08-15 17:21:06 +00:00
xdr Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
xen Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
Makefile Remove netncp cscope entry missed in r248097 2013-03-12 14:21:52 +00:00