On Sun, Feb 18, 2024 at 09:40:58AM +0100, Christophe Leroy wrote: > set_memory_ro() and set_memory_rw() can fail, leaving memory > unprotected. > > Take the returned value into account and abort in case of > failure. > > Signed-off-by: Christophe Leroy <[email protected]>
More set_memory* consumers! :) Error paths look good to me. Reviewed-by: Kees Cook <[email protected]> -- Kees Cook
