From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Ignatov Subject: [PATCH bpf-next 0/2] libbpf: ABI versioning Date: Wed, 21 Nov 2018 09:40:25 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Cc: Andrey Ignatov , , , To: Return-path: Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:36582 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732342AbeKVERD (ORCPT ); Wed, 21 Nov 2018 23:17:03 -0500 Received: from pps.filterd (m0001303.ppops.net [127.0.0.1]) by m0001303.ppops.net (8.16.0.22/8.16.0.22) with SMTP id wALHdWRo012264 for ; Wed, 21 Nov 2018 09:41:43 -0800 Received: from mail.thefacebook.com ([199.201.64.23]) by m0001303.ppops.net with ESMTP id 2nw7te0uxj-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 21 Nov 2018 09:41:43 -0800 Sender: netdev-owner@vger.kernel.org List-ID: This patch set adds ABI versioning to libbpf. Patch 1 adds version script and has more details on why it's needed. Patch 2 adds simple check that all global symbols are versioned. Andrey Ignatov (2): libbpf: Add version script for DSO libbpf: Verify versioned symbols tools/lib/bpf/Makefile | 23 +++++++- tools/lib/bpf/libbpf.map | 120 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 141 insertions(+), 2 deletions(-) create mode 100644 tools/lib/bpf/libbpf.map -- 2.17.1