{"id":819319,"url":"http://patchwork.ozlabs.org/api/covers/819319/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/cover/20170927213756.1254938-1-kafai@fb.com/","project":{"id":7,"url":"http://patchwork.ozlabs.org/api/projects/7/?format=json","name":"Linux network development","link_name":"netdev","list_id":"netdev.vger.kernel.org","list_email":"netdev@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170927213756.1254938-1-kafai@fb.com>","list_archive_url":null,"date":"2017-09-27T21:37:51","name":"[net-next,0/5] bpf: Extend bpf_{prog,map}_info","submitter":{"id":64907,"url":"http://patchwork.ozlabs.org/api/people/64907/?format=json","name":"Martin KaFai Lau","email":"kafai@fb.com"},"mbox":"http://patchwork.ozlabs.org/project/netdev/cover/20170927213756.1254938-1-kafai@fb.com/mbox/","series":[{"id":5453,"url":"http://patchwork.ozlabs.org/api/series/5453/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/list/?series=5453","date":"2017-09-27T21:37:55","name":"bpf: Extend bpf_{prog,map}_info","version":1,"mbox":"http://patchwork.ozlabs.org/series/5453/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/819319/comments/","headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=fb.com header.i=@fb.com header.b=\"NLkSwmID\";\n\tdkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y2WQS25n0z9t5l\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 28 Sep 2017 07:38:08 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752128AbdI0ViA (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 27 Sep 2017 17:38:00 -0400","from mx0a-00082601.pphosted.com ([67.231.145.42]:60036 \"EHLO\n\tmx0a-00082601.pphosted.com\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751957AbdI0Vh6 (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Wed, 27 Sep 2017 17:37:58 -0400","from pps.filterd (m0044010.ppops.net [127.0.0.1])\n\tby mx0a-00082601.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8RLYShg015871\n\tfor <netdev@vger.kernel.org>; Wed, 27 Sep 2017 14:37:57 -0700","from mail.thefacebook.com ([199.201.64.23])\n\tby mx0a-00082601.pphosted.com with ESMTP id 2d8jaggmau-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT)\n\tfor <netdev@vger.kernel.org>; Wed, 27 Sep 2017 14:37:57 -0700","from mx-out.facebook.com (192.168.52.123) by\n\tPRN-CHUB14.TheFacebook.com (192.168.16.24) with Microsoft SMTP Server\n\tid 14.3.319.2; Wed, 27 Sep 2017 14:37:56 -0700","by devbig738.prn1.facebook.com (Postfix, from userid 6611)    id\n\t485FE4500947; Wed, 27 Sep 2017 14:37:56 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com;\n\th=from : to : cc : subject\n\t: date : message-id : mime-version : content-type; s=facebook;\n\tbh=E+iuPJxtJGSbixjp5A19Bp41YZTxr8Lw63luZ+3p39k=;\n\tb=NLkSwmIDS/ZfzrMrG70rkkHmOx+BDUkSMzdi9JJZn20OsjgtU326rL+tx8S2icGci8+6\n\tGGWLmE1csoUUj2vOFuTQieEAys0wN5uktYE2yVdtxNZoQw21+s9b/AosPG8OBaasyGnj\n\tNbvGsdeH8mzX3awHtJS/AC4G8sPGTviri9c= ","Smtp-Origin-Hostprefix":"devbig","From":"Martin KaFai Lau <kafai@fb.com>","Smtp-Origin-Hostname":"devbig738.prn1.facebook.com","To":"<netdev@vger.kernel.org>","CC":"Alexei Starovoitov <ast@fb.com>,\n\tDaniel Borkmann <daniel@iogearbox.net>, <kernel-team@fb.com>","Smtp-Origin-Cluster":"prn1c29","Subject":"[PATCH net-next 0/5] bpf: Extend bpf_{prog,map}_info","Date":"Wed, 27 Sep 2017 14:37:51 -0700","Message-ID":"<20170927213756.1254938-1-kafai@fb.com>","X-Mailer":"git-send-email 2.9.5","X-FB-Internal":["Safe","Safe"],"MIME-Version":"1.0","Content-Type":"text/plain","X-Proofpoint-Spam-Reason":"safe","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-27_08:, , signatures=0","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"},"content":"This patch series adds more fields to bpf_prog_info and bpf_map_info.\nPlease see individual patch for details.\n\nMartin KaFai Lau (5):\n  bpf: Add name, load_time, uid and map_ids to bpf_prog_info\n  bpf: Add map_name to bpf_map_info\n  bpf: libbpf: Provide basic API support to specify BPF obj name\n  bpf: Swap the order of checking prog_info and map_info\n  bpf: Test new fields in bpf_attr and bpf_{prog,map}_info\n\n include/linux/bpf.h                         |   3 +\n include/uapi/linux/bpf.h                    |  10 ++\n kernel/bpf/syscall.c                        |  58 ++++++++-\n samples/bpf/bpf_load.c                      |   2 +\n samples/bpf/map_perf_test_user.c            |   1 +\n tools/include/uapi/linux/bpf.h              |  10 ++\n tools/lib/bpf/bpf.c                         |  57 ++++++--\n tools/lib/bpf/bpf.h                         |  23 +++-\n tools/lib/bpf/libbpf.c                      | 109 ++++++++++++----\n tools/testing/selftests/bpf/test_progs.c    | 195 +++++++++++++++++++++++-----\n tools/testing/selftests/bpf/test_verifier.c |   2 +-\n 11 files changed, 385 insertions(+), 85 deletions(-)"}