opnsense-src/sys
Alan Somers c7fe00ae40 fusefs: correctly set lock owner during FUSE_SETLK
During FUSE_SETLK, the owner field should uniquely identify the calling
process.  The fusefs module now sets it to the process's pid.
Previously, it expected the calling process to set it directly, which
was wrong.

libfuse also apparently expects the owner field to be set during
FUSE_GETLK, though I'm not sure why.

PR:		256005
Reported by:	Agata <chogata@moosefs.pro>
Reviewed by:	pfg
Differential Revision: https://reviews.freebsd.org/D30622

(cherry picked from commit 18b19f8c6e)
2021-07-27 11:44:28 -06:00
..
amd64 Do not call FreeBSD-ABI specific code for all ABIs 2021-07-22 01:11:52 +03:00
arm arm: dedup counter(9) address calculation 2021-07-25 07:00:14 +00:00
arm64 arm64: allwinner: Add r_intc driver 2021-07-22 19:30:21 +02:00
bsm
cam mmc_sim: Make XPT_MMC_GET_TRAN_SETTINGS fully async 2021-07-22 19:26:47 +02:00
cddl fbt: Remove some handling for multiple CTF containers 2021-04-15 21:27:24 -04:00
compat cloudabi and linux ABIs: do not call umtx_thread_cleanup() from thr_exit syscall 2021-07-22 01:11:52 +03:00
conf pf: fix LINT build 2021-07-27 09:45:23 +02:00
contrib ibcore: Declare ib_post_send() and ib_post_recv() arguments const 2021-07-26 18:04:32 +02:00
crypto armv8crypto: note derivation in armv8_crypto_wrap.c 2021-03-22 13:14:51 -03:00
ddb ddb: reliably fail with ambiguous commands 2021-07-02 14:13:24 -07:00
dev uart: Fix an out-of-bounds read in ns8250_bus_probe() 2021-07-26 21:46:34 -04:00
dts arm: allwinner: dtb: Add overlays to disable SD/MMC node 2021-07-22 19:29:21 +02:00
fs fusefs: correctly set lock owner during FUSE_SETLK 2021-07-27 11:44:28 -06:00
gdb gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
geom gmirror: Zero the metadata block before writing 2021-07-26 21:47:45 -04:00
gnu
i386 Do not call FreeBSD-ABI specific code for all ABIs 2021-07-22 01:11:52 +03:00
isa Remove more remnants of sio(4) 2021-04-14 09:19:49 -04:00
kern blist: Correct the node count computed in blist_create() 2021-07-26 21:47:20 -04:00
kgssapi
libkern Remove incorrect __restricted labels from strcspn 2021-07-21 10:13:10 -06:00
mips Do not call FreeBSD-ABI specific code for all ABIs 2021-07-22 01:11:52 +03:00
modules pf: syncookie support 2021-07-27 09:42:25 +02:00
net pf: clean up syncookie callout on vnet shutdown 2021-07-27 09:45:41 +02:00
net80211 net80211/LinuxKPI: add more radiotap definitions 2021-07-18 00:35:03 +00:00
netgraph Consistently use the SOLISTENING() macro 2021-06-21 09:14:40 -04:00
netinet pf: syncookie support 2021-07-27 09:42:25 +02:00
netinet6 sctp: Fix errno in case of association setup failures 2021-07-13 20:30:57 +02:00
netipsec Add missing sockaddr length and family validation to various protocols 2021-05-17 13:43:07 -04:00
netpfil pf: clean up syncookie callout on vnet shutdown 2021-07-27 09:45:41 +02:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-06-02 09:34:47 -04:00
nfs
nfsclient
nfsserver
nlm
ofed Fix mismerge in OFED update 2021-07-26 18:12:35 +02:00
opencrypto cryptodev: Fix some input validation bugs 2021-05-14 09:58:54 -04:00
powerpc Do not call FreeBSD-ABI specific code for all ABIs 2021-07-22 01:11:52 +03:00
riscv Do not call FreeBSD-ABI specific code for all ABIs 2021-07-22 01:11:52 +03:00
rpc krpc: Acquire ref count of CLIENT for backchannel use 2021-06-26 16:03:41 -07:00
security mac: cheaper check for ifnet_create_mbuf and ifnet_check_transmit 2021-07-05 11:32:14 +00:00
sys cache: add cache_enter_time_flags 2021-07-25 06:59:56 +00:00
teken
tests tests: Revise FIB lookups per second benchmarking routines 2021-06-20 13:27:17 +02:00
tools makesyscalls.lua: improve generated file style(9) compliance 2021-05-19 20:31:54 -04:00
ufs ffs_softdep: force sync if journal is low in journal_check_space 2021-07-07 13:50:44 +03:00
vm Un-staticise vm_page_init_page() 2021-06-24 05:20:33 +03:00
x86 Consolidate machine/endian.h definitions 2021-06-24 20:42:56 -03:00
xdr
xen
Makefile