svn commit: r295934 - head/sys/kern

Mariusz Zaborski oshogbo at FreeBSD.org
Wed Feb 24 12:31:44 UTC 2016


Thank you!

On 24 February 2016 at 00:38, Bryan Drewery <bdrewery at 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 at 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
>
>


More information about the svn-src-all mailing list