Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2015 01:35:13 -0400
From:      Patrick Kelsey <pkelsey@freebsd.org>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        "sbruno@freebsd.org" <sbruno@freebsd.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: sysctl(3) man page examples
Message-ID:  <2E314532-E83D-4408-B4A9-7D7339EA72A0@freebsd.org>
In-Reply-To: <5591906E.8060904@selasky.org>
References:  <558F1D88.8010407@ignoranthack.me> <CAD44qMUVPH4eY4zBfkBQ_m0Vhxg0M1CM7TXZv9emKjWdV8jTVg@mail.gmail.com> <5591906E.8060904@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help




> On Jun 29, 2015, at 2:37 PM, Hans Petter Selasky <hps@selasky.org> wrote:
>=20
>> On 06/28/15 08:26, Patrick Kelsey wrote:
>> s a sysctl entry for it (containing an empty
>> string)
>=20
> Hi,
>=20
> FYI:
>=20
> Until r267960 zero-length strings were not listed by sysctl, which might b=
e part of the reason this bug has not been seen before.
>=20

I initially read this somewhat differently than you meant it - but now I see=
 what you are saying - between r240176 and r267960, it would not have been v=
isually apparent that user.cs_path was empty in the output of 'sysctl user' a=
s user.cs_path would not have been displayed at all due to being empty. That=
 is a good point.

-Patrick=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2E314532-E83D-4408-B4A9-7D7339EA72A0>