committer filter by committer.
@path/to/ filter by path in repository.
committer@path/to/ filter by committer AND path in repository.
abdef0123 filter by commit's SHA hash.
rNNN filter by SVN revision.
rNNN-rMMM filter by SVN revisions range (inclusive).
Multiple filters can be specified separated by spaces or comas in which case they'll be combined using OR operator.
|2c28cd09||hselasky||June 25, 2022, 10:01 a.m.||cuse(3): Remove PAGE_SIZE from libcuse.|
|6c4b6f55||hselasky||June 25, 2022, 10:01 a.m.||busdma: Protect ARM busdma bounce page counters using the bounce page lock.
In bus_dmamap_unload() on ARM, the counters for free_bpages and reserved_bpages appear to be vulnerable to unprotected read-modify-write operations that result in accounting that looks like a page leak. This was noticed on a 2GB quad core i.MX6 system that has more than one device attached via FTDI based USB serial connection. Submitted by: John Hein <email@example.com> Differential Revision: https://reviews.freebsd.org/D35553 PR: 264836 MFC after: 3 days Sponsored by: NVIDIA Networkingcgit
|61c74fb6||dougm||June 25, 2022, 7:40 a.m.||rb_tree: optimize tree rotation
The RB_ROTATE macros begin with fetching a field via a pointer. In most cases, that value is one that has already been pulled into a register, and the compiler cannot infer that. So, to eliminate those needless fetches, have the caller of the RB_ROTATE macros present the data in the third macro parameter, rather than having the macro fetch it. Differential Revision: https://reviews.freebsd.org/D35520cgit
|e3b31e23||pho||June 25, 2022, 6:40 a.m.||stress2: Added two syzkaller reproducers|
|25a1b1f3||pho||June 25, 2022, 6:21 a.m.||stress2: Added reagression tests
|eeb46578||alc||June 25, 2022, 5:59 a.m.||busdma_iommu: Fine-grained locking for the dmamap's map list|
|c11e64ce||rmacklem||June 24, 2022, 8:56 p.m.||nfscommon: Clean up the code by removing the vnode_vtype() macro
The vnode_vtype() macro was used to make the code compatible with Mac OSX, for the Mac OSX port. For FreeBSD, this macro just obscured the code and, therefore, use of the macro has been deleted by previous commits. This commit deletes the, now unused, macro. This commit should not result in a semantics change.cgit
|1ebc14c9||rmacklem||June 24, 2022, 8:47 p.m.||nfscommon: Clean up the code by not using the vnode_vtype() macro
The vnode_vtype() macro was used to make the code compatible with Mac OSX, for the Mac OSX port. For FreeBSD, this macro just obscured the code, so avoid using it to clean up the code. This commit should not result in a semantics change.cgit
|235d960a||glebius||June 24, 2022, 4:09 p.m.||tests/unix_passfd: compile SOCK_STREAM and SOCK_DGRAM versions|
|ddc68905||glebius||June 24, 2022, 4:09 p.m.||libc/syslog: deprecate use of "/var/run/logpriv"
This additional socket was created in 2e89951b6f20 and 240d5a9b1ce76 to try workaround problems with classic PF_UNIX/SOCK_DGRAM sockets. With recent changes in kernel this trick is no longer needed, so the trick can be reverted. In syslogd(8) we would still create the socket for the next several major releases for compatibility. Differential revision: https://reviews.freebsd.org/D35305cgit
|f9e62cba||glebius||June 24, 2022, 4:09 p.m.||libc/syslog: fully deprecate and don't try to open "/dev/log"|
|458f475d||glebius||June 24, 2022, 4:09 p.m.||unix/dgram: smart socket buffers for one-to-many sockets
A one-to-many unix/dgram socket is a socket that has been bound with bind(2) and can get multiple connections. A typical example is /var/run/log bound by syslogd(8) and receiving multiple connections from libc syslog(3) API. Until now all of these connections shared the same receive socket buffer of the bound socket. This made the socket vulnerable to overflow attack. See 240d5a9b1ce for a historical attempt to workaround the problem. This commit creates a per-connection socket buffer for every single connected socket and eliminates the problem. The new behavior will optimize seldom writers over frequent writers. See added test case scenarios and code comments for more detailed description of the new behavior. Reviewed by: markj Differential revision: https://reviews.freebsd.org/D35303cgit
|1093f164||glebius||June 24, 2022, 4:09 p.m.||unix/dgram: reduce mbuf chain traversals in send(2) and recv(2)
o Use m_pkthdr.memlen from m_uiotombuf() o Modify unp_internalize() to keep track of allocated space and memory as well as pointer to the last buffer. o Modify unp_addsockcred() to keep track of allocated space and memory as well as pointer to the last buffer. o Record the datagram len/memlen/ctllen in the first (from) mbuf of the chain in uipc_sosend_dgram() and reuse it in uipc_soreceive_dgram(). Reviewed by: markj Differential revision: https://reviews.freebsd.org/D35302cgit
|9b841b0e||glebius||June 24, 2022, 4:09 p.m.||m_uiotombuf: write total memory length of the allocated chain in pkthdr
Data allocated by m_uiotombuf() usually goes into a socket buffer. We are interested in the length of useful data to be added to sb_acc, as well as total memory used by mbufs. The later would be added to sb_mbcnt. Calculating this value at allocation time allows to save on extra traversal of the mbuf chain. Reviewed by: markj Differential revision: https://reviews.freebsd.org/D35301cgit
|a7444f80||glebius||June 24, 2022, 4:09 p.m.||unix/dgram: use minimal possible socket buffer for PF_UNIX/SOCK_DGRAM|