From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9322C10F13 for ; Thu, 11 Apr 2019 15:48:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8352F217D4 for ; Thu, 11 Apr 2019 15:48:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726664AbfDKPsg (ORCPT ); Thu, 11 Apr 2019 11:48:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40282 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726391AbfDKPsf (ORCPT ); Thu, 11 Apr 2019 11:48:35 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5C694301BEDF; Thu, 11 Apr 2019 15:48:35 +0000 (UTC) Received: from treble (ovpn-120-231.rdu2.redhat.com [10.10.120.231]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5D88B5D9C4; Thu, 11 Apr 2019 15:48:29 +0000 (UTC) Date: Thu, 11 Apr 2019 10:48:27 -0500 From: Josh Poimboeuf To: Joe Lawrence Cc: Masahiro Yamada , Linux Kernel Mailing List , live-patching@vger.kernel.org, Linux Kbuild mailing list , Jessica Yu , Jiri Kosina , Joao Moreira , Konstantin Khlebnikov , Michael Matz , Miroslav Benes , Nicolai Stange , Petr Mladek Subject: Re: [PATCH v3 1/9] livepatch: Create and include UAPI headers Message-ID: <20190411154827.v2vkxlc2ecqkxyjv@treble> References: <20190410155058.9437-1-joe.lawrence@redhat.com> <20190410155058.9437-2-joe.lawrence@redhat.com> <141bbc68-95a7-3444-08a5-3794b6dc84ce@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <141bbc68-95a7-3444-08a5-3794b6dc84ce@redhat.com> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Thu, 11 Apr 2019 15:48:35 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 wrote: > > > > > > From: Josh Poimboeuf > > > > > > 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