History log of /freebsd-11-stable/usr.sbin/bsnmpd/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
364152 12-Aug-2020 eugen

MFC r363889: bsnmptools: make it print protocol errors to stderr instead of stdout

Reviewed by: syrinx, bz
Differential Revision: https://reviews.freebsd.org/D25911

357523 04-Feb-2020 dim

MFC r357340:

Merge r357339 from the clang1000-import branch:

Fix the following -Werror warning from clang 10.0.0 in bsnmpd:

usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1661:4: error: misleading indentation; statement is not part of the previous 'else' [-Werror,-Wmisleading-indentation]
return (-1);
^
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1658:5: note: previous statement is here
} else
^

The intent was to group the return statement with the previous syslog()
call.

357520 04-Feb-2020 dim

MFC r357272:

Merge r357271 from the clang1000-import branch:

Fix the following -Werror warning from clang 10.0.0 in bsnmpd:

usr.sbin/bsnmpd/modules/snmp_bridge/bridge_port.c:1235:43: error: overlapping comparisons always evaluate to true [-Werror,-Wtautological-overlap-compare]
begemotBridgeStpPortEnable_enabled ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~

Work around it by casting the enum values to the type of val->v.integer.

344747 04-Mar-2019 avos

MFC r344245:
snmp_hostres(3): fix a typo in sanity checks in handle_chunk()

PR: 204253
Submitted by: David Binderman <dcb314@hotmail.com>

330449 05-Mar-2018 eadler

MFC r326276:

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.


/freebsd-11-stable/bin/pkill/pkill.c
/freebsd-11-stable/etc/pam.d/convert.pl
/freebsd-11-stable/kerberos5/lib/libgssapi_krb5/gss_krb5.c
/freebsd-11-stable/kerberos5/lib/libgssapi_krb5/pname_to_uid.c
/freebsd-11-stable/kerberos5/lib/libgssapi_krb5/prefix.c
/freebsd-11-stable/kerberos5/lib/libgssapi_ntlm/prefix.c
/freebsd-11-stable/kerberos5/lib/libgssapi_spnego/freebsd_compat.c
/freebsd-11-stable/sbin/adjkerntz/adjkerntz.c
/freebsd-11-stable/sbin/adjkerntz/pathnames.h
/freebsd-11-stable/sbin/camcontrol/camcontrol.h
/freebsd-11-stable/sbin/camcontrol/fwdownload.c
/freebsd-11-stable/sbin/camcontrol/modeedit.c
/freebsd-11-stable/sbin/camcontrol/progress.c
/freebsd-11-stable/sbin/camcontrol/progress.h
/freebsd-11-stable/sbin/camcontrol/util.c
/freebsd-11-stable/sbin/ccdconfig/ccdconfig.c
/freebsd-11-stable/sbin/ccdconfig/pathnames.h
/freebsd-11-stable/sbin/comcontrol/comcontrol.c
/freebsd-11-stable/sbin/conscontrol/conscontrol.c
/freebsd-11-stable/sbin/ddb/ddb.c
/freebsd-11-stable/sbin/ddb/ddb.h
/freebsd-11-stable/sbin/ddb/ddb_capture.c
/freebsd-11-stable/sbin/ddb/ddb_script.c
/freebsd-11-stable/sbin/devd/devd.h
/freebsd-11-stable/sbin/devd/devd.hh
/freebsd-11-stable/sbin/devd/parse.y
/freebsd-11-stable/sbin/devd/token.l
/freebsd-11-stable/sbin/devfs/devfs.c
/freebsd-11-stable/sbin/devfs/extern.h
/freebsd-11-stable/sbin/devfs/rule.c
/freebsd-11-stable/sbin/etherswitchcfg/etherswitchcfg.c
/freebsd-11-stable/sbin/fsck/fsutil.h
/freebsd-11-stable/sbin/fsck_ffs/ea.c
/freebsd-11-stable/sbin/fsck_ffs/suj.c
/freebsd-11-stable/sbin/fsck_msdosfs/boot.c
/freebsd-11-stable/sbin/fsck_msdosfs/check.c
/freebsd-11-stable/sbin/fsck_msdosfs/dir.c
/freebsd-11-stable/sbin/fsck_msdosfs/dosfs.h
/freebsd-11-stable/sbin/fsck_msdosfs/ext.h
/freebsd-11-stable/sbin/fsck_msdosfs/fat.c
/freebsd-11-stable/sbin/fsck_msdosfs/main.c
/freebsd-11-stable/sbin/fsdb/fsdb.c
/freebsd-11-stable/sbin/fsdb/fsdb.h
/freebsd-11-stable/sbin/fsdb/fsdbutil.c
/freebsd-11-stable/sbin/fsirand/fsirand.c
/freebsd-11-stable/sbin/gbde/gbde.c
/freebsd-11-stable/sbin/geom/class/cache/geom_cache.c
/freebsd-11-stable/sbin/geom/class/concat/geom_concat.c
/freebsd-11-stable/sbin/geom/class/eli/geom_eli.c
/freebsd-11-stable/sbin/geom/class/journal/geom_journal.c
/freebsd-11-stable/sbin/geom/class/journal/geom_journal.h
/freebsd-11-stable/sbin/geom/class/journal/geom_journal_ufs.c
/freebsd-11-stable/sbin/geom/class/label/geom_label.c
/freebsd-11-stable/sbin/geom/class/mirror/geom_mirror.c
/freebsd-11-stable/sbin/geom/class/mountver/geom_mountver.c
/freebsd-11-stable/sbin/geom/class/multipath/geom_multipath.c
/freebsd-11-stable/sbin/geom/class/nop/geom_nop.c
/freebsd-11-stable/sbin/geom/class/part/geom_part.c
/freebsd-11-stable/sbin/geom/class/raid/geom_raid.c
/freebsd-11-stable/sbin/geom/class/raid3/geom_raid3.c
/freebsd-11-stable/sbin/geom/class/sched/geom_sched.c
/freebsd-11-stable/sbin/geom/class/shsec/geom_shsec.c
/freebsd-11-stable/sbin/geom/class/stripe/geom_stripe.c
/freebsd-11-stable/sbin/geom/class/virstor/geom_virstor.c
/freebsd-11-stable/sbin/geom/core/geom.c
/freebsd-11-stable/sbin/geom/core/geom.h
/freebsd-11-stable/sbin/geom/misc/subr.c
/freebsd-11-stable/sbin/geom/misc/subr.h
/freebsd-11-stable/sbin/ggate/ggatec/ggatec.c
/freebsd-11-stable/sbin/ggate/ggated/ggated.c
/freebsd-11-stable/sbin/ggate/ggatel/ggatel.c
/freebsd-11-stable/sbin/ggate/shared/ggate.c
/freebsd-11-stable/sbin/ggate/shared/ggate.h
/freebsd-11-stable/sbin/gvinum/gvinum.c
/freebsd-11-stable/sbin/hastctl/hastctl.c
/freebsd-11-stable/sbin/hastd/activemap.c
/freebsd-11-stable/sbin/hastd/activemap.h
/freebsd-11-stable/sbin/hastd/control.c
/freebsd-11-stable/sbin/hastd/control.h
/freebsd-11-stable/sbin/hastd/ebuf.c
/freebsd-11-stable/sbin/hastd/ebuf.h
/freebsd-11-stable/sbin/hastd/event.c
/freebsd-11-stable/sbin/hastd/event.h
/freebsd-11-stable/sbin/hastd/hast.h
/freebsd-11-stable/sbin/hastd/hast_checksum.c
/freebsd-11-stable/sbin/hastd/hast_checksum.h
/freebsd-11-stable/sbin/hastd/hast_compression.c
/freebsd-11-stable/sbin/hastd/hast_compression.h
/freebsd-11-stable/sbin/hastd/hast_proto.c
/freebsd-11-stable/sbin/hastd/hast_proto.h
/freebsd-11-stable/sbin/hastd/hastd.c
/freebsd-11-stable/sbin/hastd/hastd.h
/freebsd-11-stable/sbin/hastd/hooks.c
/freebsd-11-stable/sbin/hastd/hooks.h
/freebsd-11-stable/sbin/hastd/lzf.c
/freebsd-11-stable/sbin/hastd/lzf.h
/freebsd-11-stable/sbin/hastd/metadata.c
/freebsd-11-stable/sbin/hastd/metadata.h
/freebsd-11-stable/sbin/hastd/nv.c
/freebsd-11-stable/sbin/hastd/nv.h
/freebsd-11-stable/sbin/hastd/parse.y
/freebsd-11-stable/sbin/hastd/pjdlog.c
/freebsd-11-stable/sbin/hastd/pjdlog.h
/freebsd-11-stable/sbin/hastd/primary.c
/freebsd-11-stable/sbin/hastd/proto.c
/freebsd-11-stable/sbin/hastd/proto.h
/freebsd-11-stable/sbin/hastd/proto_common.c
/freebsd-11-stable/sbin/hastd/proto_impl.h
/freebsd-11-stable/sbin/hastd/proto_socketpair.c
/freebsd-11-stable/sbin/hastd/proto_tcp.c
/freebsd-11-stable/sbin/hastd/proto_uds.c
/freebsd-11-stable/sbin/hastd/rangelock.c
/freebsd-11-stable/sbin/hastd/rangelock.h
/freebsd-11-stable/sbin/hastd/refcnt.h
/freebsd-11-stable/sbin/hastd/secondary.c
/freebsd-11-stable/sbin/hastd/subr.c
/freebsd-11-stable/sbin/hastd/subr.h
/freebsd-11-stable/sbin/hastd/synch.h
/freebsd-11-stable/sbin/hastd/token.l
/freebsd-11-stable/sbin/ifconfig/af_nd6.c
/freebsd-11-stable/sbin/ifconfig/carp.c
/freebsd-11-stable/sbin/ifconfig/ifbridge.c
/freebsd-11-stable/sbin/ifconfig/ifconfig.h
/freebsd-11-stable/sbin/ifconfig/iffib.c
/freebsd-11-stable/sbin/ifconfig/ifgif.c
/freebsd-11-stable/sbin/ifconfig/ifgre.c
/freebsd-11-stable/sbin/ifconfig/ifgroup.c
/freebsd-11-stable/sbin/ifconfig/ifieee80211.c
/freebsd-11-stable/sbin/ifconfig/ifmac.c
/freebsd-11-stable/sbin/ifconfig/ifpfsync.c
/freebsd-11-stable/sbin/iscontrol/auth_subr.c
/freebsd-11-stable/sbin/iscontrol/config.c
/freebsd-11-stable/sbin/iscontrol/fsm.c
/freebsd-11-stable/sbin/iscontrol/iscontrol.c
/freebsd-11-stable/sbin/iscontrol/iscontrol.h
/freebsd-11-stable/sbin/iscontrol/login.c
/freebsd-11-stable/sbin/iscontrol/misc.c
/freebsd-11-stable/sbin/iscontrol/pdu.c
/freebsd-11-stable/sbin/kldconfig/kldconfig.c
/freebsd-11-stable/sbin/kldload/kldload.c
/freebsd-11-stable/sbin/kldstat/kldstat.c
/freebsd-11-stable/sbin/kldunload/kldunload.c
/freebsd-11-stable/sbin/ldconfig/elfhints.c
/freebsd-11-stable/sbin/ldconfig/ldconfig.c
/freebsd-11-stable/sbin/ldconfig/ldconfig.h
/freebsd-11-stable/sbin/mdconfig/mdconfig.c
/freebsd-11-stable/sbin/mdmfs/mdmfs.c
/freebsd-11-stable/sbin/mksnap_ffs/mksnap_ffs.c
/freebsd-11-stable/sbin/mount/extern.h
/freebsd-11-stable/sbin/mount_fusefs/mount_fusefs.c
/freebsd-11-stable/sbin/mount_msdosfs/mount_msdosfs.c
/freebsd-11-stable/sbin/nandfs/lssnap.c
/freebsd-11-stable/sbin/nandfs/mksnap.c
/freebsd-11-stable/sbin/nandfs/nandfs.c
/freebsd-11-stable/sbin/nandfs/nandfs.h
/freebsd-11-stable/sbin/nandfs/rmsnap.c
/freebsd-11-stable/sbin/newfs_msdos/newfs_msdos.c
/freebsd-11-stable/sbin/newfs_nandfs/newfs_nandfs.c
/freebsd-11-stable/sbin/nos-tun/nos-tun.c
/freebsd-11-stable/sbin/nvmecontrol/devlist.c
/freebsd-11-stable/sbin/nvmecontrol/firmware.c
/freebsd-11-stable/sbin/nvmecontrol/identify.c
/freebsd-11-stable/sbin/nvmecontrol/logpage.c
/freebsd-11-stable/sbin/nvmecontrol/nvmecontrol.c
/freebsd-11-stable/sbin/nvmecontrol/nvmecontrol.h
/freebsd-11-stable/sbin/nvmecontrol/perftest.c
/freebsd-11-stable/sbin/nvmecontrol/reset.c
/freebsd-11-stable/sbin/pfctl/parse.y
/freebsd-11-stable/sbin/pfctl/pf_print_state.c
/freebsd-11-stable/sbin/pfctl/pfctl.c
/freebsd-11-stable/sbin/pfctl/pfctl.h
/freebsd-11-stable/sbin/pfctl/pfctl_parser.c
/freebsd-11-stable/sbin/pfctl/pfctl_parser.h
/freebsd-11-stable/sbin/pfctl/pfctl_radix.c
/freebsd-11-stable/sbin/pfctl/pfctl_table.c
/freebsd-11-stable/sbin/rcorder/rcorder.c
/freebsd-11-stable/sbin/reboot/nextboot.sh
/freebsd-11-stable/sbin/spppcontrol/spppcontrol.c
/freebsd-11-stable/usr.bin/ar/acplex.l
/freebsd-11-stable/usr.bin/ar/acpyacc.y
/freebsd-11-stable/usr.bin/ar/ar.h
/freebsd-11-stable/usr.bin/ar/read.c
/freebsd-11-stable/usr.bin/ar/util.c
/freebsd-11-stable/usr.bin/ar/write.c
/freebsd-11-stable/usr.bin/asa/asa.c
/freebsd-11-stable/usr.bin/at/at.c
/freebsd-11-stable/usr.bin/at/at.h
/freebsd-11-stable/usr.bin/at/panic.c
/freebsd-11-stable/usr.bin/at/panic.h
/freebsd-11-stable/usr.bin/at/parsetime.c
/freebsd-11-stable/usr.bin/at/parsetime.h
/freebsd-11-stable/usr.bin/at/perm.c
/freebsd-11-stable/usr.bin/at/perm.h
/freebsd-11-stable/usr.bin/at/privs.h
/freebsd-11-stable/usr.bin/bluetooth/bthost/bthost.c
/freebsd-11-stable/usr.bin/bluetooth/btsockstat/btsockstat.c
/freebsd-11-stable/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c
/freebsd-11-stable/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
/freebsd-11-stable/usr.bin/brandelf/brandelf.c
/freebsd-11-stable/usr.bin/bsdiff/bsdiff/bsdiff.c
/freebsd-11-stable/usr.bin/bsdiff/bspatch/bspatch.c
/freebsd-11-stable/usr.bin/c89/c89.c
/freebsd-11-stable/usr.bin/c99/c99.c
/freebsd-11-stable/usr.bin/calendar/dates.c
/freebsd-11-stable/usr.bin/calendar/events.c
/freebsd-11-stable/usr.bin/calendar/ostern.c
/freebsd-11-stable/usr.bin/calendar/parsedata.c
/freebsd-11-stable/usr.bin/calendar/paskha.c
/freebsd-11-stable/usr.bin/calendar/sunpos.c
/freebsd-11-stable/usr.bin/cmp/link.c
/freebsd-11-stable/usr.bin/colldef/parse.y
/freebsd-11-stable/usr.bin/colldef/scan.l
/freebsd-11-stable/usr.bin/compress/zopen.h
/freebsd-11-stable/usr.bin/cpuset/cpuset.c
/freebsd-11-stable/usr.bin/csplit/csplit.c
/freebsd-11-stable/usr.bin/ctlstat/ctlstat.c
/freebsd-11-stable/usr.bin/dtc/checking.cc
/freebsd-11-stable/usr.bin/dtc/checking.hh
/freebsd-11-stable/usr.bin/dtc/dtb.cc
/freebsd-11-stable/usr.bin/dtc/dtb.hh
/freebsd-11-stable/usr.bin/dtc/dtc.cc
/freebsd-11-stable/usr.bin/dtc/fdt.cc
/freebsd-11-stable/usr.bin/dtc/fdt.hh
/freebsd-11-stable/usr.bin/dtc/input_buffer.cc
/freebsd-11-stable/usr.bin/dtc/input_buffer.hh
/freebsd-11-stable/usr.bin/dtc/string.cc
/freebsd-11-stable/usr.bin/dtc/util.hh
/freebsd-11-stable/usr.bin/elf2aout/elf2aout.c
/freebsd-11-stable/usr.bin/elfdump/elfdump.c
/freebsd-11-stable/usr.bin/env/envopts.c
/freebsd-11-stable/usr.bin/env/envopts.h
/freebsd-11-stable/usr.bin/fetch/fetch.c
/freebsd-11-stable/usr.bin/finger/pathnames.h
/freebsd-11-stable/usr.bin/fstat/functions.h
/freebsd-11-stable/usr.bin/fstat/fuser.c
/freebsd-11-stable/usr.bin/fstat/main.c
/freebsd-11-stable/usr.bin/fsync/fsync.c
/freebsd-11-stable/usr.bin/gcore/elfcore.c
/freebsd-11-stable/usr.bin/gencat/gencat.c
/freebsd-11-stable/usr.bin/getent/getent.c
/freebsd-11-stable/usr.bin/grep/file.c
/freebsd-11-stable/usr.bin/grep/grep.c
/freebsd-11-stable/usr.bin/grep/grep.h
/freebsd-11-stable/usr.bin/grep/queue.c
/freebsd-11-stable/usr.bin/grep/regex/fastmatch.c
/freebsd-11-stable/usr.bin/grep/regex/hashtable.c
/freebsd-11-stable/usr.bin/grep/regex/tre-fastmatch.c
/freebsd-11-stable/usr.bin/grep/util.c
/freebsd-11-stable/usr.bin/gzip/gzip.c
/freebsd-11-stable/usr.bin/gzip/unbzip2.c
/freebsd-11-stable/usr.bin/gzip/unpack.c
/freebsd-11-stable/usr.bin/gzip/unxz.c
/freebsd-11-stable/usr.bin/iconv/iconv.c
/freebsd-11-stable/usr.bin/indent/indent.h
/freebsd-11-stable/usr.bin/ipcrm/ipcrm.c
/freebsd-11-stable/usr.bin/ipcs/ipc.c
/freebsd-11-stable/usr.bin/ipcs/ipc.h
/freebsd-11-stable/usr.bin/ipcs/ipcs.c
/freebsd-11-stable/usr.bin/iscsictl/iscsictl.c
/freebsd-11-stable/usr.bin/iscsictl/iscsictl.h
/freebsd-11-stable/usr.bin/iscsictl/parse.y
/freebsd-11-stable/usr.bin/iscsictl/periphs.c
/freebsd-11-stable/usr.bin/iscsictl/token.l
/freebsd-11-stable/usr.bin/killall/killall.c
/freebsd-11-stable/usr.bin/ktrdump/ktrdump.c
/freebsd-11-stable/usr.bin/lastcomm/readrec.c
/freebsd-11-stable/usr.bin/ldd/extern.h
/freebsd-11-stable/usr.bin/ldd/ldd.c
/freebsd-11-stable/usr.bin/ldd/sods.c
/freebsd-11-stable/usr.bin/locale/locale.c
/freebsd-11-stable/usr.bin/locate/locate/concatdb.sh
/freebsd-11-stable/usr.bin/locate/locate/mklocatedb.sh
/freebsd-11-stable/usr.bin/locate/locate/updatedb.sh
/freebsd-11-stable/usr.bin/lockf/lockf.c
/freebsd-11-stable/usr.bin/login/login.h
/freebsd-11-stable/usr.bin/logins/logins.c
/freebsd-11-stable/usr.bin/m4/gnum4.c
/freebsd-11-stable/usr.bin/m4/trace.c
/freebsd-11-stable/usr.bin/man/man.sh
/freebsd-11-stable/usr.bin/mkcsmapper/ldef.h
/freebsd-11-stable/usr.bin/mkcsmapper/lex.l
/freebsd-11-stable/usr.bin/mkcsmapper/yacc.y
/freebsd-11-stable/usr.bin/mkesdb/ldef.h
/freebsd-11-stable/usr.bin/mkesdb/lex.l
/freebsd-11-stable/usr.bin/mkesdb/yacc.y
/freebsd-11-stable/usr.bin/mktemp/mktemp.c
/freebsd-11-stable/usr.bin/mkuzip/mkuzip.c
/freebsd-11-stable/usr.bin/ncal/ncal.c
/freebsd-11-stable/usr.bin/netstat/bpf.c
/freebsd-11-stable/usr.bin/netstat/netisr.c
/freebsd-11-stable/usr.bin/newgrp/newgrp.c
/freebsd-11-stable/usr.bin/nl/nl.c
/freebsd-11-stable/usr.bin/passwd/passwd.c
/freebsd-11-stable/usr.bin/pathchk/pathchk.c
/freebsd-11-stable/usr.bin/perror/perror.c
/freebsd-11-stable/usr.bin/procstat/procstat.c
/freebsd-11-stable/usr.bin/procstat/procstat.h
/freebsd-11-stable/usr.bin/procstat/procstat_args.c
/freebsd-11-stable/usr.bin/procstat/procstat_auxv.c
/freebsd-11-stable/usr.bin/procstat/procstat_basic.c
/freebsd-11-stable/usr.bin/procstat/procstat_bin.c
/freebsd-11-stable/usr.bin/procstat/procstat_cred.c
/freebsd-11-stable/usr.bin/procstat/procstat_files.c
/freebsd-11-stable/usr.bin/procstat/procstat_kstack.c
/freebsd-11-stable/usr.bin/procstat/procstat_rlimit.c
/freebsd-11-stable/usr.bin/procstat/procstat_sigs.c
/freebsd-11-stable/usr.bin/procstat/procstat_threads.c
/freebsd-11-stable/usr.bin/procstat/procstat_vm.c
/freebsd-11-stable/usr.bin/protect/protect.c
/freebsd-11-stable/usr.bin/rctl/rctl.c
/freebsd-11-stable/usr.bin/revoke/revoke.c
/freebsd-11-stable/usr.bin/seq/seq.c
/freebsd-11-stable/usr.bin/setchannel/setchannel.c
/freebsd-11-stable/usr.bin/sockstat/sockstat.c
/freebsd-11-stable/usr.bin/sort/bwstring.c
/freebsd-11-stable/usr.bin/sort/bwstring.h
/freebsd-11-stable/usr.bin/sort/coll.c
/freebsd-11-stable/usr.bin/sort/coll.h
/freebsd-11-stable/usr.bin/sort/file.c
/freebsd-11-stable/usr.bin/sort/file.h
/freebsd-11-stable/usr.bin/sort/mem.c
/freebsd-11-stable/usr.bin/sort/mem.h
/freebsd-11-stable/usr.bin/sort/radixsort.c
/freebsd-11-stable/usr.bin/sort/radixsort.h
/freebsd-11-stable/usr.bin/sort/sort.c
/freebsd-11-stable/usr.bin/sort/sort.h
/freebsd-11-stable/usr.bin/sort/vsort.c
/freebsd-11-stable/usr.bin/sort/vsort.h
/freebsd-11-stable/usr.bin/ssh-copy-id/ssh-copy-id.sh
/freebsd-11-stable/usr.bin/stat/stat.c
/freebsd-11-stable/usr.bin/stdbuf/stdbuf.c
/freebsd-11-stable/usr.bin/systat/convtbl.c
/freebsd-11-stable/usr.bin/systat/convtbl.h
/freebsd-11-stable/usr.bin/systat/devs.h
/freebsd-11-stable/usr.bin/systat/ifcmds.c
/freebsd-11-stable/usr.bin/systat/ifstat.c
/freebsd-11-stable/usr.bin/tabs/tabs.c
/freebsd-11-stable/usr.bin/tr/cmap.c
/freebsd-11-stable/usr.bin/tr/cmap.h
/freebsd-11-stable/usr.bin/tr/cset.c
/freebsd-11-stable/usr.bin/tr/cset.h
/freebsd-11-stable/usr.bin/truncate/truncate.c
/freebsd-11-stable/usr.bin/truss/truss.h
/freebsd-11-stable/usr.bin/unifdef/unifdef.c
/freebsd-11-stable/usr.bin/unifdef/unifdef.h
/freebsd-11-stable/usr.bin/unifdef/unifdefall.sh
/freebsd-11-stable/usr.bin/units/units.c
/freebsd-11-stable/usr.bin/unzip/unzip.c
/freebsd-11-stable/usr.bin/usbhidaction/usbhidaction.c
/freebsd-11-stable/usr.bin/usbhidctl/usbhid.c
/freebsd-11-stable/usr.bin/whereis/pathnames.h
/freebsd-11-stable/usr.bin/whereis/whereis.c
/freebsd-11-stable/usr.bin/which/which.c
/freebsd-11-stable/usr.bin/who/who.c
/freebsd-11-stable/usr.bin/ypcat/ypcat.c
/freebsd-11-stable/usr.bin/ypmatch/ypmatch.c
/freebsd-11-stable/usr.bin/ypwhich/ypwhich.c
/freebsd-11-stable/usr.sbin/ac/ac.c
/freebsd-11-stable/usr.sbin/acpi/acpiconf/acpiconf.c
/freebsd-11-stable/usr.sbin/acpi/acpidb/acpidb.c
/freebsd-11-stable/usr.sbin/acpi/acpidump/acpi.c
/freebsd-11-stable/usr.sbin/acpi/acpidump/acpi_user.c
/freebsd-11-stable/usr.sbin/acpi/acpidump/acpidump.c
/freebsd-11-stable/usr.sbin/acpi/acpidump/acpidump.h
/freebsd-11-stable/usr.sbin/adduser/adduser.sh
/freebsd-11-stable/usr.sbin/adduser/rmuser.sh
/freebsd-11-stable/usr.sbin/apmd/apmd.c
/freebsd-11-stable/usr.sbin/apmd/apmd.h
/freebsd-11-stable/usr.sbin/apmd/apmdlex.l
/freebsd-11-stable/usr.sbin/apmd/apmdparse.y
/freebsd-11-stable/usr.sbin/asf/asf.c
/freebsd-11-stable/usr.sbin/asf/asf.h
/freebsd-11-stable/usr.sbin/asf/asf_kld.c
/freebsd-11-stable/usr.sbin/asf/asf_kvm.c
/freebsd-11-stable/usr.sbin/asf/asf_prog.c
/freebsd-11-stable/usr.sbin/bhyve/acpi.c
/freebsd-11-stable/usr.sbin/bhyve/acpi.h
/freebsd-11-stable/usr.sbin/bhyve/ahci.h
/freebsd-11-stable/usr.sbin/bhyve/bhyverun.c
/freebsd-11-stable/usr.sbin/bhyve/bhyverun.h
/freebsd-11-stable/usr.sbin/bhyve/block_if.c
/freebsd-11-stable/usr.sbin/bhyve/block_if.h
/freebsd-11-stable/usr.sbin/bhyve/consport.c
/freebsd-11-stable/usr.sbin/bhyve/dbgport.c
/freebsd-11-stable/usr.sbin/bhyve/dbgport.h
/freebsd-11-stable/usr.sbin/bhyve/inout.c
/freebsd-11-stable/usr.sbin/bhyve/inout.h
/freebsd-11-stable/usr.sbin/bhyve/ioapic.c
/freebsd-11-stable/usr.sbin/bhyve/ioapic.h
/freebsd-11-stable/usr.sbin/bhyve/mem.c
/freebsd-11-stable/usr.sbin/bhyve/mem.h
/freebsd-11-stable/usr.sbin/bhyve/mevent.c
/freebsd-11-stable/usr.sbin/bhyve/mevent.h
/freebsd-11-stable/usr.sbin/bhyve/mevent_test.c
/freebsd-11-stable/usr.sbin/bhyve/mptbl.c
/freebsd-11-stable/usr.sbin/bhyve/mptbl.h
/freebsd-11-stable/usr.sbin/bhyve/pci_ahci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_emul.c
/freebsd-11-stable/usr.sbin/bhyve/pci_emul.h
/freebsd-11-stable/usr.sbin/bhyve/pci_hostbridge.c
/freebsd-11-stable/usr.sbin/bhyve/pci_lpc.c
/freebsd-11-stable/usr.sbin/bhyve/pci_lpc.h
/freebsd-11-stable/usr.sbin/bhyve/pci_passthru.c
/freebsd-11-stable/usr.sbin/bhyve/pci_uart.c
/freebsd-11-stable/usr.sbin/bhyve/pci_virtio_block.c
/freebsd-11-stable/usr.sbin/bhyve/pci_virtio_net.c
/freebsd-11-stable/usr.sbin/bhyve/pm.c
/freebsd-11-stable/usr.sbin/bhyve/post.c
/freebsd-11-stable/usr.sbin/bhyve/rtc.c
/freebsd-11-stable/usr.sbin/bhyve/rtc.h
/freebsd-11-stable/usr.sbin/bhyve/smbiostbl.c
/freebsd-11-stable/usr.sbin/bhyve/smbiostbl.h
/freebsd-11-stable/usr.sbin/bhyve/spinup_ap.c
/freebsd-11-stable/usr.sbin/bhyve/spinup_ap.h
/freebsd-11-stable/usr.sbin/bhyve/uart_emul.c
/freebsd-11-stable/usr.sbin/bhyve/uart_emul.h
/freebsd-11-stable/usr.sbin/bhyve/virtio.c
/freebsd-11-stable/usr.sbin/bhyve/virtio.h
/freebsd-11-stable/usr.sbin/bhyve/xmsr.c
/freebsd-11-stable/usr.sbin/bhyve/xmsr.h
/freebsd-11-stable/usr.sbin/bhyvectl/bhyvectl.c
/freebsd-11-stable/usr.sbin/bhyveload/bhyveload.c
/freebsd-11-stable/usr.sbin/bluetooth/bcmfw/bcmfw.c
/freebsd-11-stable/usr.sbin/bluetooth/bt3cfw/bt3cfw.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.h
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/hid.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/sdp.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/bthid_config.h
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/bthidd.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/bthidd.h
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/client.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/hid.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/kbd.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/kbd.h
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/lexer.l
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/parser.y
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/server.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/session.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/bnep.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/bnep.h
/freebsd-11-stable/usr.sbin/bluetooth/btpand/btpand.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/btpand.h
/freebsd-11-stable/usr.sbin/bluetooth/btpand/channel.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/client.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/event.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/event.h
/freebsd-11-stable/usr.sbin/bluetooth/btpand/packet.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/sdp.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/sdp.h
/freebsd-11-stable/usr.sbin/bluetooth/btpand/server.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/tap.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/hccontrol.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/hccontrol.h
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/info.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/link_control.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/link_policy.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/node.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/send_recv.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/status.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/util.c
/freebsd-11-stable/usr.sbin/bluetooth/hcsecd/hcsecd.c
/freebsd-11-stable/usr.sbin/bluetooth/hcsecd/hcsecd.h
/freebsd-11-stable/usr.sbin/bluetooth/hcsecd/lexer.l
/freebsd-11-stable/usr.sbin/bluetooth/hcsecd/parser.y
/freebsd-11-stable/usr.sbin/bluetooth/hcseriald/hcseriald.c
/freebsd-11-stable/usr.sbin/bluetooth/l2control/l2cap.c
/freebsd-11-stable/usr.sbin/bluetooth/l2control/l2control.c
/freebsd-11-stable/usr.sbin/bluetooth/l2control/l2control.h
/freebsd-11-stable/usr.sbin/bluetooth/l2ping/l2ping.c
/freebsd-11-stable/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpcontrol/search.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/bgd.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/dun.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ftrn.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/gn.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/irmc.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/irmc_command.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/lan.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/log.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/log.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/main.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/nap.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/opush.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/panu.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/profile.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/profile.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/provider.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/provider.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/sar.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/scr.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/sd.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/server.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/server.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/sp.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/srr.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ssar.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ssr.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/sur.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/uuid-private.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/uuid.c
/freebsd-11-stable/usr.sbin/boot0cfg/boot0cfg.c
/freebsd-11-stable/usr.sbin/bsdinstall/distextract/distextract.c
/freebsd-11-stable/usr.sbin/bsdinstall/distfetch/distfetch.c
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/diskeditor.c
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/diskeditor.h
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/gpart_ops.c
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/part_wizard.c
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/partedit.c
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/partedit.h
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/partedit_generic.c
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/partedit_powerpc.c
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/partedit_sparc64.c
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/partedit_x86.c
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/scripted.c
modules/snmp_bridge/bridge_addrs.c
modules/snmp_bridge/bridge_if.c
modules/snmp_bridge/bridge_pf.c
modules/snmp_bridge/bridge_port.c
modules/snmp_bridge/bridge_snmp.c
modules/snmp_bridge/bridge_snmp.h
modules/snmp_bridge/bridge_sys.c
modules/snmp_hast/hast_snmp.c
modules/snmp_pf/pf_snmp.c
modules/snmp_wlan/wlan_snmp.c
modules/snmp_wlan/wlan_snmp.h
modules/snmp_wlan/wlan_sys.c
/freebsd-11-stable/usr.sbin/btxld/btx.h
/freebsd-11-stable/usr.sbin/btxld/btxld.c
/freebsd-11-stable/usr.sbin/btxld/elfh.c
/freebsd-11-stable/usr.sbin/btxld/elfh.h
/freebsd-11-stable/usr.sbin/chkgrp/chkgrp.c
/freebsd-11-stable/usr.sbin/ckdist/ckdist.c
/freebsd-11-stable/usr.sbin/clear_locks/clear_locks.c
/freebsd-11-stable/usr.sbin/cpucontrol/amd.c
/freebsd-11-stable/usr.sbin/cpucontrol/amd.h
/freebsd-11-stable/usr.sbin/cpucontrol/cpucontrol.c
/freebsd-11-stable/usr.sbin/cpucontrol/cpucontrol.h
/freebsd-11-stable/usr.sbin/cpucontrol/intel.c
/freebsd-11-stable/usr.sbin/cpucontrol/intel.h
/freebsd-11-stable/usr.sbin/cpucontrol/via.c
/freebsd-11-stable/usr.sbin/cpucontrol/via.h
/freebsd-11-stable/usr.sbin/crunch/crunchide/exec_elf32.c
/freebsd-11-stable/usr.sbin/crunch/crunchide/exec_elf64.c
/freebsd-11-stable/usr.sbin/crunch/crunchide/extern.h
/freebsd-11-stable/usr.sbin/ctladm/ctladm.h
/freebsd-11-stable/usr.sbin/ctladm/util.c
/freebsd-11-stable/usr.sbin/ctld/ctld.c
/freebsd-11-stable/usr.sbin/ctld/ctld.h
/freebsd-11-stable/usr.sbin/ctld/discovery.c
/freebsd-11-stable/usr.sbin/ctld/kernel.c
/freebsd-11-stable/usr.sbin/ctld/keys.c
/freebsd-11-stable/usr.sbin/ctld/log.c
/freebsd-11-stable/usr.sbin/ctld/login.c
/freebsd-11-stable/usr.sbin/ctld/parse.y
/freebsd-11-stable/usr.sbin/ctld/pdu.c
/freebsd-11-stable/usr.sbin/ctld/token.l
/freebsd-11-stable/usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c
/freebsd-11-stable/usr.sbin/daemon/daemon.c
/freebsd-11-stable/usr.sbin/devinfo/devinfo.c
/freebsd-11-stable/usr.sbin/digictl/digictl.c
/freebsd-11-stable/usr.sbin/diskinfo/diskinfo.c
/freebsd-11-stable/usr.sbin/dumpcis/cardinfo.h
/freebsd-11-stable/usr.sbin/dumpcis/cis.h
/freebsd-11-stable/usr.sbin/dumpcis/main.c
/freebsd-11-stable/usr.sbin/dumpcis/printcis.c
/freebsd-11-stable/usr.sbin/dumpcis/readcis.c
/freebsd-11-stable/usr.sbin/dumpcis/readcis.h
/freebsd-11-stable/usr.sbin/eeprom/eeprom.c
/freebsd-11-stable/usr.sbin/eeprom/ofw_options.c
/freebsd-11-stable/usr.sbin/eeprom/ofw_options.h
/freebsd-11-stable/usr.sbin/etcupdate/etcupdate.sh
/freebsd-11-stable/usr.sbin/extattr/rmextattr.c
/freebsd-11-stable/usr.sbin/extattrctl/extattrctl.c
/freebsd-11-stable/usr.sbin/fdcontrol/fdcontrol.c
/freebsd-11-stable/usr.sbin/fdformat/fdformat.c
/freebsd-11-stable/usr.sbin/fdread/fdread.c
/freebsd-11-stable/usr.sbin/fdread/fdutil.c
/freebsd-11-stable/usr.sbin/fdread/fdutil.h
/freebsd-11-stable/usr.sbin/fifolog/fifolog_create/fifolog_create.c
/freebsd-11-stable/usr.sbin/fifolog/fifolog_reader/fifolog_reader.c
/freebsd-11-stable/usr.sbin/fifolog/fifolog_writer/fifolog_writer.c
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog.h
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_create.c
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_int.c
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_reader.c
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_write.h
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_write_poll.c
/freebsd-11-stable/usr.sbin/fifolog/lib/libfifolog.h
/freebsd-11-stable/usr.sbin/fifolog/lib/libfifolog_int.h
/freebsd-11-stable/usr.sbin/fifolog/lib/miniobj.h
/freebsd-11-stable/usr.sbin/flowctl/flowctl.c
/freebsd-11-stable/usr.sbin/freebsd-update/freebsd-update.sh
/freebsd-11-stable/usr.sbin/getfmac/getfmac.c
/freebsd-11-stable/usr.sbin/getpmac/getpmac.c
/freebsd-11-stable/usr.sbin/gpioctl/gpioctl.c
/freebsd-11-stable/usr.sbin/gssd/gssd.c
/freebsd-11-stable/usr.sbin/gstat/gstat.c
/freebsd-11-stable/usr.sbin/i2c/i2c.c
/freebsd-11-stable/usr.sbin/inetd/builtins.c
/freebsd-11-stable/usr.sbin/iscsid/discovery.c
/freebsd-11-stable/usr.sbin/iscsid/iscsid.c
/freebsd-11-stable/usr.sbin/iscsid/iscsid.h
/freebsd-11-stable/usr.sbin/iscsid/keys.c
/freebsd-11-stable/usr.sbin/iscsid/log.c
/freebsd-11-stable/usr.sbin/iscsid/login.c
/freebsd-11-stable/usr.sbin/iscsid/pdu.c
/freebsd-11-stable/usr.sbin/jail/command.c
/freebsd-11-stable/usr.sbin/jail/config.c
/freebsd-11-stable/usr.sbin/jail/jail.c
/freebsd-11-stable/usr.sbin/jail/jaillex.l
/freebsd-11-stable/usr.sbin/jail/jailp.h
/freebsd-11-stable/usr.sbin/jail/jailparse.y
/freebsd-11-stable/usr.sbin/jail/state.c
/freebsd-11-stable/usr.sbin/jexec/jexec.c
/freebsd-11-stable/usr.sbin/jls/jls.c
/freebsd-11-stable/usr.sbin/kbdcontrol/kbdcontrol.c
/freebsd-11-stable/usr.sbin/kbdcontrol/lex.h
/freebsd-11-stable/usr.sbin/kbdcontrol/lex.l
/freebsd-11-stable/usr.sbin/kbdmap/kbdmap.c
/freebsd-11-stable/usr.sbin/kbdmap/kbdmap.h
/freebsd-11-stable/usr.sbin/kgzip/aouthdr.c
/freebsd-11-stable/usr.sbin/kgzip/aouthdr.h
/freebsd-11-stable/usr.sbin/kgzip/elfhdr.c
/freebsd-11-stable/usr.sbin/kgzip/elfhdr.h
/freebsd-11-stable/usr.sbin/kgzip/kgz.h
/freebsd-11-stable/usr.sbin/kgzip/kgzcmp.c
/freebsd-11-stable/usr.sbin/kgzip/kgzip.c
/freebsd-11-stable/usr.sbin/kgzip/kgzip.h
/freebsd-11-stable/usr.sbin/kgzip/kgzld.c
/freebsd-11-stable/usr.sbin/kgzip/xio.c
/freebsd-11-stable/usr.sbin/kldxref/ef_amd64.c
/freebsd-11-stable/usr.sbin/kldxref/ef_i386.c
/freebsd-11-stable/usr.sbin/kldxref/ef_nop.c
/freebsd-11-stable/usr.sbin/kldxref/ef_powerpc.c
/freebsd-11-stable/usr.sbin/kldxref/ef_sparc64.c
/freebsd-11-stable/usr.sbin/lastlogin/lastlogin.c
/freebsd-11-stable/usr.sbin/lpr/chkprintcap/skimprintcap.c
/freebsd-11-stable/usr.sbin/lpr/chkprintcap/skimprintcap.h
/freebsd-11-stable/usr.sbin/lpr/common_source/ctlinfo.c
/freebsd-11-stable/usr.sbin/lpr/common_source/ctlinfo.h
/freebsd-11-stable/usr.sbin/lpr/common_source/lp.cdefs.h
/freebsd-11-stable/usr.sbin/lpr/common_source/matchjobs.c
/freebsd-11-stable/usr.sbin/lpr/common_source/matchjobs.h
/freebsd-11-stable/usr.sbin/lpr/filters.ru/koi2855/koi2855.c
/freebsd-11-stable/usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c
/freebsd-11-stable/usr.sbin/lpr/lp/lp.sh
/freebsd-11-stable/usr.sbin/lpr/lpc/movejobs.c
/freebsd-11-stable/usr.sbin/lptcontrol/lptcontrol.c
/freebsd-11-stable/usr.sbin/mailwrapper/mailwrapper.c
/freebsd-11-stable/usr.sbin/mailwrapper/pathnames.h
/freebsd-11-stable/usr.sbin/makefs/cd9660.c
/freebsd-11-stable/usr.sbin/makefs/cd9660.h
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_archimedes.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_archimedes.h
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_conversion.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_debug.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_eltorito.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_eltorito.h
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_strings.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_write.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/iso9660_rrip.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/iso9660_rrip.h
/freebsd-11-stable/usr.sbin/makefs/ffs.h
/freebsd-11-stable/usr.sbin/makefs/ffs/buf.c
/freebsd-11-stable/usr.sbin/makefs/ffs/buf.h
/freebsd-11-stable/usr.sbin/makefs/ffs/ffs_bswap.c
/freebsd-11-stable/usr.sbin/makefs/ffs/newfs_extern.h
/freebsd-11-stable/usr.sbin/makefs/ffs/ufs_bswap.h
/freebsd-11-stable/usr.sbin/makefs/makefs.c
/freebsd-11-stable/usr.sbin/makefs/makefs.h
/freebsd-11-stable/usr.sbin/makefs/mtree.c
/freebsd-11-stable/usr.sbin/makefs/walk.c
/freebsd-11-stable/usr.sbin/memcontrol/memcontrol.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_bbu.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_cmd.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_config.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_drive.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_evt.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_flash.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_foreign.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_patrol.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_properties.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_show.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_volume.c
/freebsd-11-stable/usr.sbin/mfiutil/mfiutil.c
/freebsd-11-stable/usr.sbin/mfiutil/mfiutil.h
/freebsd-11-stable/usr.sbin/mlxcontrol/command.c
/freebsd-11-stable/usr.sbin/mlxcontrol/config.c
/freebsd-11-stable/usr.sbin/mlxcontrol/interface.c
/freebsd-11-stable/usr.sbin/mlxcontrol/mlxcontrol.h
/freebsd-11-stable/usr.sbin/mlxcontrol/util.c
/freebsd-11-stable/usr.sbin/moused/moused.c
/freebsd-11-stable/usr.sbin/mptable/mptable.c
/freebsd-11-stable/usr.sbin/mtest/mtest.c
/freebsd-11-stable/usr.sbin/nandsim/nandsim.c
/freebsd-11-stable/usr.sbin/nandsim/nandsim_cfgparse.c
/freebsd-11-stable/usr.sbin/nandsim/nandsim_cfgparse.h
/freebsd-11-stable/usr.sbin/nandtool/nand_erase.c
/freebsd-11-stable/usr.sbin/nandtool/nand_info.c
/freebsd-11-stable/usr.sbin/nandtool/nand_read.c
/freebsd-11-stable/usr.sbin/nandtool/nand_readoob.c
/freebsd-11-stable/usr.sbin/nandtool/nand_write.c
/freebsd-11-stable/usr.sbin/nandtool/nand_writeoob.c
/freebsd-11-stable/usr.sbin/nandtool/nandtool.c
/freebsd-11-stable/usr.sbin/nandtool/nandtool.h
/freebsd-11-stable/usr.sbin/nandtool/usage.h
/freebsd-11-stable/usr.sbin/newsyslog/extern.h
/freebsd-11-stable/usr.sbin/pciconf/err.c
/freebsd-11-stable/usr.sbin/pkg/config.c
/freebsd-11-stable/usr.sbin/pkg/config.h
/freebsd-11-stable/usr.sbin/pkg/dns_utils.c
/freebsd-11-stable/usr.sbin/pkg/dns_utils.h
/freebsd-11-stable/usr.sbin/pkg/pkg.c
/freebsd-11-stable/usr.sbin/pmcannotate/pmcannotate.c
/freebsd-11-stable/usr.sbin/pmccontrol/pmccontrol.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_annotate.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_annotate.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_annotate_cg.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_annotate_cg.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_callgraph.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_callgraph.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_calltree.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_calltree.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_gprof.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_gprof.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat_log.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat_log.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat_top.h
/freebsd-11-stable/usr.sbin/portsnap/make_index/make_index.c
/freebsd-11-stable/usr.sbin/portsnap/phttpget/phttpget.c
/freebsd-11-stable/usr.sbin/portsnap/portsnap/portsnap.sh
/freebsd-11-stable/usr.sbin/powerd/powerd.c
/freebsd-11-stable/usr.sbin/ppp/acf.c
/freebsd-11-stable/usr.sbin/ppp/acf.h
/freebsd-11-stable/usr.sbin/ppp/arp.c
/freebsd-11-stable/usr.sbin/ppp/arp.h
/freebsd-11-stable/usr.sbin/ppp/async.c
/freebsd-11-stable/usr.sbin/ppp/async.h
/freebsd-11-stable/usr.sbin/ppp/auth.c
/freebsd-11-stable/usr.sbin/ppp/auth.h
/freebsd-11-stable/usr.sbin/ppp/bundle.c
/freebsd-11-stable/usr.sbin/ppp/bundle.h
/freebsd-11-stable/usr.sbin/ppp/cbcp.c
/freebsd-11-stable/usr.sbin/ppp/cbcp.h
/freebsd-11-stable/usr.sbin/ppp/ccp.c
/freebsd-11-stable/usr.sbin/ppp/ccp.h
/freebsd-11-stable/usr.sbin/ppp/chap.c
/freebsd-11-stable/usr.sbin/ppp/chap.h
/freebsd-11-stable/usr.sbin/ppp/chap_ms.c
/freebsd-11-stable/usr.sbin/ppp/chap_ms.h
/freebsd-11-stable/usr.sbin/ppp/chat.c
/freebsd-11-stable/usr.sbin/ppp/chat.h
/freebsd-11-stable/usr.sbin/ppp/command.c
/freebsd-11-stable/usr.sbin/ppp/command.h
/freebsd-11-stable/usr.sbin/ppp/datalink.c
/freebsd-11-stable/usr.sbin/ppp/datalink.h
/freebsd-11-stable/usr.sbin/ppp/deflate.c
/freebsd-11-stable/usr.sbin/ppp/deflate.h
/freebsd-11-stable/usr.sbin/ppp/defs.c
/freebsd-11-stable/usr.sbin/ppp/defs.h
/freebsd-11-stable/usr.sbin/ppp/descriptor.h
/freebsd-11-stable/usr.sbin/ppp/ether.c
/freebsd-11-stable/usr.sbin/ppp/ether.h
/freebsd-11-stable/usr.sbin/ppp/exec.c
/freebsd-11-stable/usr.sbin/ppp/exec.h
/freebsd-11-stable/usr.sbin/ppp/filter.c
/freebsd-11-stable/usr.sbin/ppp/filter.h
/freebsd-11-stable/usr.sbin/ppp/fsm.c
/freebsd-11-stable/usr.sbin/ppp/fsm.h
/freebsd-11-stable/usr.sbin/ppp/hdlc.c
/freebsd-11-stable/usr.sbin/ppp/hdlc.h
/freebsd-11-stable/usr.sbin/ppp/i4b.h
/freebsd-11-stable/usr.sbin/ppp/id.c
/freebsd-11-stable/usr.sbin/ppp/id.h
/freebsd-11-stable/usr.sbin/ppp/iface.c
/freebsd-11-stable/usr.sbin/ppp/iface.h
/freebsd-11-stable/usr.sbin/ppp/ip.c
/freebsd-11-stable/usr.sbin/ppp/ip.h
/freebsd-11-stable/usr.sbin/ppp/ipcp.c
/freebsd-11-stable/usr.sbin/ppp/ipcp.h
/freebsd-11-stable/usr.sbin/ppp/iplist.c
/freebsd-11-stable/usr.sbin/ppp/iplist.h
/freebsd-11-stable/usr.sbin/ppp/ipv6cp.c
/freebsd-11-stable/usr.sbin/ppp/ipv6cp.h
/freebsd-11-stable/usr.sbin/ppp/layer.h
/freebsd-11-stable/usr.sbin/ppp/lcp.c
/freebsd-11-stable/usr.sbin/ppp/lcp.h
/freebsd-11-stable/usr.sbin/ppp/link.c
/freebsd-11-stable/usr.sbin/ppp/link.h
/freebsd-11-stable/usr.sbin/ppp/log.c
/freebsd-11-stable/usr.sbin/ppp/log.h
/freebsd-11-stable/usr.sbin/ppp/lqr.c
/freebsd-11-stable/usr.sbin/ppp/lqr.h
/freebsd-11-stable/usr.sbin/ppp/main.c
/freebsd-11-stable/usr.sbin/ppp/main.h
/freebsd-11-stable/usr.sbin/ppp/mbuf.c
/freebsd-11-stable/usr.sbin/ppp/mbuf.h
/freebsd-11-stable/usr.sbin/ppp/mp.c
/freebsd-11-stable/usr.sbin/ppp/mp.h
/freebsd-11-stable/usr.sbin/ppp/mppe.c
/freebsd-11-stable/usr.sbin/ppp/mppe.h
/freebsd-11-stable/usr.sbin/ppp/nat_cmd.c
/freebsd-11-stable/usr.sbin/ppp/nat_cmd.h
/freebsd-11-stable/usr.sbin/ppp/ncp.c
/freebsd-11-stable/usr.sbin/ppp/ncp.h
/freebsd-11-stable/usr.sbin/ppp/ncpaddr.c
/freebsd-11-stable/usr.sbin/ppp/ncpaddr.h
/freebsd-11-stable/usr.sbin/ppp/netgraph.c
/freebsd-11-stable/usr.sbin/ppp/netgraph.h
/freebsd-11-stable/usr.sbin/ppp/pap.c
/freebsd-11-stable/usr.sbin/ppp/pap.h
/freebsd-11-stable/usr.sbin/ppp/pred.c
/freebsd-11-stable/usr.sbin/ppp/pred.h
/freebsd-11-stable/usr.sbin/ppp/probe.c
/freebsd-11-stable/usr.sbin/ppp/probe.h
/freebsd-11-stable/usr.sbin/ppp/prompt.c
/freebsd-11-stable/usr.sbin/ppp/prompt.h
/freebsd-11-stable/usr.sbin/ppp/proto.c
/freebsd-11-stable/usr.sbin/ppp/proto.h
/freebsd-11-stable/usr.sbin/ppp/radius.c
/freebsd-11-stable/usr.sbin/ppp/radius.h
/freebsd-11-stable/usr.sbin/ppp/route.c
/freebsd-11-stable/usr.sbin/ppp/route.h
/freebsd-11-stable/usr.sbin/ppp/server.c
/freebsd-11-stable/usr.sbin/ppp/server.h
/freebsd-11-stable/usr.sbin/ppp/sig.c
/freebsd-11-stable/usr.sbin/ppp/sig.h
/freebsd-11-stable/usr.sbin/ppp/sync.c
/freebsd-11-stable/usr.sbin/ppp/sync.h
/freebsd-11-stable/usr.sbin/ppp/systems.c
/freebsd-11-stable/usr.sbin/ppp/systems.h
/freebsd-11-stable/usr.sbin/ppp/tcp.c
/freebsd-11-stable/usr.sbin/ppp/tcp.h
/freebsd-11-stable/usr.sbin/ppp/tcpmss.c
/freebsd-11-stable/usr.sbin/ppp/tcpmss.h
/freebsd-11-stable/usr.sbin/ppp/throughput.c
/freebsd-11-stable/usr.sbin/ppp/throughput.h
/freebsd-11-stable/usr.sbin/ppp/timer.c
/freebsd-11-stable/usr.sbin/ppp/timer.h
/freebsd-11-stable/usr.sbin/ppp/tty.c
/freebsd-11-stable/usr.sbin/ppp/tty.h
/freebsd-11-stable/usr.sbin/ppp/tun.c
/freebsd-11-stable/usr.sbin/ppp/tun.h
/freebsd-11-stable/usr.sbin/ppp/ua.h
/freebsd-11-stable/usr.sbin/ppp/udp.c
/freebsd-11-stable/usr.sbin/ppp/udp.h
/freebsd-11-stable/usr.sbin/ppp/vjcomp.c
/freebsd-11-stable/usr.sbin/ppp/vjcomp.h
/freebsd-11-stable/usr.sbin/pppctl/pppctl.c
/freebsd-11-stable/usr.sbin/pw/bitmap.c
/freebsd-11-stable/usr.sbin/pw/bitmap.h
/freebsd-11-stable/usr.sbin/pw/cpdir.c
/freebsd-11-stable/usr.sbin/pw/grupd.c
/freebsd-11-stable/usr.sbin/pw/psdate.c
/freebsd-11-stable/usr.sbin/pw/psdate.h
/freebsd-11-stable/usr.sbin/pw/pw.c
/freebsd-11-stable/usr.sbin/pw/pw.h
/freebsd-11-stable/usr.sbin/pw/pw_conf.c
/freebsd-11-stable/usr.sbin/pw/pw_group.c
/freebsd-11-stable/usr.sbin/pw/pw_log.c
/freebsd-11-stable/usr.sbin/pw/pw_nis.c
/freebsd-11-stable/usr.sbin/pw/pw_user.c
/freebsd-11-stable/usr.sbin/pw/pw_vpw.c
/freebsd-11-stable/usr.sbin/pw/pwupd.c
/freebsd-11-stable/usr.sbin/pw/pwupd.h
/freebsd-11-stable/usr.sbin/pw/rm_r.c
/freebsd-11-stable/usr.sbin/quot/quot.c
/freebsd-11-stable/usr.sbin/rarpd/rarpd.c
/freebsd-11-stable/usr.sbin/rpc.lockd/kern.c
/freebsd-11-stable/usr.sbin/rpc.umntall/mounttab.c
/freebsd-11-stable/usr.sbin/rpc.umntall/mounttab.h
/freebsd-11-stable/usr.sbin/rpc.umntall/rpc.umntall.c
/freebsd-11-stable/usr.sbin/rpcbind/util.c
/freebsd-11-stable/usr.sbin/rtadvctl/rtadvctl.c
/freebsd-11-stable/usr.sbin/rtadvd/advcap.h
/freebsd-11-stable/usr.sbin/rtadvd/control.c
/freebsd-11-stable/usr.sbin/rtadvd/control.h
/freebsd-11-stable/usr.sbin/rtadvd/control_client.c
/freebsd-11-stable/usr.sbin/rtadvd/control_client.h
/freebsd-11-stable/usr.sbin/rtadvd/control_server.c
/freebsd-11-stable/usr.sbin/rtadvd/control_server.h
/freebsd-11-stable/usr.sbin/rtprio/rtprio.c
/freebsd-11-stable/usr.sbin/sa/db.c
/freebsd-11-stable/usr.sbin/sa/extern.h
/freebsd-11-stable/usr.sbin/sa/main.c
/freebsd-11-stable/usr.sbin/sa/pathnames.h
/freebsd-11-stable/usr.sbin/sa/pdb.c
/freebsd-11-stable/usr.sbin/sa/usrdb.c
/freebsd-11-stable/usr.sbin/service/service.sh
/freebsd-11-stable/usr.sbin/services_mkdb/extern.h
/freebsd-11-stable/usr.sbin/services_mkdb/services_mkdb.c
/freebsd-11-stable/usr.sbin/services_mkdb/uniq.c
/freebsd-11-stable/usr.sbin/setfmac/setfmac.c
/freebsd-11-stable/usr.sbin/setpmac/setpmac.c
/freebsd-11-stable/usr.sbin/smbmsg/pathnames.h
/freebsd-11-stable/usr.sbin/smbmsg/smbmsg.c
/freebsd-11-stable/usr.sbin/snapinfo/snapinfo.c
/freebsd-11-stable/usr.sbin/spkrtest/spkrtest.sh
/freebsd-11-stable/usr.sbin/spray/spray.c
/freebsd-11-stable/usr.sbin/traceroute/findsaddr-udp.c
/freebsd-11-stable/usr.sbin/uathload/uathload.c
/freebsd-11-stable/usr.sbin/ugidfw/ugidfw.c
/freebsd-11-stable/usr.sbin/uhsoctl/uhsoctl.c
/freebsd-11-stable/usr.sbin/unbound/local-setup/local-unbound-setup.sh
/freebsd-11-stable/usr.sbin/usbconfig/dump.c
/freebsd-11-stable/usr.sbin/usbconfig/dump.h
/freebsd-11-stable/usr.sbin/usbconfig/usbconfig.c
/freebsd-11-stable/usr.sbin/usbdump/usbdump.c
/freebsd-11-stable/usr.sbin/utx/utx.c
/freebsd-11-stable/usr.sbin/vidcontrol/decode.c
/freebsd-11-stable/usr.sbin/vidcontrol/vidcontrol.c
/freebsd-11-stable/usr.sbin/wake/wake.c
/freebsd-11-stable/usr.sbin/watch/watch.c
/freebsd-11-stable/usr.sbin/watchdogd/watchdogd.c
/freebsd-11-stable/usr.sbin/wlandebug/wlandebug.c
/freebsd-11-stable/usr.sbin/ypbind/ypbind.c
/freebsd-11-stable/usr.sbin/yppoll/yppoll.c
/freebsd-11-stable/usr.sbin/ypset/ypset.c
325395 04-Nov-2017 pfg

MFC r325067:
bsnmpd: Only refresh devtree if devd event is a new or removed device.

It makes sense to refresh the tree only when a device is inserted or
removed, otherwise bsnmpd needlessly wastes lots of CPU.

PR: 209368

319119 29-May-2017 ngie

MFC r314659,r314676:

r314659:

usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible

This simplifies make logic/output

r314676:

Fix build after r314656

Some of the changes I introduced to use .ALLSRC were correct in spirit,
but incorrect in reality -- in particular, ../Makefile.inc hadn't been
pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value
of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk
explicitly so we can be certain that the values used as dependencies in
the targets are defined when the target recipe has been evaluated.

Reminder: thou shalt separate out separate functional changes before
committing them.

(YUGE) Pointyhat to: ngie
In collaboration with: bdrewery


/freebsd-11-stable/usr.sbin/acpi/Makefile.inc
/freebsd-11-stable/usr.sbin/amd/Makefile.inc
/freebsd-11-stable/usr.sbin/amd/amd/Makefile
/freebsd-11-stable/usr.sbin/amd/libamu/Makefile
/freebsd-11-stable/usr.sbin/ancontrol/Makefile
/freebsd-11-stable/usr.sbin/audit/Makefile
/freebsd-11-stable/usr.sbin/auditd/Makefile
/freebsd-11-stable/usr.sbin/auditdistd/Makefile
/freebsd-11-stable/usr.sbin/auditreduce/Makefile
/freebsd-11-stable/usr.sbin/authpf/Makefile
/freebsd-11-stable/usr.sbin/autofs/Makefile
/freebsd-11-stable/usr.sbin/bhyvectl/Makefile
/freebsd-11-stable/usr.sbin/bhyveload/Makefile
/freebsd-11-stable/usr.sbin/bluetooth/Makefile.inc
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/Makefile
/freebsd-11-stable/usr.sbin/bluetooth/rfcomm_pppd/Makefile
bsnmpd/Makefile
gensnmptree/Makefile
tools/Makefile.inc
/freebsd-11-stable/usr.sbin/camdd/Makefile
/freebsd-11-stable/usr.sbin/ckdist/Makefile
/freebsd-11-stable/usr.sbin/cron/crontab/Makefile
/freebsd-11-stable/usr.sbin/cron/lib/Makefile
/freebsd-11-stable/usr.sbin/ctladm/Makefile
/freebsd-11-stable/usr.sbin/ctld/Makefile
/freebsd-11-stable/usr.sbin/ctm/Makefile.inc
/freebsd-11-stable/usr.sbin/ctm/ctm/Makefile
/freebsd-11-stable/usr.sbin/ctm/ctm_dequeue/Makefile
/freebsd-11-stable/usr.sbin/ctm/ctm_smail/Makefile
/freebsd-11-stable/usr.sbin/dconschat/Makefile
/freebsd-11-stable/usr.sbin/editmap/Makefile
/freebsd-11-stable/usr.sbin/eeprom/Makefile
/freebsd-11-stable/usr.sbin/fdcontrol/Makefile
/freebsd-11-stable/usr.sbin/fdformat/Makefile
/freebsd-11-stable/usr.sbin/fmtree/Makefile
/freebsd-11-stable/usr.sbin/fstyp/Makefile
/freebsd-11-stable/usr.sbin/ftp-proxy/Makefile
/freebsd-11-stable/usr.sbin/fwcontrol/Makefile
/freebsd-11-stable/usr.sbin/gpioctl/Makefile
/freebsd-11-stable/usr.sbin/gssd/Makefile
/freebsd-11-stable/usr.sbin/hyperv/tools/kvp/Makefile
/freebsd-11-stable/usr.sbin/hyperv/tools/vss/Makefile
/freebsd-11-stable/usr.sbin/iovctl/Makefile
/freebsd-11-stable/usr.sbin/iscsid/Makefile
/freebsd-11-stable/usr.sbin/mailstats/Makefile
/freebsd-11-stable/usr.sbin/mailwrapper/Makefile
/freebsd-11-stable/usr.sbin/makemap/Makefile
/freebsd-11-stable/usr.sbin/mlxcontrol/Makefile
/freebsd-11-stable/usr.sbin/mount_smbfs/Makefile
/freebsd-11-stable/usr.sbin/mountd/Makefile
/freebsd-11-stable/usr.sbin/mpsutil/Makefile
/freebsd-11-stable/usr.sbin/ndiscvt/Makefile
/freebsd-11-stable/usr.sbin/ndp/Makefile
/freebsd-11-stable/usr.sbin/nmtree/Makefile
/freebsd-11-stable/usr.sbin/pkg/Makefile
/freebsd-11-stable/usr.sbin/pnpinfo/Makefile
/freebsd-11-stable/usr.sbin/praliases/Makefile
/freebsd-11-stable/usr.sbin/praudit/Makefile
/freebsd-11-stable/usr.sbin/pwd_mkdb/Makefile
/freebsd-11-stable/usr.sbin/rip6query/Makefile
/freebsd-11-stable/usr.sbin/rpcbind/tests/Makefile
/freebsd-11-stable/usr.sbin/rtadvctl/Makefile
/freebsd-11-stable/usr.sbin/sa/Makefile
/freebsd-11-stable/usr.sbin/sendmail/Makefile
/freebsd-11-stable/usr.sbin/tcpdump/tcpdump/Makefile
/freebsd-11-stable/usr.sbin/timed/timedc/Makefile
318108 09-May-2017 bdrewery

DIRDEPS_BUILD: Update dependencies.

This is a direct commit since MFCing these changes is impractical.

Sponsored by: Dell EMC Isilon

317062 17-Apr-2017 araujo

MFC r314987-r314989, r314993-r314994, r315046-r315049, r315102

r314987:
Use nitems() from sys/param.h.

Reviewed by: asomers
MFC after: 3 weeks.
Differential Revision: https://reviews.freebsd.org/D9944

r314988:
Use nitems() from sys/param.h.

Reviewed by: ume
MFC after: 3 weeks.
Differential Revision: https://reviews.freebsd.org/D9938

r314989:
Use nitems() from sys/param.h and also remove the cast.

Reviewed by: markj
MFC after: 3 weeks.
Differential Revision: https://reviews.freebsd.org/D9937

r314993:
Use nitems() from sys/param.h.

Reviewed by: ngie
MFC after: 3 weeks.
Differential Revision: https://reviews.freebsd.org/D9936

r314994:
Use nitems() from sys/param.h.

Reviewed by: ngie
MFC after: 3 weeks.
Differential Revision: https://reviews.freebsd.org/D9940

r315046:
Use nitems() from sys/param.h

Reviewed by: jhb
MFC after: 3 weeks.
Differential Revision: https://reviews.freebsd.org/D9941

r315047:
Use nitems() from sys/param.h.

Reviewed by: np
MFC after: 3 weeks.
Differential Revision: https://reviews.freebsd.org/D9945

r315048:
Use nitems() from sys/param.h.

MFC after: 3 weeks.

r315049:
Bring back the cast removed in my previous commit to allow us build vmstat
with WARNS 2. This cast was first introduced at r87690.

Reported by: bde, pfg and ngie
MFC after: 3 weeks.

r315102:
Use nitems() from sys/param.h.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D9943

313242 04-Feb-2017 ngie

MFC r311174:

Make /usr/lib/libbsnmptools.so.0 into an INTERRNALLIB

Although it increases the size of the bsnmp{get,set,walk} binaries by
four on my [amd64] system, it removes the need for producing .debug
files, profiled libraries, and for installing the library itself,
reducing the overall size use on disk by the utilities noted
previously.

Plus, it guards against ABI/API compatibility issues with the library
as it's only used internal to the tools themselves.

313239 04-Feb-2017 ngie

MFC r311744,r312328,r312329,r312330:

r311744:

Document bsd.snmpmod.mk from a high-level

r312328:

Add a make target (smilint) for running smilint tool against BMIBS

Running smilint against MIB definitions is useful in finding
functional problems with MIB definitions/descriptions.

This is inspired by the smilint targets defined in
usr.sbin/bsnmpd/modules/{snmp_hostres,snmp_mibII}/Makefile

Document all of the variables that are involved in running the
smilint target, as well as all of the prerequisites to running
it.

r312329:

Remove ad hoc smilint targets made standard in bsd.snmpmod.mk in r312328

r312330:

Add smilint target to subdir targets so "make smilint" here will run
the smilint target in subdirs

While here, convert a path that's .CURDIR relative to SRCTOP

312262 16-Jan-2017 ngie

MFC r311740:

Improve the smilint target in the hostres and mibII modules

- Mark the smilint target .PHONY so it's always executed when requested
- Leverage .PATH for BMIBS instead of spelling the path out longhand
for them

312258 16-Jan-2017 ngie

MFC r311758:

Add a REVISION section to track changes for the BEGEMOT-ATM-FREEBSD-MIB MIB file

There haven't been any changes to the MIB definition, so the REVISION
remains static at the version it was imported at

312256 16-Jan-2017 ngie

MFC r311741,r311761:

r311741:

Add a REVISION section to track changes for the hostres module

There haven't been any changes to the MIB definition, so the REVISION remains
static at the version it was imported at

r311761:

Add a REVISION section to track changes for the BEGEMOT-NETGRAPH MIB file

This change also documents the modification harti made to a handful of
objects in r122758 (the max OCTET STRING width was increased from 15 to
31 octets)

312056 13-Jan-2017 ngie

MFC r311739:

Use SRCTOP instead of spelling out the full path with .CURDIR

This helps condense the output for CFLAGS and .PATH

312049 13-Jan-2017 ngie

MFC r310892,r310894,r310989:

r310892:

Don't call snmp_pdu_free(..) until finished with the pdu and when ready to
allocate a new one via snmp_pdu_create(..)

This fixes bsnmpwalk, so it no longer crashes after r310729

r310894:

snmp_pdu_free the right object at the right time in snmptool_walk

r310892 was on the right track, but unfortunately it was resolving
the problem incorrectly and accidentally leaking memory in the
process.

- Call snmp_pdu_free on req before calling snmp_pdu_create on it
at the bottom of the outer while loop
- Call snmp_pdu_free on resp after calling snmpwalk_nextpdu_create
in the inner loop

r310989:

Call snmp_pdu_free on req/resp with a consistent, correct pattern

- snmp_pdu_free should be called before snmp_pdu_create is called
again
- snmp_pdu_free should be called on the resp to snmp_dialog when
successful

Tested with the following bsnmp commands:

% export SNMPUSER=bsnmp SNMPPASSWD=bsnmptest
% SNMP_ARGS="-A proto=sha -C context='' -K -P proto=des -v 3 -r 0"
% bsnmpset $SNMP_ARGS sysLocation="MyAgent"
% bsnmpget $SNMP_ARGS sysLocation
% bsnmpwalk $SNMP_ARGS

312043 13-Jan-2017 ngie

MFC r311290,r311293,r311294:

r311290:

Use strlcpy instead of strcpy when copying the bridge name to ifr.ifr_name
to avoid buffer overflows

CID: 1006735, 1006737, 1006738

r311293:

bridge_do_pfctl: allocate mib_name dynamically using asprintf

This is being done to reduce wasted space, simplify complexity in
the code, and to quell a Coverity warning about buffer overruns.
warning about buffer overruns.

CID: 1006736

r311294:

style cleanup

- bridge_pf_dump: use nitems instead of spelling it out longhand
- bridge_do_pfctl: sort variables by alignment for type

311719 09-Jan-2017 ngie

MFC r311393:

OS_getSystemUptime: use nitems for calculating the number of elements
in a sysctl mib instead of hardcoding the number 2

311600 07-Jan-2017 ngie

MFC r311291:

bridge_get_pfval: use nitems instead of spelling it out longhand

311594 07-Jan-2017 ngie

MFC r310497:

Warning message cleanup

- Use warn instead of warnx + strerror(errno)
- Remove unnecessary trailing newline from a warnx call
- Add missing spaces following "," in syslog and warn* calls

311591 07-Jan-2017 ngie

MFC r310954,r310987,r311222:

r310954:

Set value->v.octetstring.len to a correct value on malloc success/failure

The previous code always set value->v.octetstring.len to len, regardless
of the result from the malloc call. This misleads the caller on malloc
failure. Set .len to len on success and 0 on failure.

CID: 1007590

r310987:

snmp_output_err_resp, snmp_output_resp: allocate `object` using calloc, not
on the stack

Some of the callers try to determine whether or not `object` is valid by
testing the value for NULL, which will never be true if it's a stack value,
so in order to be clear and correct down the call stack, use a heap
allocated object.

This also addresses a Coverity issue by initializing all of `object` via
calloc

CID: 1006392

r311222:

Fix logical inversion when checking result from calloc
in snmp_output_err_resp(..)

CID: 1368195

311465 06-Jan-2017 ngie

MFC r311175:

Swap parameters around with parse_syntax_strval(..) for consistency with
other parse_* APIs in bsnmp*

Noted by: bz

311215 04-Jan-2017 ngie

MFC r310711:

Don't explicitly build tcp wrappers support into bsnmpd; make it conditional
on MK_TCP_WRAPPERS != "no"

This likely fixes an issue seen where some of the USE_TCPWRAPPERS code didn't
work as advertised

311212 04-Jan-2017 ngie

MFC r310665:

Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no

311209 04-Jan-2017 ngie

MFC r310664:

Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no

311152 03-Jan-2017 ngie

MFC r310986:

snmp_output_resp: style(9): sort variables by alignment

310911 31-Dec-2016 ngie

MFC r310668:

style(9) fixes: clean up leading whitespace

310905 31-Dec-2016 ngie

MFC r310667:

style(9) fixes: clean up leading whitespace

310902 31-Dec-2016 ngie

MFC r310669:

style(9): clean up whitespace

310901 31-Dec-2016 ngie

MFC r310648:

style(9): clean up trailing whitespace


/freebsd-11-stable/contrib/bsnmp/gensnmpdef/gensnmpdef.1
/freebsd-11-stable/contrib/bsnmp/gensnmpdef/gensnmpdef.c
/freebsd-11-stable/contrib/bsnmp/gensnmptree/gensnmptree.1
/freebsd-11-stable/contrib/bsnmp/gensnmptree/gensnmptree.c
/freebsd-11-stable/contrib/bsnmp/lib/asn1.3
/freebsd-11-stable/contrib/bsnmp/lib/asn1.c
/freebsd-11-stable/contrib/bsnmp/lib/asn1.h
/freebsd-11-stable/contrib/bsnmp/lib/bsnmpagent.3
/freebsd-11-stable/contrib/bsnmp/lib/bsnmpclient.3
/freebsd-11-stable/contrib/bsnmp/lib/bsnmplib.3
/freebsd-11-stable/contrib/bsnmp/lib/snmp.c
/freebsd-11-stable/contrib/bsnmp/lib/snmp.h
/freebsd-11-stable/contrib/bsnmp/lib/snmpagent.c
/freebsd-11-stable/contrib/bsnmp/lib/snmpagent.h
/freebsd-11-stable/contrib/bsnmp/lib/snmpclient.c
/freebsd-11-stable/contrib/bsnmp/lib/snmpclient.h
/freebsd-11-stable/contrib/bsnmp/lib/snmpcrypto.c
/freebsd-11-stable/contrib/bsnmp/lib/snmppriv.h
/freebsd-11-stable/contrib/bsnmp/lib/support.c
/freebsd-11-stable/contrib/bsnmp/lib/support.h
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII.h
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_begemot.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_ifmib.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_ifstack.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_interfaces.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_ip.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_ipaddr.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_nettomedia.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_rcvaddr.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_route.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_tcp.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_tree.def
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/mibII_udp.c
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/snmp_mibII.3
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/snmp_mibII.h
/freebsd-11-stable/contrib/bsnmp/snmp_ntp/NTP-MIB.txt
/freebsd-11-stable/contrib/bsnmp/snmp_ntp/NTP-PROXY-MIB.txt
/freebsd-11-stable/contrib/bsnmp/snmp_target/snmp_target.3
/freebsd-11-stable/contrib/bsnmp/snmp_usm/snmp_usm.3
/freebsd-11-stable/contrib/bsnmp/snmp_usm/usm_snmp.c
/freebsd-11-stable/contrib/bsnmp/snmp_vacm/snmp_vacm.3
/freebsd-11-stable/contrib/bsnmp/snmp_vacm/vacm_snmp.c
/freebsd-11-stable/contrib/bsnmp/snmpd/BEGEMOT-MIB.txt
/freebsd-11-stable/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt
/freebsd-11-stable/contrib/bsnmp/snmpd/FOKUS-MIB.txt
/freebsd-11-stable/contrib/bsnmp/snmpd/action.c
/freebsd-11-stable/contrib/bsnmp/snmpd/config.c
/freebsd-11-stable/contrib/bsnmp/snmpd/export.c
/freebsd-11-stable/contrib/bsnmp/snmpd/main.c
/freebsd-11-stable/contrib/bsnmp/snmpd/snmpd.config
/freebsd-11-stable/contrib/bsnmp/snmpd/snmpd.h
/freebsd-11-stable/contrib/bsnmp/snmpd/snmpd.sh
/freebsd-11-stable/contrib/bsnmp/snmpd/snmpmod.3
/freebsd-11-stable/contrib/bsnmp/snmpd/snmpmod.h
/freebsd-11-stable/contrib/bsnmp/snmpd/trans_lsock.c
/freebsd-11-stable/contrib/bsnmp/snmpd/trans_lsock.h
/freebsd-11-stable/contrib/bsnmp/snmpd/trans_udp.c
/freebsd-11-stable/contrib/bsnmp/snmpd/trans_udp.h
/freebsd-11-stable/contrib/bsnmp/snmpd/trap.c
/freebsd-11-stable/contrib/bsnmp/snmpd/tree.def
modules/snmp_atm/BEGEMOT-ATM-FREEBSD-MIB.txt
modules/snmp_atm/atm_sys.c
modules/snmp_bridge/BEGEMOT-BRIDGE-MIB.txt
modules/snmp_bridge/bridge_addrs.c
modules/snmp_bridge/bridge_if.c
modules/snmp_bridge/bridge_port.c
modules/snmp_bridge/bridge_sys.c
modules/snmp_bridge/snmp_bridge.3
modules/snmp_hostres/snmp_hostres.3
modules/snmp_netgraph/snmp_netgraph.c
modules/snmp_pf/BEGEMOT-PF-MIB.txt
modules/snmp_pf/Makefile
modules/snmp_pf/pf_snmp.c
modules/snmp_target/Makefile
modules/snmp_usm/Makefile
modules/snmp_vacm/Makefile
modules/snmp_wlan/wlan_snmp.c
modules/snmp_wlan/wlan_snmp.h
modules/snmp_wlan/wlan_sys.c
tools/bsnmptools/bsnmpget.c
tools/libbsnmptools/bsnmpimport.c
tools/libbsnmptools/bsnmpmap.c
tools/libbsnmptools/bsnmptc.c
tools/libbsnmptools/bsnmptools.c
310899 31-Dec-2016 ngie

MFC r310666,r310675:

r310666:

style(9) fixes

- Clean up trailing whitespace
- Fix variable type alignment in storage_OS_get_swap(..)

r310675:

Fix the build by moving the initializers for len/nswapdev down below the
declarations

Pointyhat to: ngie

310896 31-Dec-2016 ngie

MFC r310654:

Install snmpmod.3 as all of the bsnmpd APIs it documents

310563 26-Dec-2016 ngie

MFC r310196:

Fix some minor typos with begemotBridgeTpLearnedEntryDiscards and
begemotBridgeTpMaxAddresses

Bump LAST-UPDATED for the MIB, per the change

310561 26-Dec-2016 ngie

MFC r310203:

Clean up parse_ip(..)

- Clean up trailing whitespace
- Fix variable alignment

309843 11-Dec-2016 marcel

MFC r305855, r306297, r306300, r306312-r306313

When MAKEOBJDIRPREFIX points to a case-insensitive file system, the
build can break when different source files create the same object
files (case-insensitivity speaking). This is the case for object
files compiled with -fpic and shared libraries. The former uses
an extension of ".So", and the latter an extension ".so". Rename
shared object files from *.So to *.pico to match what NetBSD does.

Also:
o Compile _Exit.c as C99_Exit.c, as it conflicts with _exit.s
o Add entry to UPDATING
o Document .pico extension

302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


/freebsd-11-stable/MAINTAINERS
/freebsd-11-stable/cddl
/freebsd-11-stable/cddl/contrib/opensolaris
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-11-stable/contrib/amd
/freebsd-11-stable/contrib/apr
/freebsd-11-stable/contrib/apr-util
/freebsd-11-stable/contrib/atf
/freebsd-11-stable/contrib/binutils
/freebsd-11-stable/contrib/bmake
/freebsd-11-stable/contrib/byacc
/freebsd-11-stable/contrib/bzip2
/freebsd-11-stable/contrib/com_err
/freebsd-11-stable/contrib/compiler-rt
/freebsd-11-stable/contrib/dialog
/freebsd-11-stable/contrib/dma
/freebsd-11-stable/contrib/dtc
/freebsd-11-stable/contrib/ee
/freebsd-11-stable/contrib/elftoolchain
/freebsd-11-stable/contrib/elftoolchain/ar
/freebsd-11-stable/contrib/elftoolchain/brandelf
/freebsd-11-stable/contrib/elftoolchain/elfdump
/freebsd-11-stable/contrib/expat
/freebsd-11-stable/contrib/file
/freebsd-11-stable/contrib/gcc
/freebsd-11-stable/contrib/gcclibs/libgomp
/freebsd-11-stable/contrib/gdb
/freebsd-11-stable/contrib/gdtoa
/freebsd-11-stable/contrib/groff
/freebsd-11-stable/contrib/ipfilter
/freebsd-11-stable/contrib/ldns
/freebsd-11-stable/contrib/ldns-host
/freebsd-11-stable/contrib/less
/freebsd-11-stable/contrib/libarchive
/freebsd-11-stable/contrib/libarchive/cpio
/freebsd-11-stable/contrib/libarchive/libarchive
/freebsd-11-stable/contrib/libarchive/libarchive_fe
/freebsd-11-stable/contrib/libarchive/tar
/freebsd-11-stable/contrib/libc++
/freebsd-11-stable/contrib/libc-vis
/freebsd-11-stable/contrib/libcxxrt
/freebsd-11-stable/contrib/libexecinfo
/freebsd-11-stable/contrib/libpcap
/freebsd-11-stable/contrib/libstdc++
/freebsd-11-stable/contrib/libucl
/freebsd-11-stable/contrib/libxo
/freebsd-11-stable/contrib/llvm
/freebsd-11-stable/contrib/llvm/projects/libunwind
/freebsd-11-stable/contrib/llvm/tools/clang
/freebsd-11-stable/contrib/llvm/tools/lldb
/freebsd-11-stable/contrib/llvm/tools/llvm-dwarfdump
/freebsd-11-stable/contrib/llvm/tools/llvm-lto
/freebsd-11-stable/contrib/mdocml
/freebsd-11-stable/contrib/mtree
/freebsd-11-stable/contrib/ncurses
/freebsd-11-stable/contrib/netcat
/freebsd-11-stable/contrib/ntp
/freebsd-11-stable/contrib/nvi
/freebsd-11-stable/contrib/one-true-awk
/freebsd-11-stable/contrib/openbsm
/freebsd-11-stable/contrib/openpam
/freebsd-11-stable/contrib/openresolv
/freebsd-11-stable/contrib/pf
/freebsd-11-stable/contrib/sendmail
/freebsd-11-stable/contrib/serf
/freebsd-11-stable/contrib/sqlite3
/freebsd-11-stable/contrib/subversion
/freebsd-11-stable/contrib/tcpdump
/freebsd-11-stable/contrib/tcsh
/freebsd-11-stable/contrib/tnftp
/freebsd-11-stable/contrib/top
/freebsd-11-stable/contrib/top/install-sh
/freebsd-11-stable/contrib/tzcode/stdtime
/freebsd-11-stable/contrib/tzcode/zic
/freebsd-11-stable/contrib/tzdata
/freebsd-11-stable/contrib/unbound
/freebsd-11-stable/contrib/vis
/freebsd-11-stable/contrib/wpa
/freebsd-11-stable/contrib/xz
/freebsd-11-stable/crypto/heimdal
/freebsd-11-stable/crypto/openssh
/freebsd-11-stable/crypto/openssl
/freebsd-11-stable/gnu/lib
/freebsd-11-stable/gnu/usr.bin/binutils
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools
/freebsd-11-stable/gnu/usr.bin/gdb
/freebsd-11-stable/lib/libc/locale/ascii.c
/freebsd-11-stable/sys/cddl/contrib/opensolaris
/freebsd-11-stable/sys/contrib/dev/acpica
/freebsd-11-stable/sys/contrib/ipfilter
/freebsd-11-stable/sys/contrib/libfdt
/freebsd-11-stable/sys/contrib/octeon-sdk
/freebsd-11-stable/sys/contrib/x86emu
/freebsd-11-stable/sys/contrib/xz-embedded
/freebsd-11-stable/usr.sbin/bhyve/atkbdc.h
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.c
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.h
/freebsd-11-stable/usr.sbin/bhyve/console.c
/freebsd-11-stable/usr.sbin/bhyve/console.h
/freebsd-11-stable/usr.sbin/bhyve/pci_fbuf.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.h
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.c
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.h
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.c
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.h
/freebsd-11-stable/usr.sbin/bhyve/rfb.c
/freebsd-11-stable/usr.sbin/bhyve/rfb.h
/freebsd-11-stable/usr.sbin/bhyve/sockstream.c
/freebsd-11-stable/usr.sbin/bhyve/sockstream.h
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.c
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.h
/freebsd-11-stable/usr.sbin/bhyve/usb_mouse.c
/freebsd-11-stable/usr.sbin/bhyve/vga.c
/freebsd-11-stable/usr.sbin/bhyve/vga.h
301285 03-Jun-2016 bdrewery

WITH_META_MODE: Don't expect meta files for side-effect generated files.

The first file in these lists will generate everything else so only
it should be getting a .meta file. With bmake's missing=yes meta
feature these would otherwise cause a rebuild without the
.NOMETA hint.

Sponsored by: EMC / Isilon Storage Division


300167 18-May-2016 glebius

Revert r299830, it has couple of fatal errors.

The CMSG_ family of macros take care of alignment, so we don't need r299830
at all, even if it was correct. Put NO_WCAST_ALIGN into Makefile.

Together with: peter


299831 15-May-2016 ngie

Remove NO_WERROR and add WARNS?= 6

This now compiles cleanly on all architectures

MFC after: 1 month
Tested with: clang 3.8, gcc 4.2.1, gcc 4.5, make tinderbox
Sponsored by: EMC / Isilon Storage Division


299815 15-May-2016 ngie

Remove NO_WERROR.clang from this Makefile

This compiles with clang without warnings

MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division


299814 15-May-2016 ngie

Replace malloc + memset(.., 0, ..) with calloc calls

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


299811 15-May-2016 ngie

Use strdup instead of malloc + strlcpy

Fix error messages on failure for calloc/strdup

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division


299810 15-May-2016 ngie

Correct function names that failed in error messages

It should be calloc/strdup, not malloc

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division


299807 15-May-2016 ngie

Replace QUADFMT with %ju and QUADXFMT with %jx and cast values with uintmax_t

This will cure some -Wformat warnings

MFC after: 1 week
Reported by: clang, gcc
Sponsored by: EMC / Isilon Storage Division


299806 15-May-2016 ngie

Bump WARNS to 6

MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division


299805 15-May-2016 ngie

Fix up r299769

Similar to r299802, it was noted that using nitems on scalar pointers is
invalid.

Use strdup instead of malloc + strlcpy (which is what the old code was doing
anyhow).

MFC after: 1 week
Pointyhat to: ngie
Sponsored by: EMC / Isilon Storage Division


299803 15-May-2016 ngie

Replace malloc + memset(.., 0, ..) with calloc calls

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


299802 15-May-2016 ngie

Fix up both r299764 and r299770

nitems was wrong too, as it was being tested against a pointer instead of a buffer on
the stack.

Since the old code was just doing malloc, then strlcpy'ing the contents of the source
buffer into the destination buffer, replace it all with a call to strdup..

Reported by: bde
MFC after: 1 week
X-MFC with: r299764, r299770
Supersized Duncecap to: ngie
Sponsored by: EMC / Isilon Storage Division


299783 14-May-2016 ngie

Convert tok from enum tok to int32_t in function calls

get_token(..) returns int32_t, not enum tok, and in many cases tests for items
not in enum tok (e.g. '('). Make the typing consistent with get_token, which
includes a domino effect of changing enum tok to int32_t.

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


299778 14-May-2016 ngie

Use a consistent errno save/restore pattern before running strtoul

- Save errno
- Set errno to 0
- Call strtoul
- Test errno (optional, but many calls to strtoul did this afterwards)

Some of the code was setting errno = 0 after calling strtoul, not setting
errno = 0, or setting errno to saved_errno after the call, but before the
test. These all have unwanted behavioral side-effects, depending on the
initial value of errno and whether or not the input to strtoul was correct
or incorrect.

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division


299774 14-May-2016 ngie

Do minimal work necessary to cure a -Wunused-but-set-variable warning from gcc

How errno is saved before and restored after strtoul calls needs a rethink

MFC after: 1 week
Reported by: gcc 5.x
Sponsored by: EMC / Isilon Storage Division


299770 14-May-2016 ngie

Fix up r299764

I meant to use nitems, not sizeof(..) with the destination buffer. Using sizeof(..)
on a pointer will always truncate the output in the destination buffer incorrectly

Pointyhat to: ngie
MFC after: 1 week
X-MFC with: r299764
Sponsored by: EMC / Isilon Storage Division


299769 14-May-2016 ngie

Use the size of the destination buffer instead of the malloc size, repeated, in order
to mute a -Wstrlcpy-strlcat-size warning

MFC after: 1 week
Reported by: clang
Sponsored by: EMC / Isilon Storage Division


299767 14-May-2016 ngie

Mute sign compare warning by casting rc to u_int to match nbindings' type

rc cannot be negative -- that was already tested for earlier on in
the function

MFC after: 1 week
Reported by: clang, gcc
Sponsored by: EMC / Isilon Storage Division


299766 14-May-2016 ngie

Fix logically dead code pointed out by clang/Coverity

parse_context, parse_user_security: test for validity of results from
parse_ascii(..) with by casting to int32_t and comparing to -1; comparing
unsigned types to negative values will always be false.

Reported by: clang, Coverity
CID: 1011432, 1011433
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division


299765 14-May-2016 ngie

Fix theoretical buffer overflow issues in snmp_oid2asn_oid

Increase the size of `string` by 1 to account for the '\0' terminator. In the event
that `str` doesn't contain any non-alpha chars, i would be set to MAXSTR, and
the subsequent strlcpy call would overflow by a character.

Remove unnecessary `string[i] = '\0'` -- this is already handled by strlcpy.

MFC after: 1 week
Reported by: clang
Sponsored by: EMC / Isilon Storage Division


299764 14-May-2016 ngie

Use the size of the destination buffer, not the source buffer.

Technically this is a no-op, but mute the clang warning in case the malloc call
above for fstring ever changes in the future

Reported by: clang
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


299763 14-May-2016 ngie

Mute -Wstrlcpy-strlcat-size warning by using nitems with the size of the buffer

This is a no-op as the malloc above set the size of the buffer to the size used
below, but this keeps things consistent in case the malloc call changes somehow.

MFC after: 1 week
Reported by: clang
Sponsored by: EMC / Isilon Storage Division


299762 14-May-2016 ngie

Mark snmptoolctx unused in parse_authentication(..), parse_privacy(..),
parse_context(..), and parse_user_security(..).

MFC after: 1 week
Reported by: clang, gcc
Sponsored by: EMC / Isilon Storage Division


299761 14-May-2016 ngie

parse_ascii: make count size_t to mute a -Wsign-compare issue

count is always unsigned.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


299760 14-May-2016 ngie

Sort variables in parse_ascii(..) per style(9)

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


299759 14-May-2016 ngie

Use calloc instead of memset(.., 0, ..) + malloc

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


299712 14-May-2016 ngie

Fix some trivial clang/gcc warnings in bsnmptc.c

- By definition, `enum snmp_tc` can't be false (the implied starting sequence
index for the enum is 0). Don't test for it being < 0.
- Staticize `struct snmp_text_conv` to mute a -Wmissing-variable-declarations
warning from clang.
- Remove set but unused variable, ptr, in parse_bridge_id(..) and
parse_bport_id(..) to mute warning from gcc 4.9+.
- Mark value and string unused in snmp_inetaddr2oct(..) and parse_inetaddr(..)
as they're just stub functions.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


299711 14-May-2016 ngie

Fold two malloc + memset(.., 0, ..) calls into equivalent calloc calls

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division


299710 14-May-2016 ngie

Staticize global variables only used in bsnmpimport.c to fix
-Wmissing-variable-declarations warnings

MFC after: 3 weeks
Reported by: clang
Sponsored by: EMC / Isilon Storage Division


299701 13-May-2016 ngie

Move _bsnmptools_debug extern from bsnmpmap.c to bsnmptools.h

It was used in bsnmpmap.c but was stored in bsnmptools.c; moving the extern
to the header allows us to cover all of our bases for the variable, and allows
_bsnmptools_debug to be used in the future elsewhere -- not just bsnmpmap.c.

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division


299593 13-May-2016 truckman

Properly compute the size argument to pass to malloc().

Reported by: Coverity
CID: 1198856
MFC after: 1 week


298750 28-Apr-2016 ngie

Use a better idiom for finding UTC prefixed timezones

Instead of copy-pasting the string literal for "UTC" 3 times and using
strlen, use a static char[3] buffer and sizeof(..).

MFC after: 3 days
X-MFC with: r298507
Submitted by: kib
Sponsored by: EMC / Isilon Storage Division


298507 23-Apr-2016 ngie

Fix looking for "UTC" at start of ptr by using strnmp instead of improperly
unrolled equivalent

CID: 1347118
MFC after: 1 week
Reported by: Coverity
Sponsored by: EMC / Isilon Storage Division


298452 22-Apr-2016 ngie

Don't try to free `string` (stack allocated char[])

Fix minor style with warnx call while in the neighborhood

MFC after: 1 week
CID: 1009683
Reported by: Coverity, gcc 5.x
Sponsored by: EMC / Isilon Storage Division


298451 22-Apr-2016 ngie

Don't use `entry` after free in the "already in lists" case

Return with 0 as it isn't an error.

MFC after: 1 week
CID: 1006085
Reported by: Coverity
Obtained from: Isilon OneFS (part of r493633)
Submitted by: Thor Steingrimsson <thor.steingrimsson@isilon.com>
Sponsored by: EMC / Isilon Storage Division


298107 16-Apr-2016 gjb

Merge the projects/release-pkg branch to head.

This allows packaging the base system with pkg(8), including
but not limited to providing the ability to provide upstream
binary update possibilities for non-tier-1 architectures.

This merge is a requirement of the 11.0-RELEASE, and as such,
thank you to everyone that has tested the project branch.

Documentation in build(7) etc. is still somewhat sparse, but
updates to those parts will follow.

Sponsored by: The FreeBSD Foundation


295989 24-Feb-2016 bdrewery

DIRDEPS_BUILD: Regenerate without local dependencies.

These are no longer needed after the recent 'beforebuild: depend' changes
and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports
skipping 'make depend'.

Sponsored by: EMC / Isilon Storage Division


295435 09-Feb-2016 kib

Rename P_KTHREAD struct proc p_flag to P_KPROC.

I left as is an apparent bug in ntoskrnl_var.h:AT_PASSIVE_LEVEL()
definition.

Suggested by: jhb
Sponsored by: The FreeBSD Foundation


291563 01-Dec-2015 bdrewery

META MODE: Update dependencies with 'the-lot' and add missing directories.

This is not properly respecting WITHOUT or ARCH dependencies in target/.
Doing so requires a massive effort to rework targets/ to do so. A
better approach will be to either include the SUBDIR Makefiles directly
and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose
the benefit of having a userland/lib, userland/libexec, etc, though and
results in a massive package. The current implementation of targets/ is
very unmaintainable.

Currently rescue/rescue and sys/modules are still not connected.

Sponsored by: EMC / Isilon Storage Division


291307 25-Nov-2015 bdrewery

META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.

This both avoids some dependencies on xinstall.host and allows
bootstrapping on older releases to work due to lack of at least 'install -l'
support.

Sponsored by: EMC / Isilon Storage Division


288226 25-Sep-2015 bdrewery

META_MODE: Remove DEP_RELDIR from Makefile.depend files.

This has not been needed since r284171 in projects/bmake.

Sponsored by: EMC / Isilon Storage Division


285719 20-Jul-2015 pfg

snmp_hostres(3): Fix buffer overflow.

Actually just a typo. Detected by gcc + FORTIFY_SOURCE patches.

CID: 1007594
MFC after: 3 days


284481 16-Jun-2015 sjg

new depends


284345 13-Jun-2015 sjg

Add META_MODE support.

Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision: D2796
Reviewed by: brooks imp


281325 09-Apr-2015 bapt

bsnmptools does not depends on libcrypto


276258 26-Dec-2014 joel

mdoc: sort SEE ALSO.


275054 25-Nov-2014 bapt

Convert usr.sbin to LIBADD
Reduce overlinking


274900 23-Nov-2014 dim

Fix the following -Werror warnings from clang 3.5.0, while building
bsnmpd's snmp_hostres module:

usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:204:20: error: absolute value function 'abs' given an argument of type 'const long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value]
str[9] = (u_char)(abs(tm->tm_gmtoff) / 3600);
^
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:204:20: note: use function 'labs' instead
str[9] = (u_char)(abs(tm->tm_gmtoff) / 3600);
^~~
labs
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:205:22: error: absolute value function 'abs' given an argument of type 'const long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value]
str[10] = (u_char)((abs(tm->tm_gmtoff) % 3600) / 60);
^
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:205:22: note: use function 'labs' instead
str[10] = (u_char)((abs(tm->tm_gmtoff) % 3600) / 60);
^~~
labs

Since tm::tm_gmtoff is a long, use labs(3) instead.

MFC after: 3 days


268351 07-Jul-2014 marcel

Remove ia64.

This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation

This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h

Discussed at: BSDcan


267971 27-Jun-2014 loos

Simplify the code a little bit using the update_sensor_sysctl() routine to
retrieve the sensor temperature.

This also avoid the overflow that could happen on sysctlnametomib(3)
because the code was not checking the length of the mib array.

CID: 1222504


267969 27-Jun-2014 loos

Correct the buffer length check to avoid overflows.

Found with: Coverity Scan
CID: 1222502, 1222503


267668 20-Jun-2014 bapt

use .Mt to mark up email addresses consistently (part2)

PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>


266961 02-Jun-2014 loos

Never, ever, abbreviate the month names on manual pages.

Pointed out by: brueffer
Pointy hat to: loos


266936 01-Jun-2014 loos

Adds the bsnmp module to export the temperature data from lm75 sensors on
the system.

Together with lm75(4) this module allows easy temperature monitoring over
SNMP, specially for embedded systems.

Manual page reviewed by: brueffer (D128)


266931 31-May-2014 brueffer

Grammar cleanup; sort SEE ALSO.

MFC after: 1 week


265420 06-May-2014 imp

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


262494 25-Feb-2014 brueffer

Rough cleanup (new sentence -> new line, grammar, spelling, mdoc).
This could use more work.

PR: 187035 (in part)
Submitted by: Bjorn Heidotting
MFC after: 1 week


261797 12-Feb-2014 glebius

Fix world build WITHOUT_PF.

Sponsored by: Nginx, Inc.


260049 29-Dec-2013 trociny

Add mibs for hastd(1) queue stats.

MFC after: 1 week


252540 03-Jul-2013 trociny

hastResourceWorkerPid is read-only.

Submitted by: jilles
MFC after: 3 days


252516 02-Jul-2013 trociny

Add a mib for worker process ID.

MFC after: 3 days


250564 12-May-2013 trociny

Revert r250394, which disabled snmp_hast due to libl dependency issue --
the dependency has been removed in r250503.


250503 11-May-2013 trociny

Get rid of libl dependency. We needed it only to provide yywrap. But
yywrap is not necessary when parsing a single hast.conf file.

Suggested by: kib
Reviewed by: pjd


250405 09-May-2013 trociny

Move snmp_hast manual to section 3, where all other manual pages for
bsnmp modules are located.

Section 3 (Library Functions) looks wrong for this manual page, which
contains only module description, that is why initially it was located
to section 8 (System Manager's Manual). On the other hand manual
pages for all other bsnmpd modules are already located in the section
3, and having all pages in one section looks more consistent. Also,
currently, similarly to manuals for other modules, snmp_hast manual
contains LIBRARY section, which is not good style for section 8.

Requested by: joel
X-MFC with: r250379


250394 08-May-2013 peter

Unbreak build - this can only build on i386 as-is due to use of libl in
a .so file, and we currently (intentionally) only build libl.a.


250379 08-May-2013 trociny

HAST module for bsnmpd(1).

Reviewed by: harti, pjd
MFC after: 2 weeks


249657 19-Apr-2013 ed

Add the Clang specific -Wmissing-variable-declarations to WARNS=6.

This compiler flag enforces that that people either mark variables
static or use an external declarations for the variable, similar to how
-Wmissing-prototypes works for functions.

Due to the fact that Yacc/Lex generate code that cannot trivially be
changed to not warn because of this (lots of yy* variables), add a
NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this
specific compiler warning.

Announced on: toolchain@


249375 11-Apr-2013 joel

Minor spelling and grammar fixes.


248707 25-Mar-2013 trociny

hrStorageSize and hrStorageUsed are 32 bit integers, reporting a fs
size and usage in hrStorageAllocationUnits. If the file system has
more than 2^31 allocations it can not be shown correctly and the
meters are useless.

In such cases follow net-snmp behaviour and increase
hrStorageAllocationUnits so the values fit under INT_MAX.

PR: bin/177183
Submitted by: Eugene Grosbein egrosbein rdtc.ru
MFC after: 2 weeks


245952 26-Jan-2013 pfg

Clean some 'svn:executable' properties in the tree.

Submitted by: Christoph Mallon
MFC after: 3 days


240595 17-Sep-2012 trociny

In snmp_hostres, device_map table is used for consistent device table
indexing. When a device has gone it is not removed from device_map
table but just its entry_p field is set to NULL.

So when traversing device_map in disk_OS_get_ATA_disks() and
disk_OS_get_MD_disks() check for entry_p being NULL, otherwise the
bsnmpd crash is possible when a removed map entry is dereferenced.

Before the fix, for disk_OS_get_ATA_disks() the crash could be easily
reproduced running:

atacontrol detach ata1

The crash was not observed in disk_OS_get_MD_disks() because currently
snmp_hostres does no see md(4) disks: to get the device list it uses
devinfo(3), which does not return md devices.

Reported by: Miroslav Lachman 000.fbsd quip.cz
MFC after: 1 week


240354 11-Sep-2012 glebius

Do not count kernel threads as processes for hrSystemProcesses OID.

PR: bin/160494
Submitted by: Jeremy Chadwick <freebsd jdc.parodius.com>


240352 11-Sep-2012 glebius

Spelling.


240233 08-Sep-2012 glebius

Merge the projects/pf/head branch, that was worked on for last six months,
into head. The most significant achievements in the new code:

o Fine grained locking, thus much better performance.
o Fixes to many problems in pf, that were specific to FreeBSD port.

New code doesn't have that many ifdefs and much less OpenBSDisms, thus
is more attractive to our developers.

Those interested in details, can browse through SVN log of the
projects/pf/head branch. And for reference, here is exact list of
revisions merged:

r232043, r232044, r232062, r232148, r232149, r232150, r232298, r232330,
r232332, r232340, r232386, r232390, r232391, r232605, r232655, r232656,
r232661, r232662, r232663, r232664, r232673, r232691, r233309, r233782,
r233829, r233830, r233834, r233835, r233836, r233865, r233866, r233868,
r233873, r234056, r234096, r234100, r234108, r234175, r234187, r234223,
r234271, r234272, r234282, r234307, r234309, r234382, r234384, r234456,
r234486, r234606, r234640, r234641, r234642, r234644, r234651, r235505,
r235506, r235535, r235605, r235606, r235826, r235991, r235993, r236168,
r236173, r236179, r236180, r236181, r236186, r236223, r236227, r236230,
r236252, r236254, r236298, r236299, r236300, r236301, r236397, r236398,
r236399, r236499, r236512, r236513, r236525, r236526, r236545, r236548,
r236553, r236554, r236556, r236557, r236561, r236570, r236630, r236672,
r236673, r236679, r236706, r236710, r236718, r237154, r237155, r237169,
r237314, r237363, r237364, r237368, r237369, r237376, r237440, r237442,
r237751, r237783, r237784, r237785, r237788, r237791, r238421, r238522,
r238523, r238524, r238525, r239173, r239186, r239644, r239652, r239661,
r239773, r240125, r240130, r240131, r240136, r240186, r240196, r240212.

I'd like to thank people who participated in early testing:

Tested by: Florian Smeets <flo freebsd.org>
Tested by: Chekaluk Vitaly <artemrts ukr.net>
Tested by: Ben Wilber <ben desync.com>
Tested by: Ian FREISLICH <ianf cloudseed.co.za>


239462 20-Aug-2012 dim

Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.


235286 11-May-2012 gjb

General mdoc(7) and typo fixes.

PR: 167734
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days


233648 29-Mar-2012 eadler

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


233510 26-Mar-2012 joel

mdoc: terminate quoted strings.

Reviewed by: brueffer


233455 25-Mar-2012 joel

Remove superfluous paragraph macro.


231564 12-Feb-2012 ed

Globally replace u_int*_t from (non-contributed) man pages.

The reasoning behind this, is that if we are consistent in our
documentation about the uint*_t stuff, people will be less tempted to
write new code that uses the non-standard types.

I am not going to bump the man page dates, as these changes can be
considered style nits. The meaning of the man pages is unaffected.

MFC after: 1 month


229933 10-Jan-2012 syrinx

Implement an option to execute SNMP walks using GETBULK requests in bsnmpwalk(1)
retrieving multiple values with a Single PDU.

Reviewed by: philip@
Tested by: tsanand129 (at) gmail (dot) com


229653 05-Jan-2012 uqs

Partial backout of r228990, restore original MIB object name.

It's too late to change this in 9.0 -- so we have a release with the
misspelling in the wild and should not break users that depend on it.

Deprecating/replacing it because of a one-char typo seems excessive.


229385 03-Jan-2012 ed

Fix subtle typo: compare against idx -- not index.

In this contest, index refers to the index(3) function. In this case it
doesn't really harm, as this function is never called with idx == NULL.

MFC after: 2 weeks


228990 30-Dec-2011 uqs

Spelling fixes for usr.sbin/


228657 17-Dec-2011 dim

In usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.h, use the correct
enumeration types for the mesh_peering and mesh_forwarding members of
struct wlan_iface, to fix enum conversion warnings.

MFC after: 1 week


226685 24-Oct-2011 ivoras

Apparently, "ada" drives are better treated similarly to "da" drives.


226684 24-Oct-2011 ivoras

It seems that the warning is much less severe than its message says. The
device is certainly added to the list after the first pass.


226683 24-Oct-2011 ivoras

Fix typo

MFC after: 1 month


224584 01-Aug-2011 uqs

Fix broken mdoc.

Found by: manlint
Approved by: re (kib)


223933 11-Jul-2011 ae

Use full buffer size in read(2) call, there is no need to preserve the
last byte of the buffer.

Since we call refresh_device_tbl() for any devctl event types - no need
to check the first byte of buffer. Remove these checks.

Also remove logging for the case of unknown devd message. It incorrectly
triggers when all devctl events are not fit into one buffer and part of
unread data will be read in the next pass.

When length of data readed from devctl is equal to sizeof(buf), then try
to read from socket again, to read full data.

MFC after: 2 weeks


222772 06-Jun-2011 ed

Remove redundant assignments to WARNS.

For these directories, WARNS is already implied to be 6.


222286 25-May-2011 ru

[mdoc] Fixed .Dt call.


216605 20-Dec-2010 syrinx

Unbreak the build by temprorarily not using include directives in
bsnmpd(1)' def files, until bsd.snmpmod.mk & Makefiles are fixed to
pass proper include path flags to gensnmptree.


216594 20-Dec-2010 syrinx

Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.

Sponsored by: The FreeBSD Foundation
Reviewed by: philip
Approved by: philip


216485 16-Dec-2010 syrinx

Pass proper -Wl,-export-dynamic to ld. Thus bsnmpd(1) compiled with clang
properly exports its symbols to the modules.

Submitted by: dim


216377 11-Dec-2010 syrinx

Remove unnecessary debug/error CFLAGS.

Reported by : pawel.worach (at) gmail (dot) com


216323 09-Dec-2010 syrinx

Unbreak "make installworld" w/ DESTDIR specified

PR : kern/152939


216295 08-Dec-2010 syrinx

Add bsnmpd(1)'s SNMP client tools (including SNMPv3 support) to the base system.

Sponsored by: The FreeBSD Foundation (the SNMPv3 bits), Google Summer of Code 2005
Reviewed by: philip@ (mostly), bz@ (earlier version based on p4 ch124545)
Approved by: philip@


216294 08-Dec-2010 syrinx

In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415).

Sponsored by: The FreeBSD Foundation
Reviewed by: philip@ (mostly)
Approved by: philip@


214489 28-Oct-2010 uqs

Fix CPU load reporting independent of scheduler used.

- Sample CPU usage data from kern.cp_times, this makes for a far more
accurate and scheduler independent algorithm.
- Rip out the process list scraping that is no longer required.
- Don't update CPU usage sampling on every request, but every 15s
instead. This makes it impossible for an attacker to hide the CPU load
by triggering 4 samplings in short succession when the system is idle.
- After reaching the steady-state, the system will always report the
average CPU load of the last 60 sampled seconds.
- Untangling of call graph.

PR: kern/130222
Tested by: Julian Dunn <jdunn@aquezada.com>
Gustau Pérez <gperez@entel.upc.edu>
Jürgen Weiß <weiss@uni-mainz.de>
MFC after: 2 weeks

I'm unsure if some MIB standard states this must be the load average
for, eg. 300s, it looks like net-snmp isn't even bothering to implement
the CPU load reporting at all.


211397 16-Aug-2010 joel

Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages. Minor corrections by me.

Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>


210933 06-Aug-2010 joel

Fix typos and spelling mistakes.


210504 26-Jul-2010 syrinx

Connect the snmp_wlan(3) module to the build.

Sponsored by: The FreeBSD Foundation


210502 26-Jul-2010 syrinx

Bring in a SNMP module to support monitoring cloned wireless interfaces
via bsnmpd(1). The module implements a private BEGEMOT-WIRELESS-MIB.

Sponsored by: The FreeBSD Foundation
Reviewed by: philip@
Approved by: philip@


210442 24-Jul-2010 simon

Make failed open of /dev/mdctl in the bsnmpd hostres module non-fatal.
This makes it possible to use the hostres module when bsnmpd is not
running as root.

MFC after: 1 week


208291 19-May-2010 uqs

mdoc: consistently spell our email addresses <foo@FreeBSD.org>

Reviewed by: ru


205607 24-Mar-2010 syrinx

Now actually implement reading/refreshing/returning data from the pfTablesAddrTable
and modify the BEGEMOT-PF-MIB to add support for IPV6 address' statistics in the PF
tables via pfTablesAddrNetType and pfTablesAddrNet. While here, upgrade the
pf_tree.def file to the new format that includes enumerated values. Also make sure
to return SNMP_ERR_NOSUCHNAME for ALTQ objects, if ALTQ is disabled, so that the agent
will know to skip the pfAltq subtree when servicing GETNEXT requests from SNMP clients
(otherwise snmpwalk on begemotPf would stop at the pfAltq subtree with bsnmpd returning
SNMP_ERR_GENERR).


205312 19-Mar-2010 syrinx

Make sure the snmp_pf module will first refresh its entires if necessary,
then find a specific entry, and get the requested value. So far, it found
the specific entry, refreshed the entry list if necessary, and got the
requested value from the found entry. The problem is that refreshing nukes
all old entries and replaces them with new ones and the obtained entry
pointer was no longer valid after the refresh.

Reviewed by: bz, philip
MFC after: 1 week


205280 18-Mar-2010 syrinx

Add support for retrieving labeled pf filter rule counters.

PR: bin/132847
Submitted by: Szalai Andras <szalai (dot) bandi (at) gmail.com>


204596 02-Mar-2010 uqs

Remove redundant WARNS?=6 overrides and inherit the WARNS setting from
the toplevel directory.

This does not change any WARNS level and survives a make universe.

Approved by: ed (co-mentor)


202206 13-Jan-2010 ed

Port all applications in usr.sbin/ from libulog to utmpx.


201390 02-Jan-2010 ed

The last big commit: let usr.sbin/ use WARNS=6 by default.


200953 24-Dec-2009 ed

Let the snmp_hostres module use utmpx.

Approved by: harti


200122 05-Dec-2009 syrinx

Make sure enough memory is allocated for a struct pft_entry when
refreshing the list of pf tables.

OKed by: philip
MFC after: 1 week


199291 15-Nov-2009 attilio

Collapse devinfo_state_t with device_state_t in order to avoid a
structure replication and improve manteneability.

Reviewed by: jhb, imp
Tested by: Riccardo Torrini <riccardo at torrini dot org>


195767 19-Jul-2009 kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by: kib
Approved by: re (rwatson)


192243 17-May-2009 kmacy

add zfs oid to bsnmpd

PR: bin/129360
Submitted by: Ulrich Spoerlein


183548 02-Oct-2008 bms

Only build the bsnmpd netgraph module if MK_NETGRAPH_SUPPORT is set.


179476 01-Jun-2008 philip

Use INSERT_OBJECT_INT_LINK_INDEX macro instead of TAILQ_INSERT_TAIL when
filling the table of ALTQ queues retrieved from the kernel.

It is possible for the kernel to return the queues not by pa.altq.qid order.
When this happens, pf_snmp would only partially fill its table.

PR: bin/120974
Submitted by: Mykola Dzham <i -at- levsha.org.ua>
MFC after: 3 days


171791 08-Aug-2007 syrinx

Keep the snmp_bridge(3) module up to date with if_bridge(4) and add an
object to control the value of the new 'PRIVATE' bridge members' flag.
While here, remove stale '__unused' compiler directives.

Reviewed by: bz
Approved by: re (bmah), bz (mentor)


171173 03-Jul-2007 mlaier

Link pf 4.1 to the build:
- move ftp-proxy from libexec to usr.sbin
- add tftp-proxy
- new altq mtag link

Approved by: re (kensmith)


170925 18-Jun-2007 rafan

- Bump share library version which were missed in last bump

Reported by: jhb
Discussed with: deischen, des, doubg, harti
Approved by: re (kensmith)


168776 16-Apr-2007 pjd

s/destory/destroy/ (except for the code in contrib/).


167369 09-Mar-2007 xride

! is a generic info message

Reviewed by: harti
Approved by: harti
MFC after: 2 weeks


166493 04-Feb-2007 syrinx

Remove all #if __FreeBSD_version checks now that RSTP support has been
MFCed to RELENG_6. We no longer need that to compile the bridge module
under both RELENG_6 and CURRENT.

Approved by: bz (mentor)


165643 29-Dec-2006 bz

Re-connect snmp_bridge to the build. It survived a make universe
(apart from powerpc where the build broke earlier).


165642 29-Dec-2006 bz

bridge_snmp.h
* Change the API of bridge_get_basemac to take a maximum buffer length.

bridge_if.c
* Adopt to new API.
* In bridge_attach_newif() remove an additional pointer to the buffer
by shuffling the code a bit. Also makes the code more readable.

bridge_sys.c
* bridge_get_basemac():
- Adopt to the new API.
- Change check for error code of getifaddrs().
- First check for sa_family != AF_LINK.
- Copy sockaddr_dl * to get around alignment constraints on some
platforms.
- Use strcmp instead of strncmp so that "foo11" != "foo1".
* other functions:
- Allocate n times of the struct we need instead of arbitrary len,
cast to the type we want it to be and pass around struct *s instead
of char *s. This gets us around alignment restrictions on some
platforms and in addition it is more clear what data is passed around.
- Name variables for same types consistently.

Reviewed by: syrinx


165430 21-Dec-2006 bz

ia64 is nit-picking according to tinderbox so temporary disconnect
the bridge module from the build until this is fixed.


165418 20-Dec-2006 syrinx

Connect the snmp_bridge(3) module to the build.

Approved by: bz (mentor)


165416 20-Dec-2006 syrinx

Keep in sync with the if_bridge(4) module (rev. 1.20 if_bridgevar.h,
1.12 bridgestp.h) and rename all PointToPoint related variables
from P2P to PTP (s/P2P/PTP/g s/p2p/ptp/g).

Approved by: bz (mentor)


165415 20-Dec-2006 syrinx

Remove an unused variable.

Approved by: bz (mentor)


165253 15-Dec-2006 syrinx

Do not add 'default:' cases inside a switch() on an enum like the
SNMP option argument. That way the compiler will give a warning in
case of a missing or an extra but unknown 'case:'.
Do the same for SNMP LEAF objects to be prepared once gensnmptree will
auto-generate enums for those too.
Add an abort() after the switch() instead of the 'default:' to catch
any errors. The nice side effect is that the compiler will correctly
track supposed to be 'uninitialized' variables with that.

When trying to set a value sanity check it before calling the OS
dependent API of snmp_bridge to tell whether it is an attempt to
set a bad value or a general error.

Suggested by: harti (first part)
Approved by: bz (mentor)


165046 09-Dec-2006 syrinx

Instead of explicitly initializing variables to avoid compiler warnings,
add a default case to handle the situation when the variables are not
initialized.
Furthermore, abort() if the snmp agent passes an invalid option to the
bridge module. As the option (SET, GET, GETNEXT, COMMIT, ROLLBACK) is
determined by the snmp agent based on the operation requested by user,
this behaviour is unlikely to be abused as a source for a DoS, but if
ever hit will likely reveal a problem in the snmp agent or bridge
module.

Approved by: bz (mentor)


164997 07-Dec-2006 syrinx

Add support for RSTP (RFC4318) to the SNMP bridge monitoring module.

Approved by: bz (mentor)


164410 19-Nov-2006 syrinx

Bring in a SNMP module to support monitoring if_bridge(4) interfaces
via bsnmpd(1). The module implements IETF BRIDGE-MIB as defined in
RFC4188 and a private BEGEMOT-BRIDGE-MIB.

Sponsored by: Google Summer of Code 2006
Reviewed by: bz
Approved by: bz (mentor)


164092 08-Nov-2006 harti

Make the generated oid.h dependend on the Makefile. The Makefile defines
the symbols to be extracted from the MIB and if that list of symbols is
changed, oid.h should be re-generated.


163840 31-Oct-2006 glebius

Fix buildworld.


162893 30-Sep-2006 ru

Revise markup.


160341 14-Jul-2006 harti

Reduce the memory requirements for the tables by (1) using malloced strings
instead of maximum sized arrays embedded in the table structures and (2)
using pointers to constant oids instead of copying the oid into each
table structure. This also fixes indexing in the case when a string used
for indexing is longer than the maximum size allowed in the MIB.

Submitted by: Victor Cruceru <soc-victor@>


157721 13-Apr-2006 ru

Add missing library dependencies.


156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


156675 13-Mar-2006 harti

Silence some warnings by defining configuration preprocessor symbols.


156085 27-Feb-2006 ru

A bandaid to unbreak world.


155604 13-Feb-2006 harti

Link the new file from the vendor fix to the build and install
the new MIB files. Add a target to smilint the MIB files.


155181 01-Feb-2006 joel

Expand contractions.


154871 26-Jan-2006 erwin

After changing hostres from libdisk to libgeom, it now compiles
and runs on amd64, so revert the stopgap from rev. 1.10

Approved by: harti
Hardware borrowed from: simon


154860 26-Jan-2006 harti

Replace ki_ocomm by ki_comm. The former will go away.

Submitted by: Victor Cruceru <soc-victor>
Suggested by: Julian Elischer


154859 26-Jan-2006 harti

Fix a bug in the processor load code: the wrong process was used to
get the inital processor load. Also fix compilation on sparc64 without NDEBUG.


154858 26-Jan-2006 harti

Fix false positives when searching for disks. Things like adv(4) are not
disks.

Submitted by: Victor Cruceru <soc-victor@>


154856 26-Jan-2006 harti

Fix the MIB to use libgeom instead of libdisk.

Submitted by: Victor Cruceru <soc-victor>


154282 13-Jan-2006 obrien

Unbreak the AMD64 build by forgoing the 'snmp_hostres' functionality.

Approved by: harti


154249 12-Jan-2006 harti

Fix build without -DNDEBUG.

Spotted by: obrien


154245 12-Jan-2006 obrien

assert(3) is not used here.


154134 09-Jan-2006 harti

Connect the HOSTRES MIB to the build.


154133 09-Jan-2006 harti

msg


152970 30-Nov-2005 philip

Check for altq presence during module init, and allow module to work even if
altq is not present (just disable the altq bits in that case).

PR: 89601
Submitted by: Juraj Lutter <otis -at- sk.freebsd.org>
MFC after: 3 days


152768 24-Nov-2005 ru

Fix prototypes.


152269 10-Nov-2005 harti

Use the new bsd.snmpmod.mk makefile to build the modules. The -I pointers
into the contrib directory are still necessary for some of the Makefiles,
because the C-sources there use non-canonical includes ("" includes) to get
at the header files.


152268 10-Nov-2005 harti

Use the canonical include name for snmpmod.h. The build infrastructure takes
already care to pick up the correct version of the file depending on how
we build.


150928 04-Oct-2005 harti

Catch up with the import of bsnmp-1.11. Add a couple of new
configuration flags to CFLAGS.


149571 29-Aug-2005 philip

Fix unhandled malloc errors.

PR: bin/83467
Submitted by: Dan Lukes <dan -at- obluda.cz>
Prodded by: glebius
MFC after: 3 days


148580 31-Jul-2005 keramida

Fix all the spelling mistakes I could find in the man pages for words
that have at least 3 characters.

MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.


148297 22-Jul-2005 kensmith

Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)


146613 25-May-2005 harti

No need to specify the include subdirectory. During buildworld the
correct files are included from a temp. include directory.

Explained by: ru


146535 23-May-2005 harti

This module was wrongly including header from /usr/include. Give it
the correct path to the source headers.


146531 23-May-2005 philip

Catch up with the bsnmpd daemon's 64bit time ticks.


146529 23-May-2005 harti

The ticks delivered by the SNMP daemon are now 64-bit, so make our
local tick variable which is used to reduce the number of updates from
kernel structures and to ensure intra-PDU consistency also 64 bit.


146528 23-May-2005 harti

Bump the shared library version number of the modules because of
changes in the module interface.


145560 26-Apr-2005 harti

Enable tcp-wrapper support in the SNMP daemon.

Submitted by: glebius


143654 15-Mar-2005 philip

time_t is signed, so s/uintmax_t/intmax_t/g. Has anyone got an extra pointy
hat for me? I'm running out of them.

Spotted by: des
Pointy hat to: philip


143626 15-Mar-2005 philip

Cast time_t to uintmax_t so they can be printed as %ju without breaking on
various architectures. This should appease tinderbox on alpha and not break
it anywhere else.

Suggested by: harti


143612 14-Mar-2005 philip

Make this compile properly on 64bit machines.

Pointy hat to: philip


143611 14-Mar-2005 philip

Add snmp_pf, a bsnmpd module for monitoring (not managing!) pf firewalls.
Currently implemented are most things related to states and interfaces, todo
are address tables and altq. I've tried to keep this roughly in sync with a
project implementing this for net-snmpd.

Reviewed by: harti, dhartmei
MFC after: 1 month


143601 14-Mar-2005 harti

Finish repo-copy of lib/libbsnmp/modules to usr.sbin/bsnmpd/modules.
These modules are modules for the daemon, not for the library so
they should be where the daemon is.


141849 13-Feb-2005 ru

who's -> whose


140941 28-Jan-2005 ru

Let bsd.prog.mk set SRCS and MAN to their default values.


140598 21-Jan-2005 ru

Fixed punctuation in xrefs.


139105 21-Dec-2004 ru

NOATM -> NO_ATM


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


136291 09-Oct-2004 keramida

Delete a .Fn that had no argument and
properly terminate a .Bl with a matching .El

MFC after: 3 days


135771 24-Sep-2004 trhodes

Fix build in the !NOATM case by using the begemot library in place of
using libisc which was a part of BIND8.

Discussed with: des, re, dougb
Submitted by: harti (one part)
Reviewed by: harti (previous version)


133508 11-Aug-2004 harti

Link to the build again. The problem was that we need a new
gensnmptree for the .def file to parse. This was fixed in
Makefile.inc1.


133503 11-Aug-2004 harti

Again something bad is happening so comment out the ATM module.


133496 11-Aug-2004 harti

Now, after the import of NgATM-1.1, re-enable the atm module.


133424 10-Aug-2004 scottl

Disable the snmp_atm module until the source gets fixed. This will unbreak
this portion of the build.


133393 09-Aug-2004 harti

Link the snmp_atm module to the build unless NOATM is defined.


133392 09-Aug-2004 harti

Now that gensnmptree can read and merge more than one tree make
the rule so that the tree .c and .h files can be produced from several
trees.


133391 09-Aug-2004 harti

A module for bsnmpd(1) that exports a MIB that contains information about
the local ATM interfaces and allows to change some parameters via SNMP.


131594 04-Jul-2004 ru

Sort SEE ALSO references (in dictionary order, ignoring case).


131504 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


128279 15-Apr-2004 harti

Install the MIBs and the definition file to the new location under
/usr/share/snmp.

Noted by: bmah


128242 14-Apr-2004 harti

Use a MANFILTER to patch the man pages to point to the right path.

Noted by: phk


128236 14-Apr-2004 harti

Put the name of the module first in the list of all .Nm calls with
argument. This makes the output of calling .Nm without an argument
more senseful later on.


128235 14-Apr-2004 harti

Compare with 0 if comparing an integer, not with NULL.


128234 14-Apr-2004 harti

Move the SNMP MIBs and tree definitions from /usr/share/bsnmp to
/usr/share/snmp. This mirrors the use of /usr/local/share/snmp and
makes also more sense when non-bsnmp-specific MIBs go in.


126643 05-Mar-2004 markm

Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).

There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.

Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".

Tested on: i386 sparc64


124927 24-Jan-2004 harti

Rename the makefile variable MIBS to BMIBS so that it does not
conflict with the environment variable MIBS that is used by net-snmp.


124926 24-Jan-2004 harti

Rename the MIBS makefile variable to BMIBS so that it does not conflict
with the environment variable MIBS that is used by net-snmp.


124873 23-Jan-2004 harti

Create the OID and tree files while building the modules and the daemon
instead of creating them by hand and storing them in the CVS tree. Add
gensnmptree to the bootstrap tools (it is used to generated these files).
This simplifies the update procedure.

Submitted by: ru


124868 23-Jan-2004 harti

Update generated files.


124867 23-Jan-2004 harti

Catch up with import of version 1.5a of bsnmp.


124866 23-Jan-2004 harti

Catch up with the import of version 1.5a of bsnmp.

Fix the script to insert $FreeBSD$ into the generated file instead
of the script's FreeBSD id.


124865 23-Jan-2004 harti

Style: remove an empty line.


124726 19-Jan-2004 ru

Clean up makefiles.

Reviewed by: harti


122758 15-Nov-2003 harti

Replace all uses of the old netgraph constants NG_*LEN by the new
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snprintf()
and sprintf() calls with strlcpy.


122611 13-Nov-2003 harti

Add an empty definition of the MIBS variable so that the makefile does
not try to use a MIBS definition from the environment.

Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>


122568 12-Nov-2003 harti

The snmp_netgraph module depends on libnetgraph. So add a dependency and
add libnetgraph to the list of prebuilt libraries in the main Makefile.

Reviewed by: ru


122420 10-Nov-2003 harti

Correct the include path so that the include files are found
with include "...".


122416 10-Nov-2003 harti

Fix the build by adjusting the include directives. The problem was
that the sources use "..." includes to get at include files that
later on reside in an include sub-directory.


122407 10-Nov-2003 harti

Add the build infrastructure for the SNMP daemon that is the base
for the NgATM ILMI daemon and for the tree parsing helper program.


122405 10-Nov-2003 harti

Add build infrastructure for libbsnmp and the modules. Add the
netgraph module for the SNMP daemon.