diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2018-03-02 12:03:40 +0000 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2018-03-02 12:03:40 +0000 |
| commit | 0fecc645618380829406002fddc80b34be56c5f2 (patch) | |
| tree | c761c63b50cb00991db1097864d3c360dd64702a /ioreplay/src/mounts.c | |
| parent | 56f8cdff9aaa9bf00c5dc9441a7569374f2cbafb (diff) | |
Increase rlimits before dropping root
Diffstat (limited to 'ioreplay/src/mounts.c')
| -rw-r--r-- | ioreplay/src/mounts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ioreplay/src/mounts.c b/ioreplay/src/mounts.c index ac6f1d4..afa8376 100644 --- a/ioreplay/src/mounts.c +++ b/ioreplay/src/mounts.c @@ -111,7 +111,7 @@ void mounts_destroy(mounts_s *m) void mounts_trash(mounts_s *m) { options_s *opts = m->opts; - drop_root(opts->user); + set_limits_drop_root(opts->user); Put("Moving all old files to trash (of previous tests)..."); struct timeval tv; @@ -159,7 +159,7 @@ void mounts_trash(mounts_s *m) void mounts_purge(mounts_s *m) { options_s *opts = m->opts; - drop_root(opts->user); + set_limits_drop_root(opts->user); Out("Purging all data from the following directories:"); |
