From 0fecc645618380829406002fddc80b34be56c5f2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 2 Mar 2018 12:03:40 +0000 Subject: Increase rlimits before dropping root --- ioreplay/src/init/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ioreplay/src/init/init.c') diff --git a/ioreplay/src/init/init.c b/ioreplay/src/init/init.c index 988729e..e375379 100644 --- a/ioreplay/src/init/init.c +++ b/ioreplay/src/init/init.c @@ -103,7 +103,7 @@ status_e init_run(options_s *opts) mounts_init(i->mounts); // Don't do messy stuff as super user - drop_root(opts->user); + set_limits_drop_root(opts->user); // We need to clean up garbish from previous runs! if (opts->purge) -- cgit v1.2.3