Re: [PATCH] Remove READ_IMPLIES_EXEC during restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux