Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Mon Dec 13 2010 at 23:51:39 +0100, Christoph Egger wrote:
> On 13.12.10 22:15, Antti Kantee wrote:
> > Module Name:        src
> > Committed By:       pooka
> > Date:               Mon Dec 13 21:15:31 UTC 2010
> > 
> > Modified Files:
> >     src/distrib/sets/lists/base: mi
> >     src/distrib/sets/lists/comp: mi
> >     src/usr.bin/netstat: Makefile bpf.c if.c inet.c inet6.c main.c mbuf.c
> >         show.c unix.c
> > Added Files:
> >     src/usr.bin/netstat: netstat_hostops.c netstat_rumpops.c prog_ops.h
> > 
> > Log Message:
> > Add netstat rump client.  For now, it always sets -X, i.e. will
> > use only sysctl and no kvm (implementing /dev/mem for a rump kernel
> > would probably not be hard, but still a non-zero effort).
> > 
> > Note: since there is absolutely no network activity in a fresh rump
> > kernel, rump.netstat usually displays exactly nothing when invoked
> > without parameters.  Arguments like -r, -bi, -p icmp etc. produce
> > more stuff.
> > 
> 
> Does that allow to remove the suid bit from netstat?

No, -X is used only for the rump client.  There are still some highly
useful stats (like ISO stats) which are available only via kvm, and a
few others too.

-- 
älä karot toivorikkauttas, kyl rätei ja lumpui piisaa


Home | Main Index | Thread Index | Old Index