Re: [PATCH] mm: rcu-protected get_mm_exe_file()

From: Davidlohr Bueso
Date: Mon Mar 16 2015 - 10:50:34 EST


On Mon, 2015-03-16 at 15:07 +0100, Oleg Nesterov wrote:
> 3. and we can remove down_write(mmap_sem) from prctl paths.
>
> Actually we can do this even without xchg() above, but we might
> want to kill MMF_EXE_FILE_CHANGED and test_and_set_bit() check.

Yeah I was waiting for security folks input about this, otherwise this
still doesn't do it for me as we still have to deal with mmap_sem.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/