Re: [PATCH v3 1/9] livepatch: Create and include UAPI headers

From: Josh Poimboeuf
Date: Thu Apr 11 2019 - 11:48:39 EST


On Thu, Apr 11, 2019 at 10:30:45AM -0400, Joe Lawrence wrote:
> On 4/10/19 8:32 PM, Masahiro Yamada wrote:
> > On Thu, Apr 11, 2019 at 12:52 AM Joe Lawrence <joe.lawrence@xxxxxxxxxx> wrote:
> > >
> > > From: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> > >
> > > Define klp prefixes in include/uapi/linux/livepatch.h, and use them for
> > > replacing hard-coded values in kernel/livepatch/core.c.
> > >
> > > [ ... snip ... ]
> >>
> > > diff --git a/include/uapi/linux/livepatch.h b/include/uapi/linux/livepatch.h
> > > new file mode 100644
> > > index 000000000000..bb86243de805
> > > --- /dev/null
> > > +++ b/include/uapi/linux/livepatch.h
> > > @@ -0,0 +1,17 @@
> > > +/* SPDX-License-Identifier: GPL-2.0 */
> >
> >
> > In my understanding, UAPI headers should be licensed under:
> >
> > /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
> >
> >
>
> Good eye, that is an interesting licensing detail. Easy enough to update
> assuming Josh (original author) is fine with adding the modifier.

Sure.

(and sorry, still behind on reviewing the rest of the changes...)

--
Josh