Commit Graph

9782 Commits

Author SHA1 Message Date
obrien
8abf9484aa Adjust the system endian and a.out headers to be more MI and cross-building
friendly.  Use the systems headers rather than local versions.

Reviewed by:	ru
2004-06-22 17:05:39 +00:00
phk
7ec354987e libcompat doesn't seem to be needed any more. 2004-06-21 16:10:00 +00:00
phk
70e8d575c7 libcompat doesn't seem to be necessary any more. 2004-06-21 16:09:29 +00:00
stefanf
af61e62dc9 Merge changes from the tzcode2004a import. 2004-06-20 21:41:11 +00:00
gad
5c21bd3372 Fix the format-string in a call to err(). It was causing a warning if
compiled on 4.x-stable.
2004-06-20 17:26:47 +00:00
stefanf
72e17f59cb This commit was generated by cvs2svn to compensate for changes in r130780,
which included commits to RCS files with non-trunk default branches.
2004-06-20 12:04:00 +00:00
stefanf
57534b2aa5 This commit was generated by cvs2svn to compensate for changes in r130777,
which included commits to RCS files with non-trunk default branches.
2004-06-20 11:52:51 +00:00
stefanf
ac44a75e3d Import the rest of tzcode2004a, the bits needed for the timezone compiler.
Obtained from:	ftp://elsie.nci.nih.gov/pub/tzcode2004a.tar.gz
2004-06-20 11:52:51 +00:00
gad
04ef458020 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
2004-06-19 03:28:42 +00:00
robert
0f9ac8040a Use strlcpy(3) to replace the idiomatic
strncpy(d, s, l);
  d[l - 1] = '\0';

statements.
2004-06-17 14:07:16 +00:00
phk
c675add0de Document boot0sio and note that it requires modem handshake to work. 2004-06-17 12:01:25 +00:00
robert
2211cbc1f6 Fix a bug which occurred when the home directory given by the
-d option was equal to the one already saved and which caused
the pw utility to avoid updating values passed by other options
processed before the -d option in the code path.

Spotted by: Richard Caley <rjc@interactive.co.uk>
2004-06-17 10:29:12 +00:00
mux
0fb9c0032d Tabs were accidentally lost in the last commit.
Submitted by:	Liam J. Foy <liamfoy@sepulcrum.org>
2004-06-16 19:14:21 +00:00
ru
aa52a5a900 Assorted markup, spelling, and grammar fixes. 2004-06-16 08:33:57 +00:00
bms
77e7007644 mdoc(7) police
Submitted by:	ru
2004-06-16 07:03:54 +00:00
bms
bb7d871dd0 Document the behaviour of the net.link.ether.inet.proxyall sysctl MIB
variable.

PR:		docs/21826
Reviewed by:	ru
Requested by:	Bernd Luevelsmeyer
2004-06-16 06:16:29 +00:00
mux
2bf674c590 Factor out some duplicated code and fix some style(9) issues.
Submitted by:	Liam J. Foy <liamfoy@sepulcrum.org>
2004-06-14 16:53:20 +00:00
phk
8f47be3b0a Improve spec to spec comparison output. 2004-06-14 07:28:22 +00:00
phk
64fb1c58d5 Document -d flag 2004-06-14 07:27:27 +00:00
obrien
5b91f51037 Language tweak in explaining the mouse wheel's functionality. 2004-06-14 00:22:10 +00:00
dwmalone
94f9661074 Sync up with KAME. The main change is to try to avoid exposing
exposing information about the endianness and alighment requirements
in the packets sent by traceroute6.

Obtained from:	KAME
2004-06-13 18:38:46 +00:00
ru
dc54ee200d Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
dfr
f670e3d9a8 Be smarter about printing non-ethernet link-level addresses. 2004-06-13 10:57:10 +00:00
gad
a1214ecb7b 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
2004-06-12 19:53:08 +00:00
dwmalone
f3325cae78 Add some more details about what traceroute6 does.
Submitted by:	Orla McGann <orly@redbrick.dcu.ie>
Obtained from:	KAME
MFC after:	2 weeks
2004-06-09 12:45:51 +00:00
phk
8641ff9ae2 Update kvm mode to match kernel changes. 2004-06-09 12:20:44 +00:00
csjp
d436b75c46 Add note that rmuser will clean up any IPC mechanisms owned by the user.
Approved by:	bmilekic (mentor)
2004-06-08 14:52:55 +00:00
stefanf
d7af95e868 Avoid assignments to cast expressions.
Reviewed by:	md5
Approved by:	das (mentor)
2004-06-08 13:08:19 +00:00
stefanf
95e7f6997b - Don't use argv[i] when i is uninitialised.
- Cast isdigit's argument to unsigned char.
- Remove the now unused variable i.

Approved by:	das (mentor)
2004-06-08 12:11:19 +00:00
gad
db4692c790 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
2004-06-07 21:53:27 +00:00
gad
217bb961db 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
2004-06-07 21:18:09 +00:00
gad
717539c680 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
2004-06-07 21:09:58 +00:00
gad
f0a68c5d24 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
2004-06-07 02:10:10 +00:00
gad
3e7bce2995 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
2004-06-07 01:21:30 +00:00
mtm
1b8e607cd5 Accept full path names in addition to base names for shells.
Make explicit in the documentation that valid shells need to be
supplied only if the -S option is not given.
2004-06-06 17:55:55 +00:00
ru
ee4a7e8b45 Tidy up markup. 2004-06-06 17:49:57 +00:00
cognet
b8f049c42b Tell crunchide to deal with arm elf binaries as well.
Rescue can now be built for arm.
2004-06-06 16:01:36 +00:00
ru
fbb5447570 Markup nits. 2004-06-05 20:27:10 +00:00
ru
3a32f0d073 Reapply traditionally lost fixes. 2004-06-05 20:22:31 +00:00
ru
e42a7fd928 Reapply traditionally lost fixes, fixed some more.
This manpage needs an English clenup.
2004-06-05 20:22:15 +00:00
ru
4ef5873a10 Markup and grammar nits. 2004-06-05 20:21:58 +00:00
ru
7bb316650e Removed redundant mdoc(7) macro calls. 2004-06-05 20:21:43 +00:00
ru
943df74da8 Markup and punctuation nits. 2004-06-05 20:21:17 +00:00
ru
c1a105b9fc Markup nits. 2004-06-05 20:20:34 +00:00
ru
db23e347eb Added forgotten -w to the usage(). 2004-06-04 19:29:28 +00:00
ru
cb3cae26ca Added forgotten -d to the usage(). 2004-06-04 19:29:09 +00:00
ru
99b8988bdc Added forgotten -w to the SYNOPSIS.
Trim whitespace at EOL.
2004-06-04 19:25:47 +00:00
ru
e98d4c3ef7 Fixed warnings (missing .Ed call).
Fixed grammar (missing punctuation).
Fixed screwup with the SEE ALSO section.
2004-06-04 19:24:57 +00:00
ru
f0a52f89df Reapply some local fixes that got lost with another NetBSD merge,
fix some more.
2004-06-04 19:24:35 +00:00
ru
99db664fda Trim whitespace at EOL. 2004-06-04 19:24:21 +00:00