[lkml]   [2019]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] prctl: Don't compile some of prctl functions when CRUI
On Wed, Apr 17, 2019 at 02:23:50PM +0200, Michal Koutný wrote:
> Hi.
> I see this discussion somewhat faded away since the previous year.
> There was rework [1] that reduced (ab)use of mmap_sem in prctl
> functions.
> Actually, there still remains the down_write() in prctl_set_mm.
> I considered at least replacing it with the mm_struct.arg_lock +
> down_read() but then I learnt about this thread intending to remove that
> part completely. I wouldn't oppose if CRIU is the sole (aware) user.
> Ad the bot build issue, I could build the kernel both with
> fine after applying the two proposed patches.
> What is the current state? Perhaps, this change should be CCed to
> [1]

Hi! I've a bit vague memory what we've ended up with, but iirc there was
a problem with brk() syscall or similar. Then I think we left everything
as is. I think there is no much activity in this prctl area now as far
as i know (replying to what is current state).

 \ /
  Last update: 2019-04-17 14:39    [W:0.067 / U:2.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site