Date: Mon, 7 Jun 2021 00:05:38 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 62b8258a7e43 - main - Change the return type of sv__setid_allowed from bool to int Message-ID: <YL04oqdukyZD3fAN@kib.kiev.ua> In-Reply-To: <202106062041.156KfNO3049176@gitrepo.freebsd.org> References: <202106062041.156KfNO3049176@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 06, 2021 at 08:41:23PM +0000, Konstantin Belousov wrote: > The branch main has been updated by kib: > > URL: https://cgit.FreeBSD.org/src/commit/?id=62b8258a7e43f3c774f13eab758b2cfdf353073e > > commit 62b8258a7e43f3c774f13eab758b2cfdf353073e > Author: Konstantin Belousov <kib@FreeBSD.org> > AuthorDate: 2021-06-06 20:38:48 +0000 > Commit: Konstantin Belousov <kib@FreeBSD.org> > CommitDate: 2021-06-06 20:38:48 +0000 > > Change the return type of sv__setid_allowed from bool to int > > to please some userspace code using sys/sysent.h. This situation with lack of bool in userspace where some kernel headers are used, is repeating too many times. I believe the right fix is to start ensuring that any code that tries to include (kind of) kernel-only headers also provides the bool type. I will do this some time later.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YL04oqdukyZD3fAN>