Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp551350imp; Wed, 20 Feb 2019 05:03:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IYAuQoYSHCveoKTF5JZYyd+cf71guFoxhrvYUNXC4/aFuj8ybPBriKo1evpP8ekk0CvAMwX X-Received: by 2002:a63:2c0e:: with SMTP id s14mr29453707pgs.132.1550667821698; Wed, 20 Feb 2019 05:03:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550667821; cv=none; d=google.com; s=arc-20160816; b=Un0kAgZNSwTPP6g/bw7Yxt2ztnmxWYeZU/gFNgWUkFtXoK/OZ+E6Y+ObohzSOtUzGO 8DsNLFo9SoI20Y3kojHWB7zZQYfDDIP+wf9ezNItn9uV3gEdxNC1eaG7EwiPm1TirKNC vcsgn7IXG6PnQ883gDwL3mBw5x9d4eK75QCGcUoqKfeJSUOOPpGuL6ZaeN0kuscFWn45 1HuoWkA1OzrJ0VdF43dAzzK9QJoigWD80nSIrVnhuNIpNy2BNmjkU1khpDY+Ew8ey8zm rAb5XgZYG73DSUUp9/F0p1/GLNwoibNCTq4G3YfetZtqMYO6Ka5JwQJULLaycUmb7yuF 2O6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=bMPSMuJ0KGCX7uhkf8i0MgJu+D/4q8d9zYTSiTyqcwg=; b=JRklfrwF2FUjSdB5FWX1O3mjKGj9uiSSib9xGxWp1g3y6wHE7A/C7CCwl4uCJXZ0p+ BsBXwkKy5SXU8m922kUDV/nBVvLNwqhiWGOagw9eIixY/OyPnb+CArd7MAoJXiYDpkt5 No8xzfXCMTgcwBOZ7N77eSxH+TE0/lkqjk9OD6EAgbxu6T7qaUhS60M1IDaO0XKKaEKW j80dRCgl5BM+q0ScXpFxBdnKdkWsvRGCZ9DGhWW5EXIH6BV48slwTpWa/VMywbR2cpMA ZHT1CpPbAK3uJSetvsWtFUYakj61cwSJ+MA1SN6Qei/INbhEBnaKjuSDuNl+Dd+Miggj vhqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k19si17785212pfi.258.2019.02.20.05.03.25; Wed, 20 Feb 2019 05:03:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728212AbfBTNBh (ORCPT + 99 others); Wed, 20 Feb 2019 08:01:37 -0500 Received: from mx2.suse.de ([195.135.220.15]:54204 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727828AbfBTNBg (ORCPT ); Wed, 20 Feb 2019 08:01:36 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A926EB130; Wed, 20 Feb 2019 13:01:35 +0000 (UTC) Date: Wed, 20 Feb 2019 14:01:35 +0100 (CET) From: Miroslav Benes To: Joao Moreira cc: live-patching@vger.kernel.org, pmladek@suse.cz, jikos@suse.cz, nstange@suse.de, jpoimboe@redhat.com, jeyu@kernel.org, matz@suse.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/8] livepatch: Create and include UAPI headers In-Reply-To: <20190130165446.19479-2-jmoreira@suse.de> Message-ID: References: <20190130165446.19479-1-jmoreira@suse.de> <20190130165446.19479-2-jmoreira@suse.de> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > diff --git a/include/uapi/linux/livepatch.h b/include/uapi/linux/livepatch.h > new file mode 100644 > index 000000000000..bc35f85fd859 > --- /dev/null > +++ b/include/uapi/linux/livepatch.h > @@ -0,0 +1,28 @@ > +/* > + * livepatch.h - Kernel Live Patching Core > + * > + * Copyright (C) 2016 Josh Poimboeuf > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License > + * as published by the Free Software Foundation; either version 2 > + * of the License, or (at your option) any later version. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * You should have received a copy of the GNU General Public License > + * along with this program; if not, see . > + */ People will ask to replace GPL boilerplate with SPDX tag. > +#ifndef _UAPI_LIVEPATCH_H > +#define _UAPI_LIVEPATCH_H > + > +#include #include is not necessary here, I think. > +#define KLP_RELA_PREFIX ".klp.rela." > +#define KLP_SYM_PREFIX ".klp.sym." > + > +#endif /* _UAPI_LIVEPATCH_H */ Miroslav