Does ERR mean the copying operation is not supported or allowed for this file or process, even though the operation was invoked correctly? */
| 88 | /* Does ERR mean the copying operation is not supported or allowed for |
| 89 | this file or process, even though the operation was invoked correctly? */ |
| 90 | static bool |
| 91 | is_CLONENOTSUP (int err) |
| 92 | { |
| 93 | return err == ENOSYS || err == ENOTTY || is_ENOTSUP (err) |
| 94 | || err == EINVAL || err == EBADF |
| 95 | || err == EXDEV || err == ETXTBSY |
| 96 | || err == EPERM || err == EACCES; |
| 97 | } |
| 98 | |
| 99 | /* Copy SRC_FD to DEST_FD, using the buffer *ABUF of size BUF_SIZE |
| 100 | for temporary storage, allocating the buffer lazily if *ABUF is null. |
no test coverage detected