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


Groups > linux.kernel > #1349468

Re: [PATCHv2 0/3] KASAN: clean stale poison upon cold re-entry to kernel

From Mark Rutland <mark.rutland@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCHv2 0/3] KASAN: clean stale poison upon cold re-entry to kernel
Date 2016-03-03 19:20 +0100
Message-ID <r8G0W-2zu-11@gated-at.bofh.it> (permalink)
References <r8ELv-1ze-11@gated-at.bofh.it> <r8F4T-1WU-17@gated-at.bofh.it> <r8FxU-29v-15@gated-at.bofh.it> <r8FxU-29v-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 03, 2016 at 06:45:55PM +0100, Alexander Potapenko wrote:
> On Thu, Mar 3, 2016 at 6:40 PM, Mark Rutland <mark.rutland@arm.com> wrote:
> > Hi,
> >
> > On Thu, Mar 03, 2016 at 06:17:31PM +0100, Alexander Potapenko wrote:
> >> Please replace "ASAN" with "KASAN".
> >>
> >> On Thu, Mar 3, 2016 at 5:54 PM, Mark Rutland <mark.rutland@arm.com> wrote:
> >> > Functions which the compiler has instrumented for ASAN place poison on
> >> > the stack shadow upon entry and remove this poison prior to returning.

[...]

> > For the above, and the rest of the series, ASAN consistently refers to
> > the compiler AddressSanitizer feature, and KASAN consistently refers to
> > the Linux-specific infrastructure. A simple s/[^K]ASAN/KASAN/ would
> > arguably be wrong (e.g. when referring to GCC behaviour above).
> I don't think there's been any convention about the compiler feature
> name, we usually talked about ASan as a userspace tool and KASAN as a
> kernel-space one, although they share the compiler part.

Ah, ok.

In future I'll speak in terms of "AddressSanitizer instrumentation" or
something like that, as that's fairly unambigious.

> > If there is a this needs rework, then I'm happy to s/[^K]ASAN/ASan/ to
> > follow the usual ASan naming convention and avoid confusion. Otherwise,
> > spinning a v3 is simply churn.
> I don't insist on changing this, I should've chimed in before.
> Feel free to retain the above patch description.

No worries, thanks for the info.

Thanks,
Mark.

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


Thread

[PATCHv2 0/3] KASAN: clean stale poison upon cold re-entry to kernel Mark Rutland <mark.rutland@arm.com> - 2016-03-03 18:00 +0100
  [PATCHv2 1/3] kasan: add functions to clear stack poison Mark Rutland <mark.rutland@arm.com> - 2016-03-03 18:00 +0100
  Re: [PATCHv2 0/3] KASAN: clean stale poison upon cold re-entry to kernel Alexander Potapenko <glider@google.com> - 2016-03-03 18:20 +0100
    Re: [PATCHv2 0/3] KASAN: clean stale poison upon cold re-entry to kernel Alexander Potapenko <glider@google.com> - 2016-03-03 18:50 +0100
      Re: [PATCHv2 0/3] KASAN: clean stale poison upon cold re-entry to  kernel Mark Rutland <mark.rutland@arm.com> - 2016-03-03 19:20 +0100
    Re: [PATCHv2 0/3] KASAN: clean stale poison upon cold re-entry to  kernel Mark Rutland <mark.rutland@arm.com> - 2016-03-03 18:50 +0100

csiph-web