Commit Graph

50384 Commits

Author SHA1 Message Date
David E. O'Brien
00a5a11605 Fix problem where original author thought `unsigned long' was the best
32-bit type (rather than define his own type based on the type of box
being compiled on).

Submitted by:	Mark Abene <phiber@radicalmedia.com>
		(however I applied a slightly different fix)
2000-07-20 20:11:36 +00:00
David E. O'Brien
61203ed3a0 Fix vendor bogon where one of dhcp_option_ev_name()'s formal parameter
types did not match the prototype.

(Note: this is one bug that an Ada compiler would have found as when you
typedef a new type, the new type is not assignment compatabile with the
type used to make it up.  C should only be so featureful.)
2000-07-20 19:51:37 +00:00
Andrey A. Chernov
e3b66023f2 dd is too verbose writting entropy, redirect its output to /dev/null
Add period at the end of sentence
2000-07-20 19:25:12 +00:00
Brian Feldman
5976ee7e31 Make the comment regarding ftruncate() correct. 2000-07-20 19:21:40 +00:00
Andrey A. Chernov
29ce1dd302 Sync with main termcap, SGR 24,27 2000-07-20 18:55:07 +00:00
Andrey A. Chernov
d7126a4617 cons: use newly added SGR 24 for "ue" and SGR 27 for "se" 2000-07-20 18:53:41 +00:00
Andrey A. Chernov
cf6031b6cd Describe newly implemented SGR 22,24,25,27 2000-07-20 18:50:12 +00:00
Hajimu UMEMOTO
c98e299e93 Copy canonname for *ahost, into static buffer.
Obtained from:	KAME Project
2000-07-20 18:49:35 +00:00
Andrey A. Chernov
91de5914ec Implement SGR 22,24,25,27 from ECMA-48 2000-07-20 18:48:03 +00:00
SADA Kenji
f698dde983 Don't emit a warning message if fchflags() returns EOPNOTSUPP
Requested by:	FUJISHIMA Satsuki <k5@cheerful.com>
Obtained from:	OpenBSD
2000-07-20 18:30:00 +00:00
Nick Sayer
39902b5bea Oops. SYSCTL_HANDLER_ARGS -> (SYSCTL_HANDLER_ARGS) 2000-07-20 17:57:20 +00:00
John Baldwin
380d03438d Fix this so it compiles by adding a missing quote. 2000-07-20 17:43:11 +00:00
Archie Cobbs
d2ea40c23f Allocate memory with M_NOWAIT instead of M_WAITOK, because it's possible
for these routines to be called from an interrupt context.

PR:		kern/20057
2000-07-20 17:23:49 +00:00
Archie Cobbs
aec01c66a8 Remove unused variable.
PR:		bin/20052
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2000-07-20 17:17:49 +00:00
Nick Sayer
12dc24ded3 Add sysctl to perform bridge refresh. This is required if bridged
configurations include loadable interfaces. After loading new
interface drivers, perform a 'sysctl -w net.link.ether.bridge_refresh=1'
and the bridge code will reinitialize itself.

Submitted by: <vsilyaev@mindspring.com>
2000-07-20 17:07:06 +00:00
Nick Sayer
a5213f145a Add the tap driver.
The tap driver is used to present a virtual Ethernet interface to the
system. Packets presented by the network stack to the interface are
made available to a character device in /dev. With tap and the bridge
code, you can make remote bridge configurations where both sides of
the bridge are separated by userland daemons.

This driver also has a special naming hack to allow it to serve a similar
purpose to the vmware port.

Submitted by:	myevmenkin@att.com, vsilyaev@mindspring.com
2000-07-20 17:01:10 +00:00
Matt Jacob
5f4796c0db Update isp man page, add ispfw man page. 2000-07-20 16:11:23 +00:00
Sheldon Hearn
e97c713795 Add an MLINKS entry which makes snd(4) a link for pcm(4).
Suggested by:	Udo Erdelhoff <ue@nathan.ruhr.de>
2000-07-20 15:47:45 +00:00
Hajimu UMEMOTO
c847fdb1f9 Fix buffer size of ALIGNed buffer.
PR:		bin/20053
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2000-07-20 14:54:04 +00:00
Sheldon Hearn
aa73302b03 Add a FILES section which, as a side-effect, just so happens to
give device node creation instructions.

PR:		20060
Reported by:	"Sean O'Connell" <sto@stat.Duke.EDU>
2000-07-20 14:19:17 +00:00
Andrey A. Chernov
c03054e957 Sync with main termcap (AX, latin2 mono) 2000-07-20 14:08:21 +00:00
Andrey A. Chernov
cfcb15583b Explicetly remove AX for mono consoles.
Fix mono Latin2 console color support removing.
2000-07-20 14:03:23 +00:00
Alexey Zelkin
bcfbf8ad07 Correct default value for -s option.
PR:           bin/12946
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
2000-07-20 13:27:58 +00:00
Andrey A. Chernov
44415df847 cons: add AX to indicate that SGR 39 and 49 present and can be used separately 2000-07-20 13:18:29 +00:00
Andrey A. Chernov
598cad91fd Accorfing to ECMA-48 SGR 39 and 49 are just another colors and must not reset
other attrs, so reset only bold on 39
2000-07-20 13:12:58 +00:00
Sheldon Hearn
55c01a42ed Fix a typo and mark ``update'' up consistently in the HISTORY section.
Reported by:	des
2000-07-20 13:05:41 +00:00
Alfred Perlstein
f408896444 only allow accept filter modifications on listening sockets
Submitted by: ps
2000-07-20 12:17:17 +00:00
Alfred Perlstein
85f5e7f098 disallow unload until we do proper refcounting 2000-07-20 12:12:41 +00:00
Sheldon Hearn
6c96813482 Clear the extraneous Os argument, which survived rev 1.3. 2000-07-20 11:46:51 +00:00
Sheldon Hearn
2c7372355e General clean-up [1/1]: whitespace 2000-07-20 11:45:56 +00:00
Sheldon Hearn
7d28680e93 General clean-up [0/1]: content
Clear extraneous Nm arguments.
Clarify some English.
Mark netgraph and ifconfig up as a cross-reference.
Remove apostrophe from a genitive ``its''.
2000-07-20 11:43:40 +00:00
Sheldon Hearn
144d39d4b8 Rename the `name'' argument to `item'' and mark it up as an argument.
Make use of the marked up argument to clarify the text in the DESCRIPTION
section.
Insert a missing word: ``the''.
Make the phrase in the BUGS section a full sentence.
Sort the cross-references in the SEE ALSO section correctly.
2000-07-20 11:39:14 +00:00
Alfred Perlstein
372e9eb0af use .Pp instead of faking it with an extra newline
Pointed out by: sheldonh
2000-07-20 11:05:52 +00:00
Brian Somers
759c81cbad Don't mis-interpret sockaddr_in6 structures as sockaddr_in structures
when purging routes.
2000-07-20 10:38:12 +00:00
Alfred Perlstein
f47d88b0b7 document get/set sockopt usage with accept_filter(9) 2000-07-20 10:33:08 +00:00
David E. O'Brien
fbb0d22951 Need /usr/sbin for arp(8). 2000-07-20 10:29:52 +00:00
David E. O'Brien
a3b867b670 Patchlevel 3 of the ISC 2.0 dhcp client now requires us to give it the
shell script's PATH setting in the environment.
2000-07-20 10:11:22 +00:00
David E. O'Brien
f488fa12ec Update to match the upgrade I just performed. 2000-07-20 10:07:13 +00:00
David E. O'Brien
e6d7feef80 Careful with long, command-line provided interface names.
Obtained from:	OpenBSD (rev 1.5)
2000-07-20 09:56:18 +00:00
David E. O'Brien
11c898d281 arp(8) invocations fixed -- one does not use "-n" with "-d".
Obtained from:	OpenBSD (rev 1.7)
2000-07-20 09:55:08 +00:00
David E. O'Brien
38234a80b2 safe shell quoting
Obtained from:	OpenBSD (rev 1.6)
2000-07-20 09:53:10 +00:00
David E. O'Brien
6ad39c5859 Make sure we delete the PID file when we exit.
Obtained from:	OpenBSD rev 1.3 (this semi-security fix was hidden as a
                                 lease time fix)
2000-07-20 09:33:24 +00:00
Doug Rabson
ac7ba92669 Add support for the PC87303 chipset (found on Miata alphas) and add
support for relocating the port address if the isa hints specify a
different address from the address the chipset currently has.

Submitted by: Andrew M. Miklic <miklic@ibm.net>
2000-07-20 09:28:07 +00:00
David E. O'Brien
795cf8bb96 Add yet more options to usage() that the author did not document. 2000-07-20 09:16:30 +00:00
Brian Somers
732d07e535 Alocate rcmd{,_af}()'s *ahost argument using malloc() (well
strdup()) rather than pointing it at something that's free()d
(via freeaddrinfo(res)) before the function returns.

I appreciate that this is an API change, but it's the only way
(AFAIK) of doing this without breaking existing code that uses
rcmd{,_af}().

Pointed out by: phkmalloc
2000-07-20 09:05:15 +00:00
David E. O'Brien
4bb78bf510 Careful with long, command-line provided interface names.
Obtained from:	OpenBSD (rev 1.7)
2000-07-20 08:57:29 +00:00
David E. O'Brien
3074027e68 Fix conflicts. 2000-07-20 08:44:53 +00:00
David E. O'Brien
46814e0b72 This commit was generated by cvs2svn to compensate for changes in r63616,
which included commits to RCS files with non-trunk default branches.
2000-07-20 08:36:42 +00:00
David E. O'Brien
134783f7a8 Import Patchlevel 3 of the ISC 2.0 dhcp client. 2000-07-20 08:36:42 +00:00
Brian Feldman
119fc1a3ce We shouldn't use cp to save the old ld-elf.so.1. Use the sanctioned tool
${INSTALL} with -C -p instead.
2000-07-20 08:00:02 +00:00