Oren Laadan wrote: > > Serge E. Hallyn wrote: >> Quoting Dan Smith ([email protected]): >>> On s390, all tasks have READ_IMPLIES_EXEC set in current->personality, >>> which causes the restart process to map things like the stack and heap as >>> executable. During the restart process, remove this bit and restore the >>> original personality afterwards. >>> >>> This seems a little ugly, but I don't know that there's a better place for >>> it. >> Well imo the only other thing to do would be to do the same thing but >> just around the main restart_memory function. >> > > I second that. Added. >
In fact, if elsewhere we restore current->personality of the task, then unless we move it to cr_read_mm(), it will overwrite it :( Oren. _______________________________________________ Containers mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list [email protected] https://openvz.org/mailman/listinfo/devel
