Re: Q: arch/mips && __secure_computing(sd) with sd != NULL
From: Kees Cook
Date: Sat Jan 18 2025 - 15:25:49 EST
On Sat, Jan 18, 2025 at 05:22:38PM +0100, Oleg Nesterov wrote:
> Note that if we change arch/mips we can do more cleanups, in particular
> __secure_computing(sd) no longer needs the argument.
Yeah, seems like reasonable clean-up. The argument is a leftover from
x86 having sd pre-populated under certain paths.
--
Kees Cook