From owner-svn-src-all@freebsd.org Fri Dec 27 18:48:29 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 589351CBABE; Fri, 27 Dec 2019 18:48:29 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-yw1-xc44.google.com (mail-yw1-xc44.google.com [IPv6:2607:f8b0:4864:20::c44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47kwnn1cyfz4Qc5; Fri, 27 Dec 2019 18:48:28 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-yw1-xc44.google.com with SMTP id l22so11583189ywc.8; Fri, 27 Dec 2019 10:48:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=00ytxge8NeP6Lc/m1XtvJ1hNH8sxBdBe1FwBaGeFrDo=; b=fTwlir19Egq6ob+HSBBs9h86II8UhlMvd2skO6QhRQlMtcgUUM6kYvbJelwNjScNrF uUsNaWQ22fqoYJx8Mpw5c2rqWUlJVcWxbKMJWhPIOM2MJmH9s1GyBdtsysDY+L04Em7K G6RrSkULRVen8c1+a+/KxV5zSG+CM8WBRIHjFn7lQNK2wPWsHLxs3zZDbAFyp4doy6JD G1KnRnsLK4A09hbTyNWYTLtE1BlZg9/IKTYYL/xkc7+mr2SuPpcmUgF3Clevp0l6yVBR puiuNmnDp5Xgj3Pht5Ad4U4B9K8MUgO2jFiGr+c6WnhPNTzm5OkqApBIIBkVRZSf49dr 8oUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:organization:mime-version :content-transfer-encoding; bh=00ytxge8NeP6Lc/m1XtvJ1hNH8sxBdBe1FwBaGeFrDo=; b=kdyw9ruuupXPo1gXxCRZa6NTh1aq1F35TBlizUICGD+w1eTC3aTp5wPDQ7iJkcmnc9 OUkPbVdflq/EDeyYyGs8cWAk+gtHN4rG+DfdX4Zue+6Rgaba7+8RwI1xqkQMtSDeWEcG eK+runiqgPdQwYuwRfaAMMg6aLhlLDZBdnobMcoqtavXEqdnHcmRG49jDBj8butpwICl QQmNkYglK3HMm0ATmODxpI4FrIli8xBwflt1d+OGNfvCWTYrdRKisUCG8CBk24NnEqU1 TyB7RI7shIVHX1XUfMxNBr/LH0gaictdy9Bga0FkRvynO7rcgDhBkEkn8sjBCnj3zX5E Vo3w== X-Gm-Message-State: APjAAAVrK4g1O4Rq6wrLDKQjuVox0dmzFLroMHGU4sB76vAdqYFoEXCe LfMedRgF5jTjomK07MKdyF0424ws X-Google-Smtp-Source: APXvYqwHSpK0XaRXm6lVRITC2Byhcn7kfijGA2Ak+7tT8PU6oYj50aNIa2QrZ1pP7gXwapAGhmpK1w== X-Received: by 2002:a81:7c07:: with SMTP id x7mr37349245ywc.291.1577472506808; Fri, 27 Dec 2019 10:48:26 -0800 (PST) Received: from titan.knownspace (173-19-125-130.client.mchsi.com. [173.19.125.130]) by smtp.gmail.com with ESMTPSA id 189sm14276959ywc.16.2019.12.27.10.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2019 10:48:26 -0800 (PST) Sender: Justin Hibbits Date: Fri, 27 Dec 2019 12:48:23 -0600 From: Justin Hibbits To: John Baldwin Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys Message-ID: <20191227124823.537a8d0c@titan.knownspace> In-Reply-To: <08f3808c-0a93-ac7c-9e20-1798eeb8b0e1@FreeBSD.org> References: <201912270407.xBR473Zh054687@repo.freebsd.org> <08f3808c-0a93-ac7c-9e20-1798eeb8b0e1@FreeBSD.org> Organization: FreeBSD X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47kwnn1cyfz4Qc5 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2019 18:48:29 -0000 On Fri, 27 Dec 2019 10:43:16 -0800 John Baldwin wrote: > On 12/26/19 8:07 PM, Justin Hibbits wrote: > > Author: jhibbits > > Date: Fri Dec 27 04:07:03 2019 > > New Revision: 356113 > > URL: https://svnweb.freebsd.org/changeset/base/356113 > > > > Log: > > Eliminate the last MI difference in AT_* definitions (for > > powerpc). > > Summary: > > As a transition aide, implement an alternative elfN_freebsd_fixup > > which is called for old powerpc binaries. Similarly, add a > > translation to rtld to convert old values to new ones (as expected > > by a new rtld). > > Translation of old<->new values is incomplete, but sufficient to > > allow an installworld of a new userspace from an old one when a new > > kernel is running. > > Test Plan: > > Someone needs to see how a new kernel/rtld/libc works with an old > > binary. If if works we can probalby ship this. If not we > > probalby need some more compat bits. > > > > Submitted by: brooks > > Reviewed by: jhibbits > > Differential Revision: https://reviews.freebsd.org/D20799 > > This would be much simpler as a 'sv_copyout_auxargs()' hook instead. > You could even set it directly in the ELFv1 sysvec instead of needing > a runtime check. You could also move it purely into the powerpc code > at that point and not need to stick it in the MI file. > > It probably should also be under COMPAT_FREEBSD12. > Already addressed in r356129. Not under COMPAT_FREEBSD12 just because it's needed for 13 before "today", but I'll probably put it under COMPAT_FREEBSD12 in a month or two, after some soak time. - Justin