OFP: temporary ANON mmap() rewrite

This commit is contained in:
Balazs Gerofi
2018-06-07 07:16:49 +09:00
parent 2f0c2aae9e
commit 09f63483cc
9 changed files with 239 additions and 14 deletions

View File

@@ -1073,7 +1073,6 @@ out:
return ret;
}
/* NOTE: per-process data is refcounted.
* For every get call the user should call put. */
struct mcctrl_per_proc_data *mcctrl_get_per_proc_data(

View File

@@ -3522,6 +3522,7 @@ int main_loop(struct thread_data_s *my_thread)
if (ioctl(fd, MCEXEC_UP_TRANSFER, &trans) != 0) {
fprintf(stderr, "__NR_gettid(): error transfering TIDs\n");
exit(1);
}
free(tids);