Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1056465imm; Thu, 5 Jul 2018 13:55:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcpKEiSa9+BzxydNO34RfuFgN0vJKJUTGYrf7cq5jZUSbBs2+9fxDVqznhk4qvXN8Lxx6Z9 X-Received: by 2002:a17:902:280b:: with SMTP id e11-v6mr7607959plb.298.1530824146059; Thu, 05 Jul 2018 13:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530824146; cv=none; d=google.com; s=arc-20160816; b=rbkJ3fXiCRdUFpvLkWDZvhO+tz+0+G6WGO4l70Xh0zzTVJHksmT0Fot0qo8GlgloZt /uusmcWlZpYsafww89yKKWMJ+7pKCFRVhoM97BDEg7uGCfgwEUeUFTe81/eSKV+RQmhy /b6kQ7eyP77YS3WD7dL8lOosje+ZnNlo2QeIqDKeNLmNXA6G0W8dsSUjXg8WlRmI6+Ie ECzU84US4+20EHLJXB2tto7EOjKOk5BajUdkI9/j3jKFu4V+EOfdDH/yIwRbORjeA8nJ MLQcQ6PdxABWkrSBiFtebddc53x4M+zl6Peyvnw8ZGA4mwccDs8OguIZADiKMkrzXFUA jEyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-signature :arc-authentication-results; bh=iNUAcdpdDdrMSp1qsYR2m7c7pdvONetxmafQt7CrUg8=; b=wS5+VPClpQs+ax9jUq0Ukt9s7C3ApuYz6QqhOoGkimF+Ce5+zW/2hvDNgoZDxEuItH lITZD0qfVX/8+AiJz+Tpw50+Zu5knukNP5/PvmeeIu4Xqdr99REx60a1QhAFc1OQCfN3 Bse9JO6ug4ukhPUfDkwqj61Yqc9fJ+Qn7W7ftPk18TCy1niHxrZvaVc4ues7EgH4HbV4 O+1xDoH+Eb76cPce4U9KTLRuDOpLvJDdoR1ajTAXNhBwl/sbqc2qp/G3+kmWExkIv5Gg REsSo+d4ik7mJRmNMz8Z+T6o3kTV0k3rE9pxgA8OEucvOyq2DHVUy3VN96EjTpkakSPl CuXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=InCcNxX7; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b="Q1KtyX/B"; 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=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si6690495plz.379.2018.07.05.13.55.31; Thu, 05 Jul 2018 13:55:46 -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=@fb.com header.s=facebook header.b=InCcNxX7; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b="Q1KtyX/B"; 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=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932625AbeGEUxu (ORCPT + 99 others); Thu, 5 Jul 2018 16:53:50 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:44124 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754351AbeGEUwn (ORCPT ); Thu, 5 Jul 2018 16:52:43 -0400 Received: from pps.filterd (m0148461.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w65KmMgp015406; Thu, 5 Jul 2018 13:52:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=facebook; bh=iNUAcdpdDdrMSp1qsYR2m7c7pdvONetxmafQt7CrUg8=; b=InCcNxX7hUPyiT9PddzruNpGmlRgdr582xAFQ2gJxMED8NndLRstVF/8evqkmLHDDwDf HZDUEvyYDay76V60/w8v2pjcMLRaFSFTnGODjBXDUzot1gfCeP0n30kqnNblbsdBpGir gdnXa39tLYXtFmFjiiouaP3XCfZzQvJL3jI= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2k1r3m0eus-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 05 Jul 2018 13:52:21 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.19) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 5 Jul 2018 13:52:20 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iNUAcdpdDdrMSp1qsYR2m7c7pdvONetxmafQt7CrUg8=; b=Q1KtyX/Bx7u7Vz+TKSLuVJw7P/66vgRxlxjS+iAY2OALV+oSQpMXBcFhnVqD+KBHysa73oESrq0+jfPyM10yJg6w8fXDz9FPOZqKLjcUZcdPTYVkTe5Fa7RRlBPzlHKbEAPnkTz6rqv40GWkcezm3NyOKzfiFsozsY/Ar8BG/FQ= Received: from castle.thefacebook.com (2620:10d:c090:200::4:9a3d) by BY2PR15MB0166.namprd15.prod.outlook.com (2a01:111:e400:58e0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.26; Thu, 5 Jul 2018 20:52:16 +0000 From: Roman Gushchin To: CC: , , , Roman Gushchin , Alexei Starovoitov , Daniel Borkmann Subject: [PATCH v2 bpf-next 09/14] bpf: sync bpf.h to tools/ Date: Thu, 5 Jul 2018 13:51:34 -0700 Message-ID: <20180705205139.3462-10-guro@fb.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180705205139.3462-1-guro@fb.com> References: <20180705205139.3462-1-guro@fb.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [2620:10d:c090:200::4:9a3d] X-ClientProxiedBy: MWHPR13CA0025.namprd13.prod.outlook.com (2603:10b6:300:95::11) To BY2PR15MB0166.namprd15.prod.outlook.com (2a01:111:e400:58e0::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0c667543-56a2-4d55-a72b-08d5e2b9315a X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:BY2PR15MB0166; X-Microsoft-Exchange-Diagnostics: 1;BY2PR15MB0166;3:wi3sMXo2sYujVFGLcwk+7+Dnxfyj2COA/dkG1U8gQc7UiWpUdtUGwoYOPM8aZtiu7n/ni5Qky0feJdFOJ48FS1ctuTrM4zLJfKvEMKRwhQVNUXAJpVloVHnXY4LiIFvBu4vbm4csMt1QCV3PDQAHDh7YmK9dLMM7f3hnDzqI8tmDQEQ9KTF7cMbHbc0vYwDaTxZDESujmxuqg6P14/VNBeK2+skI9lbit4cB/nYFDmVMd+4GR2kjHEQ/eI98mcS1;25:B+biqH13kPxjdPAeyYn2alUFgMSCieI9Mhbq3H8f0S/uEw5v7Kpdi3OdpZf8qAu72Qqi68GQqPxTbbnmSINkoGF9c320Y1ZY+RMCnaUh8EvsEQ6FV1kfJFEjYQ7lc6BzzXU8G1mzko+qpOjwx8W4HEvFCtHpsiUnOTZBwsbZlqZF1LreBQ+16zTT2kTiy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ZOd0QZ06GtBDEu2v9s1H87hHCPbCMG/gJX6IlNShiP4F75XW6s/tykBNw7iPQosMTp8NUSMTwy6UDB7X7LnRYpwsizIbMF8PeJJ85dtRXd/CREPj8J9XePIJ9uYmWLzBfzE8YJ3uNY2vZopyC4FxXU0llaJsp+7z7J3Hz/AXqMosSGzYR4F4S9cibQzvWZ6HukD+S7OR5+C+BmOOB3eq X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231254)(11241501184)(944501410)(52105095)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:BY2PR15MB0166;BCL:0;PCL:0;RULEID:;SRVR:BY2PR15MB0166; X-Forefront-PRVS: 0724FCD4CD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(136003)(376002)(346002)(366004)(396003)(39860400002)(189003)(199004)(11346002)(446003)(5660300001)(25786009)(6512007)(4326008)(53936002)(6916009)(6666003)(6116002)(7736002)(16526019)(50466002)(8936002)(48376002)(105586002)(53416004)(486006)(316002)(54906003)(68736007)(1076002)(186003)(16586007)(47776003)(476003)(2616005)(478600001)(106356001)(81166006)(5024004)(69596002)(8676002)(81156014)(305945005)(14444005)(97736004)(51416003)(86362001)(2906002)(46003)(2351001)(50226002)(6506007)(2361001)(52396003)(36756003)(6486002)(76176011)(52116002)(386003)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR15MB0166;H:castle.thefacebook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY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Swv6aCG4BYJQji7T+yihqKPAYtV0xnkVQeuLucg9v/TOLHFqbkP++XM5qPtHlKqpFWH8O9+1TCqeE0/AAtpV8yy3u6XCS0euemFY+6o= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2018 20:52:16.1299 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0c667543-56a2-4d55-a72b-08d5e2b9315a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR15MB0166 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-05_08:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sync cgroup storage related changes: 1) new BPF_MAP_TYPE_CGROUP_STORAGE map type 2) struct bpf_cgroup_sotrage_key definition 3) get_local_storage() helper Signed-off-by: Roman Gushchin Cc: Alexei Starovoitov Cc: Daniel Borkmann Acked-by: Martin KaFai Lau --- tools/include/uapi/linux/bpf.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index 59b19b6a40d7..84480330c607 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -75,6 +75,11 @@ struct bpf_lpm_trie_key { __u8 data[0]; /* Arbitrary size */ }; +struct bpf_cgroup_storage_key { + __u64 cgroup_inode_id; /* cgroup inode id */ + __u32 attach_type; /* program attach type */ +}; + /* BPF syscall commands, see bpf(2) man-page for details. */ enum bpf_cmd { BPF_MAP_CREATE, @@ -120,6 +125,7 @@ enum bpf_map_type { BPF_MAP_TYPE_CPUMAP, BPF_MAP_TYPE_XSKMAP, BPF_MAP_TYPE_SOCKHASH, + BPF_MAP_TYPE_CGROUP_STORAGE, }; enum bpf_prog_type { @@ -2157,7 +2163,8 @@ union bpf_attr { FN(rc_repeat), \ FN(rc_keydown), \ FN(skb_cgroup_id), \ - FN(get_current_cgroup_id), + FN(get_current_cgroup_id), \ + FN(get_local_storage), /* integer value in 'imm' field of BPF_CALL instruction selects which helper * function eBPF program intends to call -- 2.14.4