Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5998729ybe; Tue, 10 Sep 2019 11:57:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5v1qcQttzvuogYww/H3bqGAJsb790HNipqel6ACM7zDCWYgt/bQztQ8dEG4KLbNor/ICW X-Received: by 2002:a17:906:52d7:: with SMTP id w23mr26010704ejn.228.1568141867353; Tue, 10 Sep 2019 11:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568141867; cv=none; d=google.com; s=arc-20160816; b=dpvAPZLwVJSlAS18U7SNK5UU5eYqTwOm+oLnPtp8DByvgMPXXkb/zpJsdEL9slSe0X Yac5ANhch9p0LNFvofKcAs9BE8zawbmTg9f79sz6VPt+LlceUWZZOD/3kRdeOar2WZvW koYtdhcpQONHkMHAFQgAFzvE99ffyfOrIU+tD15+THk9syYPhyFy8H4kcY3bxWui90xb FrJ1cdOSj70cwCti/q/C9ERhxV+DhZkwDqOavTvPqKvcfHWgCc+LcdOgCpTrpuF0wwis e7MmN46LfqahGizQO3a8+vpLby1y63Dkd4pcjR7zClXkdW+Qu/q8QO3GlegBvZPG7h6T 3Shw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=erwaox0KQegjEF70k5TnX2qoDQuWlO/oZz7eu2CybDk=; b=vBoSpu2v9V5q9x2YK9wri+Zps3MRtrERl0WBpGMQOM5Bo2b+82hSqt/ozXbK2ojM9l M6hcnYVaD8e3QE7T8u271UChzqJuDmJEBNoHcuCzZWa+CU8Y3i3fD5ifmVuiTbBjk7CD O6Z8Ee5k8w+QVAWlG7k2LlcPYSNRvq9cuBn2XqRqcZ932SRmjTvjI3nne+n2Rx7LuvC1 WHdoL0TbtOE7msiL6i3b/qI398UOaN64NAPKTPL1OTMXTjoCgrKlrZCM5QTCbVFcsfM9 iMq19LcK5E+eyXbr29P9XmOB5AsFppuN8nTDB2Dgxm3Gea6GFMCPO5nBv6Z5aOPgx2eG mS9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=U2yeuy49; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y15si9767078eje.204.2019.09.10.11.57.23; Tue, 10 Sep 2019 11:57:47 -0700 (PDT) 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; dkim=pass header.i=@chromium.org header.s=google header.b=U2yeuy49; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732085AbfIJL4c (ORCPT + 99 others); Tue, 10 Sep 2019 07:56:32 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43664 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731924AbfIJL42 (ORCPT ); Tue, 10 Sep 2019 07:56:28 -0400 Received: by mail-wr1-f65.google.com with SMTP id q17so14903148wrx.10 for ; Tue, 10 Sep 2019 04:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=erwaox0KQegjEF70k5TnX2qoDQuWlO/oZz7eu2CybDk=; b=U2yeuy49oz2xrU00CSc0L8N5m7pK1clPrglgIMpG4rwgHeb78qd5OYUi+5Q7cHdFdC XxpH8vL5J5D5B50U8ksPia+n2rOTT3Efl9AwBmd+S3oN5n1wwszlZixPpAUvXef3tmqJ lxvRnOTGcuHYY2hfs0yzy76NJ53p+Zmof1EQ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=erwaox0KQegjEF70k5TnX2qoDQuWlO/oZz7eu2CybDk=; b=Nhf6v9jFTsSY8+PV9b+ZY6B1irUYJjzC+NBMwdEqF7MgMVL0JHqYtFWl/3q3u3VINB OZ171yXe6r6XBJecQwaXgNXUHifH/7sCHAzeJDKbeeSwnn4fj9dadklj/bfhpvUmrlJ7 h4zU6MgGrQ6ZtGtxskLH27gHvk9SvFsd/5nSOLuITjl5wVPieWFsomL50LsSvC+f9Lbw dY4UhuoBIw/QsAbbeExqd7xkTSVVWnwldfX6wkyXyiihGgNL1z2G/3aWbGybtKBSyG3h Q0XpWtZqYjZ84BMA7UnGLwvYQAjYG3c9I12AL+YLAaKbmypKaNYQPSrZi+3SeqDsdkQd vzew== X-Gm-Message-State: APjAAAUa3JCT4u4r6HMfaA4S66IelEXpeFYKyNgShEiR0yhlhoNhaUWH XHTHwlYtBygzzML+H/GLRnrCdyxe/Ek= X-Received: by 2002:adf:e947:: with SMTP id m7mr26845791wrn.178.1568116586919; Tue, 10 Sep 2019 04:56:26 -0700 (PDT) Received: from kpsingh-kernel.c.hoisthospitality.com (110.8.30.213.rev.vodafone.pt. [213.30.8.110]) by smtp.gmail.com with ESMTPSA id q19sm23732935wra.89.2019.09.10.04.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 04:56:26 -0700 (PDT) From: KP Singh To: linux-kernel@vger.kernel.org, bpf@vger.kernel.org, linux-security-module@vger.kernel.org Cc: Alexei Starovoitov , Daniel Borkmann , James Morris , Kees Cook , Thomas Garnier , Michael Halcrow , Paul Turner , Brendan Gregg , Jann Horn , Matthew Garrett , Christian Brauner , =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Florent Revest , Martin KaFai Lau , Song Liu , Yonghong Song , "Serge E. Hallyn" , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Nicolas Ferre , Stanislav Fomichev , Quentin Monnet , Andrey Ignatov , Joe Stringer Subject: [RFC v1 03/14] bpf: krsi: sync BPF UAPI header with tools Date: Tue, 10 Sep 2019 13:55:16 +0200 Message-Id: <20190910115527.5235-4-kpsingh@chromium.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190910115527.5235-1-kpsingh@chromium.org> References: <20190910115527.5235-1-kpsingh@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: KP Singh Signed-off-by: KP Singh --- tools/include/uapi/linux/bpf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index a5aa7d3ac6a1..32ab38f1a2fe 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -171,6 +171,7 @@ enum bpf_prog_type { BPF_PROG_TYPE_CGROUP_SYSCTL, BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE, BPF_PROG_TYPE_CGROUP_SOCKOPT, + BPF_PROG_TYPE_KRSI, }; enum bpf_attach_type { @@ -197,6 +198,7 @@ enum bpf_attach_type { BPF_CGROUP_UDP6_RECVMSG, BPF_CGROUP_GETSOCKOPT, BPF_CGROUP_SETSOCKOPT, + BPF_KRSI, __MAX_BPF_ATTACH_TYPE }; -- 2.20.1