rust/library/std/src
The8472 1316c786a0 Workaround for copy_file_range spuriously returning EOPNOTSUPP when attemted on a NFS mount under RHEL/CentOS 7.
The syscall is supposed to return ENOSYS in most cases but when calling it on NFS it may leak through
EOPNOTSUPP even though that's supposed to be handled by the kernel and not returned to userspace.
Since it returns ENOSYS in some cases anyway this will trip the  HAS_COPY_FILE_RANGE
detection anyway, so treat EOPNOTSUPP as if it were a ENOSYS.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.8_release_notes/deprecated_functionality#the_literal_copy_file_range_literal_call_has_been_disabled_on_local_file_systems_and_in_nfs
https://bugzilla.redhat.com/show_bug.cgi?id=1783554
2020-08-12 01:30:22 +02:00
..
collections Update the tracking issue number of map_into_keys_values 2020-08-08 16:35:54 +02:00
ffi mv std libs to library/ 2020-07-27 19:51:13 -05:00
io mv std libs to library/ 2020-07-27 19:51:13 -05:00
net prefer pattern matching over indexing 2020-08-11 16:07:39 +00:00
os mv std libs to library/ 2020-07-27 19:51:13 -05:00
prelude mv std libs to library/ 2020-07-27 19:51:13 -05:00
sync fix typos 2020-08-02 23:20:00 +08:00
sys Workaround for copy_file_range spuriously returning EOPNOTSUPP when attemted on a NFS mount under RHEL/CentOS 7. 2020-08-12 01:30:22 +02:00
sys_common Prevent __rust_begin_short_backtrace frames from being tail-call optimised away 2020-08-07 19:31:25 +01:00
thread Disallow missing unsafe blocks in unsafe fn in panicking.rs 2020-07-29 21:58:09 +02:00
alloc.rs Replace Memoryblock with NonNull<[u8]> 2020-08-04 18:03:34 +02:00
ascii.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
backtrace.rs std: Switch from libbacktrace to gimli 2020-07-28 16:34:01 -07:00
env.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
error.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
f32.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
f64.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fs.rs Update fs::remove_file docs 2020-07-29 08:18:01 +03:00
future.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
keyword_docs.rs Add an example about the behaviour of move and Fn* traits 2020-08-08 15:57:17 +02:00
lazy.rs Fix RefUnwindSafe & UnwinsSafe impls for lazy::SyncLazy 2020-07-28 09:51:08 +02:00
lib.rs Transmute between big endian s6_addr and [u16; 8]. 2020-08-10 00:50:26 +00:00
macros.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
memchr.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
num.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
panic.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
panicking.rs Rollup merge of #74200 - poliorcetics:std-panicking-unsafe-block-in-unsafe-fn, r=Mark-Simulacrum 2020-08-10 09:07:46 +09:00
path.rs Rollup merge of #75286 - pickfire:patch-9, r=jyn514 2020-08-10 09:07:52 +09:00
primitive_docs.rs Improve f32 and f64 primitive documentation 2020-07-28 17:41:58 +02:00
process.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
rt.rs Prevent __rust_begin_short_backtrace frames from being tail-call optimised away 2020-08-07 19:31:25 +01:00
time.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00