Add support for FUSE passthrough
Some checks are pending
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run

This commit is contained in:
trapexit 2025-06-05 23:47:42 -05:00 • committed by GitHub
parent 92312c8507
commit e310d24615
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
412 changed files with 43707 additions and 17432 deletions

View file

@ -19,6 +19,7 @@
#pragma once
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
@ -32,6 +33,10 @@ namespace fs
fstat(const int fd_,
struct stat *st_)
{
return ::fstat(fd_,st_);
int rv;
rv = ::fstat(fd_,st_);
return ((rv == -1) ? -errno : rv);
}
}