1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
Commit Graph

14868 Commits

Author SHA1 Message Date
Bruce Evans
6151b31757 Fixed brackets in usage message.
Reformatted some of recent changes to KNF.
1996-07-12 08:20:28 +00:00
Bruce Evans
3be8cc7800 Staticized some variables.
Fixed initialization of pipe_pgid - don't default to pid 0 (swapper) for
SIGIO.

Added comments about other implicit initializations, mostly for struct
stat.

Fixed initialization of st_mode.  S_IFSOCK was for when pipes were sockets.
It is probably safe to fix the bogus S_ISFIFO() now that pipes can be
distinguished from sockets in all cases.

Don't return ENOSYS for inappropriate ioctls.
1996-07-12 08:14:58 +00:00
Bruce Evans
0cd97b2034 Use a big delta in adjtime() for big negative adjustments as well as
for big positive adjustments.  The existence of big adjustments may
be a bug (it's not documented...) but there was no good reason for
the asymmetric behaviour.

Reviewed by:	wollman
1996-07-12 07:55:35 +00:00
Bruce Evans
cba2a7c614 Staticized a few variables.
Fixed warnings about unused variables.
1996-07-12 07:41:34 +00:00
Bruce Evans
73571d2d9e Removed "optimization" using gcc's builtin memcpy instead of bcopy.
There is little difference now since the amount copied is large,
and bcopy will become much faster on some machines.
1996-07-12 07:18:12 +00:00
Bruce Evans
82ffff7ab3 Renamed upa to p0upa to match p0upt.
Cleaned up some comments.
1996-07-12 06:48:55 +00:00
Bruce Evans
3222e6db68 Export `dumpmag' to utilities but not to the kernel.
Restored a truncated comment.
1996-07-12 06:09:49 +00:00
Bruce Evans
f3460ead96 Fixed cloned comments about npx traps to match context. 1996-07-12 06:03:14 +00:00
Paul Traina
120a065638 Add whereobj target to find that pesky obj dir 1996-07-12 06:01:55 +00:00
Bruce Evans
884d83ff09 Include <sys/types.h> before including <grp.h> so that this doesn't
depend on <stdio.h> bogusly including <sys/types.h>

Reordered includes to satisfy KNF rules.
1996-07-12 05:55:38 +00:00
Bruce Evans
8d00dd680c Removed obsolete definition of PIPE_NBIO. 1996-07-12 05:44:30 +00:00
Bruce Evans
ec275eb27f Moved the definition of DEBUGMSG() from asm.h to start.S. This macro
is only appropriate to use in the special environment of start.S (real
mode plus some conventions about not saving registers), and asm.h is
supposed to be for generic macros.

Removed some unnecessary parentheses.
1996-07-12 05:42:02 +00:00
Bruce Evans
18f63e25c1 Moved the definition of `bsize' out of a DO_BAD144 ifdef so that this
compiles when DO_BAD144 is not defined.
1996-07-12 05:35:47 +00:00
Bruce Evans
1cc273db90 Moved the definition of dflt_name to the correct file (table.c is only for
explicitly initialized data) and made it conditional on NAMEBLOCK.
1996-07-12 05:25:47 +00:00
Bruce Evans
b830e63502 Fixed some speling, punctuation.. and spac ing errors. 1996-07-12 05:17:37 +00:00
Bruce Evans
0873c1f1c7 Fixed operand order for shld and shrd.
Finished the constant poisoning that was begun in rev.1.14.  Consts
aren't very poisonous (or useful) unless -Wcast-qual is in CFLAGS,
and it isn't in the default CFLAGS.
1996-07-12 04:40:21 +00:00
Bruce Evans
6ab46d52a5 Don't use NULL in non-pointer contexts. 1996-07-12 04:12:25 +00:00
Nate Williams
746a432165 Changed all sprintf() calls to snprintf().
Obtained from:	Christos Zoulas <christos@deshaw.com> via NetBSD PR 2621,

[ slightly modified since we don't use libcompat anymore. ]

I'm not sure if this fixes the rdist security bug completely, but it
sure can't hurt!
1996-07-12 04:00:15 +00:00
Paul Traina
61ce6d635c Add amanda default port 1996-07-11 21:24:03 +00:00
Paul Traina
46720cfc9e Set shells to nonexistent where appropriate 1996-07-11 21:23:22 +00:00
Paul Traina
4ece9046e1 Add ability to override sendmail .cf file specification.
Add creation of ppp.log file since we rotate it now.
1996-07-11 21:22:50 +00:00
Jordan K. Hubbard
bd5706a78a Make the menu height calculation actually work.
Make a menu more self-explanatory at user request.
1996-07-11 18:37:48 +00:00
Jordan K. Hubbard
15232ab26e 1. Remove some ancient bogons from when I initially added dialogMenuItem
support.
2. Have message boxes say "Continue" instead of "Exit"
1996-07-11 18:22:16 +00:00
Nate Williams
68753bffb7 Add some comments explaining what APM_DSVALUE_BUG does no that I know
what it does and why it's needed.  Now I have to figure out how to fix
the bug. :)

[ No functional changes ]
1996-07-11 16:35:12 +00:00
Garrett Wollman
2c37256e5a Modify the kernel to use the new pr_usrreqs interface rather than the old
pr_usrreq mechanism which was poorly designed and error-prone.  This
commit renames pr_usrreq to pr_ousrreq so that old code which depended on it
would break in an obvious manner.  This commit also implements the new
interface for TCP, although the old function is left as an example
(#ifdef'ed out).  This commit ALSO fixes a longstanding bug in the
TCP timer processing (introduced by davidg on 1995/04/12) which caused
timer processing on a TCB to always stop after a single timer had
expired (because it misinterpreted the return value from tcp_usrreq()
to indicate that the TCB had been deleted).  Finally, some code
related to polling has been deleted from if.c because it is not
relevant t -current and doesn't look at all like my current code.
1996-07-11 16:32:50 +00:00
Nate Williams
2bbddfe5ae Added Johann Tonsing <jtonsing@mikom.csir.co.za> for his PCCARD
submission.
1996-07-11 15:08:41 +00:00
Nate Williams
fd87c5bd16 In num_tok, allow the user to specify '0' as plain '0' instead of
forcing them to use '00', and/or '0x0'.

Submitted by:	Johann Tonsing <jtonsing@mikom.csir.co.za>
1996-07-11 15:04:43 +00:00
Jordan K. Hubbard
0375cce8bc Merge. 1996-07-11 11:18:45 +00:00
Jordan K. Hubbard
1cca289947 Fix a couple of whoopers which somehow went undetected until now. 1996-07-11 11:15:28 +00:00
Nate Williams
9e35b336a3 Added my name as a co-ordinator for the APM/PCCARD stuff, and updated
the entrys to reflect more current reality.
1996-07-11 06:08:52 +00:00
Mike Pritchard
d3df5ce12e Another man page with a messed up .Dd line. 1996-07-11 02:57:03 +00:00
Mike Pritchard
dcd937eeb0 Use the correct format for the ".Dd" (man page date) line. 1996-07-11 02:47:00 +00:00
Mike Pritchard
b805452cc8 A *QUICK* pass through this man page to make it conform to mdoc
standards and to clean up some of the English.  The job is
nowhere complete.

This man page would be a good project for someone who knows
something about the firewall software, and would like to
contribute to the documentation effort.  Many of the things
in this man page are out of date and do not reflect reality.
1996-07-11 02:37:59 +00:00
Mike Pritchard
09b4b08649 Fix some spelling errors. 1996-07-11 02:08:31 +00:00
Mike Pritchard
adcdb5c26b Add divert.4 to the list of man pages that are installed. 1996-07-11 01:52:46 +00:00
Mike Pritchard
836760b9f4 Fix a spelling error. 1996-07-11 01:20:45 +00:00
Mike Pritchard
7ed2691105 Add a man page for the "aic" deive (Adaptec AIC 6260/6360 SCSI controller
chips).

Obtained from: NetBSD
1996-07-11 01:11:12 +00:00
Mike Pritchard
69bf862ef8 Add a man page for the "wt" device (Archive/Wangtec QIC-02 & QIC-36
interface boards).

Submitted by:	NetBSD
1996-07-11 00:37:13 +00:00
Mike Pritchard
ae828f7be5 Minor style fixup. 1996-07-11 00:31:57 +00:00
Mike Pritchard
0ee08fdda0 Add a man page for the "ncr" device (NCR 53C810 & 5C825 SCSI controllers).
Obtained from: NetBSD
1996-07-11 00:30:51 +00:00
Mike Pritchard
f1bf0d576f Add a man page for the "ep" device (3com 3c5x9 ethernet card).
Obtained from: NetBSD
1996-07-11 00:22:46 +00:00
Mike Pritchard
e165a77b17 Add a man page for the "el" device (3com 3c501 ethernet card).
Obtained from: NetBSD
1996-07-11 00:19:22 +00:00
Mike Pritchard
61ab736492 Add a man page for the "eg" device (3com 3c505).
Obtained from: NetBSD
1996-07-11 00:16:46 +00:00
Mike Pritchard
39d5249727 Fix a minor formatting problem. 1996-07-10 23:54:15 +00:00
Mike Pritchard
834c252e5c Teach the mdoc .Os and .Fx macros about the FreeBSD 2.1.5 release. 1996-07-10 23:53:13 +00:00
Wolfram Schneider
8583318ed8 import removeuser from Guy Helmer
see file TODO for known problems
1996-07-10 22:29:30 +00:00
Julian Elischer
93e0e11657 Adding changes to ipfw and the kernel to support ip packet diversion..
This stuff should not be too destructive if the IPDIVERT is not compiled in..
 be aware that this changes the size of the ip_fw struct
so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
1996-07-10 19:44:30 +00:00
Nate Williams
265c33c027 Now that we have a manpage, don't have the 'clean' target be a NO-OP. 1996-07-10 18:36:41 +00:00
James Raynard
c6e5a0b23b Added an entry for ``mail loops back to myself''.
Suggested by: Gary Palmer
1996-07-10 17:09:20 +00:00
Nate Williams
6bbd6071a7 Added dave edmondson <davided@sco.com> for his work on the APM stuff. 1996-07-10 15:13:12 +00:00