Re: [PATCH v3 2/7] uaccess: Tell user_access_begin() if it's for a write or not

2020-01-23 Thread hpa
On January 23, 2020 11:57:57 AM PST, Linus Torvalds wrote: >On Thu, Jan 23, 2020 at 11:47 AM christophe leroy > wrote: >> >> I'm going to leave it aside, at least for the time being, and do it >as a >> second step later after evaluating the real performance impact. I'll >> respin tomorrow in that

Re: [PATCH 00/29] vmlinux.lds.h: Refactor EXCEPTION_TABLE and NOTES

2019-10-10 Thread hpa
On October 10, 2019 4:57:36 PM PDT, Kees Cook wrote: >On Thu, Oct 10, 2019 at 08:03:31PM +0200, Borislav Petkov wrote: >> On Thu, Sep 26, 2019 at 10:55:33AM -0700, Kees Cook wrote: >> > This series works to move the linker sections for NOTES and >> > EXCEPTION_TABLE into the RO_DATA area, where th

Re: [PATCH] Linux: Define struct termios2 in under _GNU_SOURCE [BZ #10339]

2019-04-18 Thread hpa
On April 18, 2019 4:09:07 AM PDT, Adhemerval Zanella wrote: > > >On 17/04/2019 19:04, H. Peter Anvin wrote: >> On 4/15/19 10:22 AM, Adhemerval Zanella wrote: New interfaces are only necessary for the handful of architectures >that don't have the speed fields *and* to space to put them i

Re: [PATCH] Linux: Define struct termios2 in under _GNU_SOURCE [BZ #10339]

2019-04-15 Thread hpa
On April 9, 2019 11:50:24 PM PDT, Florian Weimer wrote: >* hpa: > >> PowerPC doesn't need it at all. > >Because the definition would be the same as struct termios? > >I think we should still define struct termios2 using the struct termios >definition, and also d

Re: [PATCH] Linux: Define struct termios2 in under _GNU_SOURCE [BZ #10339]

2019-04-15 Thread hpa
e a POC [1] with the >aforementioned >>>> new interfaces. It has not been rebased against master, more >specially against >>>> my termios refactor to simplify the multiple architecture header >definitions, >>>> but I intend to use as a base. >>>

Re: [PATCH] Linux: Define struct termios2 in under _GNU_SOURCE [BZ #10339]

2019-04-09 Thread hpa
On April 9, 2019 4:47:30 AM MDT, Florian Weimer wrote: >struct termios2 is required for setting arbitrary baud rates on serial >ports. and have conflicting >definitions in the existing termios definitions, which means that it >is currently very difficult to use TCGETS2/TCSETS2 and struct termio

Re: [PATCH] Linux: Define struct termios2 in under _GNU_SOURCE [BZ #10339]

2019-04-09 Thread hpa
On April 9, 2019 4:47:30 AM MDT, Florian Weimer wrote: >struct termios2 is required for setting arbitrary baud rates on serial >ports. and have conflicting >definitions in the existing termios definitions, which means that it >is currently very difficult to use TCGETS2/TCSETS2 and struct termio