Re: [PATCH 01/20] exit/doublefault: Remove apparently bogus comment about rewind_stack_do_exit

From: Kees Cook
Date: Thu Oct 21 2021 - 12:02:49 EST


On Wed, Oct 20, 2021 at 12:43:47PM -0500, Eric W. Biederman wrote:
> I do not see panic calling rewind_stack_do_exit anywhere, nor can I
> find anywhere in the history where doublefault_shim has called
> rewind_stack_do_exit. So I don't think this comment was ever actually
> correct.
>
> Cc: Andy Lutomirski <luto@xxxxxxxxxx>
> Fixes: 7d8d8cfdee9a ("x86/doublefault/32: Rewrite the x86_32 #DF handler and unify with 64-bit")
> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook