Unverified Commit 2de2a1b5 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

intercept remove() call

parent dd98ff68
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -125,6 +125,10 @@ int __close(int fd) {
    return close(fd);
}

int remove(const char* path) {
   return unlink(path); 
}

int access(const char* path, int mask) __THROW {
    init_passthrough_if_needed();
    ld_logger->trace("{}() called path {} mask {}", __func__, path, mask);