Commit Graph

5312 Commits

Author SHA1 Message Date
Josef Karthauser
3712337aef Fixed a potential buffer overflow problem, in the device name handling.
PR:		bin/15101
1999-12-05 20:05:45 +00:00
Philippe Charnier
73f2a3c2c8 Add extra columns for printing longer device name. 1999-12-05 20:04:56 +00:00
Poul-Henning Kamp
ad1720d30c A procfs mount is no longer needed for a jail. 1999-12-05 09:28:59 +00:00
Kazutaka YOKOTA
045c8108ff Mention USB mouse support. 1999-12-05 07:54:43 +00:00
Bill Paul
96f2e892a7 Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.

This also completes my quest to convert things to miibus and add
Alpha support.
1999-12-04 17:41:31 +00:00
Semen Ustimenko
9300c69625 Added ntfs filesystem to be exported. 1999-12-03 20:23:53 +00:00
Brian Somers
ffcfaec721 Be careful not to re-initialise `struct stat' while it still has
a running timer.  This fixes a problem where a dial is manually
aborted, the hangup script kicks in and the chat timer ends up
on the timer queue twice (tick tick tick tick *boom*)
1999-12-03 06:33:10 +00:00
Bill Fumerola
47f97505ad Add '-l' which will match a certain status code.
Add the submitter as a contributor in the man page
freebsd -> FreeBSD, while I'm poking around.

PR:		bin/15162
Submitted by:	Dominic Mitchell <dom@palmerharvey.co.uk>
1999-12-03 06:08:11 +00:00
Bill Fumerola
a30945450e Correct co-MAINTAINER's e-mail address. I don't know how many
more ways I can screw his address up. Suggestions welcome.
1999-12-03 03:20:59 +00:00
Archie Cobbs
98ca0c27f3 A better version of the previous checkin. If the user specifies
a custom file that could override a FreeBSD file under a different
configuration, but doesn't under this one, give a different warning.
1999-12-03 00:28:06 +00:00
Archie Cobbs
1e306bb1c6 When specifying additiona user-specified kernel compilation source
files in a 'files.XXX' file, config allows non-FreeBSD source files
with the same name as a FreeBSD source file to override the latter,
and in this situation it issues a warning.

However, if one of the user-specified files is actually a FreeBSD
source file (perhaps your kernel has some custom option that requires
that file), config mistakenly thinks it's a completely new file
and goes ahead and overrides all previous information for that file
(and issues the warning).

Fix this.

With help from:	julian
1999-12-02 23:43:08 +00:00
Warner Losh
677c39ac03 Fix typo from last commit.
Noticed by: Maxim Sobolev <sobomax@altavista.net>
1999-12-02 19:31:28 +00:00
Sheldon Hearn
9a602acc36 Replace the -q option to pwd_mkdb with a test for PW_SCAN_BIG_IDS in
the environment.  This allows big ID warnings to be suppressed for
vipw and chpass as well.

Since the environment variable test is only performed for callers
of pw_scan() that do not set pw_big_ids_warning, the test can still
be overriden.  Currently, chpass and pwd_mkdb are the only users
of pw_scan() and neither of them overrides the environment variable
test.
1999-12-02 16:39:15 +00:00
Warner Losh
8622777b8e Forgotten part of pccardc power command 1999-12-02 05:56:36 +00:00
Warner Losh
78944e7259 Implement pccardc power command. This allows one to power off
individual slots at one's whim.  Useful for turning the slots into
card carrying cases, etc.  Patch was originally from mihira-san in
message to freebsd-mobile.  He ported the code originally from PAO.

Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
1999-12-02 05:52:58 +00:00
Jordan K. Hubbard
50fbef8c45 Allow 2 more characters for Mike's long device names. 1999-12-02 02:55:57 +00:00
Jordan K. Hubbard
fb08130c0d We need COMPAT3X for both i386 and alpha, not just i386. 1999-12-02 01:54:15 +00:00
Jordan K. Hubbard
08c667112d Don't make the failure of a LOCAL dist a reported error.
If we're running 4.x and install X, auto-select COMPAT3X.
1999-12-01 01:34:33 +00:00
Brian Somers
cbee975442 Change the way we transfer links (again). The previous
method avoided all race conditions, but suffered from
sometimes running out of buffer space if enough clients
were piled up at the same time.

Now, the client pushes the link descriptor, one end of a
socketpair() and the ppp version via sendmsg() at the
server.  The server replies with a pid.  The client then
transfers any link lock with uu_lock_txfr() and writev()s
the actual link contents.  The socketpair is now the only
place we need to have large socket buffers and the bind()ed
socket can keep the default 4k buffer while still handling
around 90 racing clients.
1999-11-30 23:52:37 +00:00
Andrey A. Chernov
d3d56c3d4c Add support for pr's locale 1999-11-30 16:15:22 +00:00
Nick Hibma
93563adec1 Remove a stray ';' which made moused fail on read()s in all cases.
Prodded-By:	Andrey A. Chernov <ache@FreeBSD.org>
Prodded-By:	Soren Schmidt <sos@freebsd.dk>
Prodded-By:	Louis A. Mamakos <louie@TransSys.COM>
1999-11-30 10:20:33 +00:00
Peter Wemm
57f3c7da07 oops, named-bootconf.pl has morphed into something else and moved. 1999-11-30 10:18:49 +00:00
Peter Wemm
44248f451c Reactivate bind (named and tools) 1999-11-30 06:22:22 +00:00
Peter Wemm
66535003ba ndc is now a C program that communicates with named via a unix-domain
socket.
1999-11-30 06:18:10 +00:00
Peter Wemm
7c88d4045b Link against libbind (library and headers) 1999-11-30 06:16:46 +00:00
Peter Wemm
3598ef2f77 Use a full path to pathtemplate.c in case it's being pulled into other
Makefiles.
1999-11-30 06:15:34 +00:00
Peter Wemm
b3fc5d84c1 Compile bind against the resolver in libbind for now. Unfortunately this
includes the slower IRS getpwent() and friends, but that's better than
nothing.
1999-11-30 04:43:16 +00:00
Archie Cobbs
f8307e1233 Add two new generic control messages, NGM_ASCII2BINARY and
NGM_BINARY2ASCII, which convert control messages to ASCII and back.
This allows control messages to be sent and received in ASCII form
using ngctl(8), which makes ngctl a lot more useful.

This also allows all the type-specific debugging code in libnetgraph
to go away -- instead, we just ask the node itself to do the ASCII
translation for us.

Currently, all generic control messages are supported, as well as
messages associated with the following node types: async, cisco,
ksocket, and ppp.

See /usr/share/examples/netgraph/ngctl for an example of using this.

Also give ngctl(8) the ability to print out incoming data and
control messages at any time.  Eventually nghook(8) may be subsumed.

Several other misc. bug fixes.

Reviewed by:	julian
1999-11-30 02:45:32 +00:00
Peter Wemm
fe6d3fe571 Move named and associated tools into a seperate makefile section and
disable them pending an import and cleanup of bind 8.2.2.p5.
1999-11-30 02:18:13 +00:00
Archie Cobbs
2ab04c7d8e Remove extra spaces in hex dump output. 1999-11-30 02:09:36 +00:00
Brian Somers
886530ab78 depricated -> deprecated + mention the -alias flag status in README.changes 1999-11-29 18:53:43 +00:00
Mark Murray
a1d4589f76 Correct the email address that folk are to bug if they need
help; also point them in the direction of the source, not
PHK (or any other human) if they need to make CTM deltas
of their own.
1999-11-29 17:58:58 +00:00
Nick Hibma
d009bdaeb7 Bail out on failing the read(). This happens when a USB mouse is
disconnected. We retry the open in the parent subroutine.

Remove an ifdef _i386_ . MOUSE_IF_USB is now defined for alpha as well.

Reviewed-By:    yokota
1999-11-29 17:21:07 +00:00
Nick Hibma
33ba9f8fee Add the ability to match on device names attached to.
If a device is attached to ums4, you can reference this devname in
the configuration file as ${DEVNAME} (a shell variable, yes).
1999-11-28 21:27:31 +00:00
Bill Fumerola
bc019cca2f Install man pages in the right place. This is what I get for cheating
and copying a Makefile from another directory over to this one.

PR:		docs/15140
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
1999-11-28 18:34:27 +00:00
Brian Somers
97536b3bb8 Don't try to do a DIALOUT in -direct mode or if there's no phone
numbers set.
1999-11-28 15:50:23 +00:00
Brian Somers
f6a4e748a9 Make -foreground a proper option (allowing ``allow mode foreground'',
``set mode foreground'' etc.
1999-11-28 15:50:08 +00:00
Mike Smith
c56a2e807a Add support for the AMI MegaRAID and Mylex drivers to sysinstall.
There are reports that installs to these controllers still don't
work, but this is at least one step closer.
1999-11-27 21:33:04 +00:00
David E. O'Brien
5bb83b98db Add "-v". 1999-11-27 19:25:08 +00:00
Philippe Charnier
d53731a99e Remove incorrect section name. Terminate .Bl with .El. 1999-11-27 17:15:51 +00:00
Philippe Charnier
e831c5f39c Remove incorrect section name. 1999-11-27 17:13:08 +00:00
Philippe Charnier
48060c09ef Name of program and trailing \n will be added by syslog(3) 1999-11-27 17:11:55 +00:00
Philippe Charnier
97a729ff22 Use DIAGNOSTICS instead of incorrect section name 1999-11-27 17:10:35 +00:00
Philippe Charnier
0de7cd1e64 Remove incorrect section name 1999-11-27 17:09:14 +00:00
Philippe Charnier
af20a13df2 Add section name to .Xr references. 1999-11-27 17:07:59 +00:00
Philippe Charnier
b7e469ad10 Remove incorrect section name. Incomplete -Wall cleaning. 1999-11-27 17:06:40 +00:00
Philippe Charnier
652b720001 Do not repeat the name of the flag. Change alloc to allocate for better
spelling of printed messages.
1999-11-27 17:05:08 +00:00
Philippe Charnier
7c0e6e50e1 Merge fprintf and exit into errx.
Use .Ev for environment variable.
1999-11-27 17:03:07 +00:00
Philippe Charnier
541c4ca06d .Fn -> .Xr
Do not start warn() message with uppercase.
1999-11-27 16:59:06 +00:00
Philippe Charnier
a39d9a0c5a .Nm corrections 1999-11-27 16:57:27 +00:00