From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1B7AC32771 for ; Sat, 24 Sep 2022 10:13:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233764AbiIXKNc (ORCPT ); Sat, 24 Sep 2022 06:13:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233320AbiIXKN1 (ORCPT ); Sat, 24 Sep 2022 06:13:27 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD1EE9F760; Sat, 24 Sep 2022 03:13:23 -0700 (PDT) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MZPtP0KDgzHqQL; Sat, 24 Sep 2022 18:11:09 +0800 (CST) Received: from dggpeml500010.china.huawei.com (7.185.36.155) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 24 Sep 2022 18:13:21 +0800 Received: from huawei.com (10.175.101.6) by dggpeml500010.china.huawei.com (7.185.36.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 24 Sep 2022 18:13:20 +0800 From: Xin Liu To: , , , , , , , , , , CC: , , , , , , , Subject: [PATCH 0/2] ebpf: improves bpftool security Date: Sat, 24 Sep 2022 18:12:07 +0800 Message-ID: <20220924101209.50653-1-liuxin350@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500010.china.huawei.com (7.185.36.155) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset is designed to enhance the security of libbpf and bpf tool, adding fPIC and fPIE options. - patch #1 add the fPIC options for dynamic library and static library. - patch #2 add the fPIE options for bpftool. Xin Liu (2): libbpf: add fPIC option for static library bpftool: add fPIE option for bpftool tools/bpf/bpftool/Makefile | 1 + tools/lib/bpf/Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) -- 2.33.0