From owner-freebsd-current@freebsd.org Sun Nov 15 20:05:33 2020 Return-Path: Delivered-To: freebsd-current@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 2F7FC467B29 for ; Sun, 15 Nov 2020 20:05:33 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ3990gQNz3NyK; Sun, 15 Nov 2020 20:05:33 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-WLAN.fritz.box (p200300cd5f0bbc008449886a8dac6269.dip0.t-ipconnect.de [IPv6:2003:cd:5f0b:bc00:8449:886a:8dac:6269]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4E4A22A6C4; Sun, 15 Nov 2020 20:05:32 +0000 (UTC) (envelope-from se@freebsd.org) To: Kyle Evans , Guy Yur Cc: Scott Long , freebsd-current , kaktus@freebsd.org References: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> From: Stefan Esser Subject: Re: pkg.c revision 367687 breaks pkg Message-ID: Date: Sun, 15 Nov 2020 21:05:31 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TcuVOmD0vubyfDn2ofwYyeh2rw2ScH29w" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2020 20:05:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TcuVOmD0vubyfDn2ofwYyeh2rw2ScH29w Content-Type: multipart/mixed; boundary="Ee6MHL1lN1DDU7EDJYG6PhMPOyBsp8Te2"; protected-headers="v1" From: Stefan Esser To: Kyle Evans , Guy Yur Cc: Scott Long , freebsd-current , kaktus@freebsd.org Message-ID: Subject: Re: pkg.c revision 367687 breaks pkg References: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> In-Reply-To: --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--