Probably best is to (a) save and restore the task's personality (regardless), and (b) in do_restart() (re)set the personality as we wish, with a clear comment about why and the fact that the 'real' personality is restore later. Oren. Dan Smith wrote: > OL> In fact, if elsewhere we restore current->personality of the task, > OL> then unless we move it to cr_read_mm(), it will overwrite it :( > > Should we move it or just remove RIE before we start the restart and > let the task regain the flag if it had it before? > _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers