From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, PDS_RDNS_DYNAMIC_FP,RCVD_IN_DNSWL_MED,RDNS_DYNAMIC,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 614BE1F8C8 for ; Mon, 27 Sep 2021 02:11:17 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D67363858408 for ; Mon, 27 Sep 2021 02:11:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D67363858408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1632708675; bh=vLXblK2cQyyaTjMeWir8eKD7fm0YRnNTy0ccVYq+PV8=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=wP8y6+achoS8tsuIvEt4f9bJafxgsAqE3N1F2hqckE3tGMuyt7tomBxmNOBRkwYoi 8mOxSfQKjAyFFJCnP2nO02j+U3AeNrBpCTxKI+p/hJtYGPdds308baftbkC0JNR2Ht sauTeY30GuVgUSPYe4B+rE6VMlfQPEgkN/wUBg54= Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by sourceware.org (Postfix) with ESMTPS id 762B33858C60 for ; Mon, 27 Sep 2021 02:10:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 762B33858C60 Received: by mail-pg1-x52a.google.com with SMTP id t1so16343875pgv.3 for ; Sun, 26 Sep 2021 19:10:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=vLXblK2cQyyaTjMeWir8eKD7fm0YRnNTy0ccVYq+PV8=; b=4Zs4wyO0jRBQGv/6/XmuQfFtuEYWkj3tBPEZcOwm+B9pGttC2QvICGjeerQcyMbL7D MHOpzLzT/2FUn5rZ/tf3NPK5Dgrz1cc9l7fmT4ZyMyylE6cAh1DWl0bW75uRd1B9uTKu JBZKTKkG+NL8Gpl9qBsY8U9FsaIiaWZLpXPaWhb1mAd2idpzkF7M5DYCuAtkFSXihpy4 8ZoPC8glILKcllTJRA+ZtB+1uv2YPkVAw0oDeRB3MaN8wPGUZFKJl5S0xulAK2a/PD4s 077MBdlYP8ez/THks5r9lTdvvGHNce8/qqJ497ZJgNHGqNIg3IW0HONW1Xr1L78EehL+ up3Q== X-Gm-Message-State: AOAM531fCpk8ihrTpcJ5VBMAKI8BN1txOpRIDnkMNdN4ZGwS7IVq9jjQ 74LUJcJSTR6yOeFqAQ8aQi7sxgnGbiQXyTpFmF6O6oWtWdc= X-Google-Smtp-Source: ABdhPJyCRTnuBtuMhy6PmkWozGEo6bvZoicQ5OqzVuSrbfeNkEzEknTNTLaSHU47RbSK9vRh0CMytwvXRBWoUBrXEaE= X-Received: by 2002:a62:2507:0:b0:447:a583:5a88 with SMTP id l7-20020a622507000000b00447a5835a88mr21191185pfl.43.1632708655240; Sun, 26 Sep 2021 19:10:55 -0700 (PDT) MIME-Version: 1.0 References: <20210803215914.4170913-1-hjl.tools@gmail.com> <20210803215914.4170913-2-hjl.tools@gmail.com> In-Reply-To: <20210803215914.4170913-2-hjl.tools@gmail.com> Date: Sun, 26 Sep 2021 19:10:19 -0700 Message-ID: Subject: PING^1 [PATCH 2/2] Add run-time chesk for indirect external access To: GNU C Library Content-Type: text/plain; charset="UTF-8" X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "H.J. Lu via Libc-alpha" Reply-To: "H.J. Lu" Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Tue, Aug 3, 2021 at 2:59 PM H.J. Lu wrote: > > When performing symbol lookup for references in executable without > indirect external access: > > 1. Disallow copy relocations in executable against protected data symbols > in a shared object with indirect external access. > 2. Disallow non-zero symbol values of undefined function symbols in > executable, which are used as the function pointer, against protected > function symbols in a shared object with indirect external access. PING: https://sourceware.org/pipermail/libc-alpha/2021-August/129798.html https://sourceware.org/pipermail/libc-alpha/2021-August/129799.html -- H.J.