projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for specifying UID/GID
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 873a0ba68e4884f50f457bb0786efe32ca8e1878..95c7efb434ec9c8e17a35493b1e0da81c3e7ef22 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-181,6
+181,8
@@
static struct thread_data *get_new_job(int global, struct thread_data *parent)
td = &threads[thread_number++];
*td = *parent;
+ td->o.uid = td->o.gid = -1U;
+
dup_files(td, parent);
options_mem_dupe(td);