Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp1971231ybh; Sun, 4 Aug 2019 14:26:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJD9qSsyM6A40s3CNqJxc77iNoyupn4rx17/Mw8lkQktIV92p+wqGW+/6X06bKMwsRz1ES X-Received: by 2002:a17:902:7448:: with SMTP id e8mr141574821plt.85.1564953976560; Sun, 04 Aug 2019 14:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564953976; cv=none; d=google.com; s=arc-20160816; b=mcA7nBvVxbjHXGft2hON4gipUunccHhE9hCJLujkZRX9YzGQWmatcWyL4U27vUe48+ in8Oi8YbjXZRjrhc/9OmUr0fhsQuSEV3qpSbfCZFLm2UO/4CdUHr0l0GzYr7ksbnJiOL qMLK720DAyj9prNZWjH736Jnn9aLIOm1WbKMM4tZP8zxmdZMh/V1CheNT6RvutmB6z5d WJXvHFww3l8nxsgY8AvZfdISmw2OoE7mhWNLV0KmJ38m6FdiL7YspRO4YUmO1rC8+vqJ 63I3bvCQWZswN4CNS9Pft3WXw1hjKsFv2up/+BLiV0fsskY45wpTbFJ0xztjb76WZCEd AKmw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=X5gpk4lm+i+m9UzCnxM5i6Q9YO0ZcDFBQlf5ZYD8GVE=; b=fM4HQ0+gkmRCryHGWqFj40bdptWOtLCf3/NvJY9nQ0pj+nfZf3uZWlHXoJQUhoyLAO mzdRa9/YOhHNPeR5ktDBOCM439FfQb/HTV5T/FnBKWEBzwlGuhxKttFP6cb9M9az6eKl azVcXQ9mv9yDKGorSIVDcCgY1mdwvJUmUqLxvEuWvkHWBILx8EkQoriF0k73n9gDgUfu 9DDnH/VXGs4Tqhii2TOkaMid/2bPk6WGHYSaR0Zbu5GhFZYTnZLFUvpfwx/hp0eub1Cu /DPh6JiwTZyK95+ZuwZfZVVIiWlTjqN81KHGPsSFNC6wXTvzlamQOtljE4WEOGk7nOhC 7f3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lekensteyn.nl header.s=s2048-2015-q1 header.b="L/HAgjqP"; 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 12si48650857pgu.469.2019.08.04.14.25.48; Sun, 04 Aug 2019 14:26:16 -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=@lekensteyn.nl header.s=s2048-2015-q1 header.b="L/HAgjqP"; 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 S1726767AbfHDVY5 (ORCPT + 99 others); Sun, 4 Aug 2019 17:24:57 -0400 Received: from lekensteyn.nl ([178.21.112.251]:33015 "EHLO lekensteyn.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726561AbfHDVY5 (ORCPT ); Sun, 4 Aug 2019 17:24:57 -0400 X-Greylist: delayed 1860 seconds by postgrey-1.27 at vger.kernel.org; Sun, 04 Aug 2019 17:24:56 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lekensteyn.nl; s=s2048-2015-q1; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=X5gpk4lm+i+m9UzCnxM5i6Q9YO0ZcDFBQlf5ZYD8GVE=; b=L/HAgjqPM9PEqP9Lj2Ck2jCyiB5q6Xjl9+1HFCxAqifWzRAG18wOjQrboErcEvRYGGyeBEerEPmBuSB2bRD9ukpOmfspM0Fh1++DpZMPAtzHmiNTuND6CwoxXEe0LwBBoVr5Q0i67cTnpJ0acH3uApTwGgwTQiKcpYH+OkQ62jcg9k8SjKznsL0nEw8uo+iQf5UicjGk/zHzOjBIV6+SilVEDme3x7mAjoNiQ+K+sS0KtCoYXUDTZQlFnqZWu4AWI4F/GEf2PwRB8M8x+CX0QK+wl05n7KL17xlE4IQ/1G8ZboefZ7n4KqqB4mwoNIByAfu1y7YpegJ5JDcMYEMnQg==; Received: by lekensteyn.nl with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1huNVq-0006PH-Jc; Sun, 04 Aug 2019 22:53:55 +0200 From: Peter Wu To: Michael Kerrisk Cc: linux-man@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] bpf.2: update enum bpf_map_type and enum bpf_prog_type Date: Sun, 4 Aug 2019 21:53:53 +0100 Message-Id: <20190804205353.2956-1-peter@lekensteyn.nl> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Spam-Status: No, hits=0.8 required=5.0 tests=NO_RELAYS=-0.001,UPPERCASE_50_75=0.791 autolearn=no autolearn_force=no Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Taken from Linux v5.3-rc2. Add a reference to the header file to save the future reader some time figuring out whether more entries exist. Signed-off-by: Peter Wu --- man2/bpf.2 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/man2/bpf.2 b/man2/bpf.2 index 5a766aaa8..51e3bd111 100644 --- a/man2/bpf.2 +++ b/man2/bpf.2 @@ -367,6 +367,14 @@ enum bpf_map_type { BPF_MAP_TYPE_DEVMAP, BPF_MAP_TYPE_SOCKMAP, BPF_MAP_TYPE_CPUMAP, + BPF_MAP_TYPE_XSKMAP, + BPF_MAP_TYPE_SOCKHASH, + BPF_MAP_TYPE_CGROUP_STORAGE, + BPF_MAP_TYPE_REUSEPORT_SOCKARRAY, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE, + BPF_MAP_TYPE_QUEUE, + BPF_MAP_TYPE_STACK, + /* See /usr/include/linux/bpf.h for the full list. */ }; .EE .in @@ -756,6 +764,25 @@ enum bpf_prog_type { BPF_PROG_TYPE_KPROBE, BPF_PROG_TYPE_SCHED_CLS, BPF_PROG_TYPE_SCHED_ACT, + BPF_PROG_TYPE_TRACEPOINT, + BPF_PROG_TYPE_XDP, + BPF_PROG_TYPE_PERF_EVENT, + BPF_PROG_TYPE_CGROUP_SKB, + BPF_PROG_TYPE_CGROUP_SOCK, + BPF_PROG_TYPE_LWT_IN, + BPF_PROG_TYPE_LWT_OUT, + BPF_PROG_TYPE_LWT_XMIT, + BPF_PROG_TYPE_SOCK_OPS, + BPF_PROG_TYPE_SK_SKB, + BPF_PROG_TYPE_CGROUP_DEVICE, + BPF_PROG_TYPE_SK_MSG, + BPF_PROG_TYPE_RAW_TRACEPOINT, + BPF_PROG_TYPE_CGROUP_SOCK_ADDR, + BPF_PROG_TYPE_LWT_SEG6LOCAL, + BPF_PROG_TYPE_LIRC_MODE2, + BPF_PROG_TYPE_SK_REUSEPORT, + BPF_PROG_TYPE_FLOW_DISSECTOR, + /* See /usr/include/linux/bpf.h for the full list. */ }; .EE .in -- 2.22.0