Bug 194233

Summary: sysctl -a shouldn't be listing kern.msgbuf
Product: Base System Reporter: wkoszek
Component: binAssignee: freebsd-bugs mailing list <bugs>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: 10.0-RELEASE   
Hardware: Any   
OS: Any   

Description wkoszek 2014-10-07 20:55:23 UTC
I use FreeBSD 10.0 release. For reviewing sysctl settings I typically use:

sysctl -a

It always showed the presence of ``kern.msgbuf'', but it never listed its content. I verified with 9.1-STABLE.

In FreeBSD 10 kern.msgbuf's content is shown. As a result of showing some garbage from prior invocations of ncurses-based programs sysctl -a causes my console to get stuck.

I must do 'reset' to unstuck it.

I think kern.msgbuf should be hidden from sysctl -a.