Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2014 05:55:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192544] New: [kern] values returned from some sysctls broken on CURRENT
Message-ID:  <bug-192544-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 192544
           Summary: [kern] values returned from some sysctls broken on
                    CURRENT
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: yaneurabeya@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@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.



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