Quoting Dan Smith (danms@xxxxxxxxxx): > This patch adds a spot in the task record to save the personality value > of the task_struct. > > It also masks out READ_IMPLIES_EXEC before starting to avoid read-only > maps being restored as read-exec. To avoid re-setting this flag too early, > it also introduces a "task_ctx" object to hold information that may be > collected when reading the task structure, but needs to be restored at a > later time (such as after the maps are read). Since there may be additional > settings that need to be deferred until the end of task restore, I decided > to add the context object and a "cleanup" function to wrap things up. > > Changes in v2: > - Change __u64 to __u32 in the cr_task_hdr > > Signed-off-by: Dan Smith <danms@xxxxxxxxxx> Acked-by: Serge Hallyn <serue@xxxxxxxxxx> _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers