mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 12:20:54 -05:00
Even though copy_file_range has a file-system agnostic version, it still fails on devfs (perhaps because the file descriptor is non-seekable?) In that case, fallback to old-fashioned read/write. Fixes "cp /dev/null /tmp/null" PR: 249248 Reported by: Michael Butler Reviewed by: mjg MFC-With: 365549 Differential Revision: https://reviews.freebsd.org/D26395 |
||
|---|---|---|
| .. | ||
| cp.1 | ||
| cp.c | ||
| extern.h | ||
| Makefile | ||
| Makefile.depend | ||
| utils.c | ||