Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2015 01:29:43 -0700
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Marcelo Araujo <araujo@freebsd.org>,  "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r283974 - head/lib/libugidfw
Message-ID:  <CAGHfRMBdY_LVqJXTbH9=4LkS2_KaajiMEeFcAOp80Yhes-bDbQ@mail.gmail.com>
In-Reply-To: <20150604074152.GZ2499@kib.kiev.ua>
References:  <201506040244.t542ibW9051338@svn.freebsd.org> <20150604074152.GZ2499@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 4, 2015 at 12:41 AM, Konstantin Belousov
<kostikbel@gmail.com> wrote:
...
>> -     size = sizeof(rule);
>>       error = sysctl(name, len, NULL, NULL, &rule, 0);
> This is very strange chunk.  I suspect that the intent was to have 'size'
> as the sixth argument to the sysctl(3) call, or just have sizeof(rule)
> instead of 0.

Agreed.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMBdY_LVqJXTbH9=4LkS2_KaajiMEeFcAOp80Yhes-bDbQ>