Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1606040

Re: [PATCHv3] x86/mm: set x32 syscall bit in SET_PERSONALITY()

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCHv3] x86/mm: set x32 syscall bit in SET_PERSONALITY()
Date 2017-03-21 23:40 +0100
Message-ID <tnABA-1iQ-15@gated-at.bofh.it> (permalink)
References <tnzm9-yy-7@gated-at.bofh.it> <tnArT-1fs-9@gated-at.bofh.it> <tnArT-1fs-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 21 Mar 2017, hpa@zytor.com wrote:

> On March 21, 2017 3:21:13 PM PDT, Thomas Gleixner <tglx@linutronix.de> wrote:
> >On Tue, 21 Mar 2017, Dmitry Safonov wrote:
> >> v3:
> >> - clear x32 syscall flag during x32 -> x86-64 exec() (thanks, HPA).
> >
> >For correctness sake, this wants to be cleared in the IA32 path as
> >well. It's not causing any harm, but ....
> >
> >I'll amend the patch.
> >
> >Thanks,
> >
> >	tglx
>
> Since the i386 syscall namespace is totally separate (and different),
> should we simply change the system call number to the appropriate
> sys_execve number?

That should work as well and would be more intuitive.

Thanks,

	tglx

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCHv3] x86/mm: set x32 syscall bit in SET_PERSONALITY() hpa@zytor.com - 2017-03-21 23:30 +0100
  Re: [PATCHv3] x86/mm: set x32 syscall bit in SET_PERSONALITY() Thomas Gleixner <tglx@linutronix.de> - 2017-03-21 23:40 +0100

csiph-web