Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2020 21:05:31 +0100
From:      Stefan Esser <se@freebsd.org>
To:        Kyle Evans <kevans@freebsd.org>, Guy Yur <guyyur@gmail.com>
Cc:        Scott Long <scottl@samsco.org>, freebsd-current <freebsd-current@freebsd.org>, kaktus@freebsd.org
Subject:   Re: pkg.c revision 367687 breaks pkg
Message-ID:  <d6cc7841-3e27-deca-496e-38b5cad58920@freebsd.org>
In-Reply-To: <CACNAnaEGMBze8-XD61KB0ckH0__YJYPAEpQML3B0BesCeRUxFQ@mail.gmail.com>
References:  <A3B7709B-8C16-48E0-9A6C-E45D206F6DE6@gmail.com> <EC6FF21B-109A-45EE-97F2-A04B1F195DFA@samsco.org> <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> <CACNAnaEGMBze8-XD61KB0ckH0__YJYPAEpQML3B0BesCeRUxFQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--TcuVOmD0vubyfDn2ofwYyeh2rw2ScH29w
Content-Type: multipart/mixed; boundary="Ee6MHL1lN1DDU7EDJYG6PhMPOyBsp8Te2";
 protected-headers="v1"
From: Stefan Esser <se@freebsd.org>
To: Kyle Evans <kevans@freebsd.org>, Guy Yur <guyyur@gmail.com>
Cc: Scott Long <scottl@samsco.org>,
 freebsd-current <freebsd-current@freebsd.org>, kaktus@freebsd.org
Message-ID: <d6cc7841-3e27-deca-496e-38b5cad58920@freebsd.org>
Subject: Re: pkg.c revision 367687 breaks pkg
References: <A3B7709B-8C16-48E0-9A6C-E45D206F6DE6@gmail.com>
 <EC6FF21B-109A-45EE-97F2-A04B1F195DFA@samsco.org>
 <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com>
 <CACNAnaEGMBze8-XD61KB0ckH0__YJYPAEpQML3B0BesCeRUxFQ@mail.gmail.com>
In-Reply-To: <CACNAnaEGMBze8-XD61KB0ckH0__YJYPAEpQML3B0BesCeRUxFQ@mail.gmail.com>

--Ee6MHL1lN1DDU7EDJYG6PhMPOyBsp8Te2
Content-Type: multipart/mixed;
 boundary="------------E7EE50520FA6C4BD99E888A6"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------E7EE50520FA6C4BD99E888A6
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

Am 15.11.20 um 20:41 schrieb Kyle Evans:
> This is a separate (valid) problem, but not directly related to
> Scott's work here. sysctlbyname now goes directly to the kernel with
> no chance for the user.* sysctls to intercept. That should
> independently be fixed to maintain the illusion that they're real
> sysctl's.

user.localbase is a real sysctl, but with a default value returned
when sysctl(3) is used.

The getlocalbase() function should not depend on this default value,
since it contains an identicl default value that can be returned if
sysctlbyname fails (or rather returns a zero length string in case
no other value has been written to the kernel).

Regards, STefan

--------------E7EE50520FA6C4BD99E888A6--

--Ee6MHL1lN1DDU7EDJYG6PhMPOyBsp8Te2--

--TcuVOmD0vubyfDn2ofwYyeh2rw2ScH29w
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAl+xigsFAwAAAAAACgkQR+u171r99UTy
8Af/enWuROqXjSJILik4wi81xfaE6zKo/BPEyQ9SMU48Fqm6AEVwlEkV7YjdZ3lvuazld9jUhvPr
k6dUFeHGxRwo/hR73THfiPVlIq2kBIE2AzZS5WJ6qSYAWosmOU+7EZQfPt+gjuf1Gon00w9hnUC5
R6FR+09OKJZ4VjrTzqoWymqRueLQpIK9pf7nQVI732MXDvb01pdBM+GE/jWUQrOy/yLAr/oC+DLa
7MqOS0hTRFtUPqqtHHSfK1XX0F6UiucXGsDnsy4H3MEqkoPE1M5L1VvuJRg/CV2WzjlabCQ8gl7i
AS8UkifX7xhHXOJAhecyuW5Q2p6Rvv32U7WZKt6rFw==
=2y5r
-----END PGP SIGNATURE-----

--TcuVOmD0vubyfDn2ofwYyeh2rw2ScH29w--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d6cc7841-3e27-deca-496e-38b5cad58920>