Date: Wed, 19 Jan 2011 17:04:07 +0000 (UTC) From: Matthew D Fleming <mdf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/sysctl sysctl.c src/share/man/man9 Makefile sysctl.9 src/sys/cam/scsi scsi_da.c src/sys/dev/cxgb cxgb_sge.c src/sys/dev/wi if_wi.c src/sys/net if_enc.c vnet.h src/sys/sys sysctl.h Message-ID: <201101191705.p0JH5EuA002582@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mdf 2011-01-19 17:04:07 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
share/man/man9 Makefile sysctl.9
sys/cam/scsi scsi_da.c
sys/dev/cxgb cxgb_sge.c
sys/dev/wi if_wi.c
sys/net if_enc.c vnet.h
sys/sys sysctl.h
Log:
SVN rev 217586 on 2011-01-19 17:04:07Z by mdf
sysctl(8) should use the CTLTYPE to determine the type of data when
reading. (This was already done for writing to a sysctl). This
requires all SYSCTL setups to specify a type. Most of them are now
checked at compile-time.
Remove SYSCTL_*X* sysctl additions as the print being in hex should be
controlled by the -x flag to sysctl(8).
Succested by: bde
Revision Changes Path
1.99 +29 -25 src/sbin/sysctl/sysctl.c
1.384 +2 -2 src/share/man/man9/Makefile
1.11 +0 -7 src/share/man/man9/sysctl.9
1.255 +1 -1 src/sys/cam/scsi/scsi_da.c
1.97 +2 -2 src/sys/dev/cxgb/cxgb_sge.c
1.235 +1 -1 src/sys/dev/wi/if_wi.c
1.16 +4 -4 src/sys/net/if_enc.c
1.38 +1 -0 src/sys/net/vnet.h
1.189 +1 -40 src/sys/sys/sysctl.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101191705.p0JH5EuA002582>
