[Bug 236139] dyn_sysctl KLD example no longer compiles, patch included

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 1 20:21:17 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236139

            Bug ID: 236139
           Summary: dyn_sysctl KLD example no longer compiles, patch
                    included
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: arr at watson.org

Created attachment 202489
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202489&action=edit
patch to fix build of dyn_sysctl kld example

The dyn_sysctl example KLD for showing use of sysctls via a kernel module seems
to have been broken since 11.0 release. I have not been tracking, so I am not
sure, exactly. It seems that the quick fix is to adjust the API use for adding
a root node, I believe. I am attaching a patch for this.

It seems a similar bug is affecting the compilation of a port, but I cannot for
the life remember which one it is right now.

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


More information about the freebsd-bugs mailing list