Date: Wed, 24 Feb 2016 13:31:40 +0100 From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: Bryan Drewery <bdrewery@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r295934 - head/sys/kern Message-ID: <CAGOYWV-bD-oZBjQcj_wKpqs=rf6Ttq=tg9ZCi9cWLKrbKAVTig@mail.gmail.com> In-Reply-To: <56CCED5A.3020307@FreeBSD.org> References: <201602232202.u1NM2Pv2051850@repo.freebsd.org> <56CCED5A.3020307@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you! On 24 February 2016 at 00:38, Bryan Drewery <bdrewery@freebsd.org> wrote: > On 2/23/2016 2:02 PM, Mariusz Zaborski wrote: > > Author: oshogbo > > Date: Tue Feb 23 22:02:25 2016 > > New Revision: 295934 > > URL: https://svnweb.freebsd.org/changeset/base/295934 > > > > Log: > > According to the sys/kern/capabilities.conf, gethostid(3) should be > allowed. > > > > Pointed out by: Milosz Kaniewski <m.kaniewski@wheelsystems.com> > > Approved by: pjd (mentor) > > MFC after: 3 days > > Sponsored by: Wheel Systems, http://wheelsystems.com > > > > Modified: > > head/sys/kern/kern_mib.c > > > > Modified: head/sys/kern/kern_mib.c > > > ============================================================================== > > --- head/sys/kern/kern_mib.c Tue Feb 23 21:21:47 2016 (r295933) > > +++ head/sys/kern/kern_mib.c Tue Feb 23 22:02:25 2016 (r295934) > > @@ -422,7 +422,7 @@ sysctl_hostid(SYSCTL_HANDLER_ARGS) > > } > > > > SYSCTL_PROC(_kern, KERN_HOSTID, hostid, > > - CTLTYPE_ULONG | CTLFLAG_RW | CTLFLAG_PRISON | CTLFLAG_MPSAFE, > > + CTLTYPE_ULONG | CTLFLAG_RW | CTLFLAG_PRISON | CTLFLAG_MPSAFE | > CTFLAG_CAPRD, > > It is spelled wrong. Fixed in r295941, be sure to MFC that too. > > > NULL, 0, sysctl_hostid, "LU", "Host ID"); > > > > /* > > > > > > -- > Regards, > Bryan Drewery > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGOYWV-bD-oZBjQcj_wKpqs=rf6Ttq=tg9ZCi9cWLKrbKAVTig>