Fix remote_write implementation

This commit is contained in:
topjohnwu
2021-01-06 21:56:29 -08:00
parent 18b86e4fd2
commit cd23d27048
3 changed files with 4 additions and 5 deletions

View File

@@ -47,10 +47,6 @@ pid_set attaches;
* Utils
********/
static inline long xptrace(int request, pid_t pid, void *addr, uintptr_t data) {
return xptrace(request, pid, addr, reinterpret_cast<void *>(data));
}
static inline int read_ns(const int pid, struct stat *st) {
char path[32];
sprintf(path, "/proc/%d/ns/mnt", pid);