Loading src/client/hooks.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,11 @@ #include <fcntl.h> static inline int with_errno(int ret) { return (ret < 0)? -errno : ret; } int hook_openat(int dirfd, const char *cpath, int flags, mode_t mode) { if(cpath == nullptr || cpath[0] == '\0') { Loading Loading
src/client/hooks.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,11 @@ #include <fcntl.h> static inline int with_errno(int ret) { return (ret < 0)? -errno : ret; } int hook_openat(int dirfd, const char *cpath, int flags, mode_t mode) { if(cpath == nullptr || cpath[0] == '\0') { Loading