fn enable_verity_on_copy<H: FsVerityHashValue>(
dirfd: impl AsFd,
fd: BorrowedFd<'_>,
) -> Result<OwnedFd, EnableVerityError>Expand description
Enable fs-verity on a new copy of fd, consuming fd and
returning the new copy. The copy is created via O_TMPFILE
relative to dirfd.