On Thu, Jul 6, 2017 at 5:45 AM, Eric W. Biederman <ebied...@xmission.com> wrote: > > How this is handled elsewhere in the code is to put the new values in > bprm. Putting new rlimits in bprm and changing them in flush_old_exec > or or setup_new_exec seems very sensible. It also allows for them to be > accessed before de_thread when setting up the new mm and we can still > fail. >
Makes sense to me. --Andy