[Bug 192544] New: [kern] values returned from some sysctls broken on CURRENT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 10 05:55:10 UTC 2014


            Bug ID: 192544
           Summary: [kern] values returned from some sysctls broken on
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: yaneurabeya at gmail.com

hiren@/jmg@ noted that the output from certain sysctls appears to be broken in
recent versions of CURRENT. In particular, it seems to be returning a single
nul terminated string instead of a full string for net.inet.tcp.cc.algorithm
(and friends):

$ uname -o -r
FreeBSD 9.2-RELEASE-p10
$ sysctl net.inet.tcp.cc.algorithm
net.inet.tcp.cc.algorithm: newreno

# uname -a
FreeBSD isilon-fuji-current.local 11.0-CURRENT FreeBSD 11.0-CURRENT #16
r268804+343692e(isilon-atf): Mon Jul 14 12:17:25 PDT 2014    
root at isilon-fuji-current.local:/usr/obj/usr/src/sys/FUJI  i386
# sysctl net.inet.tcp.cc.algorithm
net.inet.tcp.cc.algorithm: n

Is some of the new code after recent sysctl(9) refactoring not properly
dereferencing memory?

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

More information about the freebsd-bugs mailing list