Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-23 Thread John Baldwin
On Thursday, December 19, 2013 7:28:50 pm Gleb Smirnoff wrote: John, On Thu, Dec 19, 2013 at 03:52:03PM -0500, John Baldwin wrote: J J Please don't gratuitiously break things that /usr/sbin/crashinfo runs. It's J J fine if kvm mode is fragile and requires the binary to be in sync

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-19 Thread Gleb Smirnoff
On Wed, Dec 18, 2013 at 04:40:52PM -0500, John Baldwin wrote: J On Wednesday, December 18, 2013 3:07:58 pm Alexander V. Chernikov wrote: J On 18.12.2013 22:45, John-Mark Gurney wrote: J Alexander V. Chernikov wrote this message on Wed, Dec 18, 2013 at 18:25 +: J Author: melifaro J

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-19 Thread John-Mark Gurney
Gleb Smirnoff wrote this message on Thu, Dec 19, 2013 at 15:57 +0400: On Wed, Dec 18, 2013 at 04:40:52PM -0500, John Baldwin wrote: J On Wednesday, December 18, 2013 3:07:58 pm Alexander V. Chernikov wrote: J On 18.12.2013 22:45, John-Mark Gurney wrote: J Alexander V. Chernikov wrote this

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-19 Thread John Baldwin
On Thursday, December 19, 2013 6:57:35 am Gleb Smirnoff wrote: On Wed, Dec 18, 2013 at 04:40:52PM -0500, John Baldwin wrote: J On Wednesday, December 18, 2013 3:07:58 pm Alexander V. Chernikov wrote: J On 18.12.2013 22:45, John-Mark Gurney wrote: J Alexander V. Chernikov wrote this message

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-19 Thread Gleb Smirnoff
John, On Thu, Dec 19, 2013 at 03:52:03PM -0500, John Baldwin wrote: J J Please don't gratuitiously break things that /usr/sbin/crashinfo runs. It's J J fine if kvm mode is fragile and requires the binary to be in sync with the J J kernel and is only used for crash dumps, but it is very

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-19 Thread John-Mark Gurney
Gleb Smirnoff wrote this message on Fri, Dec 20, 2013 at 04:28 +0400: Looks like we are coming to agreement. The way to go is to remove kvm access from netstat, substituting it with proper APIs. The better crashdump utility needs to be started. Not yet sure that C + kvm(3) is a proper framework

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-19 Thread Alexey Dokuchaev
On Fri, Dec 20, 2013 at 04:28:50AM +0400, Gleb Smirnoff wrote: in stable branches. I don't have strong opinion on this, I really think that running kernel and world out of sync is a bad idea, so I may agree with you. This notorious requirement (or strong recommendation) of keeping one's world

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-19 Thread Adrian Chadd
Linux doesn't have this problem because debugging LInux is a wildly different thing. Maybe it's time we actually just bit the bullet and made libkvm much more fleshed out for pulling out stuff like this from core files. -a ___ svn-src-all@freebsd.org

svn commit: r259562 - head/usr.bin/netstat

2013-12-18 Thread Alexander V. Chernikov
Author: melifaro Date: Wed Dec 18 18:25:27 2013 New Revision: 259562 URL: http://svnweb.freebsd.org/changeset/base/259562 Log: Switch netstat -rn to use standard API for retrieving list of routes instead of peeking inside in-kernel radix via kget. This permits us to change kernel structures

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-18 Thread John-Mark Gurney
Alexander V. Chernikov wrote this message on Wed, Dec 18, 2013 at 18:25 +: Author: melifaro Date: Wed Dec 18 18:25:27 2013 New Revision: 259562 URL: http://svnweb.freebsd.org/changeset/base/259562 Log: Switch netstat -rn to use standard API for retrieving list of routes instead of

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-18 Thread Alexander V. Chernikov
On 18.12.2013 22:45, John-Mark Gurney wrote: Alexander V. Chernikov wrote this message on Wed, Dec 18, 2013 at 18:25 +: Author: melifaro Date: Wed Dec 18 18:25:27 2013 New Revision: 259562 URL: http://svnweb.freebsd.org/changeset/base/259562 Log: Switch netstat -rn to use standard

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-18 Thread John Baldwin
On Wednesday, December 18, 2013 3:07:58 pm Alexander V. Chernikov wrote: On 18.12.2013 22:45, John-Mark Gurney wrote: Alexander V. Chernikov wrote this message on Wed, Dec 18, 2013 at 18:25 +: Author: melifaro Date: Wed Dec 18 18:25:27 2013 New Revision: 259562 URL: