git: libc/sysctl: Fix the user.* branch.

Sascha Wildner swildner at
Thu Sep 24 05:55:55 PDT 2015

commit f780b8d2bf0bb6a756fbbf17f13fb8c6c613d2f7
Author: Sascha Wildner <saw at>
Date:   Thu Sep 24 14:54:00 2015 +0200

    libc/sysctl: Fix the user.* branch.
    This is a combination of FreeBSD's r285188 and more work by myself.
    After r285188, FreeBSD still has issues with most user.posix2_* values
    (due to a leading _ missing in the define names; they also need to be
    checked for being > 0).
    Partially-taken-from: FreeBSD

Summary of changes:
 lib/libc/gen/sysctl.c | 32 ++++++++++++++++++++++----------
 sys/sys/sysctl.h      | 22 +++++++++++-----------
 2 files changed, 33 insertions(+), 21 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list