Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2019 05:04:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242068] [NEW PORT] sysutils/sysctlbyname-improved-kmod: sysctl node to implement an improved sysctlbyname(3) clone
Message-ID:  <bug-242068-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242068

            Bug ID: 242068
           Summary: [NEW PORT] sysutils/sysctlbyname-improved-kmod: sysctl
                    node to implement an improved sysctlbyname(3) clone
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: alfix86@gmail.com
 Attachment #209242 text/plain
         mime type:

Created attachment 209242
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D209242&action=
=3Dedit
.shar

Kernel module to add the sysctl.entryidinputbyname sysctl node
to allow to implement an improved sysctlbyname(3) clone to handle:

 * a node without a level name, e.g., "security.jail.param.allow.mount."
 * a CTLTYPE_NODE with a no-NULL handler, e.g., "kern.proc.pid.<pid>"

The sysctlbyname_improved() function and an example are provided, too.

WWW: https://gitlab.com/alfix/sysctlbyname-improved/

testing

 * poudriere testport -j 130Camd64 -p default -i -o
sysutils/sysctlbyname-improved-kmod
 * poudriere testport -j 120Ramd64 -p default -i -o
sysutils/sysctlbyname-improved-kmod
 * poudriere testport -j 113Ramd64 -p default -i -o
sysutils/sysctlbyname-improved-kmod

Thanks,
Alfonso

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242068-7788>