From nobody Mon Jan 10 00:01:44 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2BFB71938093 for ; Mon, 10 Jan 2022 00:02:33 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JXDXm31c6z50k7 for ; Mon, 10 Jan 2022 00:02:32 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-vk1-xa2b.google.com with SMTP id 78so7143017vkz.7 for ; Sun, 09 Jan 2022 16:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kQFga/4N8rcNox+mL3lFUNg1hX7lXrA3IFXOi3iCNpE=; b=HuI/nAYvVNuaH5UYBN0aNvrw5Tjg2sjMoV5QiWAzc+M/mmkMJqOCVtu+3Pg61d/nZP +H1zebIpGEAhrrRaHc8HASE+5Mhx9fy/8rXae3mKzu3Btqwf7rB7wKxLb1A0yy0m3Aig 3VTEhq+tz336eG2YPLKCw+2G0Fq2lhz/usmuFvtwXaD0lnRCty/kMmqNWqoZs9ohp3xB tBOltO4tB3XgwwhvaxO0AL0X+5bbg1w45LbhP0WtiyszBuyQYHyeqpAzmFG4qx0Z1HLD yGVoiv7Z1qJeFfYXi7oN0ZJuL+Trbkw5Tv1MucIzqvwiYlzhNoEVAR5PhKuC0A7c8FxR mb1w== 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:cc; bh=kQFga/4N8rcNox+mL3lFUNg1hX7lXrA3IFXOi3iCNpE=; b=lA4lpOQ24DRZbZQNehnG46odaBmgIuwjbyTFPeKXYq3GqcYxSGWdi9Q7eV3BaJNeul cgogTJWKkPcu9FgBfogDlmjAn+7ZHlZlArha+NVmfgyH7UCSrsmC9eSWCUjeRQdniLwQ +tNUHxsC7NL30vepgpVN/KCvFEPZNkSiDxaLWR8+LeB0IKFjUf/rMZc1P8+wHEC1+jxr BI/sgVFI9q5z1a7zpdqSwtIqQPp1CJuTuswPoGv0CSpaGnH/fq2yB4t4hdkdLL9qyGnn q4sRnl85M87a1997Rb+RuGEtsLzMQgHOtK8DVx7D2pSknqwdq6QHw8PjVl6C7gP0yzi+ OC0Q== X-Gm-Message-State: AOAM53055aCGdPclAwZoiRMFm2t+lYJFfNhLecXuIWJXEjLywVwqNTUb GIg0vnudDPdyICYEZXbungQZZ6aDF4NyL2pWE5rSYTmKFOg= X-Google-Smtp-Source: ABdhPJz/YWLq7qp91LLoUVftm4F8CVqfkybK6aVywcocWmfTpJxne//dcDxTDXvKfFP4B8VleIJw8y5h756B/XM206g= X-Received: by 2002:a1f:a7c9:: with SMTP id q192mr8224101vke.24.1641772945852; Sun, 09 Jan 2022 16:02:25 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <52065.1641771247@segfault.tristatelogic.com> In-Reply-To: <52065.1641771247@segfault.tristatelogic.com> From: "parv/freebsd" Date: Sun, 9 Jan 2022 14:01:44 -1000 Message-ID: Subject: Re: Firefox on stable/13 To: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000003d4d0705d52f0dcc" X-Rspamd-Queue-Id: 4JXDXm31c6z50k7 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="HuI/nAYv"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2607:f8b0:4864:20::a2b as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [-0.23 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.04)[-0.038]; NEURAL_SPAM_MEDIUM(0.89)[0.891]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::a2b:from]; NEURAL_HAM_SHORT(-0.09)[-0.085]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --0000000000003d4d0705d52f0dcc Content-Type: text/plain; charset="UTF-8" On Sun, Jan 9, 2022 at 1:34 PM Ronald F. Guilmette wrote: Hi Ronald, Sending to -questions@ too. ... > In message < > CABObuOq4DoVpxp7xhSuJLoJJjPYhwi-MNyp4oNtAmCMZcNtMww@mail.gmail.com> > , you wrote: > > >> So did Firefox crash for you also when you enabled ASLR? > >> > > > >Yes, it crashed after enabling "pie" ... > > > > sysctl kern.elf64.aslr.pie_enable=1 > > Humm... well. I guess that maybe both the kern.elf32.aslr.stack_gap and > also the kern.elf64.aslr.pie_enable make Firefox angry. > I have removed 32-bit bits as much as I could easily. So I do not care if any such setting is enabled or missing. I had not touched any other *elf64* settings ( besides *.aslr.enable & *.aslr_pie.enable). ... > On a slightly different topic, I have a question. Maybe you can answer it > for me. > You should have sent your question directly to -questions@ list instead of privately asking me. > I'm building ffmpeg from ports, but it is already installed (as a requsite > for other things) from packages. What do I have to do in order to replace > the package with the (built) port? Just "make install" in the port? Or > do I have to (force?) remove the pkg version first? > After successful "build" (as in "make build") of the port, remove it ("make deinstall") & then install it ("make install") ... # make build && make deinstall && make install ... or, wait for "make install" to fail as the port had already been installed. Then you could remove it either via pkg-delete(8) or via "deinstall" make(1) target; run the "install" target again. - parv -- --0000000000003d4d0705d52f0dcc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Jan 9, 2022 at 1:34 PM Ronald F. Guilmette wrot= e:

Hi Ronald,=

=
Sending = to -questions@ too.

...
In message <CABObuOq4DoVpxp7xhSuJLoJJjPYhwi= -MNyp4oNtAmCMZcNtMww@mail.gmail.com>
, you wrote:

>> So did Firefox crash for you also when you enabled ASLR?
>>
>
>Yes, it crashed after enabling "pie" ...
>
>=C2=A0 sysctl kern.elf64.aslr.pie_enable=3D1

Humm... well. I guess that maybe both the kern.elf32.aslr.stack_gap and
also the kern.elf64.aslr.pie_enable make Firefox angry.

I have removed 32-bit bits as much as I could easily. So I do not
<= div style=3D"font-family:monospace" class=3D"gmail_default">care if any suc= h setting is enabled or missing.

I had not touched any other *elf64* settings ( be= sides *.aslr.enable
& *.aslr_pie.enable).


...
On a slightly different topic, I have a question.=C2=A0 Mayb= e you can answer it
for me.

You should have sent your question directly t= o -questions@ list instead
of privately asking me.

=C2=A0
=
I'm building ffmpeg from ports, but it is already installed (as a requs= ite
for other things) from packages.=C2=A0 What do I have to do in order to rep= lace
the package with the (built) port?=C2=A0 Just "make install" in t= he port?=C2=A0 Or
do I have to (force?) remove the pkg version first?
A= fter successful "build" (as in "make build") of the por= t, remove it ("make
deinstall") & then install it ("make install&= quot;) ...

= =C2=A0 # make build && make deinstall && make install

... or, wait for "make install" to fail as the port had a= lready been
installed. Then you could remove it either via pkg-delete(8) or via
"deinsta= ll" make(1) target; run the "install" target again.


- parv
--


=C2=A0
--0000000000003d4d0705d52f0dcc--