freebsd-dev/sys
Rick Macklem 48e4857859 Update copy_file_range(2) to be Linux5 compatible.
The current linux man page and testing done on a fairly recent linux5.n
kernel have identified two changes to the semantics of the linux
copy_file_range system call.
Since the copy_file_range(2) system call is intended to be linux compatible
and is only currently in head/current and not used by any commands,
it seems appropriate to update the system call to be compatible with
the current linux one.
The first of these semantic changes was changed to be compatible with
linux5.n by r354564.
For the second semantic change, the old linux man page stated that, if
infd and outfd referred to the same file, EBADF should be returned.
Now, the semantics is to allow infd and outfd to refer to the same file
so long as the byte ranges defined by the input file offset, output file offset
and len does not overlap. If the byte ranges do overlap, EINVAL should be
returned.
This patch modifies copy_file_range(2) to be linux5.n compatible for this
semantic change.
2019-11-10 01:08:14 +00:00
..
amd64 vmm: pass M_WAITOK to uma_zalloc when allocating FPU save area 2019-11-08 16:30:55 +00:00
arm bcm2835: commit missing constant from r354560 2019-11-08 20:53:56 +00:00
arm64 Remove explicit declaration of rk_clk_fract_set_freq() function 2019-11-08 19:29:14 +00:00
bsm
cam Add GEOM attribute to report physical device name, and report it 2019-11-09 17:30:19 +00:00
cddl MFV r354377: 10554 Implemented zpool sync command 2019-11-07 11:18:28 +00:00
compat linux_renameat2: improve flag checks 2019-11-07 15:51:44 +00:00
conf Add new iwm(4) files to sys/conf/files. 2019-11-08 20:47:59 +00:00
contrib zstd: Add an Xlist and document use during import 2019-11-06 06:50:02 +00:00
crypto Fix the armv8 crypto driver after r354170. 2019-10-30 10:41:10 +00:00
ddb ddb(4): Add some support for lexing IPv6 addresses 2019-09-09 16:32:23 +00:00
dev generic_ehci_fdt: Fix compile when EXT_RESOURCES isn't present 2019-11-09 22:25:45 +00:00
dts dtso: allwinner: Add an overlay for H3 thermal node 2019-08-24 13:26:34 +00:00
fs Replace OBJ_MIGHTBEDIRTY with a system using atomics. Remove the TMPFS_DIRTY 2019-10-29 21:06:34 +00:00
gdb gdb(4): Implement support for NoAckMode 2019-10-17 22:37:25 +00:00
geom Add GEOM attribute to report physical device name, and report it 2019-11-09 17:30:19 +00:00
gnu arm: dts: ti: Fix mmc3 instance by setting it to disabled 2019-10-07 08:11:49 +00:00
i386 vmm: pass M_WAITOK to uma_zalloc when allocating FPU save area 2019-11-08 16:30:55 +00:00
isa
kern Update copy_file_range(2) to be Linux5 compatible. 2019-11-10 01:08:14 +00:00
kgssapi Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
libkern Rename the macros to extract a single arm64 ID field. 2019-10-30 10:06:57 +00:00
mips Remove an outdated assertion. 2019-11-04 21:06:06 +00:00
modules iwm: Add device configuration definitions for 9000-series chips. 2019-11-07 23:35:54 +00:00
net sysctl_rtsock() has all necessary locking and doesn't need Giant to run. 2019-11-07 19:06:18 +00:00
net80211 Don't use if_maddr_rlock() in 802.11, use epoch(9) directly instead. 2019-10-10 23:55:33 +00:00
netgraph Fix regression from r353026. Pointer was increased instead of value 2019-11-02 03:09:17 +00:00
netinet Remove now unused INP_INFO_RLOCK macros. 2019-11-07 22:26:54 +00:00
netinet6 frag6: properly handle atomic fragments according to RFCs. 2019-11-08 14:36:44 +00:00
netipsec Widen NET_EPOCH coverage. 2019-10-07 22:40:05 +00:00
netpfil pf: Must be in NET_EPOCH to call icmp_error 2019-10-18 03:36:26 +00:00
netsmb Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
nfs
nfsclient
nfsserver
nlm
ofed VLAN_TRUNKDEV() requires epochification in ibcore after r353292. 2019-10-16 08:56:07 +00:00
opencrypto kTLS support for TLS 1.3 2019-09-27 19:17:40 +00:00
powerpc powerpc/booke: Only handle kernel page faults in KVA range 2019-11-08 04:26:19 +00:00
riscv RISC-V: Remove EARLY_AP_STARTUP from GENERIC 2019-11-02 19:33:02 +00:00
rpc Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
security Define macro VM_MAP_ENTRY_FOREACH for enumerating the entries in a vm_map. 2019-10-08 07:14:21 +00:00
sparc64 Split out a more generic debugnet(4) from netdump(4) 2019-10-17 16:23:03 +00:00
sys kvm: fix types for cross-debugging 2019-11-08 14:51:09 +00:00
teken Adjust teken to allow build as part of loader 2019-09-05 18:07:40 +00:00
tests
tools fw_stub.awk: use @generated tag in generated files 2019-09-11 13:35:22 +00:00
ufs Replace OBJ_MIGHTBEDIRTY with a system using atomics. Remove the TMPFS_DIRTY 2019-10-29 21:06:34 +00:00
vm For vm_map, #defining DIAGNOSTIC to turn on full assertion-based 2019-11-09 17:08:27 +00:00
x86 revert r354482, checking for XENHVM was a wrong way of checking for Xen 2019-11-07 21:43:31 +00:00
xdr
xen
Makefile