History log of /freebsd-11-stable/usr.sbin/newsyslog/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
369842 23-May-2021 otis

newsyslog(8): Implement a new 'E' flag to not rotate empty log files

Based on an idea from dvl's coworker, László DANIELISZ, implement
a new flag, 'E', that prevents newsyslog(8) from rotating the empty
log files. This 'E' flag ist mostly usable in conjunction with 'B'
flag that instructs newsyslog(8) to not insert an informational
message into the log file after rotation, keeping it still empty.

Reviewed by: markj, ian, manpages (rpokala)
Approved by: markj, ian, manpages (rpokala)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D28940

(cherry picked from commit c7d27b225df8d7fb36a31a21737d4309593c4604)

Git Hash: 7e863cb9893b96f4ca6e0597572e3df218dd3830
Git Author: otis@FreeBSD.org

363238 15-Jul-2020 eugen

MFC r362233: newsyslog(8): make configuration parser more robust.

344881 07-Mar-2019 dab

MFC r344470:

Fix several Coverity-detected issues in newsyslog.

- CID 1394815, CID 1305673: Dereference before null check - memory was
allocated and the allocation checked for NULL with a call to errx()
if it failed. Code below that was guaranteed that the pointer was
non-NULL, but there was another check for NULL at the exit of the
function (after the memory had already been referenced). Eliminate
the useless NULL check.

- CID 1007452: Resource leak - Storage intended to be allocated and
returned to the caller was never freed. This was the result of a
regression in the function signature introduced in r208648 (2010)
(thanks for that find, @cem!). Fixed by altering the function
signature and passing the allocated memory to the caller as
intended. This also fixes PR158794.

- CID 1008620: Logically dead code in newsyslog.c - This was a direct
result of CID 1007452. Since the memory allocated as described there
was not returned to the caller, a subsequent check for the memory
having been allocated was dead code. Returning the memory
re-animates the code that is the subject of this CID.

- CID 1006131: Unused value - in parsing a configuration file, a
pointer to the end of the last field was saved, but not used after
that. Rewrite to use the pointer value. This could have been fixed
by avoiding the assignment altogether, but this solutions more
closely follows the pattern used in the preceding code.

PR: 158794
Reported by: Coverity, Ken-ichi EZURA <k.ezura@gmail.com> (PR158794)

Sponsored by: Dell EMC Isilon

338334 27-Aug-2018 ed

MFC r336086:

Use the FQDN in the newsyslog log message when RFC 5424 is enabled.

The RFC 5424 spec mentions that logging FQDNs over short hostnames is
preferred. Alter this code, so that the hostname doesn't get truncated
on startup. Keep track of the length of the short hostname, so that
fprintf() can do the truncation where necessary.

337417 07-Aug-2018 markj

MFC r337323:
Fix a flag collision introduced in r327451.

PR: 230350

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
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_addrs.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_pf.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_port.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.h
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hast/hast_snmp.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.h
/freebsd-11-stable/usr.sbin/bsnmpd/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
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
328587 30-Jan-2018 eadler

MFC r327451:

newsyslog: implement 'p' flag

Implement the 'p' flag for newsyslog from NetBSD. This flag results in
the first log file for a given file to not be compressed.

While here, don't change file attributes during a no-op run

PR: 162798

328579 30-Jan-2018 jhb

MFC 328035: Sort the list of flags in newsyslog.conf entries.

Move the 'X' entry into its sorted location in the list
of flags just above 'Z'.

321262 20-Jul-2017 ngie

MFC r318960,r319545,r319546,r319548,r321261:

r318960 (by dab):

Add newsyslog capability to write RFC5424 compliant rotation message.

This modification adds the capability to newsyslog to write the
rotation message in a format that is compliant with RFC5424. This
capability is enabled on a per-log file basis through a new value
("T") in the flags field in newsyslog.conf. This is useful on systems
that use the RFC5424 format for log files so that the rotation message
format matches that of the other log messages. There has been recent
mention of adding an RFC5424 compliant mode to syslogd and at least
one alternative system log daemon (rsyslogd) that already has the
capability to use that format.

Relnotes: yes

r319545:

Don't execute the TODO cases in a subshell

This messes up the testcase counter, as seen in bug 219756.

PR: 212160, 219756

r319546:

Fix the testplan after ^/head@r318960

The number of executed testcases is 128, not 126.

MFC with: r318960

r319548:

Remove TODO for sub testcases added for bug 212160

On closer inspection, the past failures no longer occur on ^/head.

PR: 212160

r321261:

Clean up leading whitespace (convert single column spaces to hard tabs)

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
301532 06-Jun-2016 vangyzen

newsyslog: Eliminate unnecessary sleep(10) when -R and -s are specified

After going through the signal work list, during which do_sigwork()
is called and essentially does nothing because -s and -R were
specified on the command line, newsyslog will sleep for 10 seconds
as the (verbose) code says: "Pause 10 seconds to allow daemon(s)
to close log file(s)".

However, the man page verbiage for -R (and -s) seems quite clear
that this sleep() is unnecessary because the daemon was expected
to have already closed the log file before calling newsyslog.

PR: 210020
Submitted by: David A. Bright <david_a_bright@dell.com>
MFC after: 1 week
Sponsored by: Dell Inc.
Differential Revision: https://reviews.freebsd.org/D6727


299094 04-May-2016 ngie

Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed
after r298107

Summary of changes:

- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that
namespacing is kept with FILES appropriately, and that this shouldn't need
to be repeated if the namespace changes -- only the definition of PACKAGE
needs to be changed
- Allow PACKAGE to be overridden by callers instead of forcing it to always be
`tests`. In the event we get to the point where things can be split up
enough in the base system, it would make more sense to group the tests
with the blocks they're a part of, e.g. byacc with byacc-tests, etc
- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used
previously.
- Remove unnecessary TESTSPACKAGE definitions; this has been elided into
bsd.tests.mk
- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES;
${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.
- Fix installation of files under data/ subdirectories in lib/libc/tests/hash
and lib/libc/tests/net/getaddrinfo
- Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)

Document the proposed changes in share/examples/tests/tests/... via examples
so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of
replacing FILES. share/mk/bsd.README didn't seem like the appropriate method
of communicating that info.

MFC after: never probably
X-MFC with: r298107
PR: 209114
Relnotes: yes
Tested with: buildworld, installworld, checkworld; buildworld, packageworld
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


296587 09-Mar-2016 bdrewery

DIRDEPS_BUILD: Connect MK_TESTS.

Sponsored by: EMC / Isilon Storage Division


290226 31-Oct-2015 bapt

newsyslog: treat 'c' flag in the config as 'C'

When -C was introduced in r114137 the plan was to have -C and -c being used for
"create" due to a typo in FreeBSD <= 4.8 a temporary compatibility hack has been
added to make -c being like -G aka GLOB and a warning was issued for the user to
be aware of the futur change for -c.

12 years later it is more than time to remove that hack and finish the what was
intent in r114137

Submitted by: Alexandre Perrin <alex@kaworu.ch>
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D4000


289879 24-Oct-2015 bapt

newsyslog.conf: allow to configure the signal using the signal name.

Submitted by: Alexandre Perrin <alex@kaworu.ch>
MFC after: 1 week
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D3961


289677 21-Oct-2015 eadler

Fix a ton of speelling errors

arc lint is helpful

Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com
Differential Revision: https://reviews.freebsd.org/D3337


289172 12-Oct-2015 ngie

Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-tests.test.mk (r289151)

- Eliminate explicit OBJTOP/SRCTOP setting
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity

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


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


272763 08-Oct-2014 markj

If we fail to send a signal after rotation, print the pidfile from which
the corresponding PID was obtained.

PR: 194143
Submitted by: Lyndon Nerenberg <lyndon@orthanc.ca>
MFC after: 1 week


272028 23-Sep-2014 bdrewery

Make it more explicitly clear that -t will not change filename.

MFC after: 3 days


266463 20-May-2014 bdrewery

- Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by
default for newsyslog(8).

The /usr/local/etc/newsyslog.conf.d will give packages an opportunity to
install a default configuration to handle their own log files.

MFC after: 2 weeks
Relnotes: yes


265420 06-May-2014 imp

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


263226 16-Mar-2014 jmmv

Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.

This change was originally going to only migrate the usr.sbin tests but, as
it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/
so it's better to just also migrate the latter at the same time. The other
usr.bin tests will be moved separately.

To make these tests work within the test suite, some of them have required
changes to prevent modifying the source directory and instead just rely on
the current directory for file manipulation.


261401 02-Feb-2014 bdrewery

Fix newsyslog(8) to use the size of the file instead of the blocks it
takes on disk, as advertised in newsyslog.conf(5).

This fixes newsyslog(8) on ZFS with compression enabled to not have
large files compared to the expected rotation size.

# grep remotes/messages /etc/newsyslog.conf
/var/log/remote/messages root:info 640 5 500 * JC
# ls -alh /var/log/remote/messages
-rw-r----- 1 root info 3.2M Jan 31 20:02 /var/log/remote/messages
# newsyslog -vN|grep remote/messages
/var/log/remote/messages <5J>: size (Kb): 464 [500] --> skipping
# stat -f "st_size: %z st_blocks: %b" /var/log/remote/messages
st_size: 3372627 st_blocks: 928
# zfs get -H compressratio zroot/syslogs
zroot/syslogs compressratio 3.77x -

With fix:

# newsyslog -v | grep remote/messages
/var/log/remote/messages <5J>: size (Kb): 3338 [500] --> trimming log....

Approved by: bapt (mentor)
PR: docs/150877
Reported by: Joshua Isom <jrisom@gmail.com>
MFC after: 2 weeks


257600 04-Nov-2013 markj

Initialize the struct tm before handing it to strptime(3).

PR: 183550
MFC after: 2 weeks


252378 29-Jun-2013 kientzle

Fix -Wunsequenced

Submitted by: dt71@gmx.com


251240 02-Jun-2013 markj

We want to stat the archived log file rather than the logfile itself.

PR: bin/179122
Submitted by: Oliver Fromme <olli@secnetix.de>
MFC after: 3 days


250545 12-May-2013 markj

Some filesystems (NFS in particular) do not fill out the d_type field when
returning directory entries through readdir(3). In this case we need to
obtain the file type ourselves; otherwise newsyslog -t will not be able to
find archived log files and will fail to both delete old log files and to
do interval-based rotations properly.

Reported by: jilles
Reviewed by: jilles
MFC after: 2 weeks


248776 26-Mar-2013 markj

Fix interval-based rotations when the -t flag is used. In this case, find
the most-recently archived logfile and use its mtime to determine whether
or not to rotate, as in the non-timestamped case.

Previously we would just try to use the mtime of <logfile>.0, which always
results in a rotation since it generally doesn't exist in the -t case.

PR: bin/166448
Approved by: emaste (co-mentor)
Tested by: Marco Steinbach <coco executive-computing.de>
MFC after: 2 weeks


245963 27-Jan-2013 markj

Rename the run_cmd field to sw_runcmd to make it consistent with the
other fields in struct sigwork_entry.

Approved by: rstone (co-mentor)
MFC after: 1 week


245962 27-Jan-2013 markj

Ensure that newsyslog -n prints the correct message for a rotation rule
that uses the 'R' flag.

Reviewed by: gad
Approved by: rstone (co-mentor)
MFC after: 1 week


245961 27-Jan-2013 markj

When the 'R' flag is used with a newsyslog.conf entry, some fields of
the corresponding struct sigwork_entry were left uninitialized,
potentially causing an early return from do_sigwork(). Ensure that these
fields are initialized, and handle the 'R' flag properly in
do_sigwork().

PR: bin/175330
Reviewed by: gad
Approved by: rstone (co-mentor)
MFC after: 1 week


244997 03-Jan-2013 markj

Make sure to update the mtime of a logfile after archiving it. This
ensures that the next rotation happens at the correct time when using
interval-based rotations.

PR: bin/174438
Reviewed by: gad
Approved by: rstone (co-mentor)
MFC after: 1 week


244996 03-Jan-2013 markj

Have -n imply -r, since dry-run mode obviously doesn't require root
privileges.

Approved by: rstone (co-mentor)
MFC after: 1 week


244995 03-Jan-2013 markj

Fix a typo in an error message.

Approved by: rstone (co-mentor)
MFC after: 1 week


241777 20-Oct-2012 ed

More -Wmissing-variable-declarations fixes.

In addition to adding missing `static' keywords:
- bin/dd: Pull in `extern.h' to guarantee consistency with source file.
- libexec/rpc.rusersd: Move shared globals into an extern.h.
- libexec/talkd: Move `debug' and `hostname' into extern.h.
- usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree.
- usr.bin/m4: Move `end_result' into extern.h.
- usr.sbin/services_mkdb: Move shared globals into an extern.h.


238281 09-Jul-2012 ae

We don't need to check the result of sending signal when -R option is
specified.

Submitted by: Ilya A. Arkhipov
MFC after: 1 week


236805 09-Jun-2012 joel

mdoc: fix mandoc "Oc breaks Op" warning.


236509 03-Jun-2012 joel

Minor spelling fixes.


235647 19-May-2012 gleb

Hide DIR definition by making it an opaque struct typedef.

Introduce dirfd() libc exported symbol replacing macro with same name,
preserve _dirfd() macro for internal use.

Replace dirp->dd_fd with dirfd() call. Avoid using dirfd as variable
name to prevent shadowing global symbol.

Sponsored by: Google Summer Of Code 2011


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


233258 21-Mar-2012 glebius

Fix a sentence in a paragraph that describes time and interval based
trimming. This sentence vaguely can be interpreted as if it was speaking
about time and size interaction, while it wasn't about it.


233257 21-Mar-2012 glebius

Don't run through time checks when entry is definitely oversized. This
leads to newsyslog rotating on (size OR time) if both are specified.

PR: 100018, 160432


229654 05-Jan-2012 uqs

Further fix a typo and spelling classic correctly in function names,
too.

Submitted by: Ben Kaduk <minimarmot@gmail.com>


229403 03-Jan-2012 ed

Replace index() and rindex() calls with strchr() and strrchr().

The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.


228990 30-Dec-2011 uqs

Spelling fixes for usr.sbin/


228790 21-Dec-2011 eadler

- Remove extraneous null ptr deref checks
- Fix memory leak

Submitted by: Slono Slono <slonoman2011@yandex.ru>
Approved by: jhb
MFC after: 1 week


221873 14-May-2011 sobomax

Add new modifier - "R", when it is specified the path to pid file
will be considered as a path to a binary or a shell script to be executed
after rotation has been completed instead of sending signal to the process
id in that file.

Sponsored by: Sippy Software, Inc.
From the: FreeBSD hacking lounge at BSDCan


220926 21-Apr-2011 simon

Fix an old bug in newsyslog where we kept one log file more than was
requested in newsyslog.conf. This was only the case using the non-time
based filenames (.0, .1, .2 etc.).

The change also makes newsyslog clean clean up the old extra logfile so
users don't end up with a single stale logfile which won't be rotated
out.

This change also cleans up some code a bit to avoid more copy / paste
code and removes some old copy / paste code in the process.

PR: bin/76697
MFC after: 2 weeks


220015 26-Mar-2011 dougb

Add an example for the use of the <include> entry to help others
who are as slow as I am.

Discussed with: gordon


219434 09-Mar-2011 ru

Sync manpage's SYNOPSIS with program's usage.


218944 22-Feb-2011 sobomax

Make code more friendly to the non-C99 compilers - don't allocate
local variables in the `for' loop declaration. This allows trunk
newsyslog.c to be compiled on 7.x. This change should be no-op from
the functional POV.


218128 31-Jan-2011 mm

Use correct alphabetical order for xz(1) in SEE ALSO section
of newsyslog manpages.

Reported by: maxim
MFC after: 3 weeks


218127 31-Jan-2011 mm

Add xz(1) support to newsyslog.
Rewrite and simplify logfile compression code.

Approved by: gad
MFC after: 3 weeks


216832 31-Dec-2010 brian

Make -S functional.

MFC after: 1 week


215625 21-Nov-2010 simon

Fix a typo in a comment.

MFC after: 3 days


210407 23-Jul-2010 brian

Add a -S switch to override the default syslog pid file. This can be useful
if syslogd's -P switch or a syslogd alternative is being used.

MFC after: 3 weeks


210372 22-Jul-2010 simon

Add support for creating the archived log filenames using a time-stamp
instead of the traditional simple counter.

Using the time-stamp based file-names, once a log file is archived, it
will not change name until it is deleted. This means that many backup
systems will only perform one backup of the archived log file, instead
for performing a new backup of the logfile upon each logfile rotation.

This implementation is separate from the patches in the mentioned PR,
as I wasn't aware of the existence of the PR until after I had
implemented the same functionality as the patches in the PR provide.
Unlike the PR, this new code does honor the 'log count' in
newsyslog.conf so old logfiles are deleted. This new code does not
currently support never deleting the archived logfiles.

PR: bin/29363
MFC after: 3 weeks


208649 29-May-2010 gordon

Add file include processing for newsyslog.

Format for the include line in /etc/newsyslog.conf is:
<include> /etc/defaults/newsyslog.conf

Other notes of interest:
Globbing is supported in <include> statements.
Properly detect circular include loop dependencies.

Reviewed by: gad@
Approved by: wes@ (mentor)
MFC after: 2 months


208648 29-May-2010 gordon

Convert newsyslog to using queue(3) macros instead of a home rolled version.

Reviewed by: gad@
Approved by: wes@ (mentor)
MFC after: 2 months


208028 13-May-2010 uqs

mdoc: move remaining sections into consistent order

This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.

Found by: mdocml lint run
Reviewed by: ru


202668 20-Jan-2010 delphij

Add a new option, -P, which reverts newsyslog(8) to the old behavior,
which stops to proceed further, as it is possible that processes which
fails to create PID file get screwed by rotation.

Requested by: stas
MFC after: 2 weeks
X-MFC with: r200806


201390 02-Jan-2010 ed

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


200806 21-Dec-2009 delphij

Don't consider non-existence of a PID file an error, we should be able
to proceed anyway as this most likely mean that the process has been
terminated.

PR: bin/140397
Submitted by: Dan Lukes <dan obluda cz>
MFC after: 1 month


180019 26-Jun-2008 sobomax

Fix 6-year old cut&paste error. The # could be escaped with '\', not
with '\\'.

MFC after: 2 weeks


175837 30-Jan-2008 delphij

Fix two typos.


173971 27-Nov-2007 remko

s/effect/affect/

PR: docs/118266
Submitted by: "Kim Scarborough" <sluggo at unknown dot nu>
MFC After: 3 days


162806 29-Sep-2006 ru

Markup fixes.


161412 17-Aug-2006 delphij

Use same signedness for i and matched_c. This should make
newsyslog(8) WARNS=6 clean.


160560 21-Jul-2006 sobomax

Remove mention of the `W' flag, which has been turned to no-op by the
neworder change. Keep the option in a config file parser, to not
violate POLA.

MFC after: 2 weeks


159998 27-Jun-2006 gad

Remove the last three calls to strncpy(), two of which would have
been bugs if the source had ever been too big for the destination.

MFC after: 3 weeks


159968 27-Jun-2006 gad

Remove the "oldorder" processing. The "neworder" processing has
been the default for two years now, without any problems reported.

MFC after: 3 weeks


154566 20-Jan-2006 gad

Improve error-handling related to the fork() done to compress files after
they have been rotated. Among other things, use warnx() instead of warn()
for some messages where the value if errno is irrelevant to the problem
being reported.

MFC after: 5 days


152980 01-Dec-2005 sobomax

Fix logic error which causes <null> to be printed instead of the
actual file name in error message.

MFC After: 2 weeks


147377 14-Jun-2005 ru

Markup fixes.

Approved by: re (blanket)


143106 03-Mar-2005 brooks

Add the -N option to not rotate any files. This is to be used in
cojunction with -C and is used by /etc/rc.d/newsyslog.

I forgot that this was in my perforce tree and not my running system and
thus committed a non-working newsyslog script.

Reported by: des
Pointy hat: brooks


142365 24-Feb-2005 trhodes

Add a HISTORY section.

PR: 75282


141846 13-Feb-2005 ru

Expand *n't contractions.


140566 21-Jan-2005 ru

Fixed xrefs.


140442 18-Jan-2005 ru

Sort sections.


139655 04-Jan-2005 delphij

Because the `permission' field in conf_entry is intended to be used as
parameter 2 in chmod(2), which is a mode_t (and in turn a __uint_16_t),
it's more likely that it should be defined as an unsigned variable.

This commit should make newsyslog WARNS=6 clean, but don't bump the knob
until I have a universe build.

MFC After: 1 month


136186 06-Oct-2004 brooks

Mention "-d directory" in usage().

Pointy hat to: brooks


136174 05-Oct-2004 brooks

Don't prepend the directory specified by -d when the file is a relative
path. Doing so makes no sense. I'm not sure allowing relative paths
makes sense either, but I'm not going to break that now.


136127 04-Oct-2004 brooks

Add a new -d argument which is used to specify an alternate root for log
files similar to DESTDIR in the BSD make process. This only affects log
file paths not config file (-f) or archive directory (-a) paths.


131581 04-Jul-2004 sobomax

Nothing says that /var/log can't be not a directory but a symbolic link
to a directory. Therefore, use stat(2) instead of lstat(2) to check if
/var/log exists.

MFC after: 7 days


131500 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


130794 20-Jun-2004 gad

Fix the format-string in a call to err(). It was causing a warning if
compiled on 4.x-stable.


130707 19-Jun-2004 gad

Fix the check for a "duplicate filename to compress", so that we're checking
the *filename* and not the pid_file(!). Stupid brain-fault on my part.
This could cause a segfault under -neworder if newsyslog had to rotate
multiple files, and later ones had specifed the 'N' flag.

Bug first reported by: le
MFC after: 3 days


130420 13-Jun-2004 ru

Assorted markup, grammar, and spelling fixes.


130385 12-Jun-2004 gad

Switch to using the "neworder" for rotating log files, by default. The
main advantage of this is that daemon's are only signalled once per run,
instead of once for each file that is rotated.

MFC after: 2 weeks


130214 07-Jun-2004 gad

Drop the include for <stdint.h>, it was only needed when this was
using __DECONST() for something, and that reference has been removed.

Noticed by: Helge Oldach
MFC after: 13 days


130205 07-Jun-2004 gad

Add an "oldorder" option, so that when the default changes to "neworder",
people have a way to drop back to the previous logic.

MFC after: 13 days


130204 07-Jun-2004 gad

In "neworder" processing, reduce the delay between signals to separate
processes, and balance that by adding a 10-second delay after all the
processes have been signaled. Also improvement a few messages printed
with `-n' or `-v' processing (mostly signal-related messages).

MFC after: 13 days


130167 07-Jun-2004 gad

Major re-ordering of the steps that newsyslog will use when processing
files to rotate. The new order will first rotate all files that need
to be rotated, and then send a single signal to each process which
needs to be signaled, and finally it will compress all the files which
were rotated.

This means daemons will be signaled once per run of newsyslog, instead
of once per file rotated. Also, files will be compressed in order of
file-size (smallest to largest). Also, it waits for each file to be
completely compressed before starting the next one (effectively as if
the 'w' flag is specified for all entries in newsyslog.conf). This
avoids the situation of having 10 gzip's going at the same time (each
with a log.0 and a log.0.gz file active), and it also means that file
attributes can be reliably set on files after they are compressed.

NOTE: This commit does define NEWORDER (which you could get rid of if
you really don't trust this), but it does not flip the "-D neworder"
switch. So, at the moment none of these changes happen unless you
request them (perhaps by adding '<debug> neworder' in newsyslog.conf).

PR: bin/25070 inspired some parts of this
Submitted by: parts from bin/25070 done by Helge Oldach
MFC after: 14 days


130165 07-Jun-2004 gad

A variety of minor changes. Allow users to set a debugging option via
the newsyslog.conf file. Rename one size-related variable, and move
another one from the stack into conf_entry. Add a routine to change
file-attributes (chown, chmod, chflags), instead of having several
places doing the same sequence of system-calls. A few cosmetic/style
changes.

These should not effect any users. Most of these probably look
pointless, but they are the "insignificant parts" of a much larger
update that I'll be committing soon. Doing these as a separate update
should make that update easier to read.

MFC after: 14 days


130045 03-Jun-2004 gad

Style-istic fix to a number of #define's that were not followed by a tab...

MFC after: 16 days


130043 03-Jun-2004 gad

Add a 'D' flag that can be specified on entries in newsyslog.conf.
If specified, the matching log files will have the NODUMP flag set
on them after they are created.

Submitted by: Sean Eric Fagan
MFC after: 16 days


130038 03-Jun-2004 gad

Change standard processing to use the newer createlog() routine
that had been written some months ago for other processing. This
should get rid of a few subtle situations where an existing log
file would not exist (for a short time) while it is being rotated.

MFC after: 16 days


129975 02-Jun-2004 gad

Improved versions of the is*ch() and tolowerch() macros that I like to use.


129974 02-Jun-2004 gad

When rotating some "blah.log" file, make sure that a chmod and
(if requested) a chown is done on the "blah.log.0" file.

PR: bin/67137
Submitted by: jeh
MFC after: 10 days


127858 04-Apr-2004 charnier

Do not :-terminate err(3) string, one will be added anyway.


126878 12-Mar-2004 trhodes

Move newsyslog.conf.5 to usr.sbin/newsyslog. There is no real history
other than 'initial revision' thus I did not request a repocopy.

Requested by: ru, gad


126830 11-Mar-2004 trhodes

Remove information about the configuration file.
Add an Xref to newsyslog.conf.5 and bzip2.1.


120726 04-Oct-2003 gad

Handle a 'const' parameter without using __DECONST().

MFC after: 14 days


120361 23-Sep-2003 gad

Restructure the time processing routines, mainly to fix up the
"will trim at" message printed when the user requests '-v'. The
previous code would often print the wrong time, such as:
On Sept 22, run: newsyslog -nv /var/log/wtmp
And see: will trim at Mon Sep 1 05:00:00 2003
correct msg: will trim at Wed Oct 1 05:00:00 2003

MFC after: 20 days


120046 14-Sep-2003 gad

Correct the calculation of "a leap year" in parseDWM. The calculation
would only match a leap year every 400 years. The parseDWM code first
showed up in April 2000, so the first time this bug would cause any
confusion is in Feb 2004.

MFC after: 18 days


119998 12-Sep-2003 gad

Move the parse8601 and parseDWM routines into a new ptime.c file. The
only code-change is to add a "next_time" parameter to both routines (and
that is not used yet). A later update will make "next_time" more useful.

MFC after: 20 days


119927 09-Sep-2003 gad

Switch dotrim() to take advantage of the 'struct conf_entry' that
is already passed in, instead of having the caller copy values from
that struct into additional parameters.

MFC after: 22 days


119926 09-Sep-2003 gad

Reduce the annoying compiler warnings that pop up when compiling with
gcc 3.3.x and -Wshadow. Just renames 'log' variables to be 'logname'.

MFC after: 22 days


119905 09-Sep-2003 gad

Correct the comment about which timezone-change loses an hour...

MFC after: 23 days


119904 09-Sep-2003 gad

Add a '-D <something>' command line arg, which can be used to set
debugging options. Initial option is '-D TN=<time>', which can be
used to see how newsyslog would work if run at the specified time.
(time format is ISO 8601, since that is already supported).

MFC after: 23 days


119902 09-Sep-2003 gad

Use strtol() instead of strtoul() in parse8601, so we can detect
negative values. Mainly done to sync this routine with OpenBSD.

Obtained from: OpenBSD
MFC after: 23 days


119901 09-Sep-2003 gad

Fix typo in the previous commit. Was checking wrong variable...

MFC after: 23 days


119899 09-Sep-2003 gad

Change parse8601 and parseDWM so they return an alternate error value
for invalid times, and have the caller print the error message.

MFC after: 23 days


119897 09-Sep-2003 gad

Cosmetic change to move parse8601 right next to parseDWM. No code
is changed. (that will come in later updates).

MFC after: 23 days


119102 19-Aug-2003 gad

When checking the 'user:group' field in newsyslog.conf, freebsd's source
was mistakenly calling the standard isnumber() function to find out if
the given 'user' or 'group' were all numeric. This meant that only the
first character of the fields were actually checked, so a username of
(say) '3com' would look like a number, and thus get mapped to uid=3 (bin)
instead of username=3com.

This bug was introduced back in freebsd's v1.1. That initial import
almost matches netbsd's v1.9, except that an internal isnumber()
routine was removed in favor of the standard library version. The thing
is, that internal routine was checking the entire string, and not just
the first digit. In OpenBSD, isnumber() was eventually renamed to
isnumberstr() to make the distinction more obvious, and I'm going to
follow that lead.

I believe this also happens to remove the last references to isnumber()
in the entire freebsd base system.

Obtained from: OpenBSD, by a long circuitous route
MFC after: 5 days


118370 02-Aug-2003 gad

Fix an 'bad file descriptor' error which would come up when using
the 'C' flag on an entry that also specifies 'user:group' info.

Submitted by: Riccardo Torrini <riccardo@torrini.org> in -current
MFC after: 4 days


114764 05-May-2003 gad

Fix age_old_log checking so that it will notice log files which were
rotated and then compressed with bzip2 instead of gzip. Otherwise,
any file which had a time-interval specified for 'when' and also
specified the 'J' flag would be rotated every time newsyslog was run.
(this is a quick-fix, trying to beat the code-freeze for 5.1-release)

PR: bin/51519
MFC after: 1 week


114762 05-May-2003 gad

Slightly improve the checking of the 'size' field, so people will get
a warning message if they switch the values for 'size' and 'when'.

MFC after: 1 week


114601 03-May-2003 obrien

Use __FBSDID over rcsid[]. Protect copyright[] where needed.


114137 27-Apr-2003 gad

Add a -C (create) option for newsyslog, and a 'C' flag for entries in the
config file. If the -C option is specified once, then newsyslog will create
any entries which specify the 'C' option. If -C is given twice, then
newsyslog will create all missing log files. Some of this code comes
from NetBSD, although this implementation does not exactly match theirs.

Reviewed by: freebsd-arch
MFC after: 10 days


113988 24-Apr-2003 gad

Document support for the new 'U' flag, which was implemented back in March
as revision 1.64 of newsyslog.c. I plan to MFC these changes next week.

MFC after: 1 week


113952 24-Apr-2003 gad

Document support for the new -s and -R command-line options, and
the 'N' flag. These were coded in March as revisions 1.55 and 1.56
of newsyslog.c. I intend to MFC all the matching changes next week.
This also reorganizes the description of the 'flags' field to give
list of the valid flags, instead of a long paragraph explaining
each of the possible values.

Obtained from: NetBSD (in spirit at least, for -s and N)
MFC after: 1 week


113939 23-Apr-2003 gad

Document support for the <default> entry, which was implemented in
revision 1.50 of newsyslog.c , back in February. I intend to MFC
those changes soon.

MFC after: 4 days


112020 09-Mar-2003 gad

Fix interactions between entries for a specific file vs entries for
a filename pattern, and also wrt filenames given on the command line.
Now if a file is listed as a specific entry, it will not *also* be
processed by an entry specifying a pattern. And filename-patterns
will now only match existing files (ignoring directories, etc).

MFC after: 3 weeks


112013 09-Mar-2003 gad

The processing of files given on the command-line will work a little better
if we return the entire worklist, instead of just the last entry. A minor
fix to revision 1.57.

MFC after: 15 days


112003 08-Mar-2003 gad

Add a config-file flag of 'U' or 'u' to indicate that the pid-file
will contain the pid for a process group. This means the file must
contain a negative value (as would be needed in the 'kill' commmand).
I still need to write man-page update before MFC-ing.

This started by rewriting the get_pid() routine. Later I looked at
what OpenBSD has, and included a few ideas from their send_signal()
routine. So, parts of this change are from OpenBSD, even though
OpenBSD does not actually have a 'U' flag.

PR: bin/28435
Reviewed by: no objections on freebsd-arch
MFC after: 3 weeks


111967 07-Mar-2003 gad

Prefix all -n (noaction) "unix cmds" with tab, thus making it much easier
to sort out noaction messages from -v (verbose) messages. This also
improves a few noaction messages.

Obtained from: OpenBSD
MFC after: 3 weeks


111966 07-Mar-2003 gad

Move the -s (nosignal) processing, as newsyslog needs to print out a
warning message if -s is specified and it rotates a file that expects
to be compressed. This warning message is not printed if -R is also
specified, because we assume a -sR request is coming from the process
which would have been signaled, and that it has already released the
logfile.

Indirectly noticed by: sheldonh


111820 03-Mar-2003 gad

Add missing 'static' on two routines, so they match their declarations.

PR: 29363 (a small part of)
Submitted by: dinoex
MFC after: 3 weeks


111781 03-Mar-2003 gad

A variety of cosmetic changes, mostly to (slightly) reduce diffs with
OpenBSD. Except for one added '\n', the object code is not changed.

MFC after: 3 weeks


111780 03-Mar-2003 gad

Collapse two more parameters to dotrim() into the 'ent' parameter that is
already there. This should not effect anything.

MFC after: 3 weeks


111779 03-Mar-2003 gad

Change to using uid_t and gid_t instead of int. Also change this won't
bother doing a chmod() if neither of these two fields are set.

Obtained from: OpenBSD
MFC after: 3 weeks


111773 03-Mar-2003 gad

Fix the interactions between specific log files given on the command line,
and config-file entries which specify a filename-pattern (glob). It is
still not perfectly-right, but at least it isn't completely-wrong.

Reviewed by: no objections on freebsd-arch
MFC after: 3 weeks
MFC addendum: (or after the code-freeze of 4.x is lifted)


111772 02-Mar-2003 gad

Add a command-line option of '-R somename', which indicates that newsyslog
should rotate all files given on the command, even if they don't seem to
need to be rotated. This would be used by some other command that decides
the given log file(s) should be rotated, but wants the "how" of that rotation
to be determined by entries to newsyslog. Wes expects to change syslogd to
take advantage of this. Man page will be updated after we're sure this is
all working the way we want it to.

Reviewed by: no objections on freebsd-arch
MFC after: 3 weeks
MFC addendum: (or after the code-freeze of 4.x is lifted)


111768 02-Mar-2003 gad

Add a command-line option of '-s', which indicates that newsyslog should
not send a signal to any processes. Also add a config-file flag of 'N' or
'n', which indicates that the given logfile has no process which needs a
signal when it is rotated. Both of these are based on changes NetBSD
has made, although the implementation is somewhat different.

PR: bin/36553 (2nd half)
Reviewed by: no objections on freebsd-arch
Obtained from: NetBSD (in spirit, at least)
MFC after: 3 weeks


111529 26-Feb-2003 gad

Fix an error which caused 'free(): error: chunk is already free'
if an entry in the config file included flag 'G'.

MFC after: 3 weeks


111400 24-Feb-2003 gad

Check the value given for number-of-logs to keep in config-file entries,
and error-out if the value is negative (avoiding an infinite loop).

PR: bin/30654 (part of it)
MFC after: 3 weeks


111398 24-Feb-2003 gad

1) Fix so -a honors the -n ("do nothing") option. Before, if the directory
given for -a did not exist, then newsyslog would always try to create
it, even if -n was specified.
2) When -a processing *does* create the directory, have it check the result
from mkdir(), and immediately error-out if that failed.

PR: bin/46974
MFC after: 3 weeks


111392 24-Feb-2003 gad

Minor style fix. Add parenthesis around 'return' values.

Reviewed by: md5
MFC after: 3 weeks


111388 24-Feb-2003 gad

Add the idea of a "default rotate action", which will be used if a file is
specified at runtime, but that filename is not listed in the newsyslog.conf
file. This default-action can be changed by having a line in newsyslog.conf
with the filename of "<default>". Before this change, the program would
quietly ignore the given file. An update to the man page will be written
after I finish some other updates to newsyslog.c.

Reviewed by: no objections from freebsd-arch
MFC after: 3 weeks


108317 27-Dec-2002 schweikh

english(4) police.


108164 21-Dec-2002 trhodes

Make newsyslog(8) print the correct date when the logs are turned over.

PR: 46395
Submitted by: maxim
MFC: eventually


107916 15-Dec-2002 sobomax

Add a new `W' flag, that when used in conjunction with the `Z' flag or the
`J' flag means that newsyslog should wait for previously started compression
jobs to complete before starting a new one for this entry. When it is used
along with the `G' flag, in the case when several logfiles match the pattern
and should be compressed, the newsyslog will compress logs one by one,
ensuring that only one compression job is running at a time.

This prevents newsyslog(8) from overloading system by starting several
compression jobs on big files simultaneously.

Sponsored by: Porta Software Ltd
MFC after: 2 weeks


107738 11-Dec-2002 sobomax

Backout unapproved WARNS level change occasionally slipped into previous
commit.

Big pointy hat to: sobomax


107737 11-Dec-2002 sobomax

- Allow comments to be placed at the end of configuration line.

Sponsored by: Porta Software Ltd
Approved by: re
MFC after: 2 weeks


107312 27-Nov-2002 ru

mdoc(7) police: markup fixes.

Approved by: re


106905 14-Nov-2002 sobomax

Add a new newsyslog.conf flag - 'G', which if set tells newsyslog(8) that
the specified filename of the log to be rotated is in fact shell glob
pattern. In this case, all files matching this pattern will be rotated
using the same options. Useful in the case when there is no pre-defined
name for the logfiles (e.g. xtradius, samba etc).

Sponsored by: PortaOne Software Ltd
MFC after: 2 weeks


105248 16-Oct-2002 maxim

Fix getopt(3) optstring: remove a flag we does not handle.

PR: bin/44066
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 week


99968 14-Jul-2002 charnier

The .Nm utility


99209 01-Jul-2002 maxim

Remove the last EOF spaces I missed in rev. 1.43.

MFC after: 1 week


96001 03-May-2002 maxim

style(9): sort includes, remove EOL spaces.

MFC after: 1 week


95999 03-May-2002 maxim

wait(2) for compress_log() processes to complete before exit.

Spotted by: Grigoriy Strokin <grg@isabase.philol.msu.ru>
Reviewed by: -current
MFC after: 1 month


94352 10-Apr-2002 sheldonh

Close a very small window during which new (empty) instances of rotated log
files are owned by the caller of newsyslog (usually root:wheel) even if
alternative ownerships were specified in newsyslog.conf.

Note that this is part of a wider problem which is fully addressed in
OpenBSD. Anyone with the time and inclination to incorporate the full
fix for the wider problem will receive no complaints from me and should
feel free to walk all over this delta.

PR: bin/36738
MFC after: 1 week


93659 02-Apr-2002 cjc

Produce a different error message for mktime(3) failure than for bad
newsyslog.conf syntax.

PR: bin/36641


90240 05-Feb-2002 roam

Fix -F with logfiles rotated on time only.

Approved by: silence on -audit
MFC after: 1 month


86360 14-Nov-2001 obrien

Fix the type of the NULL arg to execl().


83761 21-Sep-2001 ru

WARNS= -> WARNS?=


80742 31-Jul-2001 obrien

jhb says a 10 line change containing casts is more invasive than a 28 line
change.


80684 30-Jul-2001 obrien

Use the POSIX syntax for chown.

Submmited by: garrett


80666 30-Jul-2001 wollman

Simplify (and hopefully clarify) some date-parsing arithmetic.


80646 30-Jul-2001 obrien

style(9)


80640 30-Jul-2001 obrien

WARNS-2'ify.
(this included removing the funny "if (unsigned_var < 0)" test)


80638 30-Jul-2001 obrien

Add the ability to Bzip2 your logs.

PR: 27901
Submitted by: Anders Nordby <anders@fix.no> (stylistic changes by me)


80029 20-Jul-2001 obrien

Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.


79966 19-Jul-2001 wollman

Note the equivalence of certain time formats.


79951 19-Jul-2001 dd

Instead of giving an example of rotating logs at the end of the month,
give an example of how to rotate logs at the beginning of the month.
Although they sound the same, since both of them rotate logs at the
beginning of the day, the former ended up taking place on, e.g., July
31 00:00 instead of the expected July 31 23:59. This is contraty to POLA.

Submitted by: Dan Langille <dan@langille.org>


79755 15-Jul-2001 dd

Remove whitespace at EOL.


79452 09-Jul-2001 brian

Fix the type of the NULL arg to execl()

Idea from: Theo de Raadt <deraadt@openbsd.org>


75079 02-Apr-2001 dd

Fix a grammar bogon.


74816 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


74532 20-Mar-2001 ru

Set the default manual section for usr.sbin/ to 8.


71898 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


71299 20-Jan-2001 jedgar

- Correct MAXPATHLEN/MAXHOSTNAMELEN usage
- Check return values of malloc() and strdup()
- Replace strcpy()/strcat()/sprintf() usage with strlcpy()/snprintf

Reviewed by: -audit


68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


64663 15-Aug-2000 joe

When warning that a log file can't be compressed, tell the reader which
log file it was.


60373 11-May-2000 des

Allow user to specify which logs to rotate


59004 04-Apr-2000 hm

- implement logfile archivation to a separate, user
configurable directory
- implement alternate and more flexible way to specify
logfile rotation time in addition to the ISO 8601
restricted format
- cleanup the source which was a mix of several styles
of persons who maintained it so far, ran through
knfom script got from bde.

Reviewed by: (in part) sheldonh and garyj


59003 04-Apr-2000 hm

Run newsyslog source through knfom script obtained from Bruce Evans.
Joerg Wunsch suggested to do this to make the functional changes in
the next commit to newsyslog (which were run through the same script)
better visible.


57673 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


53760 27-Nov-1999 charnier

.Nm corrections


50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


49146 28-Jul-1999 obrien

Correctly refer to the companion program rather than as "chown".
Clean up wording a little (like I have any idea what real English looks like...)


49145 28-Jul-1999 obrien

Go back to allowing ``.'' as a username.group separator for backward
compatibility. : is still the documented non-ambiguous approach. The
algorithm used will correctly parse david.obrien.staff as strrchar() is
used, and in my mind more people would use a ``.'' in the username than
the group name.

Convinced by argument and patch by: sheldonh (with slight changes by me)


48295 28-Jun-1999 obrien

Syntax for user/group is changed from "user.group" to "user:group" to be
consistant with chown(8).


45547 10-Apr-1999 chuckr

Fix description of size, it's in kilobytes, not bytes.


43356 28-Jan-1999 wollman

jkoshy forgot up update the heading date on the man page.


43266 27-Jan-1999 jkoshy

Note that the 'owner.group' field is optional in the config file.

PR: docs/9602
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>


43071 22-Jan-1999 wollman

A slight bit of code and doco cleanup, but mostly:

Add the much-needed and long-desired ability to force the log rotation
to take place on a specific day or time, and document same. This works
by extending the syntax of the `when' field to allow a restricted
ISO 8601 time specification, and performing the log rotation if newsyslog
is run during the same hour as is specified.


42031 23-Dec-1998 peter

The largest PID is now 99999
Reported by: Ben Stuyts <ben@stuyts.nl>


39496 19-Sep-1998 obrien

Remove useless `BINOWN=root' now that it is the default.


36817 09-Jun-1998 ache

Add optional config file field: signal number to send (defaulted to HUP)
F.e. apache restarts less agressively on USR1 then on HUP


35920 10-May-1998 hoek

1) kill -HUP syslog, even if compressing supposedly "binary" files
PR: docs/6385

2) -n (noaction) does not imply -r (run as non-root), since as of
Rev. 1.12 (ache), -r changes actual behaviour.

3) missing \n from if(noaction) messages.


35917 10-May-1998 hoek

Arg! Someone fixed the synopsis in -stable's newsyslog.8, but not
in -current. However, they fixed both the ordering and the missing -F
flag. Merge from 22 and fix ordering here, too.


35915 10-May-1998 hoek

Fix the usage here, too (-F option).

Typo fix in comment ("Force the tim now matter what" s/tim/trim/)


35914 10-May-1998 hoek

1) Remove a line that somehow strayed from the one true path of
its sentence.
2) Fix usage (-F option).


34809 23-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


34584 14-Mar-1998 pst

Add "-F" (force) flag to newsyslog.
Submitted by: Terry Lambert <terry@freebsd.org>


31460 30-Nov-1997 ache

Sleep 10secs after kill -HUP instead of 3secs, some daemons like Apache
may have log time to re-configure


30160 06-Oct-1997 charnier

Cosmetic in err() strings.


26826 23-Jun-1997 steve

Show the real revision date and not the date that this
manpage is being viewed.


25518 06-May-1997 brian

Allow a '-' flag as a placeholder so that path_to_pid_file
can be specified without the flags field.
Fix bogus "trail" left in parse routine where the code jumps
past the end of the line and wanders into oblivion.


25496 05-May-1997 ache

Do not kill -HUP syslog if running in user mode (-r), it allows
private user logs rotation without error diagnostics


25443 04-May-1997 ache

1) Add yet one optional field: pid file to send SIGHUP to if log rotated
(good thing for apache f.e.) This change is backward compatible with old
newsyslog.conf files.

2) Do not compress log if SIGHUP sending failed for some reason
(f.e. pid file deleted). Newcoming messages will be lost
otherwise.

3) Misc cleanup while I am here.


24428 31-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


23189 28-Feb-1997 mpp

Add a missing period so that the -n option is display properly
in the man page output. Closes PR# 2831.

Submitted by: Marc Slemko <marcs@znep.com>


22997 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


20772 21-Dec-1996 mpp

Convert to mdoc format.


18188 09-Sep-1996 jkh

Doh! Actually read the patch I applied and see what it was *trying* to do,
then make it do that.
Error-of-my-ways-pointed-out-by: Bob Willcox <bob@luke.pmr.com>


18075 06-Sep-1996 jkh

PR#2724 in NetBSD notes that newsyslog save log files even if the number
of copies to save is zero. Incorporate suggested fix with some stylistic
cleanup to make the resulting code more readable.
Submitted-By: Kenneth Stailey <kstailey@dol-esa.gov>


16240 08-Jun-1996 alex

Added function prototypes and removed in-line prototypes of standard
functions such as malloc and time.


16174 07-Jun-1996 alex

Fix uninitialized variable that caused a core dump if /etc/newsyslog.conf
was empty. Closes PR bin/1300.

Found by: Brian Tao <taob@io.org>


13460 16-Jan-1996 graichen

Submitted by: charnier@lirmm.fr (Philippe Charnier)
1) correct MAX_PID according to system definition.
2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence.
3) make strings enough larger so they can't overflow: MAXHOSTNAMELEN for
host and MAXPATHLEN for filenames.
4) call execl with correct parameters (compress -> gzip).


13358 09-Jan-1996 graichen

Obtained from: NetBSD (PR#1906)
removed date formatting glitch in newsyslog


13245 05-Jan-1996 graichen

This commit was generated by cvs2svn to compensate for changes in r13244,
which included commits to RCS files with non-trunk default branches.