Re: [PATCH] seccomp: Use current_pt_regs()

From: Kees Cook
Date: Tue Sep 08 2020 - 16:02:50 EST

On Mon, 24 Aug 2020 15:59:21 +0300, Denis Efremov wrote:
> Modify seccomp_do_user_notification(), __seccomp_filter(),
> __secure_computing() to use current_pt_regs().

Applied, thanks!

[1/1] seccomp: Use current_pt_regs() instead of task_pt_regs(current)

I reworded your commit based on the thread and added one comment for
a weird case where task == current, hopefully that looks correct:

Kees Cook