git: 62b8258a7e43 - main - Change the return type of sv__setid_allowed from bool to int
Konstantin Belousov
kostikbel at gmail.com
Sun Jun 6 21:05:54 UTC 2021
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 at FreeBSD.org>
> AuthorDate: 2021-06-06 20:38:48 +0000
> Commit: Konstantin Belousov <kib at 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.
More information about the dev-commits-src-main
mailing list