Re: [PATCH v10 1/7] x86/arch_prctl/64: Use SYSCALL_DEFINE2 to define sys_arch_prctl

From: Borislav Petkov
Date: Wed Nov 09 2016 - 04:47:19 EST


On Tue, Nov 08, 2016 at 10:39:50AM -0800, Kyle Huey wrote:

<--- Add commit message here.

> Signed-off-by: Kyle Huey <khuey@xxxxxxxxxxxx>
> ---
> arch/x86/kernel/process_64.c | 3 ++-
> arch/x86/um/syscalls_64.c | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)

...

> void arch_switch_to(struct task_struct *to)
> {
> if ((to->thread.arch.fs == 0) || (to->mm == NULL))
> return;
>
> base-commit: e3a00f68e426df24a5fb98956a1bd1b23943aa1e

This looks like some tracking thing. It gets ignored by tools though...

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--