From owner-freebsd-hackers@freebsd.org Tue Jun 30 05:35:16 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 869B3990A42 for ; Tue, 30 Jun 2015 05:35:16 +0000 (UTC) (envelope-from pkelsey@gmail.com) Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E4F711D6; Tue, 30 Jun 2015 05:35:16 +0000 (UTC) (envelope-from pkelsey@gmail.com) Received: by qkei195 with SMTP id i195so67342937qke.3; Mon, 29 Jun 2015 22:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=FVIZuTnQLkJQUgFwFyXXG/p3ItsdMJoxGqtDQN6Cxv8=; b=MKCbZ9Qn6XbzoXs9VGIJUaY7EggRs1u9HrHqqW7CMy1EpkYeucuvhuVETNoNDG6c// hR/KfRoUV1dJA4s4hWEGvSWhEfcPpyRMIx2aX1uy2y/a7eRcRaZnPzOL6KBXktUmtkui nWG8+DdryviEISHHvXtTSKhdFpX+LqiifBUCyMUVZEUqFk88CW+Kh/cfQxEXGHJK61N0 s6A1m2mibpzeCPymqUQiqOicgSiJ4alcwzp8qzrYi2Gvm8NAHO+26sJbbtrEIyC9BnYj N1UMWeirbOsl5TuP9Kq5Lx1IrcXaD8Md97LWetwYYknm49wRf74b1l35iVJEzDvoDEGC SKXA== X-Received: by 10.140.194.141 with SMTP id p135mr25120524qha.20.1435642515306; Mon, 29 Jun 2015 22:35:15 -0700 (PDT) Received: from [10.136.55.158] ([166.170.31.14]) by mx.google.com with ESMTPSA id s91sm12682182qge.44.2015.06.29.22.35.14 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Jun 2015 22:35:14 -0700 (PDT) Sender: Patrick Kelsey Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: sysctl(3) man page examples From: Patrick Kelsey X-Mailer: iPhone Mail (12F70) In-Reply-To: <5591906E.8060904@selasky.org> Date: Tue, 30 Jun 2015 01:35:13 -0400 Cc: "sbruno@freebsd.org" , "freebsd-hackers@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <2E314532-E83D-4408-B4A9-7D7339EA72A0@freebsd.org> References: <558F1D88.8010407@ignoranthack.me> <5591906E.8060904@selasky.org> To: Hans Petter Selasky X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 05:35:16 -0000 > On Jun 29, 2015, at 2:37 PM, Hans Petter Selasky 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=