imp
a25b16eb03
Fix two possible non-exploitable buffer overflows.
...
Thanks to: A friend at Sun auditing dump/restore for Solaris.
1998-12-16 04:48:00 +00:00
dillon
cb74461921
Add pt_tcplisten.c functionality, fix a few minor bugs
...
PR: kern/8793, misc/8796, kern/8797, kern/8798, kern/8050, kern/6758
Submitted by: Duncan Barclay <dmlb@ragnet.demon.co.uk>
1998-12-15 18:59:07 +00:00
luigi
12bd4907ac
ipfw changes for dummynet. manpages still missing
1998-12-14 18:43:03 +00:00
dillon
b9c991f486
sendmsg() didn't like the MSG_EOR flag and returned an error. Removing the
...
flag makes portal tcp operation work.
1998-12-12 21:30:17 +00:00
bde
518ccde50a
Merged from Lite2 (one bcopy -> memmove, one significant change:
...
don't unlink _PATH_NOLOGIN for the -k case even if shutdown terminates
abnormally. NetBSD already has this change).
1998-12-11 11:21:47 +00:00
bde
1d4f8cd23a
Fixed missing 'p' and `-' flags and other defects in the usage message.
...
Fixed some style bugs.
1998-12-11 11:04:19 +00:00
bde
0fd6c24a07
Merged from Lite2 (just an English fix or pun removal).
...
Updated date. I think dates in man pages should be changed at least
when a new feature is described.
1998-12-11 10:35:38 +00:00
bde
2b205463cc
Fixed disordered options in synopsis.
1998-12-11 10:25:55 +00:00
bde
b3cf10b03b
Fixed missing `p' flag in synopsis.
...
Broken in: previous commit
1998-12-11 10:20:54 +00:00
msmith
005aaf0be2
Add a '-p' flag to shutdown which corresponds to the '-p' flag to halt,
...
requesting a system power-off after shutdown.
1998-12-10 23:54:02 +00:00
rnordier
f6024a1e10
Use '#' flag in place of "0x" in format strings.
1998-12-07 14:09:17 +00:00
archie
566ad38652
Disallow ipfw "tee" rules until it is actually implemented.
...
PR: bin/8471
1998-12-07 05:54:37 +00:00
julian
d77705b6d8
Cosmetic and documentation changes brought from earlier FreeBSD versions.
...
(e.g. RCS Id:)
1998-12-03 02:41:11 +00:00
julian
c1ef9f83c9
Reviewed by: Don Lewis <Don.Lewis@tsc.tdk.com>
...
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
Obtained from: Mckusick, BSDI and a host of others
This exactly matches Kirks sources imported under the
Tag MCKUSICK2. These are as supplied by kirk with one small
change needed to compile under freeBSD.
Some FreeBSD patches will be added back, though many have been
added to Kirk's sources already.
1998-12-03 02:27:35 +00:00
julian
1a5eceeafe
These shouldn't have been checked in here..
...
Reviewee by:
1998-12-02 23:45:28 +00:00
billf
568d61befe
Insert missing macro, and while I'm here change the inconsistent
...
"page_ctl" and "pagectl" to "pgctl" to reflect ``camcontrol --help''.
PR: docs/8781
Submitted by: Norihiro Kumagai <kuma@jp.FreeBSD.org>
1998-12-02 22:42:36 +00:00
julian
cb8b511e95
This commit was generated by cvs2svn to compensate for changes in r41461,
...
which included commits to RCS files with non-trunk default branches.
1998-12-02 20:53:40 +00:00
julian
55f9c5680b
Latest version of fsck from the folks at EX-CSRG specifically Kirk Mckusick.
...
Don Lewis and Kirk have merges nearly all FreeBSD Fixes into Kirks sources
so there is very little that needs to be re-merged.
1998-12-02 20:53:40 +00:00
bde
a2504ac4b6
Fixed non-use of .Nm and hard line breaks in rev.1.16-1.17:
1998-11-29 13:20:04 +00:00
bde
a2f2520224
Straightened the terminology straightening in 1.17-1.18. Fixed hard
...
line breaks in rev.1.16-1.18.
1998-11-29 13:09:01 +00:00
rnordier
a93fa46928
Refer to "da" rather than "sd" device.
1998-11-28 10:02:52 +00:00
rnordier
369a99d1d7
Refer to "da" rather than "sd" device.
...
Suggested by: jdp
1998-11-28 09:43:31 +00:00
joerg
d77f34aad8
sd0 -> da0
1998-11-26 12:24:35 +00:00
joerg
f17aeea6de
Preprocessor support for `ipfw [-q] ... file'.
...
This allows for more flexible ipfw configuration files using
`variables' to describe frequently used items in the file, like the
local IP address(es), interface names etc. Both m4 and cpp are useful
and supported; with m4 being a little more unusual to the common C
programmer, things like automatic rule numbering can be achieved
fairly easy.
While i was at it, i've also untangled some of the ugly style inside
main(), and fixed a bug or two (like not being able to use blank lines
when running with -q).
A typical call with preprocessor invocation looks like
ipfw -p m4 -Dhostname=$(hostname) /etc/fwrules
Someone should probably add support for this feature to /etc/rc.firewall.
1998-11-23 10:54:28 +00:00
asami
4168712b98
Change sd -> da in examples.
...
Inspired by: a mail by Scott Smyth <smyth@bashful.realminfo.com>
1998-11-19 20:22:10 +00:00
ken
a9ae5e2586
Fix a typo in a comment.
1998-11-12 17:47:24 +00:00
obrien
e57e639344
Fill-in the manpages a little.
1998-11-12 11:10:26 +00:00
bde
c6619e8978
Fixed disorder.
1998-11-10 11:54:29 +00:00
dima
ac5250cdc3
Reenable adjkerntz for alpha.
1998-11-09 21:52:50 +00:00
truckman
45b4ed0fe7
Fix some calculations that use sizeof to attempt to find the end of an
...
array that were doing sizeof on an unrelated variable. This just happened
to work right on the i386, but would not on the alpha.
PR: bin/8427
1998-11-09 03:43:55 +00:00
phk
153e666c16
Allow for printing out integer arrays.
1998-11-08 19:27:43 +00:00
des
d5017f342c
Bitch if both an id and a name are specified. Make the man page and usage
...
message reflect this. As a bonus, make the -n optional so that 'kldunload
name' works as one would expect.
1998-11-07 00:42:52 +00:00
des
539046af9f
Cosmetic fix (make header align with data)
1998-11-07 00:29:09 +00:00
alex
fe3661b3bc
Add an entry for the new NetBSD partition id.
1998-11-06 03:43:21 +00:00
jkoshy
f3b4d13e58
Add an entry for BSD/OS [23].x partition types.
...
I don't have access to a BSD/OS machine to check the veracity of the
magic number. However, no harm will be done by the commit and since
someone was motivated enough to file a PR, I'm committing the change.
PR: 7629
Submitted by: Jos Backus <jbackus@plex.nl>
1998-11-06 03:25:56 +00:00
mjacob
33cd29fe0d
For large filesystems you can run past default resource limits causing
...
fsck to exit unhappily. Fix this by doing a getrlimit/setrlimit for
RLIMIT_DATA. I made the same fix in NetBSD.
Reviewed by: dg@root.com
1998-11-05 03:26:36 +00:00
grog
817fa589a9
Correct u_int_64 casting to remove warnings in printf()
1998-11-03 06:39:39 +00:00
grog
0dbd09dcde
Show revive pointer in percentage complete as well as absolute value.
1998-11-02 04:12:51 +00:00
grog
3d94966976
Remove kludge to set subdisk states when bringing up a plex
1998-11-02 04:12:28 +00:00
dg
49185b19a8
Rename a function name so that it doesn't conflict with a future system call.
1998-10-30 16:17:50 +00:00
dima
832b98b6ff
64bit fixes.
...
(Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem
somewhere is the physio() area)
Submitted by: myself && Matt Dillon.
1998-10-27 04:01:19 +00:00
bde
5525376a91
Oops, don't quite use RAW_PART instead of RAWPARTITION. Use 'a' + RAW_PART
...
in both places.
1998-10-23 18:57:39 +00:00
grog
4cc78e2c04
list.c:
...
Add dump of last requests with 'info -V'. This requires the requests
to be enabled with 'debug 8'.
1998-10-21 08:39:57 +00:00
bde
d0ec9c47b0
Honour the default CFLAGS. This fixes a spew of warnings for compiling
...
unused static inlines in headers without -O.
Fixed missing libraries in DPADD.
Use .PATH instead of a symlink farm.
Removed bogus dependency of util.c on statetext.h (only util.o depends
on it). Removed rule for building statetext.h. The dependency was used
to get statetext.h built, but statetext.h is a non-generated source file
so it doesn't need building. This fixes an annoying message for the null
build and use of `make' instead of ${MAKE} to do the null build.
Fixed some style bugs.
1998-10-17 13:48:37 +00:00
bde
a3b0bb68a6
Don't assume that time_t is long.
1998-10-17 13:02:46 +00:00
bde
8b98004d10
Don't assume that time_t is long.
1998-10-17 12:44:55 +00:00
bde
77c4345dcb
Updated the error message for EXDEV to match recent kernel fixes.
...
Fixed nearby indentation.
Use RAW_PART instead of RAWPARTITION.
1998-10-17 09:56:32 +00:00
bde
1849cbd4d1
Backed out previous commit. It broke fsck again. See rev.1.22 and the
...
references there, and rev.1.38 of sys/ufs/ufs/ufs_disksubr.c.
1998-10-17 08:03:52 +00:00
jkh
a2bcaf5139
Don't rewrite the disk label. The type field is already set correctly
...
and we don't use the frags info, so why bother? More to the point, it
seems to result in an EXDEV error when the label is written out and we
lose because of it (don't know why though). This is a work-around and
is marked as such.
1998-10-17 04:19:29 +00:00
des
9db67e79b6
Warn about "mount -u" bug.
1998-10-16 00:06:56 +00:00