From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 09C7F3858D37 for ; Tue, 21 Feb 2023 21:42:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 09C7F3858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677015719; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VVv7dubSv7h3NptCp9r/E8v7YKZnSISvv5H4c11se/E=; b=QeiaGxM6kXC2WBoAENvMaU5Cxf7LHRFJTIoXewBKxeFA69U6iCnRat3uAfua13o4r4yNvD hN0lKdGRluthPB3zc2Ei0egGXpcDJedyjmCu+o48bzOz777g1bcwGnv25rM5LpEK8Mzdsn elN+4lyl4YnzEhVfu77d6+8n7YxvmmM= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-465-IclJRIOmMqGt8Ud_Y2-wsA-1; Tue, 21 Feb 2023 16:41:58 -0500 X-MC-Unique: IclJRIOmMqGt8Ud_Y2-wsA-1 Received: by mail-il1-f197.google.com with SMTP id g14-20020a926b0e000000b003159b8cc9a3so3287325ilc.13 for ; Tue, 21 Feb 2023 13:41:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VVv7dubSv7h3NptCp9r/E8v7YKZnSISvv5H4c11se/E=; b=3hQep/zjvVeXdbUNi6DtYPac08JiK8Qrp0A0cJOgtsFDJuoheDu0gO0LY+YcggJHCF KrHgUDkmQt/WUue6aI3SXHZdrEUoovUEvJNUO6blQE7RxfshbZghndWQbx8hgioQDEpJ WfjtzATuKSjGx8IA/0nJpB7+Ygl5x4hpF4Kc9epGyJyBtCo1x8JK58j3+LlTjLtf3Lqk M+kR0brbCPTE8ZGOIhxT6XWnf8ohPi3li1P6SrltiVbY1POaoG22MbUSUEeutIzJYxH1 NfsRDRgWarAevgwMyZEfgVlxAC6ybuIBINK8SW9Vgg9bHwG1odAsd4vJotQMmhcbeRmW t5gQ== X-Gm-Message-State: AO0yUKX2hyQOOM8GuNqijAlEO2BSZ6hMbWr4MWZfflo0b5fSsJ+knTy8 8oI5VTCH/O31EoPLHihTh46Z5GhEZtCGzG4ix9B0BX5L0tqITtCp7/dGjfP0F3NBBNHtnxtDSZF rSIV4QMtKuaOf8wtSOcTNKCQfZg== X-Received: by 2002:a92:740b:0:b0:316:ac06:f675 with SMTP id p11-20020a92740b000000b00316ac06f675mr5624883ilc.18.1677015717680; Tue, 21 Feb 2023 13:41:57 -0800 (PST) X-Google-Smtp-Source: AK7set9uQDRqJuMNaTd+7HU3DOv5lwRiD3ZF/MG59aG2tk68c7CmaVco3zh33hwiuJzl7r9QjmW9mA== X-Received: by 2002:a92:740b:0:b0:316:ac06:f675 with SMTP id p11-20020a92740b000000b00316ac06f675mr5624874ilc.18.1677015717409; Tue, 21 Feb 2023 13:41:57 -0800 (PST) Received: from [192.168.0.241] ([198.48.244.52]) by smtp.gmail.com with ESMTPSA id p14-20020a056e02104e00b00313fa733bcasm1699497ilj.25.2023.02.21.13.41.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Feb 2023 13:41:56 -0800 (PST) Message-ID: Date: Tue, 21 Feb 2023 16:41:55 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2] x86-64: Add glibc.cpu.prefer_map_32bit_exec [BZ #28656] To: "H.J. Lu" Cc: libc-alpha@sourceware.org, Florian Weimer References: <20230210222142.17943-1-hjl.tools@gmail.com> From: Carlos O'Donell Organization: Red Hat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2/21/23 11:35, H.J. Lu wrote: >>> +/* Check that LD_PREFER_MAP_32BIT_EXEC works in PDE and shared library. >> >> s/PDE/PIE/g ? > > This feature won't work for PIE since PIE is usually loaded at a > random address above > 4GB by kernel. On the other hand, PDE (no-PIE) is loaded at a fixed > address below 2GB. Thanks. That makes sense. Leave this as PDE then and we'll start using PDE everywhere we might have written no-PIE :-) -- Cheers, Carlos.