Compare commits

...
3655 Commits
Author SHA1 Message Date
Peter Wemm 3f6ab17207 MFC: rev 1.4: forward compatability with cvs-1.12 repository 2008-01-07 09:11:23 +00:00
Tor Egge 0b22bdff85 MFC: Don't set the COMPLETE flag in an inodedep structure before the
related inode has been written.
2005-08-26 20:40:31 +00:00
Bruce Evans 2d0a65fb58 MFC (1.405: quick fix for most of the pessimization in rev.1.194). 2003-12-02 06:18:37 +00:00
Bruce Evans 4214fd3688 Avoid depending on a gas bug, so that this file works when assembled
by current versions of gas that don't have the bug as well as by the
RELENG_3 version.  A 32-bit load of %esp in 16-bit mode was mangled.
The current version of gas still produces a different object file due
to related (but harmless) bugs involving bogus operand size prefixes
for segment registers.
2003-12-01 13:21:47 +00:00
Gregory Neil Shapiro 517121dc1f MFC: sendmail address parsing bug fix
Approved by:	so (nectar)
2003-09-17 20:22:03 +00:00
Jacques Vidrine 5282423a4a MFC 1.24: Validate the iBCS2 statfs(2) length parameter. 2003-08-10 23:35:21 +00:00
Bruce Evans 8daec3f7ea MFC: 1.94 and 1.125 (don't use hard newlines in string literals, and fix
some style bugs on the same lines).

This completes making some RELENG_3 kernels work when compiled by gcc-3.3.
2003-08-05 07:07:37 +00:00
Jacques Vidrine a9c8e89592 realpath(3) bug fix: There was an off-by-one error in computing the
size of the resulting canonical path.
2003-08-03 23:47:39 +00:00
Bruce Evans ad3dbee7a1 MFC locore.s 1.172-1.174 (don't hide the name of tmpstk, and clear the
bss properly) with adjustments for RELENG_3.  The adjustments are the
same as for RELENG_4.

This is part of some making RELENG_3 kernels work when compiled by gcc-3.3.
Fixing bss clearing and ATOMIC_ASM constrains are the only nontrivial parts.
2003-08-02 14:54:49 +00:00
Bruce Evans e81dc82731 MFC (1.24: pass in the constraints on the V parameter so that the char
versions can be given different, non-bogus constraints).

This is part of making some RELENG_3 kernels work when compiled by gcc-3.3.
I started out only wanting them to compile, but had to test them for
delicate changes like this.  This change makes no difference for LINT
compiled by the RELENG_3 compiler, except for vfs_cluster.o where it
gives some differences related to register selection near an
atomic_add_char().
2003-07-30 19:31:11 +00:00
Bruce Evans 23047d3472 MFC (1.15: missing FREE()). This was supposed to be MFC'ed in 1.3.2.5,
but FREE was misspelled so this file has just not compiled since 1.3.2.5.

This finishes making LINT compile in RELENG_3.
2003-07-29 20:44:35 +00:00
Bruce Evans f732d57b47 Commented out olpt devices so that LINT is almost compilable in RELENG_3.
olpt devices never worked in RELENG_3, if anywhere, since a driver's
namespace is not affected by changing only the driver's name.  LINT
apparently hasn't been buildable in RELENG_3 since rev.1.539.2.14
(between 3.1R and 3.2R).
2003-07-29 19:35:50 +00:00
Bruce Evans f417cb4888 MFoldC (a tiny part of 1.61: translate to C: don't use hard newlines in
a string literal).

This is part of making some RELENG_3 kernels compilable by gcc-3.3.
2003-07-29 10:38:14 +00:00
Bruce Evans ed4e49ffbd MFC (1.32: translate to C: don't use hard newlines in a string literal;
1.41: use the correct function name in the string literal).

This is part of making some RELENG_3 kernels compilable by gcc-3.3.
2003-07-26 12:09:58 +00:00
Gregory Neil Shapiro 905ce239fd sendmail parsing buffer overflow fix
Approved by:	so (nectar)
2003-03-29 20:09:48 +00:00
Gregory Neil Shapiro 0ad9dc59e9 FreeBSD-SA-03:04.sendmail: sendmail header parsing buffer overflow
Approved by:    security-officer (nectar)
2003-03-03 17:23:11 +00:00
Assar Westerlund 6f51866403 MFC kadm_ser_wrap.c:1.1.1.4: fix buffer overflow
MFC updating kerberosIV version

Obtained from:	kth-krb CVS
2002-10-24 02:49:08 +00:00
Juli Mallett 40095fd9d6 MFC: fortune(6) datfiles 2002-08-10 02:19:34 +00:00
Trevor Johnson 37e223c81c MFC: fix buffer overflows described in FreeBSD-SA-02:28.resolv.
Sergey A. Osokin and I tested this.

Approved by:	security-officer
2002-07-08 22:17:52 +00:00
Juli Mallett ad9279f647 MFRELENG_4:
Document traditional BSD behaviour for changecom with no arguments.

PR:	bin/17480
2002-06-17 04:05:07 +00:00
Bruce Evans 80190b3378 Fixed missing definitions of __dead2, __pure2 and __unused when parts
of RELENG_3 are compiled by gcc-3.  These macros are for cosmetic
purposes (optimization and error checking), so they should have been
defined away for all unknown compilers, including for versions of gcc
that were apparently not dreamt of when RELENG_3 was current or stable,
but the ifdefs are too backwards-looking and got this wrong.

RELENG_4 has the same bug for gcc-4.

The corresponding idefs in -current and most other ifdefs for gcc avoid
the bug by assuming that all future versions of gcc will be like gcc-3.
2002-05-27 12:52:58 +00:00
Yoshihiro Takahashi 0442bfcfbf MFi386: revision 1.129.2.7. 2002-05-19 13:13:22 +00:00
Bruce Evans 7080af00c2 MFC (1.133: "For what it's worth, idelayed is declared as a volatile in
the headers, and even though it's not used in this file make it a
volatile here too").

The worth of this is that it makes this file actually compilable by C
compilers like gcc-3.
2002-05-15 05:18:56 +00:00
Bruce Evans b6d5c5e83a MFC (1.12: renamed gdb's private strlen and strlcpy to avoid conflicts
with the public ones declared in a system header).  This helps unbreak
building RELENG_3 kernels with gcc-3.  gcc-2's special (broken) handling
of the corresponding builtins apparently prevented detection of the
conflicts even when the public functions are declared explicitly.
2002-05-15 05:00:24 +00:00
Jeroen Ruigrok van der Werven 3957ebe486 Work correctly when skips are given.
Add $FreeBSD$

PR:		18597
Submitted by:	Anatoly Vorobey <[email protected]>
2002-04-08 13:13:28 +00:00
Bruce Evans 0dcf528396 MFC (cy_pci.c 1.26: work around a PLX9050 bug). 2002-03-17 04:16:45 +00:00
Alfred Perlstein f0843112af Backport sed -E support (extended regex support).
Submitted by: Dan Nelson <[email protected]>
2002-01-30 20:21:18 +00:00
Greg Lehey 2e031e8eba MFC: remove extraneous setjmp, add a panic if we try to longjmp
without holding the config lock.
2002-01-30 01:44:14 +00:00
Jeroen Ruigrok van der Werven af862a47cb MFS: Add quirk entry for the Hitachi DK31* drives.
PR:		18793
Submitted by:	Paul Haddad <[email protected]>
2001-11-15 20:03:37 +00:00
Max Khon 9ae0b19614 forced commit (PR, Submitted by)
PR:             27922
Submitted by:   Eugene Grosbein <[email protected]>
2001-10-21 23:28:15 +00:00
Max Khon 95c67effed MFC: SA 01:62 fix
Submitted by:   Eugene Grosbein <[email protected]>
Approved by:	silence on -security
2001-10-21 23:18:09 +00:00
Max Khon ef935a1fae MFC rev 1.18: Protect the remaining instance of chdir() using
fts_safe_changedir().
2001-10-10 19:49:30 +00:00
Max Khon cc6aa31940 MFC rev. 1.60: Enable 8bit chars excepting high controls 2001-10-10 19:44:54 +00:00
Ruslan Ermilov fc1801e3e9 MFC: 1.18: Terminate the array of execv(3) pointers by a NULL pointer. 2001-10-04 09:12:35 +00:00
Peter Wemm 30a4159905 MFC: fowards compatability hack so that we can update the compat3x
libc.so.3.gz.uu file in -current.  This is the same as RELENG_4 1.7.2.3.
2001-09-26 01:48:56 +00:00
Robert Watson d16c4f3675 MFC/MFS per-user .login_conf disable + adjacent comment.
login.conf.5: 1.37
login_cap.c: 1.22, 1.23
2001-09-20 21:21:12 +00:00
Kris Kennaway 3b0158c4b4 MFC: Fix buffer overflow in queue file handling 2001-08-30 09:46:44 +00:00
Akinori MUSHA 44362a47a5 MFC: MASTER_SITES_* 2001-08-23 20:28:24 +00:00
Jesper Skriver 5af9273042 MFS
src/sys/netinet/ip_input.c      rev 1.130.2.22
src/sys/netinet6/frag6.c        rev 1.2.2.4
src/sys/netinet6/in6_proto.c    rev 1.6.2.4

  Prevent denial of service using bogus fragmented IPv4 packets.

  A attacker sending a lot of bogus fragmented packets to the target
  (with different IPv4 identification field - ip_id), may be able
  to put the target machine into mbuf starvation state.

  By setting a upper limit on the number of reassembly queues we
  prevent this situation.

  This upper limit is controlled by the new sysctl
  net.inet.ip.maxfragpackets which defaults to nmbclusters/4

  If you want old behaviour (no upper limit) set this sysctl
  to a negative value.

  If you don't want to accept any fragments (not recommended)
  set the sysctl to 0 (zero)

Obtained from:	NetBSD (partially)
2001-08-06 09:20:57 +00:00
Bruce A. Mah e6f2b760a4 MFC: SA-01:49. 2001-07-24 01:16:52 +00:00
Kris Kennaway fe21389f84 MFC: Correct semantics of output_data*() and netflush() to ensure
deterministic operation
2001-07-23 22:12:45 +00:00
Kris Kennaway 5ff1744f11 MFC^2: Correct semantics of output_data*() and netflush() to ensure
deterministic operation
2001-07-23 22:10:45 +00:00
Kris Kennaway 61d47fa866 MFC: Prevent remotely exploitable buffer overflow 2001-07-23 02:19:35 +00:00
Dima Dorfman 9f7a920119 MFC 1.134, 1.135: don't share sig handlers after an exec.
Approved by:	kris
2001-07-11 23:04:37 +00:00
Peter Wemm a87462cae3 MFC: rev 1.131: set P_SUGID before releasing ptrace and block opportunities 2001-06-16 23:41:58 +00:00
Peter Wemm 5fc8aceac5 MFC: rev 1.40: trivial fix for savecore on 2GB+ ram machines 2001-06-08 03:14:05 +00:00
Bruce A. Mah 4479ee219f MFC: SA-01:39. 2001-05-02 21:49:23 +00:00
Kris Kennaway 9f6334c28e MFC: Better TCP ISN randomization 2001-05-02 20:48:34 +00:00
Jens Schweikhardt 7dd514fcc6 MFC: fix grammar bogon and add $FreeBSD$. 2001-04-26 17:23:42 +00:00
Akinori MUSHA 6563052715 MFC: Correct and update Japanese holidays. 2001-04-20 14:14:21 +00:00
Jens Schweikhardt ca8af0754f Fixed typos.
Approved by:	jkh
2001-04-17 19:25:41 +00:00
Chris D. Faulhaber 68b25a6d3f MFC: Limit number of paths returned via glob() for authorized users 2001-04-17 18:04:09 +00:00
Chris D. Faulhaber 6b480559c6 MFC 1.74: globbing limits for ftpd 2001-04-17 02:47:36 +00:00
Bruce A. Mah 78c1e541bf MFC: ntpd(8) vulnerability fix cross-references SA-01:31. 2001-04-14 16:20:34 +00:00
Bruce A. Mah 47d96a5edd MFC: glob(3) limits, ftpd(8) usage of same, ntpd(8) vulnerability closed. 2001-04-10 04:48:58 +00:00
Chris D. Faulhaber 2ecb30bb11 MFC: globbing limits for ftpd 2001-04-08 00:15:00 +00:00
Chris D. Faulhaber cdd8f71174 MFC: Fix potential remote exploit 2001-04-06 18:21:00 +00:00
Bruce Evans 43a20f2a6e MFC (rev.1.14: don't follow the null pointer went the server sends an
unparseable timestamp).

PR:		25243
2001-04-06 11:37:50 +00:00
Peter Wemm c15cd85a81 MFC rev 1.17 2001-03-29 01:46:57 +00:00
Peter Wemm 583eed4bf5 MFC: sync all the way up to glob.c rev 1.16 and glob.h rev 1.4 2001-03-28 16:40:11 +00:00
Bruce A. Mah c75888b9ac MFC: timed(8) security fix (FreeBSD-SA-01:28), rwhod(8) security
fix (FreeBSD-SA-01:29), FFS/EXT2FS security fixes (FreeBSD-SA-01:30).
2001-03-26 18:10:58 +00:00
Satoshi Asami 85751d7570 MFC (science and ukrainian categories). 2001-03-24 22:11:07 +00:00
Jeroen Ruigrok van der Werven cf8b419033 MFC: 3.5-STABLE has lpt and olpt, not nlpt. Reflect docs to reality. 2001-03-14 13:43:23 +00:00
Kris Kennaway eeea1b0c51 MFC: 1.6 and 1.7, which was forgotten until now. 2001-03-11 10:47:03 +00:00
Gary Jennejohn 1d37635da5 Add support for the Am79C973/Am79C975. The Am79C973 was already
in there, but I reworked it to match the patch in the PR.

PR:		i386/19365
Submitted by:	Koichi Soraku <[email protected]>
2001-03-04 12:17:48 +00:00
Bruce A. Mah ac211335f0 MFC: ICMP bugfix. 2001-03-01 22:29:02 +00:00
Jeroen Ruigrok van der Werven 8ab6bf4096 MFC: BIND 8.2.3-REL documentation. 2001-02-27 10:01:41 +00:00
Jesper Skriver b94ef44e04 MFC:
src/sys/netinet/in_pcb.c     rev 1.78
src/sys/netinet/in_pcb.h     rev 1.36
src/sys/netinet/tcp_subr.c   rev 1.91
src/sys/netinet/udp_usrreq.c rev 1.86

Without this a attacker sending ICMP messages, where the attached
IP header (+ 8 bytes) has the address and port numbers == 0, would
have the ICMP message applied to all sessions.

Approved by:    kris
Inspired by:    NetBSD
2001-02-24 20:09:22 +00:00
Jeroen Ruigrok van der Werven 9b2f8a07a4 MFC: Do not try to install dns-setup. 2001-02-18 10:32:25 +00:00
Jeroen Ruigrok van der Werven 4935b85a43 MFC: Remove old dns-setup document. We don't use BIND 4 anymore. 2001-02-18 10:30:50 +00:00
Bruce A. Mah 72221ba51b MFC: Prevent "pkg_version -c | sh" abuse.
pkg_version.pl: 1.15 -> 1.16
2001-02-16 17:53:02 +00:00
Will Andrews c6f2ece715 MFC: Bugfixes. Small ANSI cleanup. Style changes avoided. Committed on
a RELENG_3 machine (which will become RELENG_4 soon enough..).
2001-02-13 03:55:52 +00:00
Jeroen Ruigrok van der Werven 9040025f22 MFC: Add list.h to the to be installed header files. 2001-02-07 21:11:35 +00:00
Jeroen Ruigrok van der Werven 01925b4434 Fix typo left in the past:
NONBINMODE -> NOBINMODE
2001-02-07 19:46:19 +00:00
Jeroen Ruigrok van der Werven 85f40256b0 MFC: INC* variables and the ability to install headerfiles through
INCS.
2001-02-07 19:38:21 +00:00
Chris D. Faulhaber 99fb4351b9 MFC 1.12:
use more secure temporary files
2001-02-05 14:02:14 +00:00
Bruce A. Mah 89f275c96c BIND update now has security advisory number. 2001-02-02 17:08:05 +00:00
Julian Elischer 90543df1cc MF4: Don't dereference pointers we haven't checked to be valid. 2001-02-02 13:36:39 +00:00
Jeroen Ruigrok van der Werven 3d0dc90c12 Add the isc directory to the mtree description. 2001-01-30 21:39:42 +00:00
Jeroen Ruigrok van der Werven 24908d1a87 Also add libisc to the top Makefile. 2001-01-30 21:32:10 +00:00
Jeroen Ruigrok van der Werven f9fa0f4c91 *sigh*
No idea how these files got mangled

Submitted by:	Pekka Savola <[email protected]>
2001-01-30 21:26:18 +00:00
Bruce A. Mah bb679d538b Update for security advisories: 01:11, 01:13, BIND update. 2001-01-30 15:47:25 +00:00
Jeroen Ruigrok van der Werven a8fcd30033 *sigh*
Fix another merge slippage.
2001-01-30 15:36:06 +00:00
Jeroen Ruigrok van der Werven 3c2b09f594 Fix MFC mistake of double definition of PORT_AFTER_H. 2001-01-30 14:37:45 +00:00
Jeroen Ruigrok van der Werven bb7e4c77e6 Fix port_after.h so that it will work on 3-STABLE because it doesn't
have IPv6 by default.

Submitted by:	des
2001-01-30 11:59:17 +00:00
Jeroen Ruigrok van der Werven 5098034fd5 MFC: 8.2.3 2001-01-30 11:55:43 +00:00
cvs2svn 4ccec34df9 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2001-01-28 23:14:17 +00:00
Jeroen Ruigrok van der Werven 97ab32dac1 MFC: Security fix: correctly set groups according to the user.
Don't allow blocking on the opening of ~/.fakeid.
2001-01-26 23:36:57 +00:00
Bruce A. Mah 2eda977282 Catch release notes up with security advisories: 00:58, 00:61, 00:62,
00:70, 00:78, 00:77, 01:08, 01:09, 01:10.
2001-01-26 20:27:50 +00:00
Kris Kennaway 2c45c79901 MFC: manpage change corresponding to crontab fix described in SA-01:09 2001-01-23 21:19:04 +00:00
Josef Karthauser 6298d851d3 MF4: Merge in recent changes from -releng_4, and thereby bring the
code into sync with -current.
2001-01-21 21:21:37 +00:00
Maxim Sobolev 9c6b822e58 MFC:
- Fix a nasty bug where pkg_create doesn't gzip package if lengh of package
  name is less than 5;
- style cleanups.
2001-01-19 11:08:57 +00:00
Maxim Sobolev 2a57ca6d81 MFC:
Fix a bug where pkg_create does not make an md5 entry for the last item in
the packing list. Also use switch() instead of zillion "else if ()" and for()
loop instead of while() loop for traversing through linked list.
2001-01-15 14:13:18 +00:00
Chris D. Faulhaber 805e3c58a4 MFC: ECN flag handling fixes in IPFW 2001-01-13 02:44:21 +00:00
Julian Elischer f680fa7756 Missing FREE() 2001-01-09 00:55:55 +00:00
Matthew Dillon 6f6f350f6c MFC 1.163 to 3.x. 2001-01-06 19:46:42 +00:00
Chris D. Faulhaber aee624e313 MFC: limit utrace 2001-01-06 18:59:30 +00:00
Chris D. Faulhaber 5d3369eca2 MFC: Use secure temporary files 2001-01-01 13:35:21 +00:00
Josef Karthauser c3625c0a28 MF4: Improve support for shadow object directories by adding the -o and -p
flags.
MF4: Add support for customising the make flags on a per-program basis from
     within a crunch.conf file.
MF4: A number of security fixes:
	o check strdup() return values
	o strcpy() -> strlcpy()
	o sprintf() -> snprintf()
	o mktemp() -> mkstemp()
	o use err() instead of errx() in out_of_memory() function since
	  errno will probably be set
2000-12-23 18:56:06 +00:00
Ian Dowse 0a4c298e78 MFC: 1.15
Don't crash with a SIGBUS when short packets are received, include
source IP in log messages for bad packets.

Requested by: kris
2000-12-23 15:32:16 +00:00
Matthew Dillon b204ec7e0d MFC ufs_readwrite.c 1.72, ext2_readwrite.c 1.20. Fix a data-consistency
race between write() and mmap().
2000-12-22 18:54:26 +00:00
Robert Watson 3395269086 o MFC of an appropriate adaptation of 1.22, tighten restrictions on
the use of /proc/pid/ctl.  This is a backport of the -CURRENT patch
  to use the procdfs CHECKIO() interface rather than the p_can
  interface available in -CURRENT.  sef reviewed the patch for -CURRENT,
  and had proposed a less fascist version of the patch for -STABLE.

Submitted by:	jedgar
Reviewed by:	security-officer, alfred
2000-12-18 20:56:05 +00:00
Kris Kennaway 762707e35e MFC: Prevent local user denial of service. Untested, but
I need to release the advisory and the keepers of the 3.x
branch have had over a month to fix this.
2000-12-18 15:21:18 +00:00
Assar Westerlund 4b6daf15b5 MFC: (kdc_reply_cipher): fix buffer over-run 2000-12-15 03:02:19 +00:00
Assar Westerlund 7bb4f0b3c2 MFC: (tf_create): remove the overwriting of the old ticket file 2000-12-15 03:01:31 +00:00
Assar Westerlund 894f8eaab2 MFC: remove (obsolete) support for environment variables. 2000-12-15 03:01:04 +00:00
Assar Westerlund 1a3e48bcc2 MFC: 1.9->1.10
(scrub_env): change to only accept a listed set of variables,
including only non-filename contents for TERMCAP
2000-12-15 03:00:11 +00:00
Assar Westerlund 28c2b96fbf MFC: 1.27->1.28
(scrub_env): change to only accept a listed set of variables,
including only non-filename contents for TERMCAP
2000-12-15 02:59:15 +00:00
Alexander Langer 03a58c9ad6 Don't fix the delay option in the wrong branch.
Pointy hat:		alex
2000-12-08 12:28:37 +00:00
Bruce A. Mah 6df9d82334 MFC: "origin patch", -L option, other small bugfixes to sync up to HEAD.
pkg_version.pl:	1.9->1.15
pkg_version.1:	1.7->1.10

Requested by:	sobomax
2000-12-05 22:30:36 +00:00
Maxim Sobolev 1b67774ac5 MFS4:
- Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to
  record a path of the port from which package has been created within FreeBSD
  Ports Collection and will be used to improve pkg_version(1) and similar tools;
- add "-s" option to check size of installed package(s);
- add several missed references to pkg_version(1).

Prompted by:	asami (`origin' option)
2000-12-05 16:59:01 +00:00
Matt Jacob 085843c335 MFC: Far too many changes to list singly- but cause 3.X to benefit from
the rewrites that up through this date's -current && RELENG_4 have had.
(this is probably the last RELENG_3 update).
2000-12-05 07:57:58 +00:00
Julian Elischer a91a55f3b7 MFC: 1.26 block a race with splhigh() 2000-12-04 22:11:01 +00:00
Alexander Langer 410481b89d MFC: Fix -d option.
Add $FreeBSD$
2000-12-04 10:42:15 +00:00
Jeroen Ruigrok van der Werven fa348e998b MFC: Overflow checking.
Submitted by:	eivind with some 3-STABLE fixes from yours truly
2000-11-29 10:15:00 +00:00
Jeroen Ruigrok van der Werven 352e2af88f Update to BIND 8.2.2-P7 which fixes some bugs as well as some security
problems.

This fixes the ZXFR DoS attack.
2000-11-27 14:47:06 +00:00
Jeroen Ruigrok van der Werven 042ec36bb0 MFC: - mdoc fixes. 2000-11-24 10:48:52 +00:00
Jeroen Ruigrok van der Werven b8b006b78d MFC: Update to reflect that softupdates is no longer in sys/contrib.
Also update copyright notice.
2000-11-22 11:19:36 +00:00
Julian Elischer a45a9ba106 MFC: fix copyright 2000-11-20 13:47:38 +00:00
Kris Kennaway b2a70efccb MFC: Don't allow users to read other crontab files 2000-11-20 06:04:03 +00:00
Kris Kennaway b1204c7722 MFC^2: Correct problem with previous security patch 2000-11-20 03:09:37 +00:00
Bruce Evans 536c173e6b MFC (1.6: quick fix for not writing group descriptor group, inode
bitmaps or block bitmaps before unmount() completes).

PR:		22726
2000-11-11 13:14:15 +00:00
Jeroen Ruigrok van der Werven 04b3babe41 Fix temporary file creation.
Obtained from:	NetBSD dol.c r1.15
2000-11-05 21:34:27 +00:00
Jeroen Ruigrok van der Werven abeee2d84b MFC: Format string fix. 2000-11-05 13:38:11 +00:00
Julian Elischer 06d64764cf MFC: 1.31 2000-11-04 08:26:18 +00:00
Jeroen Ruigrok van der Werven a34ab13130 MFC: - Filter out some more magic environment variables used by
libraries linked with telnetd.

	- Buffer-safety cleanups.
2000-11-01 16:20:28 +00:00
Brian Somers 2557ed5792 MFC: Mention that ``nat deny_incoming'' drops unrecognised IP packets.
Requested by: kris
2000-10-31 02:26:48 +00:00
Brian Somers d80de9383a MFC: Drop PKT_ALIAS_IGNORED packets if ``nat deny_incoming yes'' is in effect.
Requested by: kris
2000-10-30 18:13:31 +00:00
Matt Jacob 80c44d6606 MFC: Add 3 SCSI-3 bits for Sequential Access Device Congifuration Page.
Add Data Compression Page (SCSI-3). Add some clarifying comments
at the top of the file that say what the syntax is.
2000-10-28 22:49:16 +00:00
Kenneth D. Merry 951a9af99f MFC, rev 1.40: Add a quirk entry for Nakamichi MJ-* changers. The
changer in question is a <NAKAMICH MJ-5.16S 1.06>.

Submitted by:	Kevin Van Maren <[email protected]>
2000-10-28 17:49:27 +00:00
Bruce Evans 1bef4f8117 MFC (1.25 fixed overruns of cookie buffer and directory buffer in
ext2_readdir()).
2000-10-27 10:14:08 +00:00
Bruce Evans 98aed1a6dc MFC (bpb.h rev.1.8, msdosfsmount.h rev.1.22: quick fix for sign extension
and alignment bugs that broke at least msdosfs_write() on alphas).
2000-10-27 09:50:24 +00:00
Julian Elischer a6965426dc MFC: update email addresses of authors 2000-10-24 22:45:12 +00:00
Julian Elischer 213b73b232 MFC: update email addresses for archie and me 2000-10-24 22:35:27 +00:00
Akinori MUSHA 577399f82c MFC: revision 1.125, 1.126 of src/etc/defaults/make.conf 2000-10-24 12:50:23 +00:00
Josef Karthauser d057ead78d MFC: When warning that a log file can't be compressed, tell the
reader which log file it was (revision 1.29).
2000-10-20 00:51:16 +00:00
Will Andrews a44cd86b15 MFC: :C, :U, and :L variable modifiers. 2000-10-19 04:42:28 +00:00
Yoshihiro Takahashi ca25bea39a Merged from sys/i386/isa/wd.c revision 1.186.2.6. 2000-10-15 02:42:13 +00:00
Peter Wemm 3057afeb83 MFC: rev 1.218: limit cyls in CHS mode to 65536 (33.8G). LBA-safe
crashdumps were already MFC'ed.
2000-10-13 23:09:27 +00:00
Warner Losh 1ac666cde5 Tell people that you should read /usr/src/UPDATING after the sources
have been upgraded when moving to 4.x-stable.
2000-10-09 04:13:41 +00:00
Jeroen Ruigrok van der Werven 3488937384 MFC: Format string paranoia. 2000-10-08 12:12:21 +00:00
Jeroen Ruigrok van der Werven 88c51c8cf8 MFC: - Format string paranoia
- Add $FreeBSD$
2000-10-08 11:23:29 +00:00
Bruce A. Mah 92edc2247e MFC: Stronger randomness in TCP initial sequence numbers. 2000-10-06 22:19:01 +00:00
Jeroen Ruigrok van der Werven 374024264e MFC: security fixes and string function cleanups 2000-10-05 13:41:11 +00:00
Warner Losh bd10a1696d MFC: kill command fix and sprintf/snprintf paranoia 2000-10-04 23:43:28 +00:00
Bruce A. Mah a9ed468b67 MFC: fingerd(8), rlogind(8), rshd(8) disabled by default on new installs. 2000-10-04 20:26:17 +00:00
Bruce A. Mah 47cf83bf85 MFC: Turn fingerd(8) off by default.
Approved by:	kris
2000-10-04 20:22:53 +00:00
Kris Kennaway 45402e2f7b MFC: Disable rsh and rlogin by default 2000-10-04 07:59:38 +00:00
Jeroen Ruigrok van der Werven 5da05772e4 Fix typo introduced in last commit. 2000-10-04 05:52:34 +00:00
Peter Wemm eee00636ec MFC: printf-style format fix. warn(string) -> warn("%s", string) 2000-10-04 05:44:33 +00:00
Jeroen Ruigrok van der Werven 008d64e328 MFC: - Pentium 4 recognition code 2000-10-02 13:49:32 +00:00
Jeroen Ruigrok van der Werven cf8d37e700 MFC: - Pentium 4 recognition code
- Descriptions of some features
2000-10-02 13:49:25 +00:00
Jeroen Ruigrok van der Werven 14b527752e MFC: - Remove superfluous tab
- Fix unsafe temporary file creation
	- Conditionalise $MAIL_AGENT
	- Disable request for a submitter-id
	- Disable setting of confidential
2000-10-02 13:17:00 +00:00
Yoshihiro Takahashi b08d3dea28 Merged from sys/i386/conf/files.i386 revision 1.220.2.18. 2000-09-30 15:52:47 +00:00
Kris Kennaway 31227abe86 Add arc4random.c. This should hopefully fix kernel compiles. 2000-09-29 22:07:29 +00:00
Kris Kennaway 1b4f9c99b8 MFC: Use stronger randomness for TCP_ISSINCR and tcp_iss 2000-09-29 08:49:56 +00:00
Jeroen Ruigrok van der Werven 386576ccf2 MFC: Add a ton of features which will now be recognised. Add documentation
comments.  Add sysctl descriptions.
2000-09-27 11:20:02 +00:00
Jeroen Ruigrok van der Werven ca42e99ff6 MFC: Recognize new Pentium III Xeon (stepping A0). 2000-09-26 15:06:08 +00:00
Jeroen Ruigrok van der Werven 785d8e27bc MFC: Update to the latest IANA list and document divert is homebrewn. 2000-09-24 11:43:00 +00:00
Alfred Perlstein 1e9811928d MFC:
1.32 of res_send.c, don't get stuck in an infinite loop if a signal
       interrupts the poll operation
  1.65 of syslogd.c which begins a clusterf**k of commits that span over
       versions 1.65, 1.66, 1.69 to provide an option for syslogd not
       to perform dns lookups.
  1.23, 1.24, 1.25 of syslogd.8 document changes to syslogd.c

Submitted and tested by: Reinier Bezuidenhout <[email protected]>
2000-09-23 22:48:45 +00:00
Jordan K. Hubbard f3252ed8ac MFC: merge to this branch also just for the benefit of the Japanese
"triple" release CD ISO image.
2000-09-22 08:22:44 +00:00
Maxim Sobolev d10155f3f7 "zope language" --> "zope platform".
Requested by:	asami
2000-09-22 06:53:44 +00:00
Satoshi Asami ac81696208 MFC (french, zope). 2000-09-22 06:34:01 +00:00
Satoshi Asami 3ecd503cb5 MFC (ports-french). 2000-09-22 06:31:43 +00:00
Maxim Sobolev 9c28966aaa MFC: Fix handling of symlinks pointing to a directory. 2000-09-20 13:42:00 +00:00
Andrey A. Chernov ab55e32c48 nonexistant _fcntl -> fcntl 2000-09-17 19:31:49 +00:00
Bruce A. Mah 967e0c1ec3 MFC: PORTREVISION/PORTEPOCH support, update URL for on-line INDEX
example, update MAINTAINER address, bugfixes.
	Makefile:	1.5->1.6
	pkg_version.pl:	1.3->1.9
	pkg_version.1:	1.5->1.7

Requested by:	"Oleg V. Volkov" <[email protected]>
2000-09-14 21:02:17 +00:00
cvs2svn 55f552c679 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-09-11 19:34:06 +00:00
Kenneth D. Merry b6a64a9b63 MFC, Add quirk entries from Andre Albsmeier to disable the sync cache
command for the Quantum "MAVERICK 540S" and "LPS525S".

Also, add common string variables, since we seem to have a few Quantum and
Micropolis drives in here.

Fix the 'quantum' variable usage in scsi_all.c that likely got broken when
someone staticized things in cam_xpt.c.  (That particular problem would
cause Quantum Fireball ST drives to not get spun up if they were not
already spinning.)

Submitted by:	Andre Albsmeier <[email protected]>
2000-09-11 05:54:50 +00:00
Kenneth D. Merry 4d24857f83 MFC, Change the "Duplicate Wired Device entry" printout in camperiphnextunit
to also mention the peripheral name, bus, target and lun of the device we
attempted to put in that slot.  This gives the user a little more
information about what is going on.

Tested by:	Andre Albsmeier <[email protected]>
Discussed with:	gibbs
2000-09-11 05:47:25 +00:00
Andrey A. Chernov 9fcb144aa5 MFC: controls handling bugfix 2000-09-09 14:15:08 +00:00
Andrey A. Chernov 5384bbafdb MFC: prevent buffer overflow 2000-09-08 11:45:14 +00:00
Kris Kennaway 0062e8f05f MFC: Disallow '/' in LC_* environment variables 2000-09-08 07:32:43 +00:00
Andrey A. Chernov 247748fd3b MFC: more checks, rewritting, SUSv2 conformance 2000-09-07 16:57:01 +00:00
Alexey Zelkin e06d902096 MFC: rev 1.4, bring manual page into reality
MFC: rev 1.5, remove hard sentence breaks
2000-08-29 15:49:24 +00:00
Satoshi Asami 9dbc60e90a Merge 1.235 (BSD.x11-4.dist). 2000-08-28 20:26:15 +00:00
Satoshi Asami cd5fa44d8d Add BSD.x11-4.dist to RELENG_3. 2000-08-25 10:09:13 +00:00
cvs2svn b6939634e7 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-08-25 10:07:22 +00:00
Sheldon Hearn f8f30ca044 MFC rev 1.6: add a missing semi-colon. 2000-08-25 09:05:55 +00:00
KATO Takenori 52d50e6996 - MFC: Fixed freeing wrong address (rev. 1.13).
- Added $FreeBSD$.
2000-08-24 14:39:46 +00:00
Marcel Moolenaar c773d46e1c MFC: Add bounds checking to stackgap_alloc.
Requested by: kris
2000-08-24 04:30:01 +00:00
SADA Kenji c0c42d159c MFC: 1.26, 1.27 Fix inhelitance of file flags when files are moved
across devices.
2000-08-20 19:47:27 +00:00
Bruce Evans c833c5858d MFC (rev.1.46: fixed a missing splx() in if_addmulti()). 2000-08-19 22:16:13 +00:00
Kris Kennaway 8c71d9778b MFC: Fix missing format string bugs. 2000-08-13 04:50:21 +00:00
Kris Kennaway b8e66d4b37 MFC: Fix setproctitle() vulnerability in non-compiled code. 2000-08-13 04:38:01 +00:00
Sheldon Hearn d7689e24e7 MFC rev 1.22: explain naming of tmp files for -r and -R. 2000-08-11 10:43:08 +00:00
Sheldon Hearn 9935bf2b60 Fix a bug in rev 1.147.2.12: if NO_BIND was defined, nslookup was
added to SUBDIR, which it shouldn't have been.  If NO_BIND was not
defined, nslookup was added to SUBDIR twice instead of once.

PR:		20511
Reported by:	[email protected] (Sean C. Farley)
2000-08-10 11:54:57 +00:00
Ruslan Ermilov 6f2a6bd48e MFC: (rev 1.36) Make natd(8) "compatible" with firewall_type="simple". 2000-08-08 08:40:13 +00:00
Kenneth D. Merry b00f52f7c4 MFC: The Yamaha CDR100 doesn't seem to like multi-LUN probing.
PR:		kern/20347
Submitted by:	Andre Albsmeier <[email protected]>
2000-08-08 06:52:37 +00:00
Paul Saab 238c21ecf0 MFC: [rev 1.69] Print uptime at shutdown.
PR:	16838
2000-08-07 19:26:33 +00:00
Alexander Langer da584b6ad0 MFC: crypto export changes 2000-08-05 14:03:19 +00:00
Alexander Langer 016b0d9185 MFC: Export control changes 2000-08-05 13:41:32 +00:00
John Polstra e6e0b69de1 MFC: Remove (non-)"comments" from "refuse". 2000-08-04 21:37:50 +00:00
cvs2svn 4710767ba3 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-08-04 21:32:53 +00:00
Andrey A. Chernov baf94a42d4 MFC: #ports/hebrew and comment about comments 2000-07-31 04:27:06 +00:00
Satoshi Asami e983ab0f81 MFC (hebrew). 2000-07-31 00:18:17 +00:00
MIHIRA Sanpei Yoshiro cebe5cfede MFC 1.14 -> 1.15: Update the description of available channel for Japan. 2000-07-30 14:52:43 +00:00
Toshihiko ARAI 2c8fbb0477 MFC: rev.1.43 -> rev.1.44.
Whoops - really make the "fix" I did to the dmenuToggleVariable logic work.
2000-07-29 13:33:22 +00:00
Brian Feldman e17d7c773b MFC: rev. 1.62, fix races 2000-07-27 04:04:12 +00:00
Alexey Zelkin 6a525bf06b MFC: correct default value for -s option 2000-07-20 13:29:48 +00:00
Assar Westerlund 8481bddda6 MFC: merge in syslog fixes, do not call syslog with variabel as format string 2000-07-20 05:47:32 +00:00
David Nugent 59df840700 MFC: Allow -D -g with empty group to reset default group to none
PR:		bin/5717
2000-07-20 04:42:23 +00:00
Brian Feldman 394662f4b5 MFC: make ktrgenio() use a uio 2000-07-20 01:42:45 +00:00
David Nugent 6352da48bd MFC Make usermod -h - work
PR:		bin/19999
2000-07-20 00:36:01 +00:00
SADA Kenji acb76b73d3 MFC: Fixed with alias missing. 2000-07-19 15:30:28 +00:00
Matt Jacob 2965a644dc MFC (for the last time likely for 3.x): Far too many changes to
report- this is major rewrite of mailbox handling code and 'fixed'
target mode support, different firmware, etc.
2000-07-18 18:01:46 +00:00
Sheldon Hearn a155f1fa7f MFC rev 1.60: fix comment for TCPCTL_KEEPINIT . 2000-07-18 16:50:10 +00:00
Marcel Moolenaar 29f7a06934 MFC: change default FPU control word.
PR: 17984
2000-07-18 04:12:18 +00:00
Murray Stokely 3220c6403f MFC: Refresh the aout ldconfig hints
Approved by:	jkh
2000-07-17 22:17:47 +00:00
Kenneth D. Merry f7619e05fc MFC: Get rid of non-existent CAM 'scan' device.
PR:		19961
Submitted by:	Cyrille Lefevre <[email protected]>
2000-07-16 02:52:24 +00:00
Dag-Erling Smørgrav 03350ffa71 Back out MFC to wrong branch 2000-07-16 01:55:24 +00:00
Dag-Erling Smørgrav 825e05b5c7 MFC: use libfetch 2000-07-16 01:46:38 +00:00
David Malone 8853c55c38 MFC: 1.18 Ensure devices, fifos, etc have length 0. 2000-07-15 22:47:07 +00:00
David Nugent 2e5fed4c0b MFC: Allow useradd -d <dir> to work without other changes.
PR:             bin/19649
2000-07-14 22:11:04 +00:00
David Malone eb07a7bb71 MCF: 1.28 Fix sorting by time. Fix rounding of cputime, remove dead code.
PR:		18951
2000-07-14 20:04:05 +00:00
David Malone 07ff1172af MFC: 1.25 Fix moving symlinks across partitions. 2000-07-14 19:26:11 +00:00
Yoshihiro Takahashi 9225bee105 Disabled serial console. 2000-07-14 12:26:11 +00:00
David Nugent 20c7958a07 MFC: Fixes for comments in passwd and group files; sync with RELENG_[45].
PR:		misc/19538
Submitted by:	Andre Albsmeier <[email protected]>
2000-07-13 23:14:37 +00:00
Daniel Harris 18ba1b3e29 MFC: 1.10: Add some missing articles (as in a, an, the). 2000-07-13 21:22:50 +00:00
Daniel Harris 05d78408ca MFC: 1.7: Spelling (embedd to embed) fix and change a comma to a semicolon. 2000-07-12 20:41:11 +00:00
Satoshi Asami f690bef0e4 Belatedly bump __FreeBSD_version -- we are in 3.5-stable now. 2000-07-12 20:37:04 +00:00
Guy Helmer 327865f1cc MFC: crontab.5 [revs 1.12-1.14]
Clarify quoting in name=value pairs; describe @ shortcuts.
2000-07-12 19:22:23 +00:00
Guy Helmer 079670196b MFC:
entry.c [revs 1.10, 1.11] Fix parsing of @ shortcuts; catch and report
memory allocation failures.

env.c [revs 1.8, 1.9] Fix a situation where a pointer which should
point to dynamically allocated memory was instead pointed to a static
string.  Use consistent types in sizeof for malloc calls.

misc.c [rev 1.9] Catch and report memory allocation failures.
2000-07-12 19:13:43 +00:00
Guy Helmer a9919d9814 MFC: [rev 1.16] Catch and report fdopen failures. 2000-07-12 19:09:41 +00:00
Assar Westerlund a5feda71b3 MFC: make sure we do not write out non-printable characters in file
names and symbolic links (by default)

PR:		bin/19354
2000-07-12 16:53:22 +00:00
David Nugent 82f7b1a143 MFC: Handle comments in master.passwd.
PR:		bin/19664
2000-07-12 11:10:29 +00:00
MIHIRA Sanpei Yoshiro a6fcf10f33 MFC: 1.11 Correct typo in description string: CANNOT' -> CAN'. 2000-07-11 14:07:10 +00:00
Mark Murray d4481665eb MFC: New World Order in the way cvsup distributes crypto sources. 2000-07-09 16:25:04 +00:00
Daniel Harris 05c5bde8e4 MFC: 1.14, first appeared in 2.9BSD. 2000-07-08 18:26:58 +00:00
Will Andrews 57537ab414 MFC: Fix exit code if process does not exist. 2000-07-08 05:15:33 +00:00
Alfred Perlstein c858243d6b MFC: don't clash with C++ reserved words
ns_parse.c: 1.2
nameser.h: 1.13
2000-07-08 02:10:49 +00:00
Assar Westerlund d89e638700 (INCLUDES): add ktypes.h (also required by krb.h) 2000-07-07 05:05:44 +00:00
Assar Westerlund 23e0146886 (beforeinstall): install header files here so that they can be used by
other libraries (libfetch)
2000-07-07 04:55:07 +00:00
Assar Westerlund dbfa7528af this file no longer exists 2000-07-06 21:56:04 +00:00
Assar Westerlund 49633d2d73 remove the remaining RCSIDs 2000-07-05 05:29:25 +00:00
Assar Westerlund 6da01a99ee merge the (still missing) part from -current 2000-07-05 05:04:14 +00:00
Assar Westerlund f7f84723ad fix RCSID 2000-07-05 04:58:45 +00:00
Assar Westerlund 1066becb59 remove extra roken.h 2000-07-05 01:34:59 +00:00
Assar Westerlund 6340d83f0d merge in the missing files from -current 2000-07-05 01:31:30 +00:00
Assar Westerlund 51581eb132 merge krb version of com_err from -current 2000-07-04 15:32:29 +00:00
Assar Westerlund f5664d314e remove ifdef TERMCAP to make this build 2000-07-04 15:26:31 +00:00
Assar Westerlund 5637da09ef update build infrastructure to work with the krb4-1.0 now in crypto
Reviewed by:	kris, markm
2000-07-04 15:23:05 +00:00
Assar Westerlund f968e30a36 merge differences from -current and build this from ../../contrib/com_err
Reviewed by:	kris, markm
2000-07-04 15:15:12 +00:00
Assar Westerlund 3068b6569b merge differences from -current to bring this up to krb4 1.0
Reviewed by:	kris, markm
2000-07-04 15:04:40 +00:00
Roger Hardiman d2f2776304 MFC. remove old rc and login.conf files prior to the gzip -d (extract)
to prevent overwrite yes/no warning messages
2000-07-03 22:33:37 +00:00
Paul Saab 32c546268e MFC: [rev 1.15] Doubling the size of MAXSIZE. 2000-07-03 09:21:04 +00:00
Doug White c83cfb7c17 Reverse rest of patch: -f isn't a valid option in minigzip.
Boot to the head applied to: dwhite, [email protected]
2000-07-01 21:31:01 +00:00
Roger Hardiman b8bf635283 MFC: add .image.list to the files to be deleted 2000-07-01 14:09:23 +00:00
Roger Hardiman e4080f8234 MFC: Add a missing 'fi' 2000-07-01 12:05:13 +00:00
Roger Hardiman dbf14a4897 MFC: Add 'bridge' so we can clean up the bridge files 2000-07-01 04:41:44 +00:00
Doug White 305e2c9e92 Revert part of previous patch: still copy ${MFS}/root to /root in case
there's some shell files in there we actually want.
2000-07-01 04:22:19 +00:00
Doug White d12ca8dcac Quiet gunzip of /etc files.
Submitted by:	Dennis Cartier <[email protected]>
2000-07-01 04:20:07 +00:00
Doug White dfe85a01db Make sure proper init is included .. in some cases the regular init may not
get in the crunch binary (!)

Submitted by:	Dennis Cartier <[email protected]>
2000-07-01 04:19:43 +00:00
Andrey A. Chernov 25679047ff MFC: alt_month assigning 2000-06-29 17:24:37 +00:00
Dag-Erling Smørgrav 4325f05937 MF4: prettify, add $FreeBSD$ and claim maintainership 2000-06-29 09:29:37 +00:00
Satoshi Asami 730e6d0da7 MFC: extra directories (excluding perl5.006 changes). 2000-06-29 07:39:52 +00:00
Andrey A. Chernov 62356fbbfc MFC: localization 2000-06-28 22:48:15 +00:00
David Nugent 98731b5a18 MFC: Fix change detection when editing takes < 1 second.
Add $FreeBSD$

PR:		bin/4238
2000-06-28 00:34:17 +00:00
Alexander Langer c3c0d2aa15 Sheldonification of last commit. 2000-06-27 11:26:50 +00:00
David E. O'Brien fc2059465c Ugrade to version 2.0 PL 1. 2000-06-27 10:30:58 +00:00
Alexander Langer f8a46b4c5a In 3.x, rfork() with RFMEM does not work on SMP kernels.
PR:		15890
Submitted by:	Scott Hess <[email protected]>
2000-06-27 09:59:11 +00:00
Archie Cobbs 89cfb74b29 MFC: token returned by NgSendMsg() and NgSendAsciiMsg() 2000-06-26 19:49:47 +00:00
Archie Cobbs fbc0333b64 MFC: add MLINKS for the functions defined in netgraph(3) 2000-06-26 19:49:09 +00:00
cvs2svn b6ee15397a This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-06-26 08:06:24 +00:00
David Nugent 9069282b9e MFC: don't dereference NULL in userdel case. 2000-06-26 01:22:15 +00:00
Jordan K. Hubbard 59819812ec Commit the "real release notes" for 3.5. I finally had time to go read
through all those %$#@*&! diffs.
2000-06-25 00:20:48 +00:00
Ruslan Ermilov ac9e9923ee MFC: (rev 1.17) Get rid of segfault in a `site %s\' case. 2000-06-23 14:46:54 +00:00
Peter Wemm 31867324b7 MFC: delete; repo copied to src/sys/ufs/ffs directly. 2000-06-23 00:12:51 +00:00
Peter Wemm 74cac63514 MFC: new bsd-style unrestricted license text. 2000-06-22 19:32:07 +00:00
Sheldon Hearn c2693d5148 MFC rev 1.14 and rev 1.15: Fix -i and remove an unused variable. 2000-06-22 12:58:19 +00:00
Jordan K. Hubbard 2c6b0cc316 Update all the docs for 3.5 I forgot to update before (tags will
be slid, release engineers will be sent to bed without supper)
2000-06-22 00:04:24 +00:00
Brian Somers 554d21c3e0 Remove the previous ppp, inetd and pppoed info
Mention that comment characters in ppp.conf may break existing configs
2000-06-21 21:19:29 +00:00
Brian Somers 8901c48a4d MF4: Understand comments in passwd and group files
Unfortunately I missed the 3.5 tag :-(
2000-06-20 22:44:36 +00:00
Jordan K. Hubbard caa7400559 Update FreeBSD version for 3.5 2000-06-20 16:18:47 +00:00
Jordan K. Hubbard c493659b2d Set for post-3.5 2000-06-20 16:13:59 +00:00
Jordan K. Hubbard 4ed317e913 Set for 3.5-RELEASE 2000-06-20 16:12:53 +00:00
Brian Somers dc60a0300f MF3: Allow padding in LQR ECHO requests 2000-06-20 09:19:58 +00:00
Brian Somers a33afd529b MF4: Don't mis-match interface names in iface_Create() 2000-06-19 21:44:42 +00:00
Alexander Langer ab7ddf3ea1 For 3.x, options VM86 is needed for this function.
PR:		18943
Submitted by:	Ben Smithurst <[email protected]>
2000-06-19 19:11:42 +00:00
John Baldwin a207bf1a3e Add a missing '(' to fix a syntax error.
Forgotten by:	ps
2000-06-18 21:34:27 +00:00
Gary Jennejohn 9453485f18 MF4: add support for the Am79C973. 2000-06-18 08:06:55 +00:00
David Nugent d56e55b0a3 MFC recent bug fixes and feature.
This commit unifies pw(8) code across all active branches.
Still-Todo: manpage updates
2000-06-18 05:51:35 +00:00
Paul Saab 2b0ec9b9d6 MFC: Support for > 2GB swap partitions. 2000-06-18 05:38:25 +00:00
Satoshi Asami c1624f2b9e MFC 1.92: kterm-color entry.
Approved by:	ache
2000-06-16 18:57:37 +00:00
Ruslan Ermilov 7d6fd5fd52 MFC:
- rev 1.27: fix buffer overflow with the command line arguments.
- rev 1.30: remove unused parameter.
2000-06-16 09:50:42 +00:00
Jordan K. Hubbard d0d5e7d22a MFC r1.86: small extra checks on arg values. 2000-06-16 09:23:32 +00:00
Brian Somers 89a9e458b5 MF4: Add `set urgent none'' and `set ifqueue'' 2000-06-15 17:09:11 +00:00
Brian Somers 33e0743f83 MFC: Correct date adjustments crossing summer/winter time boundaries. 2000-06-15 16:08:04 +00:00
Bruce Evans 64a5bc137e MFC (1.67: fixed allocation of unit numbers). 2000-06-14 16:01:57 +00:00
Andrey A. Chernov 70d944aeaf MFC: all fixes up to 1.91 excepting 1.90 fix ("op" for syscons) 2000-06-14 15:23:21 +00:00
Andrey A. Chernov 0355434c54 MFC: op for xterm-color 2000-06-14 15:12:42 +00:00
Alexander Langer a71fff9bd4 MFC: options USER_LDT is required for these functions. 2000-06-14 13:40:30 +00:00
KATO Takenori 3abd04a811 MFC: Celeron recognition (rev. 1.82). 2000-06-14 13:02:54 +00:00
Jeroen Ruigrok van der Werven a8317951b6 MFC: add $FReeBSD$ 2000-06-14 13:01:08 +00:00
Jeroen Ruigrok van der Werven 0d4e5d3e89 MFC: various fixes:
Zap $Revision$
		Change to $FreeBSD$
		Fix *ripcmds
		Fix(?) spelling of the copyright
2000-06-14 12:50:27 +00:00
Jeroen Ruigrok van der Werven 5f17ae29ef MFC: Add $FreeBSD$ 2000-06-14 12:11:42 +00:00
Alexander Langer 899d2eb04d Add note, that options VM86 is required for these functions.
PR:		18943
Submitted by:	Ben Smithurst <[email protected]>
Reviewed by:	asmodai
2000-06-13 17:43:18 +00:00
Jeroen Ruigrok van der Werven 9b14e33fe8 MFC: Fix namespace pollution which will less likely cause
problems in the future.  This should fix C++ stdlib problems when
	using ctype.h as well.
2000-06-13 15:36:26 +00:00
Jeroen Ruigrok van der Werven 9f26cfc78f MFC: Back up following macros by functions: ishexnumber, isideogram,
isnumber, isphonogram, isrune, isspecial. Fix ordering.
2000-06-13 14:23:36 +00:00
Ruslan Ermilov 0cc62926e6 MFC: (rev 1.29) treat \t and \n inside /boot.config as whitespaces. 2000-06-13 13:22:34 +00:00
Alexander Langer a4495be12a MFC: Fix typo: turn of -> turn off 2000-06-13 12:54:54 +00:00
Ruslan Ermilov 339c1b76f3 MFC: cosmetics. 2000-06-13 09:14:54 +00:00
Ruslan Ermilov ef79ec9edc MFC: cleanup manpage. 2000-06-13 09:04:35 +00:00
Ruslan Ermilov 51f1089944 MFC: (rev 1.3) remove option's description that has gone with PAM. 2000-06-13 09:00:05 +00:00
Ruslan Ermilov ed913c6bac MFC: Remove a no-option MD5. 2000-06-13 08:48:06 +00:00
Ruslan Ermilov 183fc61e1f MFC: (rev 1.31) Document /usr/lib/aout. 2000-06-13 08:32:59 +00:00
Ruslan Ermilov 8012d713b3 MFC: /usr/mdec has gone. 2000-06-13 07:58:30 +00:00
Ruslan Ermilov 845e7b3380 MFC:
- rev 1.25: Allow for incoming DNS UDP queries.
- rev 1.27: Pass IP fragments with non-zero offset.
2000-06-13 07:50:59 +00:00
Ruslan Ermilov 0c7ed9d303 MFC: (rev 1.133) do not call icmp_error() if ipfirewall(4) denied packet. 2000-06-13 07:12:34 +00:00
Jeroen Ruigrok van der Werven 727ecf9274 MFC: Various fixes from Bill Fumerola to clean the source up. 2000-06-12 13:24:01 +00:00
Jeroen Ruigrok van der Werven 723e92a122 MFC: Add $FreeBSD$ 2000-06-12 13:12:19 +00:00
Jeroen Ruigrok van der Werven 8c0e398c57 MFC: Fix RU/SU.
Fix ASCII bug.
2000-06-12 13:05:26 +00:00
Brian Somers ffade1d85c MF4: Hard sentence breaks and trailing space tidy-ups 2000-06-12 09:07:40 +00:00
Jonathan Lemon 2bb9374f95 MFC: r1.50, r1.48, KASSERT() debugging and M_PREPEND null checking. 2000-06-11 16:41:51 +00:00
Brian Somers b0074db43b MF4: Don't oan about padding characters 2000-06-11 12:23:00 +00:00
Seigo Tanimura 8b5942e506 MFC: Fix minor numbers, locking, the return value of rpattach()
and baud_table.
2000-06-11 07:15:27 +00:00
Matthew Dillon 4edcef1a83 MFC 1.37, fix memory leak in mount_nfs background mode 2000-06-11 05:25:18 +00:00
Jonathan Lemon 1be667adbf MFC: mbuf wait code, as well as some other mbuf related bugfixes.
Submitted by: Mike Silbersack <[email protected]>
2000-06-10 17:44:57 +00:00
Marcel Moolenaar 491d21de22 MFC: Fix linux_wait4() vunerability.
Submitted by: Ian Dowse ([email protected])
2000-06-08 19:04:49 +00:00
Jonathan Lemon a8f51528cf MFC: r1.34, LAST_ACK problem. (slightly different patch)
Submitted by:	Mike Silbersack <[email protected]>
2000-06-08 15:37:39 +00:00
Jonathan Lemon 4a2a2458ce MFC: correct boundary checks against IP options 2000-06-08 15:11:50 +00:00
Greg Lehey 64bb496d86 MFC: Clarify which bit of the daemon config disables configuration
saves.

This is still terrible.  I need to finally implement variables.

Reported-by:	jmg
2000-06-08 07:28:59 +00:00
Kris Kennaway aa869d5994 MFC: Zorch references to VAX and Tahoe compilers 2000-06-08 07:27:29 +00:00
Kris Kennaway c85df2d6f1 MFC: Sync variable name 2000-06-08 07:25:18 +00:00
Kris Kennaway 43a31b3f93 MFC: Sync contents of structure 2000-06-08 07:23:32 +00:00
Kris Kennaway c7c24157e6 MFC: Fix buffer overflows 2000-06-08 07:20:56 +00:00
Kris Kennaway 16ddfa94dc MFC: Update variable types 2000-06-08 07:19:48 +00:00
Kris Kennaway f4a7a61647 MFC: Spelling fixes, update example code. 2000-06-08 07:15:27 +00:00
Kris Kennaway a8ba287c1e MFC: typo 2000-06-08 07:10:43 +00:00
Kris Kennaway b345f4dc6c MFC: More X's for mktemp() 2000-06-08 07:06:01 +00:00
Kris Kennaway 3c49690e54 MFC: Better tempfile handling 2000-06-08 07:04:02 +00:00
Kris Kennaway 4c4f617b28 MFC: typo 2000-06-08 07:01:04 +00:00
Kris Kennaway 828f718493 MFC: scsiformat -> camcontrol, mdoc fix 2000-06-08 07:00:10 +00:00
Kris Kennaway 7e4e2bc765 MFC: xref mountd(8) 2000-06-08 06:54:23 +00:00
Greg Lehey d0387243cb MFC: Bring up to date with -CURRENT.
This change has been tested carefully, of course, but it's a very
large change, and it's possible that something has slipped through the
cracks.  I have a problem here: I can continue to test, and possibly
find more bugs, but at the same time I'm withholding much-needed
fixes.  I'd suggest a compromise: if you're running happily with
3-STABLE and you're not using RAID-5, now is probably not the time to
upgrade.  If any problems do surface, let somebody else find them.
2000-06-08 06:45:48 +00:00
Kris Kennaway a89dbbb5e1 MFC: Alignment, type-safety and buffer overflow fixes 2000-06-08 06:37:37 +00:00
Kris Kennaway e7aeaf9efd MFC: Temporary file handling and partially applied delta fix 2000-06-08 06:33:30 +00:00
Kris Kennaway f9bc698fbb MFC: Security warning 2000-06-08 06:30:30 +00:00
Kris Kennaway a13c746ba1 MFC: Close potentially exploitable buffer overflow. I can't believe
I forgot about this one :-(
2000-06-08 06:29:04 +00:00
Kris Kennaway 59b1184605 MFC: Silence warnings 2000-06-08 06:24:44 +00:00
Kris Kennaway ff67a799bc MFC: temporary filename fixes 2000-06-08 06:20:44 +00:00
Kris Kennaway d700cc71e4 MFC: fork() -> vfork() 2000-06-08 06:15:38 +00:00
Kris Kennaway 9780f3d087 MFC: typo 2000-06-08 06:11:23 +00:00
Brian Somers d94cf5ea1c Get it right... RELENG_3's release doesn't have NETGRAPH ! 2000-06-05 14:18:40 +00:00
Brian Somers a3d0cf9d82 MFC: Use a ppp trigger address of 0.0.0.0 2000-06-05 11:05:05 +00:00
Brian Somers c58063bedd MF4: Handle open/dial from state DATALINK_READY properly
Don't disable the autoload timer at the wrong time
     Use a SOCK_DGRAM socketpair() for synchronous "!program" devices
     Send a HUP to "!program" devices when they're closed
     Drop packets when the fsm header length is bigger than the payload
     Create /etc/resolv.conf with the correct umask (when dns is enabled)
     Don't dump core when trying to write a new resolv.conf
     Add some more verbose ``inappropriate peer'' diagnostics in MP mode
     Pass all packets through libalias in NAT mode
     Describe ``enable proxy'' a bit more
     chmod local-domain diagnostic sockets correctly
     When a PPPoTCP connection fails, don't moan about invalid syntax
2000-06-05 11:01:21 +00:00
Brian Somers 0c989496e7 The RELENG_3 release doesn't have NETGRAPH 2000-06-04 18:37:19 +00:00
Boris Popov 256038b0e9 MFC of rev 1.27.
A correction to the code which attempts to prevent the same module
being loaded twice.

PR:		kern/11919
2000-06-03 06:18:39 +00:00
Archie Cobbs 361ad96242 MFC: (rev 1.3) fix buffer overflow bug in NgSendAsciiMsg() 2000-06-02 21:54:10 +00:00
Brian Somers 429d90651e MF4: Include netgraph support when building with RELEASE_CRUNCH
Make mbufs more like kernel mbufs
     Allocate mbufs in buckets rather than individually
     Tidy up (and fix) sockaddr parsing of mib structures
     Parse quotes properly and complain about unbalanced ones
     Allow comments at the end of lines
     Use ioctl(TUNSIFHEAD) on the tun device if possible
     Correct CBCP redials
     Correct cmsghdr handling when passing links
     Don't fork to lose the current session when we're about to exit
     Tell the tun device when we change pid
     Show hex/decimal values rather than ??? for things not understood
     Depricate (but still support) -alias in favour of -nat
     Support DNS0/DNS1 macros, add the ``resolv'' command and dns logging
     Support redial/reconnect properly, and tell the -background parent
     Some constification, staticising, spelling and better diagnostics
     Default carrier behaviour based on the device type
     Differentiate between failing to start a program and the program exiting
     Fix the MP link-passing race by using a local-domain UDP socket
     Add "nat target"
     Fix some timer issues where timers are removed before they are triggered
     Handle pap text messages longer than 255 bytes
     Make -foreground a real option
     Bump version
2000-06-01 00:48:56 +00:00
Luigi Rizzo 3071e57b66 These files have been moved to another place 2000-05-31 12:55:44 +00:00
Luigi Rizzo 88ecdcef96 Add hooks for pccardd and syslogd 2000-05-31 12:52:51 +00:00
Luigi Rizzo b4cf26f5ec Minor cleanup of build script, handle kernel.conf properly 2000-05-31 12:49:10 +00:00
Luigi Rizzo c2f5746a1b MFC: move mfs-related files to a different subtree 2000-05-31 12:36:31 +00:00
cvs2svn dc05c54442 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-05-31 12:27:39 +00:00
Darren Reed 3061d39f8d add IPFILTER_DEFAULT_BLOCK in opt_ipfilter.h 2000-05-30 14:35:04 +00:00
Chris Costello 5ff4f63010 MFC: Misspelled "undefined". 2000-05-27 22:06:46 +00:00
Jonathan Lemon 26c44bcfb3 MFC: 1.134, problem relating to sizeof() unsignedness.
Requested by:	kris
2000-05-26 17:52:28 +00:00
Darren Reed b0148174a9 ignore RST when adding state 2000-05-26 02:13:46 +00:00
Dirk Froemberg 0bb81d61d8 MFC: Remove -a from mkisofs' argument list. 2000-05-25 20:18:00 +00:00
Darren Reed 1c009f8da4 do not add state upon RST 2000-05-24 05:30:30 +00:00
Warner Losh f022392807 MFC: Don't read from '.' 2000-05-22 06:10:25 +00:00
Will Andrews f1bab70799 MFC: loud debugging facility documentation (-dl).
Approved by:	jkh
2000-05-20 20:18:49 +00:00
Will Andrews fe6cc274f8 MFC: loud debugging facility (-dl).
Approved by:	jkh
2000-05-20 20:12:19 +00:00
Greg Lehey 8f96ac9545 MFC: Add SI_SUB_VINUM. This will one day help support Vinum root file
systems.
2000-05-16 07:40:09 +00:00
Alexey Zelkin a107f9a3b5 MFC: rev 1.125, fix typo 2000-05-12 10:51:24 +00:00
Alexey Zelkin ea0b8a3ca4 MFC: rev 1.12, mdoc fixes 2000-05-12 10:24:35 +00:00
Alexey Zelkin 077ec12f46 Revert previous revision: it does not apply to RELENG_3 branch and was commited
by mistake.
2000-05-12 09:40:50 +00:00
Alexey Zelkin b39b2d93c5 (forced commit)
Previous commit was MFC of revs 1.23 and 1.24.
2000-05-12 09:37:10 +00:00
Alexey Zelkin c1d0a8eaae *** empty log message *** 2000-05-12 09:35:28 +00:00
Alexey Zelkin 3e2a1cc3c5 MFC: rev 1.90, add MLINKS: scsi.4 -> SCSI.4, scsi.4 -> CAM.4 2000-05-12 09:29:27 +00:00
Alexey Zelkin e061903d63 MFC: rev 1.8, fix typo, mdoc cleanup 2000-05-12 09:28:16 +00:00
Alexey Zelkin 3b8f2432c7 MFC: rev 1.124, add MLINKS: bktr.4 -> booktree.4 2000-05-12 09:27:38 +00:00
Alexey Zelkin 9823ce1537 MFC: rev 1.19, remove eg(4), mdoc cleanup 2000-05-12 09:25:01 +00:00
Alexey Zelkin 7443fad268 MFC: rev 1.16, add missing MLINKS for queue.3 manpage 2000-05-12 08:07:09 +00:00
Luigi Rizzo 90bf667f4b Only send warnings once per second when there is a problem with
dynamic rules.
2000-05-12 07:22:57 +00:00
Andrey A. Chernov 7d468f12af MFC: better fix for strftime/mktime bug 2000-05-11 23:54:18 +00:00
Nick Sayer 250b1654d0 MFC: v1.12
Approved by: jkh
2000-05-11 20:17:07 +00:00
David Nugent df36a23ef7 MFC: cosmetic change "reboot" -> "boot" 2000-05-11 06:36:27 +00:00
Alexey Zelkin cffe77ef75 MFC: rev 1.15 2000-05-10 15:47:30 +00:00
Alexey Zelkin 26d705914e MFC: rev 1.7, mdoc cleanup 2000-05-10 13:45:29 +00:00
Darren Reed 3e0e12ba19 Fix bug in dealing with "hlen == 1 and opt > 1" 2000-05-10 12:06:40 +00:00
Sheldon Hearn 2952519006 MFC: One author name per call to %A. 2000-05-10 10:01:29 +00:00
Sheldon Hearn 2ea325e74b MFC: Fix miscellaneous mdoc macro argument limit infringements. 2000-05-09 14:27:16 +00:00
Roger Hardiman 4bfb85ec97 Add support for Nokia Card Phone 2.0, a GSM Mobile Phone and
Data Modem on a single PCMCIA card. Supports HSCSD with download
speeds upto 43kbps.
http://www.nokia.com/phones/cardphone2_0/index.html
2000-05-09 11:24:02 +00:00
Luigi Rizzo 3b3d8a18a7 We might like to run syslog on PicoBSD... 2000-05-09 10:28:49 +00:00
Luigi Rizzo affa812063 Remove unused file. Kernel config is now in /boot/kernel.conf 2000-05-09 10:09:54 +00:00
Tim Vanderhoek 39f6944ff0 MFC: Bugfixes when viewing previous-file. 2000-05-09 03:57:14 +00:00
Archie Cobbs 1f3e316c87 MFC: bug fixes & statistics 2000-05-08 20:15:13 +00:00
Sheldon Hearn 47d0b5693d MFC rev 1.13: remove cwd from MLINKS 2000-05-08 16:32:44 +00:00
Sheldon Hearn f14d923307 MFC rev 1.6: remove ``cwd'' and fix table heading. 2000-05-08 16:31:30 +00:00
Josef Karthauser e86ad5d7b5 MFC: Fix a potential buffer overflow with the generation of the
pid-file name. {from revision 1.32}
2000-05-07 18:17:42 +00:00
Josef Karthauser 9beac9666c MFC: Fix a potential buffer overflow in the command line argument parsing
with 'ed [MAXPATHLEN + 1 chars]'. {from revision 1.15}
2000-05-07 18:00:02 +00:00
Ruslan Ermilov 6d5cd465ac MFC: rev 1.55 and part of rev 1.57 (run install-info with --quiet). 2000-05-06 19:00:45 +00:00
Ruslan Ermilov e0492f4516 MFC: Upgrade to GNU texinfo 4.0. 2000-05-06 18:54:01 +00:00
Ruslan Ermilov a4618f2b47 MFC: Do not install dir-tmpl into /usr/share/info. 2000-05-06 18:40:59 +00:00
Alexey Zelkin 7b0750c4a2 MFC: Use `Er' variable to define first column width in ERRORS section. 2000-05-06 13:46:28 +00:00
Alexey Zelkin 85176c8b7d MFC: rev 1.9, EXAMPLE -> EXAMPLES 2000-05-06 13:45:03 +00:00
Alexey Zelkin 8b8a7c55f3 MFC: rev 1.35, mdoc cleanup 2000-05-06 13:44:32 +00:00
Alexey Zelkin de932a0ebe MFC: rev 1.29, change Er's value (12 -> 17) 2000-05-06 12:13:09 +00:00
Kris Kennaway 45f5c94561 MFC^2: Note ports-base as a mandatory collection 2000-05-06 03:47:34 +00:00
Kirk McKusick 17a80b1c12 Merge in fix in delta 1.29 from current to properly reset
grace timer when files are given to a user by root.
2000-05-06 01:44:31 +00:00
Archie Cobbs 0aa3a7aab2 MFC: (rev 1.6) document the new statistics control messages 2000-05-05 17:31:55 +00:00
Archie Cobbs 6e77834d9e MFC: fix broken multi-link fragment reassembly algorithm. 2000-05-05 17:25:23 +00:00
Archie Cobbs 659007677a MFC: field structure changed name from 'typename' -> 'type_name'. 2000-05-05 17:23:40 +00:00
Archie Cobbs 146dbacf18 MFC: typename -> type_name; add ng_copy_meta() 2000-05-05 17:22:39 +00:00
Sheldon Hearn fb9e9cb8ac MFC rev 1.10: use IP addresses to "allow anything". 2000-05-05 08:33:58 +00:00
Joseph Koshy 1d79eedc18 Back out rev 1.9.2.3, which got committed to this branch by mistake. 2000-05-05 08:25:55 +00:00
Joseph Koshy 3dc1ed1546 Since csh' in -current is tcsh', link in a manual page for
`tcsh(1)', for completeness.

Approved by:	obrien
2000-05-05 08:07:27 +00:00
Archie Cobbs c71e94e2bd MFC: Document TAILQ_FOREACH_REVERSE() and CIRCLEQ_FOREACH_REVERSE() 2000-05-05 01:44:50 +00:00
Archie Cobbs 5d6faa5f47 MFC: TAILQ_FOREACH_REVERSE and CIRCLEQ_FOREACH_REVERSE 2000-05-05 01:41:41 +00:00
Archie Cobbs a5cbca63c6 MFC: move netgraph node type man pages from section 8 to section 4. 2000-05-04 21:25:17 +00:00
Archie Cobbs 194bd29fc0 MFC: move netgraph node type man pages from section 8 to section 4. 2000-05-04 17:58:17 +00:00
cvs2svn 728f66d135 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-05-04 17:54:38 +00:00
Archie Cobbs 5d3d161d8b MFC: move netgraph node type man pages from section 8 to section 4. 2000-05-04 17:45:24 +00:00
Alexey Zelkin e177782f30 MFC: rev 1.18, remove BUGS section 2000-05-04 16:56:37 +00:00
Alexey Zelkin 4f47bb929a MFC: .Fx', .Nx' and `.Ox' are parsed and callable (document it) 2000-05-04 16:27:58 +00:00
Archie Cobbs 571b69d5f6 MFC: define IF_MINMTU and IF_MAXMTU, and validate MTU against them. 2000-05-03 22:48:38 +00:00
Archie Cobbs e0ed6449a5 MFC: formatting tweaks. 2000-05-03 16:50:17 +00:00
Archie Cobbs 7909dfb224 MFC: (rev. 1.18) add missing declaration of lchmod(2). 2000-05-02 23:41:38 +00:00
Luigi Rizzo bbcb3c410d Fix a typo firewall->firewall_enable and make the rc.conf
ask for a hostname in case a matching ethernet card is
not found.
2000-05-02 10:01:59 +00:00
Luigi Rizzo 754e66d99c disable x11 forwarding, we have no X on PicoBSD 2000-05-02 10:00:48 +00:00
Archie Cobbs c2e583bb31 MFC: (rev. 1.6) fix a bug in handling the debug level 2000-05-01 18:12:25 +00:00
Peter Wemm 09f34ab63f MFC: remove flawed semconfig(2) 2000-05-01 11:18:47 +00:00
Peter Wemm e4804beb66 MFC: remove semconfig() calls 2000-05-01 10:53:55 +00:00
Josef Karthauser f1c96267e4 MFC: Fix a potential buffer overflow (r1.24).
PR:	bin/15101
2000-04-30 20:12:40 +00:00
Satoshi Asami c1626a6084 Merge 1.11. 2000-04-29 11:45:16 +00:00
Luoqi Chen f0182cf3fc MFC: IO apics are not necessarily page aligned, they are only required
to be aligned on 1K boundary. Correct a typo that would cause problem
to a second IO apic.

Pointed out by: Steve Passe     <smp.csn.net>
2000-04-28 19:28:01 +00:00
Alexey Zelkin cbb2d8ac88 MFC: rev 1.27, fix typo 2000-04-28 09:33:42 +00:00
Matthew Dillon 94ef636115 MFC 1.88 to 3.x. Close a window in the use of HLT. When using HLT,
the STI must occur in the instruction before the HLT to guarentee
    that no interrupt can occur inbetween the STI and the HLT.
2000-04-27 16:58:45 +00:00
Luigi Rizzo 04a1d8287f Documentation update. 2000-04-27 10:28:22 +00:00
Alexey Zelkin 0106e46817 MFC: rev 1.26, -lc_r -> -pthreads 2000-04-27 09:03:52 +00:00
Archie Cobbs 83e43f150a MFC (rev 1.130): SIGIO bug fix 2000-04-27 01:19:17 +00:00
Kris Kennaway c7e8378409 Fix the buffer overflow reported on Bugtraq.
Submitted by:	Ben Smithurst <[email protected]>
2000-04-26 06:06:58 +00:00
Wes Peters 2be89bac8f MFC patches for stream attack. This fell through the crack
on 3.x.

Reviewed by:	Mike Silbersack <[email protected]>
2000-04-25 05:07:54 +00:00
Alexey Zelkin 8ab18b6932 MFC: rev 1.37, better handling groff failures 2000-04-24 12:13:51 +00:00
Alexey Zelkin 96654206c2 MFC: clean up warngings 2000-04-24 12:06:04 +00:00
Alexey Zelkin 2b1b022a24 MFC: rev 1.27, install TESTS directory contents
to /usr/share/examples/libdialog
2000-04-24 11:56:10 +00:00
Alexey Zelkin 9a3701e24b MFC: rev 1.41, update cvs pserver example (add --allow-root switch) 2000-04-24 11:54:51 +00:00
Alexey Zelkin 19de0cc262 MFC: rev 1.182, create share/examples/libdialog 2000-04-24 11:44:54 +00:00
Alexey Zelkin 913b03a888 MFC: rev 1.25, install additional docs, install additional manpages 2000-04-24 11:39:39 +00:00
Alexey Zelkin 521edd4c95 MFC: rev 1.180, create share/examples/bind/{html,misc} dirs 2000-04-24 11:30:55 +00:00
Alexey Zelkin 888de06d34 MFC: simple notes on /usr/share/examples/dialog directory 2000-04-24 11:27:03 +00:00
Alexey Zelkin 72f7147985 MFC: install contents of the TESTS subdirectory to /usr/share/examples/dialog/ 2000-04-24 11:25:09 +00:00
Alexey Zelkin eba63bed46 MFC: rev 1.178, add share/examples/dialog 2000-04-24 11:23:00 +00:00
Alexey Zelkin d7f3a396a2 MFC: rev 1.17, install examples 2000-04-24 11:17:53 +00:00
Alexey Zelkin c82b30ba77 MFC: rev 1.179, add share/examples/bc 2000-04-24 11:16:38 +00:00
Alexey Zelkin e3aec02388 MFC: introduce .Lb macro to left libraries manpages 2000-04-23 17:48:21 +00:00
Alexey Zelkin 835cb69838 MFC: introduce .Lb macro to libc manpages
Great bunch of $freeBSD$ tags added
2000-04-23 17:12:31 +00:00
Alexey Zelkin a272cf57e2 MFC: introduce .Lb macro to libc_r manpages 2000-04-23 16:07:45 +00:00
Alexey Zelkin a7153f14a9 MFC: rev 1.18 (mdoc.7), rev 1.29 (mdoc.samples.7), document .Lb macro 2000-04-23 15:48:24 +00:00
Alexey Zelkin 22ad89ecf5 MFC: rev 1.13, suggest to use .Lb 2000-04-23 15:45:47 +00:00
Alexey Zelkin 4bdf6172b3 MFC: rev 1.23, 1.24, 1.25, introduce .Lb macro 2000-04-23 15:43:29 +00:00
Kenneth D. Merry 656d5060c9 MFC, rev 1.21. Fix a panic in the case of a probe failure, and add a
newline in an error message.

PR:		kern/17512
Submitted by:	Louis Mamakos <[email protected]> (newline fix)
2000-04-22 20:58:45 +00:00
Yoshihiro Takahashi 54c968b968 MFC: Changed interrupt level to splcam(). 2000-04-22 15:09:35 +00:00
Guido van Rooij 7ba5dd0596 MFC: 1.85 & 1.86 2000-04-21 18:16:59 +00:00
Kazutaka YOKOTA 1321142b69 MFC: Reduce the default timeout for the three button emulation
from 200 msec to 100 msec.
2000-04-21 14:21:39 +00:00
Kazutaka YOKOTA 687a6e874b MFC: -3 option fix (rev 1.41, 1.43). 2000-04-21 14:06:24 +00:00
Joerg Wunsch 42b3cc50c7 MFC 1.6: southamericarand -> southafricarand 2000-04-18 16:39:26 +00:00
Roger Hardiman ac964b96ee MFC: open compile bktr_i2c.c if smbus is defined 2000-04-18 13:33:02 +00:00
Ruslan Ermilov f3295d07e9 MFC: (rev 1.26) Apply TCP_EXPIRE_CONNECTED (86400 seconds) timeout only
to established connections, after SYN packets were seen from both ends.

PR:		bin/17963
2000-04-17 09:05:59 +00:00
Sheldon Hearn 9e2e03de9a MFC rev 1.20: Fix Y2K bug. 2000-04-14 13:55:28 +00:00
Sheldon Hearn 4bb1180de5 MFC: Add example refuse file. 2000-04-13 14:56:00 +00:00
Sheldon Hearn cc490cfc6c MFC: Add example refuse file. 2000-04-13 14:43:56 +00:00
cvs2svn 87251c43a2 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-04-13 14:40:40 +00:00
Archie Cobbs 6cdcb905e5 MFC: (rev. 1.13) fix uninitialized variable 2000-04-12 17:31:02 +00:00
Archie Cobbs 5eb69753a4 MFC: (rev 1.8) use snprintf instead of sprintf 2000-04-11 01:26:27 +00:00
Archie Cobbs 54289f4062 MFC: (rev 1.5) unicast/multicast correction 2000-04-11 01:24:23 +00:00
Archie Cobbs 6578141402 MFC: minor prototype tweaks 2000-04-11 01:21:39 +00:00
Archie Cobbs 403be0eec3 MFC: fix typo 2000-04-11 01:12:25 +00:00
Jeroen Ruigrok van der Werven 8071fb08a4 MFC: Also document NO_BIND in 3-STABLE.
PR:		16959
Submitted by:	Michael Lucas <[email protected]>
2000-04-10 19:55:02 +00:00
Archie Cobbs a57cb9cea9 MFC: (rev 1.12) document EWOULDBLOCK. 2000-04-09 19:15:03 +00:00
Kazutaka YOKOTA 0d42e1a936 MFC: relfect recent update in psm.c. 2000-04-09 03:19:46 +00:00
Kazutaka YOKOTA 36ce318e2d MFC: add support for more PS/2 mice.
psm.c rev 1.24, mouse.h rev 1.16, atkbdcreg.h rev 1.5,
moused.c rev 1.39, 1.40, 1.42.
2000-04-09 03:09:06 +00:00
Yoshihiro Takahashi c7e74a1a3a Merged from sys/i386/isa/wd.c revision 1.186.2.5. 2000-04-07 11:18:18 +00:00
Yoshihiro Takahashi afd97db7c3 Merged from sys/boot/i386/btx/btx/btx.s revision 1.8.2.5. 2000-04-07 11:17:09 +00:00
Satoshi Asami 573acb94dc MFC: 1.537 (use release tags for ports and doc trees) 2000-04-06 10:02:08 +00:00
Paul Saab 355af1eb67 MFC: 1.219 Fix wddump in LBA mode.
Reviewed by:	peter
2000-04-06 05:44:14 +00:00
Archie Cobbs 0e8d155b5b MFC: (rev. 1.2) identify timezone data files by their ``TZif'' magic number 2000-04-05 18:44:01 +00:00
Ruslan Ermilov f6c15cf743 MFC: New timezone data from ftp://elsie.nci.nih.gov/pub/tzdata2000d.tar.gz 2000-04-05 18:21:21 +00:00
Ruslan Ermilov 4c4c0c7302 MFC: (rev 1.142)
Get rid of "sticky" files when updating sources from CVS repository.

Requested by:	peter
2000-04-05 17:55:16 +00:00
Sheldon Hearn 7bc65648a4 MFC rev 1.12: MANSEC -> MANSECT. 2000-04-05 14:02:35 +00:00
Sheldon Hearn 8e7eb84ef1 MFC rev 1.37: Ignore passwordless, blocked out NIS entries. 2000-04-05 13:46:37 +00:00
Yoshihiro Takahashi 662faa8b5d Merged from sys/i386/isa/sio.c revision 1.224.2.9. 2000-04-05 11:13:25 +00:00
John Polstra 409a4bb24d MFC 1.9 -> 1.10: Document that the flags can be specified as an
octal number.
2000-04-03 22:13:40 +00:00
Brian Somers 2fea4d4a1f MFC: Plug two file descriptor leaks 2000-04-03 20:02:28 +00:00
Peter Wemm ded69f1e56 For a special request: add USR3050 as well for RELENG_3. 2000-04-02 05:31:53 +00:00
David Greenman 61e2327d40 Merged changes from rev 1.78 (if_fxp.c) and 1.10 (if_fxpvar.h): fixes
to support certain larger SEEPROMs.
2000-04-01 19:04:22 +00:00
Yoshihiro Takahashi 0b94586b4f MFC: Copy from BIOS work area to the cpu_id variable (PC-98 only). 2000-04-01 13:12:31 +00:00
Yoshihiro Takahashi ed4ecf6661 MFC: Added Ratoc REX-9880/83 supports (PC-98 only). 2000-04-01 13:11:11 +00:00
Chris Timmons 506e021254 MFC: Sync w/-CURRENT 2000-03-31 13:23:38 +00:00
Chris Piazza 3ef07912e3 MFC: rev 1.10, export host 2000-03-29 07:11:29 +00:00
John Baldwin b1d731442d MFC: STAILQ example fix. 2000-03-27 13:33:08 +00:00
Sheldon Hearn 6462ba99d3 MFC rev 1.9 and rev 1.10: Handle broken MDTM responses. 2000-03-27 10:22:45 +00:00
Sheldon Hearn e8109a0158 MFC rev 1.59: Document allscreens_flags. 2000-03-27 10:13:52 +00:00
Sheldon Hearn e3077c34b9 MFC: Add a test for the environment variable PW_SCAN_BIG_IDS and
silence warnings about largs IDs if the envar exists.  See the
attributed PR for an exact list of revisions merged.

PR:		13344
2000-03-27 10:07:31 +00:00
Kris Kennaway aaa4afb99e MFC: Update CFLAGS documentation 2000-03-27 02:53:20 +00:00
David E. O'Brien 3138d6e892 Add a "magic" comment to help fixincludes realize it doesn't need to
modify this file when building GCC 2.96 [by hand or via the port].

Submitted by:	Zack Weinberg <[email protected]>
2000-03-27 02:01:27 +00:00
David E. O'Brien 2f61745857 Don't define our own `bool' type if we are using C++.
Submitted by:	Zack Weinberg <[email protected]>
2000-03-27 01:57:44 +00:00
David E. O'Brien 5cbff9c694 Minor changes to assist the building of GCC 2.96 on this branch.
Submitted by:	Zack Weinberg <[email protected]>
2000-03-27 01:55:59 +00:00
Satoshi Asami 42f4c2d3be Merge 1.10. 2000-03-25 00:01:34 +00:00
Jeroen Ruigrok van der Werven a22312ac9e MF5C: Fix typo. 2000-03-24 21:11:28 +00:00
Kris Kennaway f9480af180 MFC: NO_X 2000-03-24 07:45:24 +00:00
Kris Kennaway dff331a1c3 MFC: NO_X knob 2000-03-24 07:39:04 +00:00
Matthew Dillon 7647331e82 MFC 1.61 - fix in-kernel infinite loop in pipe_write() when reader goes
away at just the wrong moment.
2000-03-24 00:48:57 +00:00
Jeroen Ruigrok van der Werven 3f8f0ce26f Fix groff breakage with regard to the safer macros. 2000-03-23 14:56:16 +00:00
Patrick S. Gardella 88e9c46a1c MFC: Display CPU (BSP) clock speed on SMP systems. (-CURRENT diff 1.76)
Reviewed by:  green
Tested by:    Brandon D. Valentine <[email protected]>
              Tod Luginbuhl <[email protected]>
2000-03-22 11:21:16 +00:00
Yoshihiro Takahashi 0da05bff2f MFC: Simplify messages of Pentium II, Pentium II Xeon, Celeron, Pentium III
and Pentium III Xeon CPUs.
2000-03-22 05:27:22 +00:00
Yoshihiro Takahashi 1499655add MFC: Increment number of retries before giving up. 2000-03-22 05:24:07 +00:00
Luigi Rizzo 41370a415b MFC: properly print interface name. 2000-03-21 13:45:44 +00:00
Brian Feldman cf370c5ac7 Make memcontrol(8) able to delete the segments starting at a base of 0
which it can create..
2000-03-20 22:53:32 +00:00
Guido van Rooij 2d7f919577 MFC: add -L flag to usage() 2000-03-20 18:34:54 +00:00
Martin Cracauer 0d82a4031c MFC: Warn and exit != 0 when file size doesn't meet what server previously
announced
2000-03-20 15:45:19 +00:00
Sheldon Hearn 96fbc99809 MFC rev 1.13: Remove once again the erroneous xref to ld.so(1). 2000-03-20 13:32:22 +00:00
Martin Cracauer 9d493d8a7d MFC: allow comments in #!/bin/sh # - line 2000-03-20 12:22:49 +00:00
Martin Cracauer cad3849f08 Complete syncing with 4.x 2000-03-20 10:55:19 +00:00
Martin Cracauer 33cd98eb43 MFC: Sync with 4.x fixes 2000-03-20 10:51:05 +00:00
Brian Feldman f22c1fb892 2"5MFC: Correctly fill the mask from the left, not the right. 2000-03-19 19:30:46 +00:00
Larry Lile 7eec457494 o MFC: Fix typo in the RapidFire 3540 adapter name
4/16/100 -> 100/16/4 so that it matches all of the others.

o MFC: Since we went to all the trouble of getting the correct
  working memory size actually use it.

* Submitted by: Nikolai Saoukh <[email protected]>
2000-03-19 15:10:35 +00:00
Yoshihiro Takahashi 1c7bc4ad8a MFC: Fixed to probe extended memory. 2000-03-19 08:12:10 +00:00
Yoshihiro Takahashi 65057171f7 MFC: Changed key assign for PC-98. 2000-03-19 08:07:41 +00:00
Yoshihiro Takahashi 0cdc0996df MFC: Fixed to support old parallel interface. 2000-03-19 08:05:54 +00:00
Larry Lile 9d0f3ec93f MFC: New-bus Olicom driver
o Replace the old "oltr" driver with the completely re-written
  new-bus Olicom driver, previously known as "ol".  The new
  driver unfortunately does not support ISA cards yet.

o Update the microcode files, interface library and include files
  to the latest PowerMACH works version.  Force even byte alignment
  of adapter microcode.

o Roll in some of the patches from Nikolai Saoukh <[email protected]>.

* Approved by: Jordan K. Hubbard <[email protected]>
2000-03-19 01:53:56 +00:00
Bruce Evans 9c3d86e34a Disabled use of the global page feature. Many places depend on invltlb()
invalidating all pages, but it only works for non-global pages.  A better
fix should be merged from -current when it is completely fixed there
(see rev.1.251 for the different work-around in -current).

PR:		16568, 14141 (part)
2000-03-18 14:47:53 +00:00
Chris Piazza 461b909be8 MFC 1.253, update australian ntp server 2000-03-18 02:58:59 +00:00
Yoshihiro Takahashi f38139c1d6 Sync with sys/boot/i386/libi386/biosdisk.c revision 1.20.2.8. 2000-03-17 12:53:04 +00:00
Chris Costello fd1448ae73 Back out partial spamming of RELENG_4's manual onto RELENG_3. I
left in the 4.x locking section in the changes to the 3.x manual.
2000-03-16 23:09:15 +00:00
Chris Costello df95784479 MFC: Make `struct vattr *' variable names consistent (vpp->vap). 2000-03-16 22:47:03 +00:00
John Baldwin 51edb118ef MFC the bcache loader fixes.
Submitted by:	dcs
2000-03-16 18:22:51 +00:00
Yoshihiro Takahashi e89906a722 Fixed to support 30-line mode.
Submitted by:   [email protected] (Chiharu Shibata)
2000-03-16 12:08:03 +00:00
Yoshihiro Takahashi 5f1061cab9 MFC: Added 'flags 0x40' to ppc0. 2000-03-16 12:04:36 +00:00
Yoshihiro Takahashi 52a5857e4c MFC: Changed sio1 flags to 0x12000010 to enable serial console. 2000-03-16 11:54:31 +00:00
Sheldon Hearn 0750c208f0 MFC rev 1.17: Warn against using 3c509 in EISA mode on non-EISA systems. 2000-03-15 20:54:33 +00:00
Sheldon Hearn 2356f3b797 MFC rev 1.41: Fix post-creation cleanup bug. 2000-03-15 09:36:07 +00:00
Brian Feldman a0fb7a7271 MFC: rev.1.16, crash on read() of lpctlX fix 2000-03-15 03:28:53 +00:00
Archie Cobbs d68a3a6fc4 MFC: (rev. 1.45) have MGETHDR() always initialize m->m_pkthdr.rcvif 2000-03-14 20:50:53 +00:00
Sheldon Hearn 520de72f93 MFC rev 1.9: Do not list a null string in a dialog box. 2000-03-14 12:47:53 +00:00
Sheldon Hearn c7b55856c9 MFC rev 1.8: Formalize the option descriptions. 2000-03-14 10:57:08 +00:00
Sheldon Hearn 70cb9131f2 MFC rev 1.11: Cope with quotes around font names in /etc/rc.conf . 2000-03-14 09:31:27 +00:00
Archie Cobbs b59ca09840 MFC: (rev. 1.2) remove erroneous help text. 2000-03-13 19:25:04 +00:00
Archie Cobbs 5437d2cfea MFC: (rev 1.5) fix typo 2000-03-13 18:31:42 +00:00
Daniel C. Sobral 9b66818e85 MFC. 2000-03-13 17:33:27 +00:00
cvs2svn d3f2567889 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-03-13 17:31:45 +00:00
Jeroen Ruigrok van der Werven 8d7cb68e80 MFC: 1.7 and 1.8 2000-03-13 13:44:03 +00:00
Jeroen Ruigrok van der Werven 3b076482e7 MFC the Makefile for grog. 2000-03-13 12:40:14 +00:00
Jeroen Ruigrok van der Werven c39d4580a6 Enable installation and build of grog, grohtml and devthml. 2000-03-13 12:39:46 +00:00
Jeroen Ruigrok van der Werven c6607146b6 Remove DHAVE_CC_OSFCN_H just like in 4.0. 2000-03-13 12:12:31 +00:00
Jeroen Ruigrok van der Werven 01189e8725 Fix spammage introduced in an older version to fix the y2k bug.
This will ensure it is synched with 4.0's version.
2000-03-13 10:46:52 +00:00
Archie Cobbs 9e614ed4c6 MFC: correct man page title 2000-03-10 20:38:55 +00:00
Sheldon Hearn 1afb74c5f8 MFC rev 1.15: Fix whitepace in the arguments of two Xr macros. 2000-03-10 14:47:32 +00:00
Sheldon Hearn a0775bc857 MFC rev 1.14: The default pager is more(1) and not less(1). 2000-03-10 14:44:50 +00:00
Jeroen Ruigrok van der Werven ec3258a1ca MFC: devhtml and grohtml bmake glue. 2000-03-09 21:25:57 +00:00
Jeroen Ruigrok van der Werven 0ea7d62a93 Make sure the locale information gets installed. 2000-03-09 21:11:44 +00:00
Jeroen Ruigrok van der Werven 8ebc865a8d MFC: groff 1.15 2000-03-09 20:13:48 +00:00
Matthew Dillon 98846daf14 MFC 1.33 - move brelse() so last access of data occurs prior to buffer
release rather then after the buffer is released.
2000-03-09 18:57:17 +00:00
Jeroen Ruigrok van der Werven b408f6968a Add necessary mtree entries for the groff MFC. 2000-03-09 16:35:32 +00:00
Sheldon Hearn 9e737ff934 MFC rev 1.7: Use Op macro for optional -c option. 2000-03-09 09:31:52 +00:00
Bruce Evans e064d546f4 MFC (1.63: don't forget to check for unsupported features when updating). 2000-03-09 05:31:20 +00:00
Jeroen Ruigrok van der Werven c2f433cd3a Enable the rc.sysctl functionality which lay dormant in rc in STABLE.
Approved by:	green, imp, wes
2000-03-08 12:28:35 +00:00
Sheldon Hearn 8575a1601b MFC rev 1.10 rev 1.11 rev 1.12: Add -s option, add description of -o
option, remove blank lines.
2000-03-08 10:18:11 +00:00
Jeroen Ruigrok van der Werven 4e8ddb7399 Add the sysctl.conf manpage to the build. 2000-03-08 08:19:05 +00:00
Bill Fenner 0edd301102 Fix socklen_t breakage introduced in 1.27.2.3: the functions that
take socklen_t * are still prototyped as taking int *, so make
 socklen_t an int until the prototypes and implementations are fixed.
2000-03-08 06:32:44 +00:00
Kris Kennaway 60317d8659 MFC: Remove the 'alpha test' warning. 2000-03-08 03:34:46 +00:00
Sheldon Hearn 00b3291bf0 MFC rev 1.19: Assorted mdoc fixes. 2000-03-07 22:51:27 +00:00
Sheldon Hearn 3530151be0 MFC rev 1.18: Missed this one in the previous MFC for same revision. 2000-03-07 22:50:39 +00:00
Sheldon Hearn cc28c9554c MFC rev 1.34: Correct confusing description for -r option. 2000-03-07 20:56:21 +00:00
Jordan K. Hubbard 5711c10454 MFC: slovenian keymaps
Submitted by:	Blaz Zupan <[email protected]>
2000-03-07 16:45:04 +00:00
Luigi Rizzo f463f13829 Fix support for CS4235, which has a different mixer and no native
support for ULAW (cheap design).
This code is mostly from Jose M. Alcaide, with minor changes and
cleanup done by myself. I have used it for several months now.

The pcm driver in -current is a different beast so there is no
way to make the commit there first.
2000-03-07 11:19:29 +00:00
Sheldon Hearn ca17de000c MFC: Remove single-space hard sentence breaks. 2000-03-06 11:37:35 +00:00
Joseph Koshy abe037be31 Document the `-z' option MFC'd in rev 1.29.2.4 of "vmstat.c". 2000-03-06 07:38:31 +00:00
Sheldon Hearn 50339088d8 MFC rev 1.9: NetBSD fixes. 2000-03-06 07:09:40 +00:00
Sheldon Hearn 27b07de73e MFC part of rev 1.44: Make TCPMUX a valid subsection and mark FreeBSD
up properly.

This is why it's such a bad idea to mix several different kinds of
fix into mdoc commits. :-(
2000-03-04 08:14:16 +00:00
Matt Jacob 21e942bcd5 MFC: pullup Qlogic isp man page 2000-03-04 04:59:03 +00:00
Matt Jacob c70bc8e01e MFC: add Ultra3 for Qlogic comments 2000-03-04 04:53:58 +00:00
Matt Jacob aaebae5755 MFC: Add Qlogic Ultra3 support, better fibre channel stuff, and put in
target mode support (not working for Fibre Channel because an incompatible
CAM change would have to be made).
2000-03-04 04:43:50 +00:00
Matt Jacob ca2ad66011 MFC: add qentry print function 2000-03-04 04:41:34 +00:00
Matt Jacob 9068cd261e MFC: add Qlogic Ultra 3 f/w 2000-03-04 04:38:10 +00:00
Matt Jacob fb6b9ea290 MFC: add Qlogic target mode support 2000-03-04 04:36:04 +00:00
Matt Jacob 03755a61d4 MFC: add Ultra3 Qlogic support 2000-03-04 04:32:01 +00:00
Matt Jacob 737e58fc93 MFC up through 1.45:
Add Ultra3 support. Add (not quite functional for fibre channel) target mode
support back to the RELENG_3 branch.
2000-03-04 04:30:28 +00:00
Matt Jacob 9f75803217 MFC 1.76
Make sure we don't look at an edt entry that could go away when we try
and figure out whether to probe higher than lun 7.
2000-03-04 04:26:41 +00:00
Sheldon Hearn 8c224bc0ae MFC: Remove single-space hard sentence breaks. 2000-03-03 22:37:16 +00:00
Paul Saab 93a38ac115 MFC: -z option to dump data from the zone allocator. 2000-03-03 15:32:35 +00:00
Sheldon Hearn bd02972385 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.

This is not a merge from current.
2000-03-03 15:31:33 +00:00
Sheldon Hearn aafd282330 MFC: remove single-space hard sentence breaks. 2000-03-03 15:24:57 +00:00
Sheldon Hearn f619674d43 MFC: Remove single-space hard sentence breaks. 2000-03-03 15:13:46 +00:00
Sheldon Hearn de1daba970 MFC: Remove single-space hard sentence breaks. 2000-03-03 14:59:51 +00:00
Sheldon Hearn 7b43ed5810 MFC rev 1.9: Update for ELF world. 2000-03-03 13:57:37 +00:00
Sheldon Hearn 2da8e505c5 MFC: Add missing sh builtin command ``read''. 2000-03-03 13:20:57 +00:00
Sheldon Hearn 4097e75c28 MFC rev 1.16: Remove single-space hard sentence breaks. 2000-03-03 12:56:57 +00:00
Sheldon Hearn f1423a2cdb MFC rev 1.15: Fix DIAGNOSTICS section. 2000-03-03 12:55:32 +00:00
Sheldon Hearn 31d0fdb4df MFC rev 1.16 and rev 1.18: Remove single-space hard sentence breaks. 2000-03-03 12:08:23 +00:00
Sheldon Hearn a18517d760 MFC rev 1.17: Fix bogus DIAGNOSTICS section. 2000-03-03 12:05:24 +00:00
Sheldon Hearn 94af75cb07 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.

This is not a merge from current because these files are in the Attic
there.
2000-03-03 11:43:25 +00:00
Sheldon Hearn 66d4e0a337 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.

This is not a merge from current because these files were recreated
from the HTML source from the new distribution in current.  The new
files weren't created with _any_ hard sentence breaks.
2000-03-03 11:29:24 +00:00
Ruslan Ermilov af659d8008 MFC: (rev 1.63) a lot of -mdoc fixes.
Urged by:	sheldonh
2000-03-03 11:06:44 +00:00
Sheldon Hearn f1a5d383af MFC rev 1.5: Correct HISTORY. 2000-03-03 09:28:58 +00:00
Sheldon Hearn 0a5c2578e3 MFC rev 1.5: Fix grammar in a comment. 2000-03-03 09:26:04 +00:00
Chris Timmons 5d7c78a953 MFC: $FreeBSD$, hosts_access(5) reference. 2000-03-03 00:16:14 +00:00
Sheldon Hearn c531e0ec91 MFC rev 1.4: Print usage correctly. 2000-03-02 15:05:25 +00:00
cvs2svn 8e09125a6b This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-03-02 14:54:03 +00:00
Ruslan Ermilov 5632908700 MFC: (rev 1.83) fixes the panic in sl_compress_tcp(). 2000-03-01 13:13:10 +00:00
Nik Clayton f13a7acbbc Add comment to ppc section, explaining that if you copy the line from
GENERIC you'll get a parallel port configured for networking, and not
printing.  Trying to use a port configured like this can lead to reboots.

Discussed on:	-stable
2000-03-01 10:51:37 +00:00
Sheldon Hearn 990cdf449a MFC rev 1.45 and rev 1.46:
Fix hard sentence breaks.
	Clarify explanation of which syslog logging facility is used.
2000-03-01 08:31:42 +00:00
Joseph Koshy 0c8d3a4a50 MFC: Change card description strings in two entries to their full form. 2000-03-01 06:01:06 +00:00
Archie Cobbs 1e21db505a MFC: comment for sdl_family field should say AF_LINK, not AF_DLI. 2000-03-01 02:48:05 +00:00
Joerg Wunsch 1687007f70 MFC: SIGHUP and SIGCHLD ought to be restartable as they used to be. 2000-02-29 08:04:53 +00:00
Paul Saab 06237e878c MFC: 1.73
Approved by:	jkh
2000-02-29 07:18:57 +00:00
Joerg Wunsch 1fd7f1d136 MFC: rev 1.58, fix a deadly race condition between the signal handlers
for SIGHUP and SIGCHLD.
2000-02-28 17:55:11 +00:00
Yoshihiro Takahashi 176f4475bf Sync with sys/i386/i386/userconfig.c revision 1.126.2.13. 2000-02-28 11:46:54 +00:00
Joseph Koshy 2c81fda5fc MFC: {rev 1.11} Increase `CIS_MAXSTR' to 254. This allows pccardd(8) in
-STABLE to recognize PCMCIA cards with long identification strings.

Reviewed by:	Warner Losh <[email protected]>
2000-02-28 05:20:29 +00:00
Brian Feldman d6eeb193d2 MFC: Fix a typo of repetition.
Submitted by:	Kris Dow <[email protected]>
2000-02-28 03:06:03 +00:00
Steve Price 38e43e8224 MFC: grammar fix - follow to following 2000-02-26 16:56:27 +00:00
Jordan K. Hubbard c8813e99af MFC: screen clear 2000-02-26 12:42:37 +00:00
Jordan K. Hubbard 3a3ab590b9 MFC: typo fix 2000-02-26 12:34:20 +00:00
Jordan K. Hubbard 0ac945f4d4 MFC: cosmetic cleanup 2000-02-26 12:32:51 +00:00
Jordan K. Hubbard 157ef6c6ac MFC: really toggle variables 2000-02-26 12:06:35 +00:00
Jordan K. Hubbard b938cb2734 MFC: proper abstraction. 2000-02-26 11:56:57 +00:00
Ruslan Ermilov b4d446bdf7 MFC: (rev 1.25) remove config line length restriction. 2000-02-25 11:42:44 +00:00
Matthew Dillon 93fb552688 MFC from 1.26, fix a 'freeing free block' panic that can occur when a
filesystem fills up by proper unwinding indirect blocks during a balloc
    when new indirect blocks can be allocated but the datablock cannot.
2000-02-24 20:46:42 +00:00
Kazutaka YOKOTA 15b630624f MFC: add a couple of serial mouse PnP IDs (rev 1.36, 1.37). 2000-02-24 12:28:56 +00:00
Archie Cobbs 138dc03e88 MFC: correct information about the name of the netgraph node 2000-02-24 04:34:46 +00:00
Gregory Sutter 6ac1fbac73 MFC: 1.12 (Reflect that dd accepts octal and hexadecimal numbers) 2000-02-23 01:06:40 +00:00
Ruslan Ermilov d5cdbc603a MFC: buffer overflow fix.
PR:		16415
2000-02-21 10:26:44 +00:00
Jordan K. Hubbard d2b5a160da MFC: Make the doc menu work again. 2000-02-20 23:49:25 +00:00
Jordan K. Hubbard ff21a0abdd MFC: let dhcp override gateway. 2000-02-20 21:57:38 +00:00
Jordan K. Hubbard cb3b868759 MFC: fvwm fix 2000-02-20 10:02:16 +00:00
Jordan K. Hubbard 34542e2cad MFC: ps/2 mice more prevalent. 2000-02-19 13:11:28 +00:00
Jordan K. Hubbard b6bd4809a9 MFC: get rid of useless moused setting 2000-02-19 13:06:22 +00:00
Jordan K. Hubbard a83b965871 MFC: fix reversed conditional 2000-02-19 12:41:23 +00:00
Jordan K. Hubbard 5a4f372d83 MFC: better isdir() handling, string-stomping fix. 2000-02-19 08:51:33 +00:00
Alfred Perlstein db9ac4c0e5 MFC: 1.8 (re-add the month may) 2000-02-18 23:45:04 +00:00
Jordan K. Hubbard ae882926bc MFC: reversal 2000-02-18 18:32:04 +00:00
Jordan K. Hubbard b462c35d05 MFC: s/Novice/Standard/ 2000-02-18 07:11:10 +00:00
Jordan K. Hubbard 9916d1cad0 "Novice" is too off-putting, change it to "Standard" installation. 2000-02-18 07:08:38 +00:00
Jordan K. Hubbard 34913a2f9e MFC: missing newline 2000-02-18 03:02:04 +00:00
Satoshi Asami 7b21bdca09 Merge 1.8. 2000-02-18 01:20:38 +00:00
John Baldwin 3a2c1f8f80 MFC the int15_87 and Ctrl-Alt-Del fixes.
Approved by:	msmith
2000-02-17 20:11:38 +00:00
Jordan K. Hubbard 547748f888 MFC: cosmetic fixes and /compat/linux workaround. 2000-02-17 06:14:12 +00:00
Jordan K. Hubbard 3172476f60 MFC: remove scarey defaults 2000-02-17 04:50:00 +00:00
Peter Wemm 779e5fd0e3 MFC: all fixes and cleanups - this is the last straw, it has broken one
time too many.  The 3.4 version has been doing bizzare things while the
4.0 version compiled on 3.4 has worked fine.
2000-02-17 04:26:41 +00:00
Bill Swingle 5c3fd7a7be MFC: correcting more csh(1) wrongness
PR:		16762
Submitted by:	Giorgos Keramidas <[email protected]>
2000-02-17 03:41:52 +00:00
Bill Swingle 1cedc73d07 MFC: correcting csh(1) incorrectness
PR:		16754
Submitted by:	Giorgos Keramidas <[email protected]>
2000-02-17 03:30:02 +00:00
Bill Swingle 36b9fb13e0 MFC: minor changes to chmod(1)
PR:		16749
Submitted by:	Giorgos Keramidas <[email protected]>
2000-02-17 03:18:24 +00:00
Bill Swingle 7b5e95d38f MFC: updates the vidcontrol man page to include mention of the new -M
flag

PR:		16221
Submitted by:	Kelly Yancey <[email protected]>
2000-02-17 03:03:45 +00:00
Gregory Sutter aeff04a0c3 MFC: rev 1.8 and 1.9.
PR:		16594
Submitted by:	Grigoriy Strokin <[email protected]>
Reviewed by:	jim
2000-02-17 02:35:44 +00:00
Jordan K. Hubbard 1a8fc6f37d Sigh, Chris also MFC'd his breakage without even testing it. 2000-02-16 17:29:20 +00:00
Bill Fenner c4ff53f00c MFC rev 1.27: avoid core dump on huge # of PTR records.
PR:		bin/10344
Reviewed by:	billf
2000-02-16 05:20:11 +00:00
Archie Cobbs 97af99a77d MFC: redefine PKT_ALIAS_PUNCH_FW to not clash with PKT_ALIAS_PROXY_ONLY 2000-02-15 23:16:14 +00:00
Archie Cobbs 41d10ed403 MFC: minor man page typos & clarifications 2000-02-15 23:15:25 +00:00
Jordan K. Hubbard 106df325e4 MFC: add to chflags targets. 2000-02-15 18:08:20 +00:00
Chris Costello 9376e10fc8 MFC: - Properly indent $FreeBSD$
- Repair read-only building

Submitted by:	bde
2000-02-15 04:32:32 +00:00
Greg Lehey 47417e0d0d MFC: Set P_SYSTEM in the daemon proc structure to alleviate delays on
shutdown.

Submitted-by:   Alfred Perlstein <[email protected]>
Reported-by:	Michael Hohmuth <[email protected]>
PR:		kern/16713
2000-02-15 04:08:33 +00:00
Bill Swingle d6d3f57533 "back porting" sed(1) wording changes. (no modification needed actually)
PR:		10850
Submitted by:	Scott Hazen Mueller <[email protected]>
2000-02-15 03:17:11 +00:00
Yoshihiro Takahashi 327a3fe898 Commented out apm. 2000-02-14 12:38:39 +00:00
Jordan K. Hubbard 4b9ac423e1 MFC: fix overflows 2000-02-13 21:12:41 +00:00
Luigi Rizzo 168e6cf250 MFC: add bridge floppy type for picobsd 2000-02-13 12:24:06 +00:00
Luigi Rizzo 3864675bb6 MFC: bring stateful ipfw extensions to -stable.
Approved-by: jordan
2000-02-13 12:19:54 +00:00
Luigi Rizzo 5ee6169822 MFC: bring stateful extensions for IPFW and related fixes to -stable.
In order to use the new features and get sensible output from
"ipfw show" you need to recompile ipfw.

Note that you will still be able to configure the firewall using the
old ipfw.

Approved-by: jordan
2000-02-13 12:18:36 +00:00
Bill Fumerola f4cd64b747 Really add wargames.6
Pointy hat:	chris
2000-02-12 23:52:25 +00:00
Luigi Rizzo 62a1bba530 MFC: sync Picobsd build structure with the one in -current.
This involves a cleanup of the build scripts, removing
common files from the individual trees and put them in a
common place, and remove unused stuff.
2000-02-12 19:04:49 +00:00
Chris Costello 47291b8e51 MFC: Use beforeinstall instead of rewriting the install target. 2000-02-12 05:18:55 +00:00
Jordan K. Hubbard 8abc33d629 MFC: router check. 2000-02-12 03:03:11 +00:00
cvs2svn f64656796e This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-02-12 00:22:55 +00:00
Jordan K. Hubbard 2c30dcc7a3 MFC: more descriptive parting message. 2000-02-11 06:54:46 +00:00
Jordan K. Hubbard 2de8b25553 Whoops, that was a bit _too_ much merging. Fixed.
Noticed by:	Jack O'Neill <[email protected]>
2000-02-10 22:13:07 +00:00
Jordan K. Hubbard cc7991f3b9 Gack, got my commit messages backwards. This is the MFC of
changes to bring in the new ports categories.
2000-02-10 01:48:11 +00:00
Chris Costello 329a468170 MFC: Properly describe KERN_QUANTUM. 2000-02-10 01:11:03 +00:00
David E. O'Brien 4c0156f329 Move the pointer initialization lower down in the generated output. 2000-02-09 09:51:26 +00:00
Jordan K. Hubbard 38e54c3280 MFC: bring these files into the new millennium (haha, no, please). 2000-02-09 07:00:30 +00:00
Jordan K. Hubbard c6fc099890 MFC: add menu item for /usr/src/tools 2000-02-09 05:30:57 +00:00
Jordan K. Hubbard 64423d4df4 MFC: support for /usr/src/tools 2000-02-09 05:28:05 +00:00
David E. O'Brien 1a0b9f036c Initialize pointers to quiet compiler warnings on the generated lexer. 2000-02-08 04:24:11 +00:00
Jordan K. Hubbard d802620fc7 MFC: always set dist_attr to NULL.
Submitted by:	"John W. DeBoskey" <[email protected]>
2000-02-08 04:06:36 +00:00
Peter Wemm dbf7533565 MFC rev 1.30; increase size of rt_refcnt from short to long. 2000-02-08 02:17:43 +00:00
Jordan K. Hubbard 4ee774fa97 Take my name out of here - I'm tired of getting asked about it! 2000-02-07 17:24:27 +00:00
David E. O'Brien a46d8e95ed Add the sa_family_t' and socklen_t' types to match 4-CURRENT. 2000-02-05 20:15:32 +00:00
Ruslan Ermilov fbe94735b1 MFC: Unbroke the reference to libalias(3). 2000-02-05 15:26:13 +00:00
Yoshihiro Takahashi 5e4566764c Sync with sys/boot/i386/loader/Makefile revision 1.28.2.5. 2000-02-05 11:56:22 +00:00
Luigi Rizzo 5bf3bdfc6c MFC: use NOFORTH to build a smaller loader without Forth support 2000-02-05 10:41:47 +00:00
Luigi Rizzo 8af6d7e44a MFC: crunchgen features useful for PicoBSD builds 2000-02-05 10:33:54 +00:00
Kenneth D. Merry 797f8853fc MFC, rev 1.20:
Fix a couple of typos in the 'camcontrol negotiate' output.

Submitted by:	T-Om <[email protected]>
Approved by:	jkh
2000-02-04 07:32:58 +00:00
Matt Jacob 3c61354ae7 MFC: Add a quirk type (and one for ARCHIVE Python's) that disables
the dummy read at sa_mount that attempts to latch up density.
     This breaks on at least one drive and sends it into the weeds.
2000-02-03 19:05:27 +00:00
Kazutaka YOKOTA acf969c3c3 Oops. Delete a duplicate case value which I messed up in the previous
commit.  Sorry, folks.
2000-02-02 23:27:08 +00:00
Bruce Evans fe9db3df25 Not a MFC: Fixed some bugs in the "filetype" support. The wrong
template was used for directories, so directories were usually
assigned the EXT2_FT_UNKNOWN filetype.  Other uses of
`struct odirtemplate' were also wrong.
2000-02-02 15:31:56 +00:00
Bruce Evans d7e518639d Forced commit to say that the previous commit was not quite a MFC.
_KERNEL had to be regressed to KERNEL.
2000-02-02 14:59:50 +00:00
Bruce Evans 0758efe648 MFC: update to Linux ext2_fs.h; handle new features as well as possible;
support the "filetype" feature instead of panicing for filesystems
created with it.

COPYRIGHT.INFO:   rev 1.3 (all)
i386-bitops.h:    rev.1.5 (all) (don't use unportable asm)
ext2_fs.h:        rev.1.5-1.8 (all)
ext2_inode_cnv.c: rev.1.10-1.11 (all)
ext2_vfsops.c:    rev.1.61 (don't mount filesystems with incompatible features)
ext2_lookup.c:    rev.1.20 (most of the code for "filetype" feature).
2000-02-02 14:53:05 +00:00
Yoshihiro Takahashi d4786f0759 Sync with sys/dev/syscons/scvidctl.c revision 1.7.2.6. 2000-02-02 13:58:59 +00:00
Yoshihiro Takahashi e5de6fb7cc MFC: Remove cdevsw entry points. 2000-02-02 13:52:49 +00:00
Kazutaka YOKOTA 0d52c0f0fe MFC: Removed SC_VIDEO_DEBUG. It is broken and useless. 2000-02-02 13:33:57 +00:00
Yoshihiro Takahashi 5fd23e0f78 Sync with the following changes.
sys/dev/syscons/scvidctl.c rev 1.7.2.5
	sys/dev/syscons/syscons.c rev 1.293.2.12, 1.293.2.13 and 1.293.2.14
	sys/dev/syscons/syscons.h rev 1.46.2.3
2000-02-02 13:05:50 +00:00
Yoshihiro Takahashi 8ff52963ab Sync with sys/i386/isa/npx.c revision 1.65.2.2. 2000-02-02 13:03:38 +00:00
Kazutaka YOKOTA e30e2d3002 YAMFC: Remove cdevsw entry points in individual keyboard drivers;
instead, use generic entry points for all drivers. Eliminate softc
in the lower drivers, as it is no longer necessary.
(ukbd.c 1.17, atkbd_isa.c 1.5, atkbd.c 1.14, atkbdreg.h 1.3, kbd.c 1.10,
kbdreg.h 1.4)
2000-02-02 13:03:23 +00:00
Yoshihiro Takahashi c76f0ad503 Use "options<space><tab>" style. 2000-02-02 13:02:20 +00:00
Yoshihiro Takahashi 351460af0d MFC: Supported non-512 bytes/sector format. 2000-02-02 13:00:32 +00:00
Kazutaka YOKOTA 03e038961f YAMFC: bring in the key repeat rate related code update.
- Remember the keyboard repeat delay and rate. Add a new ioctl,
  KDGETREPEAT. (syscons.c 1.330, atkbd.c 1.18, kbd.c 1.14, kbio.h 1.4)
- Obtain the initial key repeat rate setting via BIOS in i386 if
  possible. (atkbd.c 1.20)
2000-02-02 12:28:41 +00:00
Luigi Rizzo 68fbafd3ee Functional change: in ready_event(), move the call to tranmit_event()
near the end of the function or this might cause the precondition
for the next part of the function to be violated.
This fixes the "warning, event is 1 tick late" message that
some might get in certain configurations of dummynet (this was
mostly harmless).

Also some reformatting of the code, as the indentation of lot of this
file got completely screwed up in the previous massive commit.

Reported-by: Mike Tancsa
2000-02-02 11:06:31 +00:00
Bruce Evans 39ba95cdcc MFC: fixes for profiling of elf kernels. See the commit logs on
1999/05/10 for identcpu.c and on 1999/05/6 for everything else.
Unlike in -current, no additional fixes are needed for high
resolution profiling.
2000-02-02 03:50:27 +00:00
Archie Cobbs 95c571565a MFC: add /usr/share/examples/netgraph 2000-02-01 16:54:51 +00:00
Kazutaka YOKOTA f2f0434d26 YAMFC: Fix wrong usage of FONT_NONE (syscons.c 1.333, syscons.h 1.59,
scvidctl.c 1.18, and scmouse.c 1.10, 1.11).
2000-02-01 13:22:13 +00:00
Kazutaka YOKOTA d7ff7cbec8 Fix the NEXT key processing; don't go beyond the boudary of the array!
(This bug doesn't exist in -CURRENT.)
2000-02-01 12:00:04 +00:00
Dag-Erling Smørgrav 880e6abcd4 Drop maintainership of inetd, since nobody respects it anyway. 2000-02-01 09:21:22 +00:00
Archie Cobbs 914e80c50a MFC: netgraph examples 2000-02-01 01:57:57 +00:00
Archie Cobbs 488c39e299 MFC: no need to try loading ng_socket.ko 2000-02-01 01:40:58 +00:00
Archie Cobbs 2d29c2dcb6 MFC: load the socket node type KLD if it's not already loaded 2000-02-01 01:32:33 +00:00
Archie Cobbs 02779ee6ed MFC: (rev 1.329): include ddb/db_sysctl.c for 'options DDB'. 2000-01-31 21:33:39 +00:00
Archie Cobbs 1d428169a3 MFC: (rev. 1.1): new sysctl "debug.enter_debugger" 2000-01-31 21:32:23 +00:00
Archie Cobbs 6d026599f9 MFC: add a space after all the 'options' keywords so when you
comment out the line the argument stays aligned.  This is
     a white-space only change.
2000-01-31 21:30:31 +00:00
Daniel C. Sobral 10ba321fb6 MFC: various eye-candy bugs. Rev 1.11, 1.12 and 1.13. 2000-01-31 19:40:33 +00:00
Chris Costello 805d741283 Repair consistency among references to the resolved path name
filled in by realpath(3).  Specifically, the manual page referred
to three different variations of the same variable, which has no doubt
confused some people.  The variable reference was changed to ``resolved_path''
as it is in /usr/include/stdlib.h

In summary:
     resolvedname	-> resolved_path
     resolved_name	-> resolved_path

Additionally, $FreeBSD$ tags were added to this file for the commit to be
permitted.
2000-01-29 19:22:03 +00:00
Jeroen Ruigrok van der Werven b07b699e93 MFC: rev 1.13, fix typo's. 2000-01-28 20:25:18 +00:00
John Polstra 3c1cbb1da2 MFC 1.3 -> 1.4: Make the default locking work with JDK and pthreads. 2000-01-28 19:28:21 +00:00
Jordan K. Hubbard 87c461b8b5 MFC: dhcp fixes 2000-01-28 02:14:29 +00:00
cvs2svn 5f870591f0 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-01-28 00:44:31 +00:00
Ruslan Ermilov d55c9bafac MFC: (rev 1.24) Track interface MTU with -dynamic option.
PR:		15494
2000-01-27 17:02:52 +00:00
Ruslan Ermilov 3e07b69c64 MFC: (rev 1.25) Minor grammar fix. 2000-01-27 17:01:43 +00:00
Ruslan Ermilov 37b41c8c60 MFC: (rev 1.83) Notify user processes about interface's MTU change. 2000-01-27 16:54:57 +00:00
Ruslan Ermilov dff5946e45 MFC: (rev 1.5) Fixes for 2nd part of bin/5604. 2000-01-27 16:32:59 +00:00
Kazutaka YOKOTA 38e918efed YAMFC: Make the mouse cursor char code configurable via the CONS_MOUSECTL
ioctl.

PR: kern/15996
Submitted by: Kelly Yancey <[email protected]>
2000-01-27 13:16:30 +00:00
Archie Cobbs 015f28e9c9 MFC: add control message ASCII conversion for this node type. 2000-01-27 01:34:06 +00:00
Josef Karthauser 0976226495 [MFC] Fix header page supression for remote print queues (see revision 1.32). 2000-01-26 23:35:12 +00:00
Archie Cobbs 8e0a13e928 MFC: (rev. 1.4): Document inherent memory leak 2000-01-26 22:13:18 +00:00
Archie Cobbs 3216aee801 MFC: Add a reference to ng_ether(8). 2000-01-25 20:36:10 +00:00
Archie Cobbs 17217cf91d Add a reference to ng_bpf(8). 2000-01-25 20:33:25 +00:00
Archie Cobbs 21508891aa MFC: new man page ng_ether(8) 2000-01-25 20:29:08 +00:00
cvs2svn 76107bb919 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-01-25 20:26:53 +00:00
Jordan K. Hubbard 5f81dc15ed MFC: stupid bug fix 2000-01-25 19:15:19 +00:00
Kenneth D. Merry f778d3d6d0 MFC, rev 1.24: When autosense fails, make sure we retry the command.
PR:		kern/15975
Submitted by:	Carl Mascott <[email protected]>, n_hibma
2000-01-25 17:47:10 +00:00
Ruslan Ermilov 0f8cfacf5b MFC: (rev 1.41) only report a true default of 0.0.0.0/0 as "default". 2000-01-25 15:29:14 +00:00
Jordan K. Hubbard f6ad73e2f9 MFC: http fixes, anon ftp 2000-01-25 05:58:05 +00:00
Roger Hardiman 7ad388e751 MFC: Update to driver release 2.07 2000-01-25 02:48:12 +00:00
Matthew Dillon 0cbe72ab43 MFC lpd.c 1.12, fix type-o. The wrong buffer's last element was being
zero.  A review of the code indicates that this bug had no effect on
    the program (no security issues), but should be fixed anyway.
2000-01-25 02:05:56 +00:00
John Polstra 3f480820b9 MFC 1.41 -> 1.42: Treat white space as a separator in LD_PRELOAD. 2000-01-25 01:43:29 +00:00
Matthew Dillon fa41ce7a8a MFC cmds.c 1.14 - fix 'start' command. 2000-01-24 23:35:10 +00:00
Matthew Dillon cd25efcb6b MFC vm_map.c 1.185, fix deadlock between msync() and vm_fault().
Reviewed by:	 Paul Saab <[email protected]>
2000-01-24 21:11:40 +00:00
David E. O'Brien 232560b328 MFC: rev 1.9 (Only log real changes to configuration state)
Motivated by:	beer
2000-01-24 00:04:04 +00:00
Michael Haro 8e6a7ff90a MFC: 1.23 (df -hH flags) minus 1.22 (-a flag) 2000-01-23 03:19:34 +00:00
Warner Losh 68778bc824 MFC: 1.81.
Bad style fixes corrected.
2000-01-21 07:01:21 +00:00
Brian Feldman 904f26988a MFC: Fix style bugs in the last commit. 2000-01-21 02:54:13 +00:00
John Polstra 0c897e19f5 Sync with -current: add locking support to the dynamic linker. 2000-01-21 02:31:53 +00:00
Archie Cobbs 6ce074034f MFC: document netgraph(4) support 2000-01-21 02:09:15 +00:00
Archie Cobbs 126243fab5 MFC: remove unimplemented "control" netgraph hook 2000-01-21 02:02:04 +00:00
Warner Losh 01bb9b7154 Backport procfs special case code. 2000-01-20 22:01:56 +00:00
Kazutaka YOKOTA 7e7054be8b YAMFC: merge GlidePoint support from sys/isa/psm.c rev.1.16
in -CURRENT.
2000-01-20 13:27:03 +00:00
Robert Watson 892b8bbdea MFC of Diamond HomeFree support continued. This file was missed in a previous
commit, so PCI forms of the card were not probed.  Should now be fixed.
2000-01-20 06:17:00 +00:00
Archie Cobbs e1f5235e63 MFC: (rev. 1.33) Fix an #ifdef that should have been and #ifndef. 2000-01-20 01:51:06 +00:00
Yoshihiro Takahashi 854b81b780 Merge from sys/i386/isa/clock.c revision 1.129.2.6. 2000-01-19 13:06:59 +00:00
Yoshihiro Takahashi 2dbcdb4c5b Merge from sys/i386/isa/if_ed.c revision 1.148.2.5. 2000-01-19 13:05:15 +00:00
Ruslan Ermilov 04efa6a58b MFC: fix a typo: ${.MAKE} -> ${MAKE} 2000-01-19 11:05:18 +00:00
Ruslan Ermilov 720d474924 MFC: Do not set the default terminal type to "su", leave it empty.
PR:		bin/5084
2000-01-19 11:00:32 +00:00
Bill Paul b1fca83771 MFC: close PR 16028 (fix zero length record test) 2000-01-19 06:14:41 +00:00
Chris Costello 40f769fcc5 MFC: Document KERN_QUANTUM.
PR:		15637
2000-01-19 05:39:48 +00:00
Chris Costello e72be83707 MFC: Document isnanf() for determining whether a float is NaN (``Not-a-
Number'')

PR:		13878
2000-01-19 05:05:19 +00:00
Chris Costello 606674c000 MFC: Document truncation in format string at NUL characters.
PR:		15929
2000-01-19 04:20:16 +00:00
Robert Watson 1e02455ee5 MFC: support for Am79C978 (AMD PCHome/PCI ethernet adapter)
http://www.amd.com/products/npd/overview/homenetworking/intro.html

Approved by: paul
PR:             kern/12275
2000-01-19 01:31:12 +00:00
Nick Hibma b1ca5dd522 MFC: rev.1.36: vmstat -i reports negative counts
Reminded By:	dan
2000-01-18 17:39:38 +00:00
Luigi Rizzo c295c22676 MFC: ipfw changes to support new dummynet and ipfw features.
Also, significantly restructured manpage with more examples.
2000-01-18 16:37:28 +00:00
Bruce Evans bb8b6440de MFC (1.139: don't panic for `sysctl -w machdep.tsc_freq=N' when the
TSC is present but not used, etc.).

This bug affects releases 3.2, 3.3 and 3.4.

PR:		16113
2000-01-18 16:28:11 +00:00
Luigi Rizzo 6392d0d7f4 Various MFC:
* update dummynet to the new code in 4.0, and cleanup call interface
  (affects ip_dummynet.c ip_dummynet.h ip_input.c ip_output.c)
* various cleanup of ipfw code, including dummynet hooks, support for
  masks on UDP/TCP ports, and removal of ip_nat hooks as in 4.0
  (affects ip_fw.c ip_fw.h raw_ip.c)
The new dummynet code is thanks Akamba Corp.
2000-01-18 16:03:57 +00:00
David E. O'Brien ba649e8ef8 MFC: SVR4 and OSF/1 enabling in configuator, and X11 install using the
Port.
2000-01-18 15:52:35 +00:00
Luigi Rizzo facc25fec9 fix a potential null pointer dereference when bridging 2000-01-18 14:19:39 +00:00
Luigi Rizzo 74fb59cba9 Add bridging support to the 'rl' driver 2000-01-18 14:14:46 +00:00
Luigi Rizzo 2d460fd777 fix bridging support for potential null dereference 2000-01-18 14:12:52 +00:00
Luigi Rizzo c2d525e306 Temporary fix for bridging when used without ipfw.
bdg_forward() might consume the mbuf and drivers would dereference
a null pointer.
Fixes to individual drivers will be committed shortly. Note that
the 'de' driver will _not_ be fixed soon and is unusable with
bridging.
2000-01-18 14:07:13 +00:00
cvs2svn afe0c56862 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-01-17 11:53:55 +00:00
David E. O'Brien 0d63fe1512 These left overs from v1.25 aren't used in in 1.28. 2000-01-17 11:37:49 +00:00
Kris Kennaway 5f7e7d9bd0 MFC: Create tempfiles securely 2000-01-17 06:45:01 +00:00
John Polstra cc3b45d012 MFC 1.1 -> 1.2: Fix error message that referred to RADIUS instead of
TACACS+.

Submitted by:	Alexey Zelkin <[email protected]>
2000-01-17 04:27:39 +00:00
Seigo Tanimura 544128b309 MFC: Add P-III(Coppermine). 2000-01-15 06:29:41 +00:00
Alfred Perlstein fb71c1c9a8 include proc.h to get curproc used in last revision. 2000-01-14 20:49:01 +00:00
Alfred Perlstein 339bf06464 MFC 1.25 (fix out of space panic with softdep)
Approved by: mckusick
2000-01-14 16:36:54 +00:00
Dag-Erling Smørgrav 1ac95846a0 I really don't think receipt a stray UDP packet justifies logging a message
at the LOG_EMERG (aka. "system is unusable") priority level.
2000-01-14 15:29:00 +00:00
Sheldon Hearn a814cf8ee8 (null commit)
The previous commit included:

MFC rev 1.16: Add a missing .El macro.
2000-01-14 11:20:04 +00:00
Sheldon Hearn 6e0fa6c550 MFC: Incorporate the builtin.1 manpage and its MLINKS.
Remove the cd(1) and wait(1) manual pages (for which MLINKS are
	created instead.
     Fix some mark-up issues in csh(1) and add a builtin(1) xref to
	csh.1

These changes should have been committed along-side those committed
with the log message above, but were forgotten.
2000-01-14 11:15:33 +00:00
Marcel Moolenaar a6816107b8 Implement linux_rt_sigsuspend. 2000-01-13 17:35:43 +00:00
Marcel Moolenaar 88b672eb13 Implement linux_rt_sigsuspend 2000-01-13 17:26:19 +00:00
Jeroen Ruigrok van der Werven b9e8b732d7 MFC: Fix dhclient-exit-hooks location. (PR 14253)
Add $FreeBSD$ CVS identifier.

PR:		14253
Submitted by:	Arcady Genkin
2000-01-13 17:20:53 +00:00
Jeroen Ruigrok van der Werven b79c4bd10d MFC: Compound MFC:
rev 1.7: Change ``from'' to ``to'', addresses PR 15729
	rev 1.8: Correct placement of $FreeBSD$ CVS identifier.
2000-01-13 14:32:22 +00:00
Jeroen Ruigrok van der Werven 141c29c28c MFC: Add the LSI-Logic 53C875e and the DawiControl DC2976UW.
PR:		15744
Submitted by:	Sascha Blank <[email protected]>
2000-01-13 13:59:03 +00:00
Ruslan Ermilov 147891cb4c MFC: rev 1.52 - Make hostname comparisons case insensitive.
rev 1.54 - Fix page fault in -vv mode (PR 16098).
2000-01-13 13:13:22 +00:00
Jeroen Ruigrok van der Werven 3b663707fa MFC: Compound MFC of
rev 1.60: addresses PR 15980
	rev 1.61: crossreference of dhclient(8) in SEE ALSO
	rev 1.62: Fix old style /fB /fR emphasis to the correct mdoc
		  usage
	rev 1.63: Add dhclient(8) crossreference to the dhcp_flags
		  section.
2000-01-13 13:11:11 +00:00
Sheldon Hearn 200ff3e970 MFC rev 1.76: Match "promiscous mode enabled" warnings with "disabled"
warnings.
2000-01-12 15:50:57 +00:00
Jeroen Ruigrok van der Werven 1a7d5385e1 MFC: We do not support the -B option.
PR:		15925
Submitted by:	Thierry Herbelot
2000-01-12 14:52:27 +00:00
Jordan K. Hubbard d320c87a91 MFC: upgrade to XFree86 3.3.6 2000-01-12 10:25:39 +00:00
Ruslan Ermilov dc966eecbd MFC: Fix page fault when diverting packets with IP options. 2000-01-11 16:18:05 +00:00
Sheldon Hearn 0b7c8d574e MFC rev 1.22: Fix bogon in previous commit. 2000-01-11 13:42:08 +00:00
Sheldon Hearn efd26ccf70 MFC rev 1.21: Replace a silly error message with a sensible one. 2000-01-11 12:38:36 +00:00
Ruslan Ermilov 45974c9303 MFC: Do not dereference a null pointer.
PR:		15318
2000-01-11 12:31:04 +00:00
Ruslan Ermilov 065c040f9c MFC: Put missing CVSHeader reference in a switch. 2000-01-11 12:23:31 +00:00
Ruslan Ermilov 7d8fcd248a MFC: Minor display fix. 2000-01-11 12:01:36 +00:00
Jeroen Ruigrok van der Werven e2232742b1 MFC: Change /usr/src mention to /usr/doc.
PR:		15974
Submitted by:	Vivek Khera <[email protected]>
2000-01-11 10:51:23 +00:00
Rodney W. Grimes 3e76a5f7a8 Sort these to match mtree output. 2000-01-11 08:42:40 +00:00
Rodney W. Grimes 83ff50187c Cleanup white space (remove all tabs) to minimize spaming of -current
when chunks of these files are copied.
2000-01-11 08:31:34 +00:00
Rodney W. Grimes e981b825a1 Cleanup white space (remove all tabs) to minimize spaming of -current
when chunks of these files are copied.
2000-01-11 08:24:02 +00:00
Daniel Baker fc09c55809 MFC rev 1.42:
Include a note below the example qmail entry that mentions that inetd is
  no longer the correct way to have qmail handle incoming qmail smtp
  connections.  Also provide a url to the correct method.
2000-01-10 20:16:51 +00:00
Peter Wemm 4e85d9576b MFC rev 1.6 - add $TTL due to bind complaints. 2000-01-10 15:32:44 +00:00
Alexey Zelkin cb5e2dfb61 MFC: rev 1.17, add `.Nm rrestore' to NAME section 2000-01-10 12:32:02 +00:00
Alexey Zelkin ac2ec0c5ce MFC: rev 1.9, add .Nm fastboot' and .Nm fasthalt' to NAME section. 2000-01-10 12:25:34 +00:00
Alexey Zelkin 139f25b71b MFC: rev 1.16, add `.Nm red' to NAME section. 2000-01-10 12:22:18 +00:00
Alexey Zelkin 32fbe64dba MFC: rev 1.24, add `.Nm rdump' to NAME section. 2000-01-10 12:19:17 +00:00
Alexey Zelkin 651849d8f1 MFC: fix typo: MAINAINER -> MAINTAINER 2000-01-10 11:41:21 +00:00
Thomas Gellekum 0969b037eb MFC: -Wall and style(9) cleanup.
Reviewed by:	deischen
2000-01-10 10:14:41 +00:00
Thomas Gellekum 42725c6413 MFC: Better stack allocation.
Reviewed by:	deischen
2000-01-10 10:11:54 +00:00
Thomas Gellekum 6262c4ad76 MFC: GDB support.
Reviewed by:	deischen
2000-01-10 10:07:03 +00:00
Thomas Gellekum f215018ac6 MFC: Use growable stacks.
Reviewed by:	deischen
2000-01-10 10:03:06 +00:00
Yoshihiro Takahashi cfe5a05cf0 Merge from sys/i386/conf/GENERIC revision 1.143.2.25. 2000-01-10 02:45:41 +00:00
David E. O'Brien da52639581 MFC: rev 1.239 (Fdisk menu reordering) 2000-01-09 17:00:01 +00:00
Peter Wemm da0ebf73b9 MFC rev 1.2 - consistantly handle -d directory overrides the way the rest
of cvs handles it.  This fixes the "files/md5 got committed but Makefile
did not" bug when checking out locally and committing remotely.
2000-01-09 14:33:39 +00:00
Alexey Zelkin 3ffe5780cc Remove binary files from source tree 2000-01-09 12:57:41 +00:00
David E. O'Brien cd4e9023f0 Add the `sym' SCSI driver. Commented out in GENERIC as I have no way of
testing if `ncr' and `sym' can co-exist in a 3.x machine.  Uncommented of
course in LINT.
2000-01-08 18:39:49 +00:00
Kenneth D. Merry db2caf3723 MFC, Fix Bus Device Resets from userland, and specifically from camcontrol.
camcontrol.c:	rev 1.16, 1.17, 1.18
cam_xpt.c:	rev 1.73

The camcontrol and xpt changes switch XPT_RESET_DEV CCBs to be routed
through the pass(4) driver instead of the xpt(4) driver.

Note that this changes the function code for XPT_RESET_DEV.  Normally, this
would require a CAM version bump, and thus would break all userland
programs that use the pass/xpt drivers.  In this case, however, I'm not
bumping the version number.  A version number change is not necessary
because XPT_RESET_DEV CCBs didn't work before.

In any case, if someone tries to use an old version of camcontrol with the
new kernel to reset a particular device, they'll actually see improved
functionality, since they'll just get back an error instead of a hung
machine.

Submitted by:	luoqi (for -current)
Tested by:	Carl Mascott <[email protected]>
2000-01-08 04:15:53 +00:00
Alexey Zelkin f7fd4bf5e7 MFC: rev 1.27, fix typos 2000-01-07 13:21:26 +00:00
Alexey Zelkin b3eafb034a MFC: modc(7)'fy, add required Xrs to some pages and sort SEE ALSO Xrs 2000-01-07 13:17:02 +00:00
Alexey Zelkin 2b6ee14154 MFC: rev 1.10, Document a waring that tunefs(8) emits when enabling/disabling
soft updates on an unmounted filesystem.

PR:             docs/15657
Submitted by:   Mark Ovens <[email protected]>
2000-01-07 13:06:01 +00:00
Alexey Zelkin 6e8dfbdf40 MFC: rev 1.8, mdoc(7)'fy 2000-01-07 12:59:33 +00:00
Alexey Zelkin a54d9ea19e MFC: rev 1.18, Teach .Os about 3.4-R, 3.5-R and major version numbers 2000-01-07 12:56:49 +00:00
Alexey Zelkin 2133b353b8 MFC: rev 1.23, Teach .Fx about 3.4-R and 3.5-R 2000-01-07 12:55:34 +00:00
Alexey Zelkin 14c83291f5 Add manpages for microtime(9) and microuptime(9) families and tvtohz(9)
to RELNENG_3 branch.

PR:		docs/15889
2000-01-07 12:46:07 +00:00
cvs2svn 921d558ebb This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 2000-01-07 12:43:00 +00:00
Alexey Zelkin aa51f307f0 MFC: rev. 1.6, place #include's and $NetBSD$ tag to appropriate places
PR:		docs/15959
Submitted by:	Jonathan Hanna <[email protected]>
2000-01-07 12:20:12 +00:00
Warner Losh 7c4c617187 Gut this file. It contains obsolete information and has been
unmaintained for some time now.  Add note pointing people to jkh if
they want to maintain it in -stable.  I plan to remove it from this
branch if no one has come forward by Feb 15, 2000.
2000-01-06 17:39:38 +00:00
Peter Wemm 55856a8eca MFC: avoid breaking filenames with spaces in to seperate arguments. 2000-01-06 14:29:08 +00:00
Mark Murray b86387af72 MFC: Don't screw users over - give them some better examples. 2000-01-06 13:57:58 +00:00
Mark Murray ed46ec1a77 MFC: lots more PAM examples so we don't screw folk over. 2000-01-06 13:49:46 +00:00
Jordan K. Hubbard 1febd401bd MFC: handle quoted packages. 2000-01-06 04:14:52 +00:00
Archie Cobbs 1aabcc1078 MFC: (rev 1.15) fix a few obscure memory leaks. 2000-01-05 20:37:28 +00:00
Jordan K. Hubbard d156d983f7 MFC: various late improvements. 2000-01-05 20:35:02 +00:00
Peter Wemm 5c127cfca4 MFC: quote filename variables in vi recovery 2000-01-05 09:18:20 +00:00
Archie Cobbs 9b5873152b MFC: (rev 1.2) race condition caused by missing splnet()'s 2000-01-04 22:12:43 +00:00
Thomas Gellekum e5843103ed MFC: Fix signal handling.
Reviewed by:	deischen

Fix some botches I introduced in the last commits.
2000-01-04 11:02:54 +00:00
Thomas Gellekum 65dd9d585c MFC: Avoid an infinite loop if the last iov_len is 0.
Reviewed by:	deischen
2000-01-04 10:45:47 +00:00
Thomas Gellekum e441bad0f8 MFC: Cancellation functions.
Reviewed by:	deischen
2000-01-04 10:42:28 +00:00
Thomas Gellekum df83ab9e9c MFC: make pthread_rwlockattr_setpshared POSIX compliant.
Reviewed by:	deischen
2000-01-04 10:28:39 +00:00
Thomas Gellekum fe7f9ec6c1 MFC: Add rand_r and readdir_r.
Reviewed by:	deischen
2000-01-04 10:20:43 +00:00
Thomas Gellekum a812a566d0 MFC: Fix description for EINVAL.
Reviewed by:	deischen
2000-01-04 10:16:22 +00:00
Thomas Gellekum 4f1fbf8406 MFC: Fix description of the _thread_autoinit_dummy_decl trick.
Reviewed by:	deischen
2000-01-04 10:14:03 +00:00
Thomas Gellekum 527df14675 MFC: Fix copyrights (s/REGENTS/AUTHOR/). Add $FreeBSD$.
Reviewed by:	deischen
2000-01-04 10:03:52 +00:00
Satoshi Asami d01f822824 MFC 1.57 (silence mtree).
Reviewed by:	jkh (this and the version in HEAD, obviously)
2000-01-03 23:00:38 +00:00
Guido van Rooij 53ceccf1e4 MFC: new -L option to look at the size of the listen queues.
While we're at it: add $FreeBSD$ to netstat.h
2000-01-03 19:05:20 +00:00
Archie Cobbs 2c9e702f24 MFC: rev. 1.8: typos and rewording 2000-01-03 18:39:23 +00:00
Jordan K. Hubbard 88349821a9 MFC: print mac addrs properly. 2000-01-03 17:49:34 +00:00
Yoshihiro Takahashi 996a586a16 MFC: Added the bd_getbigeom function. 2000-01-03 15:31:17 +00:00
Greg Lehey 4911007aae MFC: Don't forget the 'stripe' and 'mirror' keywords when we turn
debugging off.

Reminded-by: "Matthew N. Dodd" <[email protected]>
2000-01-02 23:23:05 +00:00
Steve Price 4e67f750fb Revert the previous commit. We don't have %Ef support in the data files
for this branch yet.  This was causing coredumps when LANG was set to
something other than empty or "C".

Many thanks to Przemyslaw Frasunek <[email protected]> for
helping me diagnost this problem.
2000-01-02 23:18:00 +00:00
Tim Vanderhoek dc89afbb5d CFC: .Xr pkg_version 1 2000-01-02 17:56:51 +00:00
Ruslan Ermilov 46c1d2d37d MFC: Add libcrypt.
PR:		14842
2000-01-02 11:40:28 +00:00
Ruslan Ermilov e5d94f1bd5 MFC: Fix typos 1999-12-31 12:20:57 +00:00
Ruslan Ermilov e6959636b0 MFC: Update to GNU grep 2.3 1999-12-31 09:56:08 +00:00
Tim Vanderhoek 449fe084ed MFC: grammo and typo 1999-12-30 13:03:45 +00:00
Ruslan Ermilov 576727111c MFC: Make cloning mask sockaddr (genmask) possible. 1999-12-30 09:17:22 +00:00
David E. O'Brien 15b8715b6e MFC: rev 1.289: `sym' SCSI controler driver. 1999-12-30 06:54:14 +00:00
David E. O'Brien b8e6af27bc MFC: rev 1.180: `sym' driver options. 1999-12-30 06:30:59 +00:00
David E. O'Brien e7f0c16771 MFC: add the `sym' SCSI controler driver. 1999-12-30 06:20:08 +00:00
cvs2svn a4b31aaa27 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-12-30 06:19:11 +00:00
Steve Price 2a27fdd139 MFC: describes FreeBSD's GNATS categories. 1999-12-29 23:16:08 +00:00
Steve Price bc96fab59f MFC: escape the ':' character and add $FreeBSD$ tag 1999-12-29 22:24:22 +00:00
David E. O'Brien 620958e570 MFC: verbose processing 1999-12-29 19:55:09 +00:00
David E. O'Brien 709bac7a11 MFC: verbose processing. 1999-12-29 19:41:05 +00:00
David E. O'Brien cd10f53a17 MFC: unlink(1) SUSv2 compliance. 1999-12-29 19:39:46 +00:00
David E. O'Brien d56f467695 MFC: 1. verbose processing 2. link(1) SUSv2. 1999-12-29 19:37:50 +00:00
Robert Watson ca5f3f4d59 MFC rev 1.26: silence spurious libc DNS warnings on receiving DNSsec T_SIG
PR:		bin/15056, bin/7352
Reviewed by:	eivind, peter
1999-12-29 16:52:07 +00:00
Sheldon Hearn b045cfea0f MFC rev 1.2: Conditionalize on __i386__ instead of i386 .
Added $FreeBSD$ to satisfy commit_prep.pl .

PR:		misc/15730
Reported by:	Brooks Davis <[email protected]>
1999-12-29 14:07:20 +00:00
Jordan K. Hubbard 2404c31a4a MFC: check distribution list. 1999-12-29 01:50:11 +00:00
Jordan K. Hubbard 1d990fe5c0 MFC: eliminate trailing slashes in mount targets. 1999-12-28 21:00:25 +00:00
Sheldon Hearn cd63fd9e45 MFC rev 1.29: Allow "[" to be called with a path. 1999-12-28 09:36:30 +00:00
Peter Wemm 89192264b6 MFC Fix typo "," -> ";"
PR:		15696
Submitted by:	Takashi Okumura <[email protected]>
1999-12-27 16:05:11 +00:00
Yoshihiro Takahashi d8e3b1b523 MFC: rev 1.149.
- Cut down amount of memory in 64MB.
  - Don't perform destructive memory inspection for 15 - 16MB system area.
1999-12-27 12:26:39 +00:00
Jeroen Ruigrok van der Werven 58f8b2da83 MFC: Fix some typo's
PR:		15678
Submitted by:	Christian Weisgerber <[email protected]>
1999-12-27 11:06:52 +00:00
Julian Elischer 93d9ac0524 MFC reset of Zoom modem 1999-12-27 08:41:36 +00:00
Yoshihiro Takahashi 65e33fca0a MFC: Added Allied Telesis SIU-98-D support. 1999-12-27 06:31:00 +00:00
Seigo Tanimura 4c3fad6dc9 MFC: Add support of SB for PC98 into VoxWare 3.5, and more $FreeBSD$.
Submitted by:		T.Yamaoka <[email protected]>
Pressed to review by:	nyan
1999-12-27 04:44:23 +00:00
Jordan K. Hubbard 53b4aac735 Fix an unfortunate single-character typo.
Submitted by:	Adrian Pavlykevych <[email protected]>
1999-12-25 03:28:51 +00:00
Sheldon Hearn a572015bbb MFC rev 1.8: Change <floatingpoint.h> to <ieeefp.h>. 1999-12-24 09:16:00 +00:00
Sheldon Hearn 5d16427208 MFC rev 1.2: Add blacklist support.
These files were taken off the vendor branch in rev 1.2. :-(
1999-12-23 18:47:06 +00:00
John Baldwin 6c1d9a4851 Add missing function prototype for mkstemps().
Add $FreeBSD$ while I am here.

Forgotten by:	obrien
1999-12-23 17:46:52 +00:00
Daniel C. Sobral 3a75c7aa9e MFC: configApache is no more and is not coming back in this incarnation.
Also, configSamba has the same fate.
1999-12-23 10:12:01 +00:00
Jeroen Ruigrok van der Werven de1ce24fb6 MFC some typo's and manpage corrections.
Please note that the whole manpage couldn't just be MFC'd since I was
unsure about a couple of options in STABLE's vinum.
Please report functions which I forgot to MFC.

Fixes PR:	14074
Submitted by:	Munehiro Matsuda <[email protected]>

OK'd by: grog
1999-12-22 15:43:32 +00:00
Sheldon Hearn 6d5b253f5b MFC rev 1.1.1.3: Fix printf zero-padding. 1999-12-22 15:05:28 +00:00
Alexey Zelkin 5c5ed0e700 MFC: rev. 1.148, add share/examples/diskless/* 1999-12-22 07:38:27 +00:00
Jordan K. Hubbard f9b1fcf0ec MFC: brain-o fix for the Custom install option.
Apologies also to the submitter for forgetting to attribute him
in the commit to -current; rcvs doesn't present those nifty
templates for PR and Submitter lines and I forgot it. :(

Submitted by:	Jack O'Neill <[email protected]>
1999-12-22 01:49:08 +00:00
John Baldwin 6b9fb9e2bf MFC rev 1.10: mention hostname variable in /etc/rc.conf
Reviewed by:	chris (not the fictitious cmc character)
1999-12-22 01:35:49 +00:00
Archie Cobbs 21d63da889 MFC: minor typo 1999-12-22 01:26:19 +00:00
Alexey Zelkin 897f2b2b40 MFC: Bring diskless examples to RELENG_3
PR:		conf/12026
Submitted by:	Brooks Davis <[email protected]>
1999-12-21 16:58:39 +00:00
Sheldon Hearn 376103050c MFC rev 1.48: Fix redirection for allscreens_flags. 1999-12-21 10:55:56 +00:00
Sheldon Hearn 7ace07dc22 MFC: Do not break if IPFW is not compiled into the kernel. This fix
is a partial merge of rev 1.34.

PR:		13909
Submitted by:	Peter Jeremy <[email protected]>
1999-12-21 09:46:02 +00:00
Sheldon Hearn 23ac204b0c MFC rev 1.35: don't report blank / comment lines as passwordless accts. 1999-12-21 09:28:29 +00:00
Julian Elischer a60405c1c4 MFC: Man page style changes.
Reviewed by:	[email protected]
Submitted by:	Alexey Zelkin <[email protected]>
1999-12-21 01:31:18 +00:00
Archie Cobbs 6b76e0be9f MFC: Fix a '&&' that should have been a '&' (rev. 1.21) 1999-12-21 00:04:09 +00:00
Justin T. Gibbs cc12ebd9f3 MFC: Rev 1.39 - Fix argument reversal bug. 1999-12-20 21:38:48 +00:00
Alexey Zelkin 8e73cff99d MFC: Guatemala phones, Simferopol phone
PR:		misc/13275 (Guatemala fixes)
1999-12-20 16:45:53 +00:00
Sheldon Hearn b5d7f294ec MFC: Indicate that set is a builtin command for sh(1) as well. 1999-12-20 16:31:42 +00:00
Alexey Zelkin 9528a07056 MFC: s/tcpdump/traceroute
PR:             docs/14523
1999-12-20 16:10:53 +00:00
Jeroen Ruigrok van der Werven 5d5b20f7b5 MFC: rev 1.10 of src/gnu/usr.bin/man/man/man.man
This includes adding a $FreeBSD$

PR:		docs/15557
Reported by:	John Meshkoff <[email protected]>
1999-12-20 14:49:07 +00:00
Jeroen Ruigrok van der Werven 4d45bb1716 MFC: rev 1.2 of mk_cmds.1
PR:		docs/15579
Submitted by:	Noriaki Mitsunaga <[email protected]>
1999-12-20 09:41:41 +00:00
Jordan K. Hubbard 8c053ad76b MFC: proper return status. 1999-12-20 00:16:48 +00:00
Jordan K. Hubbard 588b1cfac5 MFC: add /usr/lib/compat to ldconfig list. 1999-12-19 23:02:39 +00:00
Jordan K. Hubbard da53285e29 MFC: router fixes. 1999-12-19 22:39:29 +00:00
Jordan K. Hubbard 45d1109013 MFC: fix docs. 1999-12-19 22:28:53 +00:00
Jordan K. Hubbard 7b60928ee2 MFC: another aout bogon I missed. 1999-12-19 22:22:27 +00:00
Jordan K. Hubbard 9d3c7cce0d MFC: remove obsolete a.out compat crap; this got missed, somehow, in
earlier MFC's.
1999-12-19 21:17:45 +00:00
Jordan K. Hubbard 8cfe56dbc7 MFC: remove evidence of crack abuse. 1999-12-19 20:41:22 +00:00
Alexey Zelkin 413dc552c4 MFC: rev. 1.15, sync with reality
PR:	docs/15036
1999-12-19 19:15:53 +00:00
Jordan K. Hubbard dee76d0646 MFC: compulsive tweakery 1999-12-19 07:03:02 +00:00
Jordan K. Hubbard 129d643a65 MFC: cosmetics 1999-12-19 06:52:11 +00:00
Jordan K. Hubbard cec837a8a6 MFC: cosmetics and nasty bug fix. 1999-12-19 06:35:26 +00:00
Julian Elischer 3bd43bfa40 MFC: keep both netgraph trees exactly in sync. 1999-12-18 21:48:36 +00:00
Brian Feldman 210e9a26ec MFC: rev.1.12
OpenBSD fts.c, including bug fixes for this gross piece of coding badness.

Approved by:	jkh
Obtained from:	OpenBSD
1999-12-18 04:47:28 +00:00
Jordan K. Hubbard b4f126985a MFC: clear screen here and there. 1999-12-18 02:30:08 +00:00
Jordan K. Hubbard cf9e046bb6 MFC: cosmetic fixes. 1999-12-18 02:04:18 +00:00
Chris Piazza 6bb5dc94cd MFC: 1.13; remove duplicate 1999-12-18 01:27:24 +00:00
Chris Piazza ee2af9d10e MFC rev 1.12, spelling fix 1999-12-18 01:16:27 +00:00
Archie Cobbs 58e00024f1 MFC: Fix bugs in the MP fragment reassembly code 1999-12-17 23:39:37 +00:00
Bill Paul 4410510fc7 Very late MFC: add PCI ID for the 3c450 HomeConnect adapter.
Ok'ed by: jkh (although his ok didn't hit my mailbox until after I went
          to sleep last night, so this commit is a little late; sorry
	  about that people)
1999-12-17 15:58:14 +00:00
Alexey Zelkin c9e956cffd MFC: Fix typos
PR:		docs/14858
1999-12-17 14:49:16 +00:00
Alexey Zelkin 679c86086a MFC: rev. 1.21, document -e flag 1999-12-17 14:44:38 +00:00
Alexey Zelkin 119c692450 MFC: rev 1.8, document -o and -d. Fix SEE ALSO.
PR:		docs/13657
Submitted by:	Zahemszky Gabor <[email protected]>
1999-12-17 14:38:53 +00:00
Sheldon Hearn 6289e01911 Back out previous commit, which broke roller support in moused.
Requested by:	yokota
1999-12-17 09:59:07 +00:00
Jordan K. Hubbard e219367127 Bump __FreeBSD_version
Reminded by:	obrien
1999-12-17 07:48:07 +00:00
Jordan K. Hubbard 5a22c05895 Post-tag, now we're 3.4-STABLE 1999-12-17 07:00:50 +00:00
Jordan K. Hubbard a5feedf4ae Go to -release for tag 1999-12-17 03:03:56 +00:00
Jordan K. Hubbard 7350628a39 MFC: YASSC 1999-12-17 03:00:44 +00:00
Jordan K. Hubbard 0c43e42be8 MFC: DTRT with msgNotify(); 1999-12-17 02:46:34 +00:00
Jordan K. Hubbard ef01f5d711 MFC: real space accelerator char fix. 1999-12-17 02:44:40 +00:00
Kenneth D. Merry 868372d919 MFC, rev 1.18. Fix the example in the bugs section.
Approved by:	jkh
1999-12-17 02:29:05 +00:00
Jordan K. Hubbard 45b6e80b0b MFC: larger defaults 1999-12-17 02:04:10 +00:00
Jordan K. Hubbard 36ad0a332c MFC: No COMPAT3X on alpha. 1999-12-17 01:55:00 +00:00
Jordan K. Hubbard 16fa413cce MFC: DTRT with trailing : args. 1999-12-17 01:54:28 +00:00
Jordan K. Hubbard e14abeefac MFC: fixes for dlopen() which allow mozilla to actually work in -stable.
/usr/bin/id ran just fine after these changes, so jdp says "ship it." :)
1999-12-17 01:47:15 +00:00
Jordan K. Hubbard 1774a29ac5 MFC: extra flags for rtld-elf 1999-12-17 01:39:41 +00:00
Jordan K. Hubbard 06a8802172 MFC: add STAILQ_FOREACH 1999-12-17 01:34:30 +00:00
Jordan K. Hubbard e32acbc4d4 More relnotes fodder. 1999-12-16 23:34:09 +00:00
Luoqi Chen 6dcdee9d65 MFC: Adjust data pointers for untransmitted bytes in fifos when there's
a phase change during data transfer.

Approved by:	jkh
1999-12-16 23:23:56 +00:00
Kazutaka YOKOTA 82ec27c7a3 MFC: fix the three button emulation.
Approved by:jkh
1999-12-16 21:20:16 +00:00
Matthew Dillon b5294b5f54 MFC nfs_serv.c 1.92 - use snapshot of boottime instead of bottime for
version id because boottime itself may change dynamically, especially
    if xntpd is being run.

Approved by:	jkh
1999-12-16 17:03:10 +00:00
Alexey Zelkin f45f9584af MFC: activate amd.4 1999-12-16 16:24:05 +00:00
Jordan K. Hubbard 7a7c364e59 MFC: include loader.help 1999-12-16 00:59:58 +00:00
Jordan K. Hubbard ad9e84a4f1 MFC: correct comment about making a boot floppy, more correct statements
about where 3.x is going.

Submitted by:	Jack O'Neill <[email protected]>
1999-12-16 00:37:33 +00:00
Josef Karthauser 704499d7d3 Disable the Stollmann Tina-dd ISDN device. It doesn't work and
Hellmuth Michaelis's feeling is that it will never be completed.
It was bit rotted in RELENG_3 by my MFC of I4B 0.83 from -current,
and breaks a build of LINT.

It may in due course be removed altogether.  This fix is quick
and easy for the 3.4 release.

Approved by: jkh
1999-12-15 19:35:13 +00:00
Sheldon Hearn 274fc46902 MFC: Accept 4-digit year values.
Approved by:	jkh
1999-12-15 13:57:04 +00:00
Sheldon Hearn 089945d6d0 MFC: Sync with CURRENT's pdksh-derived test(1) utility.
Approved by:	jkh
1999-12-15 13:37:11 +00:00
Sheldon Hearn 61d2549fac MFC rev 1.11: Add missing trailing slash to URL. 1999-12-15 13:12:50 +00:00
Luigi Rizzo f21ae99cfd make sure that crunchgen uses proper environment variables when
building passwd (there is no better way I know to set "make"
variables from crunchgen)

Approved-by: jordan, abial, roger
1999-12-15 11:50:49 +00:00
Alexey Zelkin 7a58de90d2 MFC (rev. 1.80): Fix the problem with non-working static
SLIP with non-default MTU value by reallocating cblocks
after changing the SLIP unit number.

Submitted by:	ru
Approved by:	jkh
1999-12-15 09:17:29 +00:00
Matthew Dillon fa3b3a92ab MFC nfs_serv.c 1.86. Remove too-conservative NFSERR_BAD_COOKIE returns.
Approved by:	jkh
PR:	kern/11470
1999-12-15 05:37:11 +00:00
Jordan K. Hubbard 8066b6dacc MFC: bring across all the new changes for screen updates. I've installed
a few snapshots with them in now and, with very few exceptions, it's
all way better than what I had before.  Those few exceptions will have
an extra screen clear or two added to make things look better.
1999-12-15 01:32:36 +00:00
Matthew Dillon 5d48cda2cb MFC nfs_bio.c 1.82. This MFC does not do the involved changes that were
made in 1.82 to solve the NFS append race, it simply prevents the same
    situation in -stable from causing a panic and solves the lost-dirty-data
    problem.  The append race still exists, however, which means that two
    processes appending to the same file over NFS may wind up overlapping
    their writes.

    Under stable we can use biosize'd buffers, even for buffers that straddle
    the file EOF, so we use this trick in the MFC.  Under current we cannot
    which is the reason why this patch looks quite different from the patch
    in current.

Approved by: jkh
1999-12-14 19:12:19 +00:00
Peter Wemm 79899a86dd The kerberos distribution in -stable is "krb" not "krb4" as in -current..
'make release' broken by:  peter
Pointy hat awarded to culprit by: jkh
1999-12-14 11:46:18 +00:00
Bill Fumerola 60b79c6bd5 MFC: rev1.4 (remove x-ref to itself), add $FreeBSD$ 1999-12-14 11:39:07 +00:00
Alexey Zelkin a1e3eba1e6 MFC: correct compilance notes 1999-12-14 10:40:46 +00:00
Alexey Zelkin ceb735f913 MFC: add manpage for amd(4) driver 1999-12-14 10:33:08 +00:00
Seigo Tanimura 53c3db57d1 MFC:
- Fix the command to launch DMA for 16bit samples.
- Add $FreeBSD$

Tested by:	Steve Reid <[email protected]>
Approved by:	jkh
1999-12-14 06:36:51 +00:00
Jordan K. Hubbard 9ac015cb2a MFC: don't use spaces for accelerators. 1999-12-14 04:20:43 +00:00
Jordan K. Hubbard 1a00baf6e3 MFC: make kerberos4 conditional so we can keep the sysinstall code base more
easily in sync.
1999-12-14 00:47:42 +00:00
Bill Fumerola ad389706c8 MFC: grammar fix. (rev1.9) 1999-12-13 23:47:12 +00:00
Brian Somers 3ccc08308b MFC: Handle PPPoPTY correctly.
Approved by: jkh
1999-12-13 22:40:46 +00:00
Peter Wemm 8e4ba94c27 MFC: cvs 1.10.7, as we run on freefall.
Approved by:	jkh
1999-12-13 20:57:31 +00:00
Andrey A. Chernov 7497b29b56 MFC: fix bug with internal functions when locale is active 1999-12-13 19:16:47 +00:00
Matthew Dillon 417abedd13 MFC nfs_srvcache.c 1.19, fix mbuf leakage that occurs with heavy NFS
loads.

Approved by:	jkh
1999-12-13 17:10:47 +00:00
cvs2svn eba6753dc6 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-12-13 17:01:00 +00:00
Sheldon Hearn 7f641640b7 MFC rev 1.2: Add warning about using stale sysinstall. 1999-12-13 16:32:49 +00:00
Warner Losh 3e737e1af0 Back merge buffer overflow in static buffer 1999-12-13 15:53:13 +00:00
Peter Wemm bb4a06d70e MFC: bind 8.2.2.p5
Urged by:	imp, alfred, and a whole bunch of other folks.
Approved by:	jkh (a few days ago)
1999-12-13 15:08:31 +00:00
Andrzej Bialecki 4483c29996 Let the world know about VGLSetXY and VGLGetXY functions. They were always
present in the library, but somehow escaped the man page.

Reviewed by:	sos
Approved by:	jkh
1999-12-13 10:45:16 +00:00
Martin Cracauer 619e0d9eb3 MFC: Run a run of Linux ldconfig.
Approved-by: jkh
1999-12-13 08:52:19 +00:00
Chris Piazza 37076793ee MFC, sd->da
Also remove an extra capital letter (COnsole)

Approved by: jkh
1999-12-13 06:06:41 +00:00
Daniel C. Sobral 8483485024 MFC, r1.13. Keep fortunes short and to the point. Well, just short. 1999-12-13 05:47:28 +00:00
Matthew Dillon fdbcce4eae MFC nfs_socket.c 1.58 - fix deadlock that can occur with temporary NFS
timeouts when there are multiple outstanding requests.

PR:	kern/15055
Submitted by:	Ian Dowse <[email protected]>
Approved by:	jkh
1999-12-13 04:44:44 +00:00
Jordan K. Hubbard 5862dff1d8 MFC: Bring in all of C. Stephen Gunn's fixes to make VLAN support
actually sort of work in 3-stable.

PR:	kern/15290 kern/13281 bin/14731 kern/15291 kern/15298
1999-12-13 02:02:25 +00:00
Daniel C. Sobral b9cacb3074 MFC. 1999-12-13 01:01:17 +00:00
Jordan K. Hubbard add956c60c MFC: PR#15090 1999-12-12 21:06:56 +00:00
Mike Pritchard 3f3aa81144 MFC: Make the example man pages and mdoc templates consistent with
the mdoc man pages in regards to section headers.

Approved by: jkh
1999-12-12 17:41:57 +00:00
Mike Pritchard e9a408dfd6 MFC: Correctly document the preferred ordering of mdoc section
headers to be consistent with share/examples/mdoc.

Also bring in a fix to the description of the .D1 macro.
1999-12-12 17:35:57 +00:00
Matthew Dillon db0839bbba MFC cvs-supfile 1.25 (add doc hierarchy to make cvs-supfile cover the
entire repository)

Approved by: jkh
1999-12-12 16:47:36 +00:00
Matthew Dillon c27f19768f MFC nfs_nqlease 1.47, nfs_serv.c 1.89, nfs_subs.c 1.87. Prevent panics
in server side abort code when dealing with malformed NFS packets.

Approved by: jkh
1999-12-12 07:16:18 +00:00
Matthew Dillon 5af9d22fdb MFC nfs_bio.c 1.81, nfs_subs.c 1.86, nfs_vnops.c 1.148. Fixed two
rare-occuring bugs in NFS.  First, B_CLUSTEROK must be cleared when
    B_NEEDCOMMIT is cleared since uncommitted dirty buffers may not be
    clustered.  Second, B_NEEDCOMMIT cannot be gratuitously set in
    nfs_flush().  Due to lack of locking a buffer may be added to the
    dirtyblkhd list during the flush and setting B_NEEDCOMMIT can result
    in the buffer's data being thrown away rather then written to the server.

Reviewed by: dg
Approved by: jkh
1999-12-12 06:52:34 +00:00
Justin T. Gibbs 5476c04745 MFC: Update license, fig message-in parsing bug.
Approved by:	jkh
1999-12-12 05:02:32 +00:00
Justin T. Gibbs 1600487f82 MFC: Sync to rev 1.23 (aic7896/97 auto-term fixes)
Approved by:	jkh
1999-12-12 05:01:31 +00:00
Jordan K. Hubbard 345f22121a MFC: correct PART_OFF in label editor and silence various warnings. 1999-12-12 04:58:47 +00:00
Chris Costello fe86da7012 MFC: Add and activate the mk_cmds(1) man page.
PR:		4691
Submitted by:	Jeroen Ruigrok/Asmodai <[email protected]>
1999-12-12 03:04:11 +00:00
cvs2svn 403416acb0 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-12-12 02:43:08 +00:00
Brian Feldman 348216fa17 MFC:
This brings dd(1) completely in line with -CURRENT, save the necessarily
different getfdtype().  See the CVS information from -HEAD for more info,
but big changes are mainly:

1. KNFization, code correctness fixes.
2. Uses the correct variable types for everything, making large numbers
   work correctly.
3. Add the 'g' specifier for multiplying numbers.  So 1g is equal
   to 1024m, and much larger numbers are still possible.

Reviewed by:	bde
Okayed by:	jkh
1999-12-12 01:54:06 +00:00
David E. O'Brien 71dc3c3b92 MFC: rev 1.8 (don't add localhost routes). 1999-12-12 01:17:30 +00:00
Bill Fumerola 0c636e14d0 Update the "pkg_add -r" logic so it works for this release (so long
as the numbering scheme and ftp site layout don't change :->)

Approved by:	jkh
1999-12-12 00:19:57 +00:00
Kenneth D. Merry d8bf6a63eb MFC, rev 1.30
Quirk all Pioneer changers as changers up front, instead of waiting for the
second LUN to show up.

Approved by:	jkh via mjacob
1999-12-11 23:03:03 +00:00
Jordan K. Hubbard b0d3cb17ec Fix an embarassingly uncaught spelling error.
Kindly pointed out by:		"Chris D. Faulhaber" <[email protected]>
1999-12-11 23:01:31 +00:00
Jordan K. Hubbard c1286b19b4 Big MFC of various features + much better description of inetd fix
from David Malone.
1999-12-11 21:04:37 +00:00
Michael Haro afd948d483 MFC: -v flag
Approved by: jkh
1999-12-11 20:33:34 +00:00
John Hay 001e39582a MFC: Move ipxrouted.dmp from /tmp/ to /var/log/.
PR:		13286
Approved by:	jkh
1999-12-11 14:34:45 +00:00
John Polstra 22d3a6ee81 MFC 1.56 -> 1.57: Fix route table leak.
Approved by:	jkh
1999-12-11 13:58:36 +00:00
Archie Cobbs 5edfa7b7ba MFC: add reference to RFC 1702 1999-12-10 19:31:33 +00:00
Andrey A. Chernov 02e520d4f5 MFC: fatal typo fix 1999-12-10 13:28:23 +00:00
Andrey A. Chernov da4b6288aa MFC: fix fatal typo 1999-12-10 13:11:19 +00:00
Sheldon Hearn fa0312bdf8 MFC: Incorporate the builtin.1 manpage and its MLINKS.
Remove the cd(1) and wait(1) manual pages (for which MLINKS are
	created instead.
     Fix some mark-up issues in csh(1) and add a builtin(1) xref to
	csh.1.
1999-12-10 13:03:01 +00:00
Sheldon Hearn 28a40134a1 MFC: Sync with CURRENT, fixing several problems.
Approved by:	jkh
1999-12-10 11:00:49 +00:00
Sheldon Hearn 039dcbd939 Add $FreeBSD$. 1999-12-10 10:32:59 +00:00
Sheldon Hearn ec09157693 Back out previous commit. I know what the problem is, but this isn't
the time to leave ``make release'' broken and I need to go home
right now.

Reported by:	truckman
1999-12-09 14:26:14 +00:00
Yoshihiro Takahashi a9c9ca4e75 Sync with sys/i386/isa/vga_isa.c and sys/dev/syscons/scvidctl.c revision
1.1.2.5 and 1.7.2.4, respectively.

Submitted by:	yokota
Approved by:	jkh
1999-12-09 12:00:30 +00:00
Kazutaka YOKOTA d2884a4f1f Fix CONS_FINDMODE and xxx_query_mode() in the vga and vesa drivers.
Submitted by: jmg

(This fix is slightly different from his original patch, but has
the same effect.)

Approved by: jkh
1999-12-09 10:58:41 +00:00
Sheldon Hearn afbfd4ddc4 MFC: Various fixes. This commit syncs RELENG_3 with HEAD.
Approved by:	jkh
1999-12-09 08:54:32 +00:00
Julian Elischer 9a3551c26b Add the PPTP node 1999-12-09 01:43:47 +00:00
Yoshihiro Takahashi ebfa796835 - Add NEC PC-9801-77 support.
- Change flags value of EC/EP-98X to support Accton EN1646.

Submitted by:	[email protected] (Chiharu Shibata)
Approved by:	jkh
1999-12-09 01:26:27 +00:00
Yoshihiro Takahashi cd3e3376be Sync with sys/dev/syscons/syscons.c revision 1.293.2.10 and 1.293.2.11.
Approved by: jkh
1999-12-09 00:06:48 +00:00
Daniel C. Sobral aaaf88b62c MFC: add /boot. 1999-12-08 22:04:43 +00:00
Julian Elischer 148bd4a9cb Enable pptpgre module (pptp tunnelling support) 1999-12-08 20:33:42 +00:00
Julian Elischer 5804cc9f3f Add options for MFC'd stuff
Netgraph MFC's OK'd by jkh.
1999-12-08 19:46:58 +00:00
Julian Elischer 4d98c3c89e MFC:
New netgraph nodes to support pptp tunnelling
  (still needs ppp daemon support)

  Remove un-needed include files (courtesy phk)

  fixes to Makefiles for vjc module

Obtained from: Whistle source tree via -current
1999-12-08 19:44:14 +00:00
cvs2svn 4f3a8f6d1b This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-12-08 18:55:40 +00:00
Archie Cobbs 3b26e469e3 MFC: Include net/slcompress.c in the build of this module.
Approved by:	jkh
1999-12-08 18:51:42 +00:00
Archie Cobbs e2bb7028d7 Need netgraph/ng_parse.c for options NETGRAPH.
PR:		kern/15317
1999-12-08 18:36:56 +00:00
Marcel Moolenaar 5b1940367b MFC: new syscalls for linux_sigaltstack, linux_ustat and linux_fdatasync
Bugfixes for linux_getcwd and linux_msgctl

Approved by: jkh
1999-12-08 18:35:34 +00:00
Marcel Moolenaar 01eaa8277b Add $FreeBSD$ tags to the generated files.
Approved by: jkh
1999-12-08 18:32:19 +00:00
Sheldon Hearn 4dc462ee20 Upgrade to gawk-3.0.4 in time for 3.4-RELEASE.
The mechanics of this cvs update were discussed with obrien.

Approved by:	jkh
1999-12-08 17:58:01 +00:00
Marcel Moolenaar b4d9a1b506 MFC: sigaltstack, ustat and fdatasync
Approved by: jkh
1999-12-08 17:34:41 +00:00
David E. O'Brien 98415df779 Add prepend_args.c 1999-12-08 15:48:30 +00:00
Alexey Zelkin cc672d0f8e MFC: rev. 1.6, Add note about `mountd -r'
PR:		docs/15067
Submitted by:	Nick Hibma <[email protected]>
1999-12-08 13:19:08 +00:00
Kazutaka YOKOTA 47e4484151 Fix mouse cursor update logic. This bug is only in -STABLE.
Discoverd by: Cy Schubert <[email protected]>
Approved by: jkh
1999-12-08 09:52:26 +00:00
Kazutaka YOKOTA 1c4cc9f5ca MFC from rev 1.328: Fix cursor position calculation.
Approved by: jkh
1999-12-08 09:48:34 +00:00
David E. O'Brien 39031e61e5 MFC: 1.4 (document "X") 1999-12-08 06:43:26 +00:00
David E. O'Brien f24a2ca40b MFC: rev 1.2 (Document that dhclient-script will only set the hostname if
it is unset.)
1999-12-08 06:38:40 +00:00
David E. O'Brien 3c8fbbf5d5 MFC: DIFF_OPTIONS and -o option.
Approved by:	jkh
1999-12-08 06:33:20 +00:00
David E. O'Brien 58b955e032 MFC: -r and -q options.
Approved by:	jkh
1999-12-08 06:30:16 +00:00
Kenneth D. Merry 00605fb558 MFC, rev 1.29
Recognize the Pioneer CD-ROM DRM-6324X as a changer.

PR:		kern/15198
Submitted by:	Don Lewis <[email protected]>
Approved by:	jkh
1999-12-08 05:06:45 +00:00
Kenneth D. Merry 7f45e090d2 MFC, revision 1.95 (partial)
Prevent garbage values from showing up in the PCI device name field in
'pciconf -l' when no driver is assigned.

Peter committed the same fix to current as part of the new-bus merge in
revision 1.95.

Approved by:	jkh
1999-12-08 05:04:11 +00:00
Chris Costello 44fbdde6f6 MFC: Add a cross-reference to the fabs(3) man page.
PR:		docs/15337
Submitted by:	Bruce A. Mah <[email protected]>
1999-12-07 23:14:36 +00:00
Chris Costello 54d781eb05 MFC: - Typo fixes
- Spelling fixes
        - Duplicated paragraph
        - Incorrect (by way of mixing up) information.

PR:		docs/15139
Submitted by:	Kazuo Horikawa <[email protected]>
1999-12-07 22:45:18 +00:00
Luigi Rizzo c27e1bc191 Long overdue patch to make bridging work properly with multicast
and broadcast packets. The previous code did not pullup the headers,
and because the protocol stack likes to NTOH*() fields in the buffer,
this resulted in some cases in bogus packets going onto the wire.

This patch also gives you the ability to define cluster of interfaces
via a sysctl variable, so you can do the bridging separately in
each cluster.

Approved-by: Jordan
1999-12-07 10:28:08 +00:00
Sheldon Hearn e225da4bd9 MFC: Document SysV-like daemon keep-alive facility. 1999-12-07 07:57:58 +00:00
Chris Costello 1ec97bfb26 MFC: Fix a typo (`it'' should be `if'')
Note:   Again, this is a doc fix, and according to Jordan, they're OK for
        commit without his review (unless he's the maintainer).  This will
        be the last commit with this note.
1999-12-07 03:19:22 +00:00
Chris Costello 0f7d840303 MFC: Replace `.Dq Fl o'' in my last commit to `.Dq -o''
Note: Jordan said to me that doc fixes do not need to be sent for
      approval, except to the maintainer of the program.
1999-12-07 02:50:31 +00:00
Archie Cobbs 7ca83a8619 MFC: New netgraph BPF node type
Approved by:	jkh
1999-12-06 22:06:57 +00:00
Josef Karthauser 29d95d24cb MFC: The .com, .org, etc, domains are no longer handled by a
single whois server.  Recent changes to whois use the new
	.whois-servers.net servers to determine which server to use.

	Support has also been added for the Route Arbiter Database,
	and the 6bone whois server.

Approved by:	jkh
1999-12-06 22:05:38 +00:00
Archie Cobbs 0e257c9a20 MFC:
- Move strtoul()/strtoul()/strtoq()/strtouq() functions duplicated
    in various parts of the kernel to their own separate libkern/ files
  - MFC new file sys/ctype.h
  - A couple of netgraph bug fixes

Approved by:	jkh
1999-12-06 21:03:31 +00:00
Archie Cobbs d9846bb9fa MFC: make bpf_validate() and bpf_filter() take a const struct bpf_insn *
Approved by:	jkh
1999-12-06 20:38:24 +00:00
Peter Wemm 2484c3e074 MFC: new PCI device ID for the InBusiness 10/100 card. (an 82559 with
a different PCI device ID in it's eprom - 0x1030 instead of 0x1229)

Reviewed by:	jkh, dg
1999-12-06 20:11:53 +00:00
cvs2svn 8527e0fa19 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-12-06 18:43:33 +00:00
Kris Kennaway f70e934735 MFC: Cleanups, -v option
Approved by:	jkh
1999-12-06 05:00:51 +00:00
Kris Kennaway f671778005 MFC: Cleanups, buffer limiting, usage()
Approved by:	jkh
1999-12-06 04:48:56 +00:00
Kris Kennaway 735efd4ee2 MFC: L10n, fix -s
Approved by:	jkh
1999-12-06 04:43:22 +00:00
Kris Kennaway eaf13cabda MFC: Code cleanups, fix bugs.
Approved by:	jkh
1999-12-06 04:35:06 +00:00
Yoshihiro Takahashi 080b5dd65d MFC: Supported i8251 (internal COM1) FIFO mode.
Approved by:	Jordan K. Hubbard
1999-12-06 03:28:55 +00:00
Chris Costello 5fb6b10971 MFC: - Spelling fix
- Missing file in FILES listing
        - Use .Dq where it belongs.
1999-12-06 01:41:34 +00:00
David E. O'Brien 42d8c16e8a Enter 3.4-RC (Release Candidate). __FreeBSD_version has been set to its
release value, as has __FreeBSD_cc_version.

This commit gives the Ports build cluster a chance to find those ports that
will not configure correctly on 3.4.

Approved by:	jkh
1999-12-05 20:57:58 +00:00
Doug Rabson 2ba36837d9 This file never got properly merged when gdb-4.18 was imported.
Noticed by: Ronald F. Guilmette <[email protected]>
1999-12-05 14:20:29 +00:00
Martin Cracauer 5413271fa3 MFC: Formatting fixes from docs/15265 (one MFC, one -stable specific fix) 1999-12-05 12:36:19 +00:00
Martin Cracauer f74b90cd8a MFC: make '|' char visible 1999-12-05 12:16:26 +00:00
Luoqi Chen 4aa19e50d2 Reinstate the aic driver.
PR:		conf/15187
1999-12-05 01:56:42 +00:00
Luoqi Chen 3067e3a7b1 MFC: Disconnect and tagged queueing now really work. Also fix a bug that's
causing problems to slow devices.
1999-12-04 22:49:48 +00:00
Martin Cracauer 0e1103a22c MFC: Sheldon's manpage fixes. 1999-12-04 17:19:07 +00:00
KATO Takenori ee4ef88df7 MFC: Fix /sbin/init vs kern.securelevel incoherence (rev 1.19 of
init.8 and rev 1.36 of init.c).

PR:		14941
1999-12-04 14:20:51 +00:00
KATO Takenori 71afe28aa5 MFC: PC-98 kernel should not write the warm boot magic to the BIOS
work area (revision 1.132.)
1999-12-04 13:13:58 +00:00
John Baldwin e0d43d8c46 MFC Revision 1.36
Fix man so that it does not allow command line arguments to expand when
executing apropos or whatis.  This prevents `man -k ';echo foo'` from
executing `echo foo` and causes apropos to print an error message instead.

Add $FreeBSD$ while I am here.

Reviewed by:	jkh
1999-12-04 06:22:15 +00:00
Kris Kennaway abd047d9ca MFC: Buffer overflow 1999-12-04 02:13:11 +00:00
Matt Jacob 4826a70d92 MFC (in haste): put back in a prefatory TUR when tape is *not* mounted. 1999-12-04 01:15:59 +00:00
Matt Jacob ccea7f5333 MFC: Put an upper bound on the number of BUSY status retries we'll do. 1999-12-04 00:14:37 +00:00
Matt Jacob 24da020e9a MFC (hastily because of 3.4 closure): Add some shorthand timeout defines.
Add a QFROZEN_RELEASE macro. Stop a potential race condition in saopen.
Various other things like test reads at mount time to determine type
of media inserted, clearing up some missing xpt_release_ccb things, clearing
up a bit of saerror so we can see errors printed before it's swallowed
by cam_periph_error. Fix some compression code issues.
1999-12-03 23:22:00 +00:00
Yoshihiro Takahashi ce7246bbd7 MFC: Supported to sound beep. 1999-12-03 13:23:16 +00:00
Yoshihiro Takahashi b9224684b1 MFC:
pc98/pc98/atapi.c
	Fixed to support slave devices.
	Ignore the device that has strange model strings.

i386/isa/atapi.c
	Removed pc98 codes.
1999-12-03 13:03:00 +00:00
cvs2svn e3c9193f02 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-12-03 12:56:22 +00:00
Sheldon Hearn 98b4dda153 Update a few broken URLs and source file references.
Homogenize sourcefile references and express URLs correctly.

Analogous to rev 1.686.

PR:		15213
Submitted by:	[email protected] (Chris D. Faulhaber)
1999-12-03 12:52:40 +00:00
Yoshihiro Takahashi 5fe20d3462 MFC: Change splbio() to splcam(). 1999-12-03 12:00:32 +00:00
Julian Elischer 25be5768cd MFC: Stop config from getting confused when a standard file is required by a
site specific option.
1999-12-03 10:06:57 +00:00
Matt Jacob f313464b9c MFC: bring back the new isp options. Unfortunately a LINT kernel does
not compile, but it wasn't broken  by me.
1999-12-03 08:09:22 +00:00
Julian Elischer 2c54736365 MFC: m_dup() to produce writable copies of an mbuf chain. 1999-12-03 07:49:38 +00:00
Matt Jacob 5333be3a55 MFC: add in some more isp related options (to control f/w compilation
mostly).
1999-12-03 07:48:03 +00:00
Julian Elischer 4901ad8342 forced commit to add commit message for last commit.
MFC: Improve documentation of the parser
     bring the sampe node code up to date
     us m_dup for writable packet copy in ng_tee.c.
1999-12-03 07:44:24 +00:00
Matt Jacob 74ef9f5937 MFC: we don't need asm_sbus until we have an SBUS to run on. 1999-12-03 07:42:26 +00:00
Julian Elischer 8d25f3992b *** empty log message *** 1999-12-03 07:41:37 +00:00
Matt Jacob 7e9d0acbbd MFC: cleanup request/response queue size u_int8_t to u_int16_t change.
Change the usage of 'used' to 'touched'. Change some messages to be
CFGPRINTF instead of PRINTF. Clean up f/w download. If we're a 2100
less than rev 5, turn off loop fairness. Fix some random botches.
Use the isp_getrqentry inline to get the next request queue entry.
1999-12-03 07:40:31 +00:00
Matt Jacob bfbc761774 MFC: remove some target mode stuff. Roll minor version. Change func
declarations to follow that request/response queue indices now
are u_int16_t. Clean up some of the softc a bit.
1999-12-03 07:36:55 +00:00
Matt Jacob 723cde126f MFC: clean up isp_prtstst function and make sure it has a buffer big enough.
Add in isp_getrqentry inline function.
1999-12-03 07:34:27 +00:00
Matt Jacob 68d4337d86 MFC: roll platform minor. Remove WWN seed and replace with a default WWN.
Change DEFAULT_WWN macro to point to it. Remove unneeded string.
1999-12-03 07:33:14 +00:00
Matt Jacob fa159da4fc MFC: use new *BSD style licence for f/w. Organize f/w so that various
portions can be compiled in, or not. While we're at it, roll the 2200
f/w revision.
1999-12-03 07:30:43 +00:00
Matt Jacob 0cc0e0979b MFC: dmasetup now uses u_int16_t's for request queue indices. Regularize
and deal with f/w availability or lack thereof. Dig chip revision out
of PCI header and store in softc. Generate WWN from config'd SCSI_ISP_WWN
or get it from a quad in the environment. If all else fails, try and generate
a default WWN that is vaguely sensible.
1999-12-03 07:28:33 +00:00
Brian Somers dc03fed878 MFC: Don't memset active chat timers. 1999-12-03 06:34:04 +00:00
Bill Fumerola 3d3e44cf91 MFC: -l option, fix MAINTAINER e-mail, minor fixups. 1999-12-03 06:18:04 +00:00
Matt Jacob eb3ab55546 MFC: backport getenv_quad function. 1999-12-02 19:50:08 +00:00
Jordan K. Hubbard 3b5ab1280f MFC: allow 2 more chars for long device names. 1999-12-02 02:56:13 +00:00
Jordan K. Hubbard 6ac1294df2 MFC: Use compat3x appropriately. 1999-12-02 02:21:43 +00:00
Jordan K. Hubbard 130369e78c MFC: add hostname command. 1999-12-02 01:53:05 +00:00
Gary Jennejohn c1ff69e37b Fix a problem which only occured for telephony. Since it isn't possible
to deactivate a B-channel when both are active, the "deactivated" channel
still received bytes and allocated mbufs for the data which were never
consumed. This eventually resulted in using up all mbufs which resulted
in a kernel panic.

Clean up some prototypes. Rename isic_hscx_fifo to avma1pp_fifo to avoid
a conflict with the prototype in i4b_l1.h.
1999-12-01 23:21:12 +00:00
Julian Elischer 78c1d74431 gotta stop getting my windows confused. 1999-12-01 22:50:30 +00:00
Julian Elischer f20301bc62 Stupid typo 1999-12-01 22:49:13 +00:00
Julian Elischer 68632907b9 Hack to support strtol until it gets into libkern 1999-12-01 22:46:17 +00:00
Julian Elischer d759d38df2 Allow to compile on -stable. 1999-12-01 22:10:43 +00:00
Julian Elischer ad4ae0258f MFC: make Netgraph in -stable match that in -current exactly
except where impossible to do so.
1999-12-01 19:41:51 +00:00
cvs2svn 986314ee61 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-12-01 19:41:16 +00:00
Julian Elischer 3e6f44249f Slight MFC's of docs to get everything consistent. 1999-12-01 19:29:30 +00:00
Daniel C. Sobral fd716e7b88 MFC 1.11: add fairings to load command. 1999-12-01 18:31:47 +00:00
Yoshihiro Takahashi 4dec8acc22 MFC: The 6th bit of configuration port is not defined on pc98. 1999-12-01 14:18:12 +00:00
Yoshihiro Takahashi 94d4b94b05 Remove no meaning code. This fixes kernel panic without wd device.
Submitted by:	[email protected] (Chiharu Shibata)
1999-12-01 13:57:10 +00:00
Julian Elischer 048f9a72df MFC: remove (from debug messages) field no longer present. 1999-12-01 10:35:40 +00:00
Julian Elischer ed1f397d5d MFC: remove trailing whitespace 1999-12-01 10:00:29 +00:00
Julian Elischer d5aa8e7391 Bring in a few updates from -current that were individual in nature
and missed getting MFC'd. Get's -stable up to date to a set date of -current.
(except pppoe) Nov 19.
1999-12-01 09:26:15 +00:00
Jordan K. Hubbard c4895a9387 MFC: select appropriate dists. 1999-12-01 01:35:13 +00:00
Jordan K. Hubbard bbe63614bd MFC: update notes about token ring support. 1999-12-01 01:26:31 +00:00
Brian Somers bb33ea9f9d Don't build netgraph support for the release floppy.
Reminded by: Andrzej Bialecki <[email protected]>
1999-11-30 23:59:40 +00:00
Pierre Beyssac 75f8f4881c MFC: make in_cksum() for odd-sized packets portable WRT compiler optimization. 1999-11-30 21:55:17 +00:00
Kazutaka YOKOTA 2b43c29d3c MFC from rev.1.33.
- Fix minor errors in the previous commit.
- Update Spanish messages.
1999-11-30 13:48:40 +00:00
Peter Wemm 75c413116c MFC: don't deref a null pointer (curproc) after a panic.
PR:		15169
Submitted by:	David Gilbert <[email protected]>
1999-11-30 09:03:49 +00:00
Alfred Perlstein b0d5398bfd MFC: LINUX_SNDCTL_DSP_GETODELAY 1999-11-30 01:17:52 +00:00
Alfred Perlstein 761d7fedf8 MFC: SNDCTL_DSP_GETODELAY from newpcm
Reviewed by: cg
1999-11-30 01:16:51 +00:00
Brian Somers 70600ece87 MFC: depricated -> deprecated + mention the -alias flag status in README.changes
Spotted by: [email protected]
1999-11-29 18:54:56 +00:00
Yoshihiro Takahashi 2389f43fed Sync with sys/dev/syscons/syscons.c revision 1.293.2.9. 1999-11-29 12:07:27 +00:00
Brian Somers 1b5825d037 Mention pppoed(8).
Nudged by: obrien
1999-11-29 02:43:26 +00:00
Kazutaka YOKOTA 4e1437db9b MFC: sort of...
- Fix mouse ioctl.  This corresponds to scmouse.c of the following
  revision in -CURRENT.
----------------------------
revision 1.6
date: 1999/11/09 12:35:36;  author: yokota;  state: Exp;  lines: +23 -24
Correctly record the mouse position in the current VTY.
----------------------------
1999-11-29 02:38:39 +00:00
Kazutaka YOKOTA 4c630bc75a MFC:
- Estonian keymaps and new Swiss keymaps.
- German spelling fix in INDEX.keymaps.
1999-11-29 01:25:16 +00:00
cvs2svn 15e35537a8 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-11-29 01:12:27 +00:00
Bill Fumerola 03f6df00fc MFC: Install man pages in proper place. 1999-11-28 18:35:40 +00:00
Brian Somers 0765d33f79 MFC: Close the link correctly when the device closes or carrier is removed. 1999-11-28 17:23:38 +00:00
Brian Somers e63d88967e MFC pppoed into the right branch...
Spotted by: peter
1999-11-28 16:26:51 +00:00
Brian Somers b2d3946118 MFC (with whitespace changes): start pppoed 1999-11-28 16:09:07 +00:00
Brian Somers 2a05775809 MFC: Document pppoed options 1999-11-28 16:04:59 +00:00
Brian Somers 0fbfb082fc MFC: Add pppoed startup options 1999-11-28 16:02:30 +00:00
Brian Somers cba8447ba2 Enable pppoed 1999-11-28 15:56:03 +00:00
Peter Wemm b0516085d2 MFC: Don't call the SYSUNINIT() routines if the load failed prematurely,
eg: an undefined symbol.

PR:		15057
Submitted by:	Assar Westerlund <[email protected]>
1999-11-28 14:46:45 +00:00
Peter Wemm 724a86d717 MFC: link_elf.c rev 1.22, link_aout.c rev 1.23; make symbol searches for
kld's work for ddb tracebacks.

PR:             15014
Submitted by:   Vladimir N. Silyaev <[email protected]>
1999-11-28 14:32:24 +00:00
Martin Cracauer 35160540ac MFC: Fixes for bin/14509 (';' command when used with -e flag) and
bin/14527 (here-backquote-longpipe)
1999-11-28 13:52:22 +00:00
Ollivier Robert f42675cd3d MFC: Add ftp.nz.freebsd.org to the list of available FTP sites.
Submitted by:	"Dan Langille" <[email protected]>
Approved by:	jordan
1999-11-28 00:59:08 +00:00
Daniel C. Sobral fc6fc6b8a1 MFC: 1.6 bug fix: zeroes structure before using it. 1999-11-27 18:35:49 +00:00
Brian Somers 027cd8b2a0 MFC: Pass the pppoe packets into do_ppp_print correctly. 1999-11-27 18:05:26 +00:00
Wes Peters c944e534ab MFC updated fortunes files.
PR:		bin/14239
Submitted by:	Doug Barton <[email protected]>
1999-11-27 07:34:34 +00:00
David E. O'Brien 20dce4dcea New files that go with version 6.0.3s1. 1999-11-27 04:56:13 +00:00
David E. O'Brien 6cf0176415 Update to version 6.0.3s1. 1999-11-27 04:47:12 +00:00
David E. O'Brien ef53c2f915 Update to version 6.0.3s1. 1999-11-27 04:22:28 +00:00
Boris Popov 70b99cb84d MFC: suppress lines with zero counts for 'netstat -fipx -ss' case.
Approved by:	jkh
1999-11-27 03:21:33 +00:00
Boris Popov f0ab510a10 MFC: vnode can be left referenced if an ELF image is broken.
Approved by:	jkh
Reviewed by:	peter
1999-11-27 03:07:10 +00:00
Jordan K. Hubbard cca5f3e1f3 Shuffle some items into the security section. 1999-11-26 22:44:08 +00:00
Bill Fumerola 07733fde5b Merge pkg_version into RELENG_3 and remove the now obsolete port.
Approved by:	jkh (the merging)
1999-11-26 22:04:49 +00:00
cvs2svn 52ae79af78 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-11-26 20:38:19 +00:00
Luigi Rizzo 97eef7a334 MFC: RTFREE the correct route entry in dummynet_io(). The previous
code failed in handling things like "forward" actions.

Reported-and-tested-by: Jean-Hugues ROYER [email protected]
1999-11-26 13:38:38 +00:00
Daniel C. Sobral 073f2aa1a4 MFC 1.7 splash_pcx_load variable. 1999-11-26 08:46:58 +00:00
Julian Elischer a7fedaae12 PR: 15084
Submitted by:	[email protected] (Gregory Neil Shapiro)
Obtained from:  -current

An MFC forgotten in bringing Netgraph back.
1999-11-25 20:00:31 +00:00
Peter Wemm 821205a930 MFC: limit newaliases to reduce denial-of-service possibilities.
PR:             15088
Submitted by:   [email protected]
Obtained from:  Gregory Neil Shapiro <[email protected]>
1999-11-25 18:11:20 +00:00
Jordan K. Hubbard fa4ac30116 add quotes to loader.conf variable. 1999-11-25 17:58:27 +00:00
Joerg Wunsch 51ac1c2059 MFC rev 1.8: Don't coredump if can't write to the scorefile. 1999-11-25 15:59:08 +00:00
Yoshihiro Takahashi 5826ecda32 MFC: Fixed to support IBM-PC HDD. 1999-11-25 13:41:37 +00:00
Daniel C. Sobral d08861403a MFC silly password support. 1999-11-24 18:04:46 +00:00
David E. O'Brien 47210b7a21 Bump for inclusion of mkstemps() in libc. 1999-11-24 16:32:55 +00:00
Jordan K. Hubbard 6514313e26 Clean up the loader.conf write-out code.
Figure out where root is mounted from and set root_disk_unit accordingly.
1999-11-24 09:44:26 +00:00
Joseph Koshy e10f1aee48 MFC: Remove the "vinum_drives" rc.conf knob.
{ rev 1.199 src/etc/rc; rev 1.37 src/etc/defaults/rc.conf }
1999-11-24 03:52:02 +00:00
Julian Elischer 713599ef92 MFC: abstract some duplicated code into a separate macro.
(MFC: 1.32->1.33 and 1.35->1.36)
1999-11-24 02:49:36 +00:00
Julian Elischer 3bb1624cc0 MFC: expand the subtype field to be wide enough to hold all the defined
values for ethernet. Add homePNA while I'm there to match -current.
1999-11-24 02:44:15 +00:00
Jun Kuriyama a49b931485 MFC: s/Brige/Bridge/. 1999-11-23 11:05:16 +00:00
Joseph Koshy 5a66b8a5a9 MFC: {rev 1.52} Describe the 'start_vinum' rc.conf knob. 1999-11-23 10:32:45 +00:00
Joseph Koshy 2e3e99e6d5 MFC: {rev 1.9} Correct typos and -mdoc usage. Improve clarity.
Add $FreeBSD$.
1999-11-23 10:22:52 +00:00
Brian Somers 4a7825170b Enable NETGRAPH :-) 1999-11-23 00:45:19 +00:00
Brian Somers 51bdd0a009 MFC: Make setproctitle(NULL) restore all of the original arguments
(if it's able).
1999-11-23 00:18:54 +00:00
Brian Somers a260b2a9f1 MFC: Don't setuid() 'till we've called ID0setproctitle() 1999-11-23 00:15:38 +00:00
Brian Feldman b361aea02f MFC:
This is the Mega Mount MFC.  This fixes numerous bugs in *mount*,
and has been tested in -CURRENT and -STABLE.

Submitted by:	Martin Blapp <[email protected]>
Approved by:	jkh
1999-11-22 23:04:01 +00:00
Andrey A. Chernov 255be8270d MFC: GNU-compatible define, move non-POSIX defines under ifdef 1999-11-22 21:46:12 +00:00
Sean Eric Fagan 09fc69c409 MFC: Don't bother creating a core file if the core limit is 0.
PR:	kern/14540
1999-11-22 20:53:03 +00:00
Josef Karthauser dd9d5c3b73 Switch pnp headers back on. They were commented out by peter in -current,
and accidently merged to -stable by during the grand merge of 0.83.
1999-11-22 14:08:17 +00:00
Josef Karthauser 5e439568d8 Peter (in r1.7) disabled pnp support in i4b, I guess for newbus pnp changes.
I didn't notice this when I backported 0.83 to -stable, and thus disabled pnp
support for some users.  This should switch it back on again.
1999-11-22 13:49:39 +00:00
Joseph Koshy 845b28b433 MFC: {rev 1.27} Link manual page for login_getpwclass(3) to login_cap(3).
Add $FreeBSD$.
1999-11-22 10:43:33 +00:00
Joseph Koshy a52058622e MFC: {rev 1.86} Remove unsupported hardstatus capabilities. 1999-11-22 10:36:39 +00:00
Joseph Koshy 9aca59ead2 MFC: {rev 1.17} Document startup behaviour of mail(1). 1999-11-22 10:33:49 +00:00
Dag-Erling Smørgrav 674b7fc081 MFC: remove the -d option. 1999-11-22 08:43:59 +00:00
Julian Elischer 76d19f010a Use the values of NETISR_NETGRAPH and AF_NETGRAPH now in system includes.
NOTE: recompile.. AF_NETGRAPH HAS CHANGED! (31->32)
1999-11-22 07:12:52 +00:00
Julian Elischer b97518c85f MFC:
Turn on all the makefiles etc that enable Netgraph.
1999-11-22 07:08:13 +00:00
Brian Somers 097899589d MFC: Call MkSockNode() as uid 0 1999-11-21 23:28:12 +00:00
Julian Elischer 39720130d9 MFC: Document the requirement for root privileges. 1999-11-21 23:21:13 +00:00
Julian Elischer e5c44db752 oops cut-n-paste error 1999-11-21 23:11:52 +00:00
Julian Elischer 23458713e6 MFC: Only allow root to manipulate netgraph nodes. 1999-11-21 23:07:01 +00:00
Julian Elischer cfdb3a596e MFC: remove free() that is no longer needed. 1999-11-21 22:22:12 +00:00
Brian Somers 93f64eca5f MFI386: netgraph addition and ppp updates (excluding i4b). 1999-11-21 22:20:52 +00:00
Jordan K. Hubbard 9d0f820b60 MFC: PR#15020 1999-11-21 22:04:50 +00:00
Bruce Evans 4d6f18806f MFC (ufs_vnops.c rev.1.125, etc.: fix ext2fs link counts). 1999-11-21 16:58:52 +00:00
Julian Elischer 6041517231 MFC: document change in behaviour WRT send(2) and write(2) 1999-11-21 12:12:58 +00:00
Julian Elischer b9a31f0a81 MFC: bring across brian's changes (well, most of them) 1999-11-21 11:11:52 +00:00
Brian Somers 89f7b71b3f MFC: Understand PPPoE 1999-11-21 10:51:26 +00:00
Alexey Zelkin 2ed1c7909e MFC:
* remove i386 specific flag
* some style and syntax fixes
* some duplicated FreeBSD tags removed
1999-11-21 08:15:42 +00:00
Brian Somers 41bd758366 Add details of new i4b hardware support
Submitted by: Udo Schweigert <[email protected]>
1999-11-20 11:29:44 +00:00
Brian Somers 993a23aa0f Add some info about ppp, i4b & netgraph. 1999-11-20 10:38:59 +00:00
Chris Piazza d228c5672f MFC rev 1.29; make pkg_add -r work for multiple packages. 1999-11-20 02:01:04 +00:00
David E. O'Brien ca09eeb594 Add entries for the upcoming 3.4.
These include:
* Support for Adaptec 152x/151x/AIC-6360 SCSI controlers is back.
* New networking security features (all the new knobs in rc.conf).
* Netgraph.
* inetd MFC

NOTE the text I added for Netgraph and the inetd MFC is an embarrising
place holder.  The commiters in the know on these changes need to change
my prose, else we'll all be embarrised that we have no clue what our
chagnes were.

Forgotten-by: the respecive committers.
1999-11-20 01:28:19 +00:00
David E. O'Brien c5d0a6fb2a MFC: HISTORY (hopefully I've finally gotten this right) 1999-11-20 00:19:15 +00:00
Brian Somers b307ce1193 Forgot the -f in ``cvs rm'' before last commit :-( 1999-11-20 00:08:55 +00:00
Brian Somers 32b1013263 MFC: Support PPPoE (PPP over Ethernet), but disabled for now.
Moan about -alias (but still honour it).
     kldload the tun module if required.
     Add -unit and -foreground command line arguments.
     Support fast-queue configuration.
     Make ``set autoload'' functional.
     Allow GRE packet filtering
     Many bug fixes
1999-11-19 23:48:05 +00:00
John Polstra d870206574 MFC 1.15 -> 1.16: Fix select/accept race. 1999-11-19 22:10:35 +00:00
Jordan K. Hubbard c3694df51b MFC: about 2 month's worth of stacked changes. 1999-11-19 20:42:06 +00:00
Julian Elischer d455718627 Silence warning 1999-11-19 17:16:29 +00:00
David E. O'Brien e3b57d69dd MFC: sync HISTORY 1999-11-19 17:15:10 +00:00
Julian Elischer 95484b9735 Need to call the netgraph initialiser (I have no idea how I missed that) 1999-11-19 09:38:09 +00:00
Julian Elischer 3c23d93307 Add field netgraph needs. 1999-11-19 09:30:31 +00:00
Julian Elischer 8727ea9b81 Add parameters to prototype. 1999-11-19 09:26:09 +00:00
Julian Elischer 8dd6d0b0cd fix stupid merge-o 1999-11-19 09:17:40 +00:00
Julian Elischer d88da17282 MFC: Add these so teh sync cards can compile in netgraph mode. 1999-11-19 07:35:42 +00:00
John Hay cce0fedf59 wb.4 has moved. 1999-11-19 07:15:24 +00:00
Julian Elischer c698bae7b4 MFC: Add netgraph options to these sync card drivers
This allows the netgraph frame relay etc. to be used.
1999-11-19 06:22:33 +00:00
John Polstra 761768e008 MFC 1.38 -> 1.39: Fix comment describing shared library search
order.
1999-11-19 04:47:36 +00:00
John Polstra 4c1f4425ff MFC: Add support for RADIUS accounting. This is a merge of the
following revisions:

  1.6       src/lib/libradius/libradius.3
  1.4       src/lib/libradius/radius.conf.5
  1.4       src/lib/libradius/radlib.c
  1.3       src/lib/libradius/radlib.h
  1.4       src/lib/libradius/radlib_private.h

PR:		misc/14284
1999-11-19 04:31:29 +00:00
Jean-Marc Zucconi 5039626403 MFC: Ignore the MAIL environment variable when the -u flag is set.
Added $FreeBSD$
PR:		misc/14976
1999-11-19 00:47:19 +00:00
Julian Elischer a4b8a92fdb MFC: 1.64
Add hooks needed for netgraph to run pppoe.
1999-11-19 00:44:17 +00:00
Jordan K. Hubbard 398b801d35 Fix typos. 1999-11-18 22:40:20 +00:00
Alexey Zelkin 18419b4b6e MFC: don't suggest to update /etc/defaults/rc.conf 1999-11-18 16:10:46 +00:00
Alexey Zelkin 2f6a098cb8 MFC: mdoc(7)'fy 1999-11-18 16:06:50 +00:00
Roger Hardiman e7f739417c MFC: no longer required now the passwd Makefile has been updated 1999-11-18 13:35:02 +00:00
Roger Hardiman 2978ed4459 MFC: Update PicoBSD so it does not need to patch the passwd Makefile 1999-11-18 13:33:53 +00:00
Dag-Erling Smørgrav 1a6d60484f MFC inetd.conf to match inetd(8). 1999-11-18 09:45:15 +00:00
Dag-Erling Smørgrav bc6e78fde2 MFC all of inetd. 1999-11-18 09:33:48 +00:00
David E. O'Brien f0650fa2d0 MFC: mkstemps() 1999-11-18 09:08:39 +00:00
Peter Wemm f86a8cc599 MFC rev 1.14 - add missing ICMP_PARAMPROB_* defines 1999-11-18 08:51:44 +00:00
Matthew Dillon 89d7f2e8b5 MFC vfs_syscalls.c/1.145 and vfs_vnops.c/1.84 - ensure that garbage
from the kernel stack is not returned to user mode in the spare fields
    of the stat structure.
1999-11-18 08:15:12 +00:00
Matthew Dillon a0eaaecb79 MFC 1.76 - only bother converting the stat structure if we intend
to return it.
1999-11-18 08:09:08 +00:00
Julian Elischer bf868e6646 remove silly second ID line. 1999-11-18 07:17:17 +00:00
Julian Elischer 6eca4d8dc2 As -stable does not yet have strtoul or ctype.h, temporarily include them
in the netgraph sources, as we need them. I'll have another crusade
at a later date to do an MFC on these.
1999-11-18 01:38:20 +00:00
Julian Elischer 518b5d960e MFC: The uilities compile a lot easier if I include the library. 1999-11-18 01:13:56 +00:00
Nick Hibma 42735631d1 MFC: Add comment about the debugging flag 1999-11-17 23:54:50 +00:00
Alexey Zelkin a03e25bfc6 MFC: rev. 1.7, update instructions for setting up symlinks 1999-11-17 21:57:15 +00:00
Alexey Zelkin bc78de4d7e MFC: rev. 1.9, remove cross-reference to nca(4). 1999-11-17 21:55:48 +00:00
Alexey Zelkin 9194e8e1d8 MFC: rev. 1.4, Document the new generic memory range management ioctls 1999-11-17 21:54:53 +00:00
Alexey Zelkin 446a8be209 MFC: rev.1.4, update online references 1999-11-17 21:53:37 +00:00
Alexey Zelkin e7ee409b61 MFC: mdoc style fix 1999-11-17 21:50:08 +00:00
Alexey Zelkin 1140ecfb2e MFC: typo fix 1999-11-17 21:48:22 +00:00
Alexey Zelkin 1483a36683 MFC: rev. 1.7, 1.8: convert table to mdoc format, remove troff formatting
directive
1999-11-17 21:47:09 +00:00
Alexey Zelkin 94d9ea2812 MFC: typo fix (assember -> assembler) 1999-11-17 21:43:20 +00:00
Alexey Zelkin b3bf9fbe20 Adding some USB manpages to RELENG_3. These drivers already present in
LINT, but docs not present.
1999-11-17 21:36:21 +00:00
Alexey Zelkin 18c0035a0c Add repo-copied manpages to RELENG_3 branch. All manpages located in
i386 specific mandirectory and available on both i386 and alpha architectures
were moved to arch-independant directory.
1999-11-17 21:08:44 +00:00
Alexey Zelkin 27ea8b190a Remove repo-copied manpages (massive relocation of non-i386 specific manpages
to architecture independant place) from RELENG_3 branch.
1999-11-17 20:51:08 +00:00
Julian Elischer 0d4dfc6153 Allow netgraph to load its modules in 3.3 .. matches -current. 1999-11-17 20:38:05 +00:00
Julian Elischer 8fb2b2e1e4 Use defined line discipline value. now the same as -current. 1999-11-17 18:44:52 +00:00
Julian Elischer 1218e3f352 reserve the constant NETGRAPHDISC so that it agrees with -current 1999-11-17 18:37:45 +00:00
Julian Elischer e06f086118 remove unused message type (matches -current again). 1999-11-17 18:25:02 +00:00
Julian Elischer 8c49f7916c Revert a change that I mis-understood. The version in -stable should be
the same as that in -current, not the version at Whistle.
1999-11-17 18:19:51 +00:00
John Polstra 49c60b9baf MFC 1.14 -> 1.15: Don't hang on connections from port 20. 1999-11-17 17:53:03 +00:00
Sheldon Hearn 398c8ab3ea MFC rev 1.5: Add missing tutorials to PODS. 1999-11-17 13:09:01 +00:00
Alexey Zelkin 5da5e255c7 MFC: rev. 1.15, DIVERT -> IPDIVERT 1999-11-17 12:37:11 +00:00
Yoshihiro Takahashi 8344bcc3c9 Supported PC-9801-100 SCSI interface.
Submitted by:	[email protected] (Chiharu Shibata)
1999-11-17 12:34:03 +00:00
Yoshihiro Takahashi 2c006322c5 Sync with sys/i386/conf/{files.i386,options.i386} revision 1.220.2.16 and
1.220.2.15, respectively.
1999-11-17 12:14:36 +00:00
Julian Elischer 80eb629e59 Let the system know about the new files but don't put them in LINT yet. 1999-11-17 07:57:15 +00:00
Julian Elischer 506c1ff0bb Add 3.3 related changes.
Obtained from: Whistle 3.3 sources
1999-11-17 07:46:40 +00:00
Julian Elischer a397540e2b MFC: bring in new files for netgraph.
Reviewed by:	Various, including but not limitted to: archie, phk, brian.
Obtained from: Whistle via -current
1999-11-17 07:24:00 +00:00
Julian Elischer b253568b7d MFC: Bring in the first files for netgraph from -current. 1999-11-17 07:06:04 +00:00
cvs2svn 7689b8bfca This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-11-16 23:27:38 +00:00
Roger Hardiman 09f5fc8eac Fix bug in brackets.
Submitted by:	Russell Cattelan
1999-11-16 22:04:45 +00:00
Roger Hardiman b4d6dd3d55 Add support for the Ensoniq 1371 and 1373 PCI Audio sound chip with AC97 codec.
These are found on Creative Labs SoundBlaster PCI 16/64/128 cards.
They are also found on my Aaeon 5896 Embedded PC motherboard.

Submitted by:  Russell Cattelan <[email protected]>
as the patch file: es1371-5.src3.patch
1999-11-16 19:17:51 +00:00
Roger Hardiman b24d34d2b4 Add es1371.c PCI Audio sound chip. 1999-11-16 19:11:33 +00:00
Josef Karthauser 2644b630b8 MFC: I4B 0.83 adds support for some new ISDN cards.
Submitted by:	Udo Schweigert <[email protected]>
1999-11-16 18:26:31 +00:00
Josef Karthauser d8d4036d2d MFC: Set the bandwidth (not reported by I4B), and
five minutes = 300 seconds, not 600!
1999-11-16 17:59:23 +00:00
Josef Karthauser 3b2d4a83a1 MFC: I4B (0.83) merge to -RELEASE. 1999-11-16 17:54:31 +00:00
Roger Hardiman db7ccf92ad MFC: Add Nokia Cellular Data Cards 1999-11-16 17:48:38 +00:00
Josef Karthauser 63d937fe1a MFC: Merge the I4B support files from current. 1999-11-16 17:39:07 +00:00
Josef Karthauser 8427e3bc21 MFC: Merge the examples from 0.83. 1999-11-16 17:28:44 +00:00
Josef Karthauser ff0000e4f3 MFC: Replace the audio files with the new ones from 0.83.
Spotted by: hm
1999-11-16 17:21:33 +00:00
cvs2svn e9c89dea5b This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-11-16 17:16:19 +00:00
Bill Paul 00bf9b742b MFC: Fix usage of m_pullup(). 1999-11-16 15:36:14 +00:00
Josef Karthauser 5db0c12eaa MFC: Synchronise -stable's I4B with version 0.83 from -current, and
enable PPPoISDN.

Approved by: hm and brian
1999-11-15 22:41:23 +00:00
Josef Karthauser 15bd8bdd0e MFC: Synchronise I4B (0.83) from -CURRENT, and enable PPPoISDN. 1999-11-15 22:14:51 +00:00
Luoqi Chen 437f1f72ad MFC: Save %fs and %gs in sigcontext when delivering signals and restore
them upon return.
1999-11-15 20:34:48 +00:00
Luoqi Chen f81a13305c MFC: Save %fs and %gs in sigcontext when delivering signals and restore
them upon return.
1999-11-15 20:19:28 +00:00
Brian Feldman f9f9b3a9a6 Fix the CLOSING state bug that crept in from 4.0.
Noticed by:	Jeroen Ruigrok van der Werven <[email protected]>
1999-11-15 02:52:54 +00:00
David Nugent a50f34520c MFC: Use local time not gmt to decide on date formatting. 1999-11-15 02:28:54 +00:00
Chris Costello d3160236a6 MFC: Properly document ENOENT. 1999-11-14 18:21:22 +00:00
Yoshihiro Takahashi 4162672665 Fixed missing changes from sys/i386/conf/GENERIC. 1999-11-14 01:55:49 +00:00
Yoshihiro Takahashi 307f779132 Staticize. 1999-11-14 01:54:08 +00:00
Yoshihiro Takahashi 35f56d7e9a Sync with sys/boot/i386/btx/btx/{Makefile,btx.s} revision 1.5.2.2 and
1.8.2.4, respectively.
1999-11-14 01:51:16 +00:00
Andrey A. Chernov 0bf2b9e61b MFC: time printing bug 1999-11-13 20:08:57 +00:00
John Baldwin 4c616be69f MFC the support for the BIOS function to copy extended memory,
interrupt 0x15, function 0x87.  Also, MFC the PAGING conditional
compilation knob to allow paging to be disabled in btx.

This is needed for the Mylex and AMI Megaraid controllers.
1999-11-10 02:38:34 +00:00
Kazutaka YOKOTA 31e7f0e4cb MFC: Fix typo: MOUSE_GETSTAT -> MOUSE_GETSTATUS. 1999-11-09 12:20:04 +00:00
Andrey A. Chernov 7ed851339d MFC: dead loop fix 1999-11-09 11:11:10 +00:00
Alexey Zelkin 63bd792124 MFC: rev. 1.4, remove useless section 1999-11-09 00:30:54 +00:00
Alexey Zelkin a00e70fc73 MFC: rev. 1.19, restore sub-sections order 1999-11-09 00:25:06 +00:00
Alexey Zelkin 36fc70da71 MFC: rev. 1.8, style fix 1999-11-09 00:19:48 +00:00
Alexey Zelkin d5a8261418 MFC: fix comments 1999-11-09 00:13:13 +00:00
Alexey Zelkin e3d592539d MFC: rev. 1.3, bring into the reality 1999-11-04 09:07:14 +00:00
Alexey Zelkin 0d24467ece MFC: rev. 1.4, mention dumpvfscache 1999-11-04 08:59:50 +00:00
Bill Fumerola 9307db6c70 MFC: bring mergemaster into RELENG_3 1999-11-03 20:58:47 +00:00
Chris Costello 05b343509f MFC: Fix an unmatched quote.
PR:		14684
Submitted by:	[email protected]
1999-11-03 20:54:52 +00:00
cvs2svn e6001e4599 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-11-03 17:54:27 +00:00
Joerg Wunsch 1f131bf39b MFC rev 1.17, move sleep() description out to history section. 1999-11-03 10:41:16 +00:00
Yoshihiro Takahashi c74c9aaa85 MFC: Fix potential panic by illegal increment of wfdnlun. 1999-11-03 07:59:28 +00:00
Chris Costello 4d8b11f741 MFC: Add memcontrol man page. 1999-11-03 05:47:13 +00:00
Nicolas Souchu 82603e2756 Fix compile error.
Submitted by: "Chris D. Faulhaber" <[email protected]>
1999-11-02 22:29:03 +00:00
Joerg Wunsch 95374fd349 Sync with HEAD; that's mainly 1.3 and 1.8's changes regarding comments
about ELF which is applicable to RELENG_3 as well.
1999-11-02 18:20:36 +00:00
Alexey Zelkin 9ab404aa2c MFC: document .St macro 1999-11-02 13:56:47 +00:00
Alexey Zelkin 9db4590a1e MFC: document .Nx/.Ox 1999-11-02 13:54:41 +00:00
Alexey Zelkin 2ef8acb1bc MFC: rev. 1.15, fix invalid file names 1999-11-02 13:52:02 +00:00
Alexey Zelkin 76202b7e8d MFC: pass -t and -p options to groff(1) as is. 1999-11-02 12:33:21 +00:00
Dag-Erling Smørgrav 321dc8f62c MFC: Document my TCP/IP hacks. 1999-11-02 08:47:30 +00:00
Kenneth D. Merry 7a8da03f81 Partial MFC of revision 1.22.
Fix the buffer direction flags in cam_periph_mapmem() to avoid unnecessary
copy on write faults in vmapbuf().

Submitted by:	tegge
1999-11-02 05:11:23 +00:00
Nicolas Souchu 2f8a818f60 Ooops, forgot the EWOULDBLOCK fix to prevent infinite loop when trying
to request the smbus
1999-11-01 23:17:25 +00:00
Nicolas Souchu a76009c482 MFC.
Add alpm and intpm (smbus lowlevel drivers) manpages.
Update vpo.
1999-11-01 22:53:03 +00:00
Nicolas Souchu 375af6b6fc MFC.
Update smbus stack, then add alpm(4) and intpm(4) low level smbus
drivers.

	- intpm: Takanori Watanabe <[email protected]>
1999-11-01 22:48:34 +00:00
Dag-Erling Smørgrav 952515b9f9 MFC the IPSTEALTH option 1999-11-01 22:23:53 +00:00
Bill Paul 61ce819886 MFC: merge in bug fix for rxeof (make sure ethernet header doesn't get
split among multiple mbufs) and changes to make TX threshold dynamically
adjustable.
1999-11-01 17:24:52 +00:00
Dima Ruban 2b4f998bc8 Add support for 3C574BT
Reviewed by:	[email protected]
1999-11-01 03:05:14 +00:00
David E. O'Brien 1f8dc459ec Prepair for 3.4. 1999-11-01 01:27:24 +00:00
Yoshihiro Takahashi ccdcbdaee0 Sync with i386/isa/clock.c revision 1.129.2.5. 1999-10-31 12:22:16 +00:00
Yoshihiro Takahashi a1166db47c Sync with i386/conf/files.i386 revision 1.220.2.14. 1999-10-31 12:21:40 +00:00
Mitsuru IWASAKI ff4e1b0557 MFC:
i8254_restore is called from apm_default_resume() to reload
the countdown register.
this should not be necessary but there are broken laptops that
do not restore the countdown register on resume.
when it happnes, it messes up the hardclock interval and system clock,
which leads to the infamous "calcru: negative time" problem.

Submitted by:	kjc, iwasaki
Reviewed by:	Steve O'Hara-Smith <[email protected]> and committers.
Obtained from:	PAO3
Approved by:	jkh
1999-10-31 06:04:52 +00:00
Brian Feldman 8636d27f33 MFC:
Remove an excess body lying around that got past a lot of people.

Submitted by:	mpp
1999-10-31 04:02:25 +00:00
Brian Feldman 693dd96d8d MFC:
KNFify w.c while adding support for multiple user names as arguments.

PR:		bin/11121
Submitted by:	James Howard <[email protected]>
1999-10-30 22:15:31 +00:00
Brian Feldman dd10325736 MFC:
This is the much-anticipated ELF manual page!  Everyone be sure to
thank Jeroen and all who helped bring it about :)

Submitted by:	Jeroen Ruigrok van der Werven <[email protected]>
Reviewed by:	jdp, Gerald Hicks, the Doc Team
1999-10-30 22:08:58 +00:00
cvs2svn b7a8f6ee84 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-10-30 22:07:12 +00:00
Brian Feldman bfbdd7197d MFC:
Add a -c flag to print a count of messages and exit.

PR:             10921
Submitted by:   James Howard <[email protected]>
1999-10-30 21:49:05 +00:00
Tor Egge 4e6be8cec3 MFC (rev. 1.103 and 1.111): Remove bogus pci bus numbering sanity check. 1999-10-30 20:14:26 +00:00
Mike Pritchard f06ec83eb3 MFC: Spelling/mdoc fix. 1999-10-30 19:43:42 +00:00
Mike Pritchard 1a2e22c686 MFC: Spelling fix. 1999-10-30 19:38:52 +00:00
Alexey Zelkin 97d35e4cae add missing $FreeBSD$ tags 1999-10-30 16:11:12 +00:00
Alexey Zelkin a8256f0e48 MFC: remove useless comments 1999-10-30 15:59:35 +00:00
Alexey Zelkin 8045deeaab MFC: mdoc(7)'fy 1999-10-30 15:27:58 +00:00
Alexey Zelkin 9330a79715 MFC: mark ``tty'' as optional parameter 1999-10-30 14:57:33 +00:00
Alexey Zelkin 3aadd91e70 MFC: rev 1.18, uncomment FILES section, mdoc(7)'fy 1999-10-30 14:42:19 +00:00
Alexey Zelkin b68295237c MFC: parts of revisions 1.20, 1.21, 1.22, invalid video modes removed,
invalid cross reference fixed, mdoc(7)'fy
1999-10-30 14:31:56 +00:00
Alexey Zelkin 6708bd4649 MFC: rev. 1.5, mdoc(7)'fy, fix broken FreeBSD release number (3.0.1 -> 3.1) 1999-10-30 14:19:10 +00:00
Alexey Zelkin 6c2de447e2 MFC: rev. 1.3, fix invalid pathes in FILES section, mdoc(7)'fy 1999-10-30 14:12:18 +00:00
Alexey Zelkin a116fdd5a7 MFC: rev 1.6, use ``clever'' .Ox 1999-10-30 14:05:49 +00:00
Alexey Zelkin e9e1f74713 add MLINKS: bpf.4 -> bpfilter.4 1999-10-30 13:27:00 +00:00
Alexey Zelkin 9be6c823fc bpf(4) is known as bpfilter(4) under -STABLE.
mdoc(7)'fy
1999-10-30 13:16:37 +00:00
Matthew Dillon b3efcee77b MFC from -current 1.31,
Fix two bugs in ufs_lookup that can cause deadlocks due to out-of-order
    locking.
1999-10-30 00:52:25 +00:00
Nick Sayer dbca198d27 MFC: 1.17->1.18
This is the difference between a working machine and one that
panics whenever /dev/ums0 is closed (that is, when you reboot
a machine running with the mouse daemon).

Approved by: jkh
1999-10-29 20:28:14 +00:00
Joerg Wunsch cfd9a39121 MFC, rev 1.57, fix a violation of the required state transitions per
RFC 1661, pointed out by Mark Tinguely.
1999-10-29 18:03:17 +00:00
David E. O'Brien 70f7ea00cf MFC: add HISTORY 1999-10-29 16:51:38 +00:00
Bill Paul 110bdbc8d6 Fix up the autonegotiation a little:
- Get rid of all 100baseT4 references; the Macronix chips don't really
  support it, and we shouldn't give the autonegotiation code an opportunity
  to select it as the current media when we haven't even ifmedia_add()ed
  IFM_100_T4 as a valid selection.

- Change the non-MII autonegotiation routine to use the link partner
  code word bits from CSR12 (10baseT status), which is the standard
  DEC 21x4x way of detecting link partner ability instead of using the
  Macronix-specific NWAY status register at CSR20.

This should fix problems with 98715A or 82c115 PNIC II chips (LinkSys
LNE100TX v2.0) incorrectly negotiationg 100baseT4 with some switches
or hubs and then crashing due to 100baseT4 not being a valid mode.

Problem found and fix tested by: Roger Hardiman <[email protected]>
1999-10-29 16:04:52 +00:00
Bill Paul 562c65afe8 NBPF -> NBPFILTER 1999-10-29 06:11:57 +00:00
Bill Fumerola 1e5d73550e Pass the pointy hat, I broke 'pkg_add -r' for 3.3-RELEASE. It works
if you use 'pkg_add -r Latest/ethereal' but not 'pkg_add -r ethereal', which
is it's intended use. Time to go find the errata text..

Laughed at by:	obrien, jim, msmith, jkh, and unfurl
1999-10-29 00:06:56 +00:00
Ruslan Ermilov fc63cf6aba MFC:
- add maintainership
- allow signals to interrupt system calls        (PR bin/6676)
- configuration file parser improvements
- ioctl -> sysctl for interface address changes  (PR bin/14169)
- update description of how packets re-enter
  IP firewall filter
- remove reference to obsoleted permanent_link
1999-10-28 18:56:08 +00:00
Ruslan Ermilov 0b638879a6 MFC: Handle fractions of a second (up to nanosecond).
PR:		4154
1999-10-28 18:02:44 +00:00
Matthew Hunt 565b03d5d9 MFC: Add cam(4), xpt(4) to SEE ALSO; delete cam(9), xpt(9) and
relevant BUGS entry.
1999-10-28 17:20:07 +00:00
Alexey Zelkin 67831b3f1e MFC: all MLINKS to all functions described in vgl.3 manpages
Reorganize vgl.3, various mdoc fixes
1999-10-28 16:46:24 +00:00
Alexey Zelkin 9d485b09e9 MFC rev 1.10, various mdoc and visual fixes 1999-10-28 15:44:55 +00:00
Luoqi Chen f9846be12b (MFC) Bug fix: allow reset device command to complete. 1999-10-28 05:31:05 +00:00
Chris Piazza 392ebbb6dc MFC: $FreeBSD$ changes
and MFC: spell Lewis Carroll correctly
1999-10-28 03:41:36 +00:00
Matt Jacob f671ea43d4 MFC: turn back always doing tags for FC 1999-10-28 02:51:34 +00:00
Matt Jacob 2c30688e38 MFC: Mark path for deallocation only *after* you've successfully allocated it. 1999-10-27 21:52:21 +00:00
Luoqi Chen e42603fc91 (MFC) Fix a typo which would result in a bad REQUEST SENSE command be sent to
a device at lun != 0. Enable tagged queueing by default.
1999-10-26 22:37:31 +00:00
Matt Jacob ee09fc67ae MFC: nuke a debug printout I thought I had already nuked 1999-10-26 22:27:41 +00:00
Thomas Gellekum 474b39494b MFC: Add back texindex. 1999-10-26 08:40:01 +00:00
Jun Kuriyama d846f880fa MFC: Add Allied Telesis CentreCOM LA-PCM_V2 entry. 1999-10-26 04:53:28 +00:00
Luoqi Chen 58e7810628 Negate return of aic_isa_attach(): isa device's attach method returns 0
for failure and 1 for success.
1999-10-25 19:11:44 +00:00
cvs2svn 32c9904c26 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-10-25 10:35:40 +00:00
Sheldon Hearn 8dfff06825 MFC rev 1.11: Plug potential segfault in -d option handling. 1999-10-25 09:50:18 +00:00
Marcel Moolenaar 796e9d2150 MFC: rev 1.36 1999-10-25 08:42:18 +00:00
Michael Haro 9e1b59768a STAT command sent to ftpd during file transfer was mishandled every other
time.

MFC: 1.58
1999-10-25 08:31:50 +00:00
Yoshihiro Takahashi a1ec0f0a49 MFC: Fixed to compile a kernel with scbus0 and without da0.
Added $FreeBSD$.

Submitted by:   [email protected] (Chiharu Shibata)
1999-10-24 14:58:02 +00:00
Andrey A. Chernov 5f0dc75cb2 MFC: prototypes, toupper 1999-10-24 04:48:39 +00:00
Andrey A. Chernov 24f9c1b58d MFC: prototypes, toupper 1999-10-24 04:42:24 +00:00
Andrey A. Chernov f34e4c7297 MFC: toupper->tolower 1999-10-24 04:23:39 +00:00
Andrey A. Chernov a7b5a3d438 MFC: strcoll, LINE_MAX 1999-10-24 04:09:03 +00:00
Andrey A. Chernov 4a37cab42c MFC: localize 1999-10-24 03:44:44 +00:00
Matt Jacob b1c1eb785a MFC: remember to initialize mailbox 2 for FC isp bus resets 1999-10-22 17:04:38 +00:00
Luoqi Chen c1c415ee04 Add aic CAM driver support. 1999-10-22 01:03:02 +00:00
Luoqi Chen c4d9d4e22c Adaptec 6260/6360 CAM driver. 1999-10-22 01:00:05 +00:00
cvs2svn a42e24b0d8 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-10-21 21:15:03 +00:00
Thomas Gellekum afec3343bf MFC: Fix for % code handling. 1999-10-21 09:40:02 +00:00
Bill Paul 7125e3504c MFC: merge in performance enhancements from -current for 3c90xB cards.
The transmit strategy for cards with post-"boomerang" ASICs now uses
descriptor polling, which reduces CPU overhead. I can now saturate a
full duplex 100Mbps link in both directions at once with a pair of
3c905B cards, and can achieve slightly better overall TCP speed than
before (11.3MB/sec before compared to 11.57MB/sec now). UDP transmit
performance is up around 11.7MB/sec.

This only affects the 3c905B, 3c900B, 3c905C, 3c980, 3c980B, 3c980C
and 3cSOHO100-TX NICs. The original 3c905 and 3c900 cards still use the old
transmit strategy as they don't support the transmit descriptor polling
feature.
1999-10-20 18:19:26 +00:00
Andrew Gallatin 3845c5cef7 MFC: fix for alpha uid getting clobbered from 1.16 1999-10-20 15:25:43 +00:00
Ruslan Ermilov b3e4acb25f MFC: Remove obsoleted entry from the BUGS section. 1999-10-20 13:07:36 +00:00
Chris Costello 401ad1b119 MFC: Fix capitalization and punctuation.
PR:		docs/14407
Submitted by:	grog
1999-10-18 22:45:52 +00:00
Sheldon Hearn 13c1399ef0 MFC (rev 1.62): Add missing newline to log() message. 1999-10-18 11:59:31 +00:00
Doug White 2e8fbf21ce MFC: Add install floppy. 1999-10-17 23:11:21 +00:00
Doug White 2099dd6b47 MFC: install floppy prep, misc. fixups. 1999-10-17 23:05:12 +00:00
Matt Jacob af5bcc0336 (last delta had wrong comment)
MFC:Roll core version number. Do some stylistic changes. Ensure that
the result queue length is never less than 64. Move (ick) temp port
database used for post-LIP merging off the kernel stack and put it
into the softc. Remove some target mode stuff which will come back
later in a different file. Change how the list of outstanding commands
are stored (now allocated at mailbox setup time to be just enough for
the max for a specific HBA which can vary). Keep a rotating seed of
the last index for this in the softc. Increase the count of active
commands from 10 to 16 bits.
1999-10-17 19:47:51 +00:00
Matt Jacob 9efb797d8b (last delta had wrong comment)
MFC:add in an INT_PENDING macro
1999-10-17 19:47:17 +00:00
Matt Jacob b53455548e (last delta had wrong comment)
MFC:Remove target mode definitions (they'll come back later in
a different file).
1999-10-17 19:46:23 +00:00
Matt Jacob 7484648ed0 (last delta had wrong comment)
MFC:Roll platform major && minor (major now tracks FreeBSD major release).
Add in null SWIZZLE definitions. Add in CFGPRINTF define. Change default
debug level to refer to an external isp_debug variable. Remove inline
functions as they're now in isp_inline.h and include that file.
1999-10-17 19:45:50 +00:00
Matt Jacob fd527f059b (last delta had wrong comment)
MFC:Add in isp_debug variable. It defaults to zero unless CAMDEBUG is defined
where it defaults to one. Change simq width allocation to the max number
of commands supported by the HBA after f/w fires up- not the constant
MAXISPREQUEST value. Do some stylistic changes.
1999-10-17 19:45:06 +00:00
Matt Jacob eebe97f871 (last delta had wrong comment)
MFC:Remove some target mode stuff. It will get re-introduced in a different
file later. Do some pencil-sharpening types of minor changes. Change
how active commands are remembered (using new inline functions to get
handles, etc..). Now do a GET FIRMWARE STATUS after firing up the f/w as
outgoing mailbox 2 will tell you the f/w's notion of the max commands
that can be supported. Attempt to retrieve loop topology. Add in the
appropriate SWIZZLE/UNSWIZZLE macros calls (this is a no-op on Little
Endian machines but is needed for sparc (on other platforms)). Move
the temp port database we use to find out where things have moved to
after a LIP to the softc and off the kernel stack. Follow Qlogic's
hint and don't bother setting a tag for commands that don't have
this enabled (presumably the f/w will do it's own selection then).
Use an INT_PENDING macro to check for an interrupt. The call to
ISP_DMAFREE now just takes the handle- not the 'handle-1' which was
a layering violation. Use CFGPRINTF in a couple of places to make
things less chatty if not booting verbose, or CAMDEBUG compiles, etc..
1999-10-17 19:44:27 +00:00
Matt Jacob b1d34a3680 MFC:roll 10[24]0 and 1080/12X0 f/w 1999-10-17 19:33:38 +00:00
Matt Jacob 806141529a MFC:Add a file where inline functions for the Qlogic isp cards can go.
This reduces duplication in all the platform specific header files.
1999-10-17 19:27:22 +00:00
Matt Jacob aff1a8ed8f MFC:Removed code versions in md struct- not used any more.
Allocate transfer dma maps and xflist stuff in mbxdmasetup based
upon isp->isp_maxcmds. Allow for multiple calls to mbxdmasetup (for
isp_reset cases).
1999-10-17 19:07:48 +00:00
cvs2svn 36f28d1a96 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-10-17 18:15:07 +00:00
Matt Jacob f1c2fedce4 MFC: Protect xpt_run_dev_sendq in xpt_release_devq_device with splsoftcam. This
seems to handle the case of timeouts firing during probe but after a device
has gone away. It really does help.

Obtained from:[email protected]
1999-10-16 23:45:28 +00:00
Nick Sayer 9d24a43eb2 From dictionary.com:
Note: This word in spelling has been confused with, and almost
superseded by, forego to go before. Etymologically the
form forgo is correct.

Forgo v 1: do without; "We are dispensing with formalities"

pointed out by: wollman
1999-10-16 21:03:24 +00:00
Nick Sayer 408d7d3860 MFC: Use the right word (forgot->forego) 1999-10-16 20:19:39 +00:00
John Hay 7c5fdf493f MFC: draft-mogul-pps-api-05.txt update. 1999-10-16 14:45:44 +00:00
Jun Kuriyama 21035ef30b MFC: Add new entries.
COREGA EtherII PCC-T
  I-O DATA PCLATE
1999-10-16 12:25:23 +00:00
Andrey A. Chernov 0ced828c48 MFC: unused stayopen fix 1999-10-16 11:52:36 +00:00
Andrey A. Chernov 379081153d MFC: fix fast search for 8bit chars 1999-10-16 10:25:13 +00:00
Roger Hardiman 24fcfd33c8 MFC. Fix missing #include which meant kernel config options were ignored. 1999-10-15 13:38:40 +00:00
Alexey Zelkin 8077454f0e MFC: rev. 1.23, Plag -> Plug 1999-10-15 13:03:50 +00:00
Alexey Zelkin c81e2a762a MFC: rev 1.22, USERCONFIG_BOOT removed, mdoc(7)'fied 1999-10-15 12:52:02 +00:00
David Nugent 7baab58bd0 MFC -V dir capability. 1999-10-14 18:32:47 +00:00
Dag-Erling Smørgrav 2cff5ec308 MFC: Add the net.inet.icmp.drop_redirect, net.inet.icmp.log_redirect,
net.inet.tcp.drop_synfin and net.inet.tcp.restrict_rst sysctls.
1999-10-14 11:49:38 +00:00
Nick Sayer e378e23887 Compiling LINT yielded two warnings. 1999-10-13 22:06:46 +00:00
Nick Sayer c33ebf418c Opps x2 - must un-static apm_display() and the soft state so that
the apm_saver module can get to it.
1999-10-13 19:22:02 +00:00
Nick Sayer 626b1ad429 Oops. Forgot to add include of newly split soft-state. 1999-10-13 19:15:30 +00:00
Nick Sayer a29e63aae5 MFC: Add apm screen saver module
Approved by: jkh
1999-10-13 19:13:01 +00:00
Nick Sayer cd442364b6 MFC: Split out APM soft state in preparation for apm_saver module
Approved by: jkh
1999-10-13 19:08:29 +00:00
John Hay 33e8b55d5f "bpf.h" -> "bpfilter.h" 1999-10-13 13:14:14 +00:00
Ruslan Ermilov ce8642846d MFC: (rev 1.20) Properly handle the case when either the aliasing or
source address of the link are equal to the default aliasing address.
1999-10-13 12:29:02 +00:00
Greg Lehey 327d49fb81 MFC (see revision 1.45):
Fix another instance of vinum_scandisk giving a request to the daemon
and then doing it itself, resulting in a panic downed drives.

Sleuth-work-by:         Christopher Masto <[email protected]>

vinum_scandisk: Check that a drive is up before reading from it.  This
is probably excessive paranoia.
1999-10-13 08:39:08 +00:00
Brian Feldman a8aefdfd62 MFC:
Enable MTRR support for K7 (Athlon) processors, which happens to have the
same interface as Intel's P6 family has.  Incidentally, I had disabled
it in the first place since I knew the K7s were coming out soon but
did not want to assume they'd have the same MTRR interface as Intel's
chips.
   Also, change "machine/smp.h" include to <machine/smp.h> as in HEAD.

Submitted by:	Ville-Pertti Keinonen <[email protected]>
1999-10-12 22:58:01 +00:00
Justin T. Gibbs 720e5b04d5 MFC: Remove references to the od driver. 1999-10-12 15:58:11 +00:00
Yoshihiro Takahashi caeff39611 Sync with sys/isa/sio.c revision 1.220.2.3. 1999-10-12 12:05:15 +00:00
Yoshihiro Takahashi 94e5e0b127 Sync with i386/conf/GENERIC and i386/i386/userconfig.c
revision 1.143.2.23 and 1.126.2.11, respectively.
1999-10-12 12:02:33 +00:00
Foxfair Hu 444093244f Oops! I mentioned tw.4 twice time, but no tx.4.
Fix it now.

Submitted by : AMAGAI Yoshiji <[email protected]>
1999-10-12 01:46:29 +00:00
Steve Price b2868dafa4 MFC: support for the USR0101 modem. 1999-10-11 15:07:21 +00:00
Foxfair Hu eb36d1d5c6 Quick fix in -stable : It's tw.4 not tk.4 , wpaul broke the world. 1999-10-11 15:01:24 +00:00
Bill Paul b0a3856986 MFC: merge in driver support for the Sundance ST201 and SiS 900/SiS 7016
PCI fast ethernet controllers.
1999-10-10 23:05:00 +00:00
Julian Elischer 2473fd01a7 MFC: fix reading symbols from libs.
PR:		bin/14167
Submitted by:	Sebastian Lederer <[email protected]>
Reviewed by:	[email protected]
1999-10-10 20:44:00 +00:00
Brian Somers e75df28778 Ppp can request M$Chap these days. 1999-10-10 20:39:35 +00:00
Brian Somers 8ca38783d4 Mention that ppp doesn't need ``pseudo-device tun'' in -current.
Pointed out by: Mark Knight <[email protected]>
1999-10-10 20:39:21 +00:00
Bill Paul 766d414726 MFC: updatr the ADMtek driver to include support for the AN985
Centaur chip. This involves just adding serial MDIO support and
tweaking the EEPROM reading code a little.
1999-10-10 19:43:06 +00:00
Bill Paul 3cbacbd2a7 MFC: change method for choosing interface unit number, remember to call
sk_start() in sk_intr() if there's still packets in the outbount queue.
1999-10-10 18:41:38 +00:00
John Hay 83bf99b00f MFC: The Aug 29 nanokernel code from Dave Mills. 1999-10-10 18:29:51 +00:00
Bill Paul 68cee815ac MFC: update the Tigon 2 firmware image to the 12.6.15 release. 1999-10-10 17:55:42 +00:00
Chris Piazza 91cc1e3288 MFC: revert my previous change 1999-10-10 09:29:31 +00:00
Peter Wemm b2c4b9a22e MFC: z_off_t fix from bde and $Id$ spam. 1999-10-10 07:46:00 +00:00
Chris Piazza f4aa8edd2f MFC: rev 1.29, missing ')' 1999-10-09 23:20:43 +00:00
cvs2svn 7e94566c05 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-10-09 16:37:38 +00:00
Jonathan Lemon 71f99825dd Hopefully fix a bug that was causing corruption (blocks of nulls) during
large data transfers.  The hdr.flags field (actually the size of the
request, in words) was a magic constant, which was probably the wrong value.

Tested by:	 [email protected]
1999-10-09 03:51:19 +00:00
Roger Hardiman 387d271909 This fixes a problem found when trying to record audio from the
sound card.
Also add $FreeBSD$

PR:		i386/9283
Submitted by:	Thomas Runge [email protected]
Reviewed by:	luigi
1999-10-08 16:50:14 +00:00
Brian Somers e9451337b2 MFC: Revert previous change 1999-10-08 16:12:01 +00:00
Brian Somers ccb88daec6 MFC: Include net/if.h for netbsd too. 1999-10-08 08:17:58 +00:00
Brian Somers 6a35ea9aa1 MFC: Typo police 1999-10-08 08:17:55 +00:00
Brian Somers 3d30b84cbd MFC: Align to sizeof(long), not 4. 1999-10-08 08:17:51 +00:00
Brian Somers 2cbabab770 MFC: Show the number of queued packets in ``show ipcp''. 1999-10-08 08:17:42 +00:00
Brian Somers 65e874488f MFC: Return the correct answer when checking filters. 1999-10-08 08:17:39 +00:00
Brian Somers 9a21f7163d MFC: Better diagnostic when the peer sends an ECHO LQR REQ with a
dodgy magic number.
1999-10-08 08:17:30 +00:00
Brian Somers 74af4ca40c MFC: Process `lt'' correctly in `set filter''. 1999-10-08 08:17:27 +00:00
Brian Somers 3af13cd5eb MFC: Don't get stuck in ``ready'' state when closing a link manually. 1999-10-08 08:17:23 +00:00
Brian Somers 6648ab21f5 MFC: Go through ``carrier'' state when opening a -direct link.
This fixes carrier detection....
1999-10-08 08:17:18 +00:00
Brian Somers 0f0874a4ea MFC: Use __DATE__, not $Date$ 1999-10-08 08:17:15 +00:00
Brian Somers ce283bee80 MFC: Make autoload `close'' links rather than `down'' links. 1999-10-08 08:17:11 +00:00
Marcel Moolenaar 02d44df429 MFC: Swap IOC_OUT and IOC_IN for the SETDIR macro.
Thanks to: jhay
1999-10-07 09:57:43 +00:00
Roger Hardiman 1bba44a1f7 MFC. Update to the driver to re-sync with -current.
Adds new Australina channel set fixes, LeadTek Winfast 2000 audio
and bug fixes for FM Radio Muting
1999-10-07 09:46:28 +00:00
Chris Piazza 1a6f93ce25 MFC: spelling fixes and Nunavut 1999-10-07 03:04:38 +00:00
Sheldon Hearn ed687eb5c1 MFC: Axe the description of the savecore_enable option. 1999-10-06 09:24:44 +00:00
Ruslan Ermilov d86af3a140 Fix copy&paste typo. 1999-10-06 06:49:41 +00:00
Jordan K. Hubbard e40cc44da9 MFC: fix for auto keyword botch. 1999-10-05 19:40:53 +00:00
Greg Lehey 4491d309c0 Bring in line with reality. 1999-10-05 05:33:35 +00:00
Greg Lehey a836efd603 Fix some broken paths.
MFC to later versions of some macros.

Tripped-over-by:	Gerd Knops <[email protected]>
1999-10-05 03:09:46 +00:00
Ruslan Ermilov 041c861b47 MFC: Recommend "secure-stable-supfile" instead of "secure-supfile".
This should stop "make: don't know how to make crypt-md5.c" buildworld
failures caused by using an incorrect supfile to upgrade sources.
1999-10-04 17:48:17 +00:00
Dag-Erling Smørgrav eea4d291f6 Hit myself repeatedly over the head with a two-by-four and back out
the unintentional parts of the previous commit.
1999-10-02 21:41:35 +00:00
Matt Jacob 228f6900a1 MFC:add SA_1FM_AT_EOD option for scsi_sa- this causes a default behaviour of
one filemark at end of media for tapes otherwise neither quirked nor known.
1999-10-02 20:24:38 +00:00
Matt Jacob bd369beb3b MFC: Document the SA_1FM_AT_EOD option. 1999-10-02 20:22:32 +00:00
Matt Jacob 0636dee8c3 MFC:Another 1FM@EOD quirk (from [email protected] for a Seagate STT20000),
and add a config option that allows one to default to 1FM@EOD for tapes
otherwise unquirked or unknown as to which to prefer. Note that tcopy
will be broken for these tapes until tcopy is fixed.
1999-10-02 20:19:58 +00:00
Matthew Dillon 06c2d7b792 MFC from current (1.31) to stable, print a warning that includes the
name of the mount source when a foreground NFS mount fails and shifts
    to background mode (when the background option has been specified).
1999-10-02 19:46:12 +00:00
Daniel C. Sobral eb166a2f43 MFC: loader.conf(5) days.
PR:		doc/12679
1999-10-02 12:56:56 +00:00
Dag-Erling Smørgrav b0963ede94 MFC: Fix typo.
Pointed out by:	Kelly Yancey <[email protected]>
1999-10-02 10:21:36 +00:00
Jordan K. Hubbard b0a643917c MFC: allow rm to return nonzero status. 1999-10-02 09:28:50 +00:00
Roger Hardiman c286ecae39 MFC: Switch from the old bktr Bt848/878 driver to the new one. 1999-10-02 06:04:25 +00:00
Roger Hardiman 20eba4c5a0 MFC:
Sync with the latest driver from -current.

The bktr Bt848/Bt878 driver has been moved to /sys/dev/bktr
and has also been broken down into smaller files
for tuner,audio,card detection,video capture and OS specific parts.
1999-10-01 17:14:12 +00:00
Pierre Beyssac aa167f98a9 MFC: in sbflush(), don't exit the while loop too early: this can cause
an empty mbuf to stay in the queue, then causing a needless panic
because sb_cc == 0 and sb_mbcnt != 0.

But we still need to panic rather than endlessly looping if, for
some reason, sb_cc == 0 and there are non-empty mbufs in the queue.

PR:		kern/11988
1999-10-01 17:08:50 +00:00
Kenneth D. Merry d5b186ff68 MFC, revision 1.4: Use mkstemp(3) instead of tmpnam(3) when creating
temporary files for mode page editing.

Submitted by:	roberto
Reviewed by:	imp, ken
1999-10-01 04:10:19 +00:00
Mike Pritchard 44aa52718c MFC: Fix a typo in a comment. 1999-09-30 04:56:27 +00:00
Greg Lehey 374e02238f MFC:
open_drive: Don't call set_drive_state to take a drive down, do it
            ourselves.  This breaks a vicious circle which caused
            vinum to dereference a null vp if device nodes were
            missing.

Reported-by:    Brad Chisholm <[email protected]>
                Alec Wolman <[email protected]>

check_drive: Don't take a drive down if it's only referenced.
1999-09-29 03:44:28 +00:00
Ruslan Ermilov 571d9a8ce2 MFC: make chmod +s foo' and chmod +t foodir' work.
PR:		13889
1999-09-28 07:27:12 +00:00
Matt Jacob 674ba0143c MFC: Ooops, forgot to commit this. Quirk entru for Tapestor 8000
PR:		14009
Obtained from:	[email protected]
1999-09-28 05:17:57 +00:00
Yoshihiro Takahashi 2583cb908c Merge from sys/i386/isa/if_ed.c revision 1.148.2.3 and 1.148.2.4.
Reviewed by:	[email protected] (Chiharu Shibata)
1999-09-28 03:30:19 +00:00
Jordan K. Hubbard 94a3d9c117 MFC: fix auto keyword botch. 1999-09-27 21:57:09 +00:00
Bill Fumerola eaf8401ebb MFC: 1.13 -> 1.14: -Wall cleanups, error handling. 1999-09-27 17:30:27 +00:00
Jonathan M. Bresler 65bc61ff8f MFC.
Add DUL filtering.
1999-09-27 13:34:17 +00:00
cvs2svn 184d11b059 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-09-27 08:04:56 +00:00
Kenneth D. Merry 00f7126ba4 MFC, revision 1.15:
Fix two rather embarrassing bugs in camcontrol.  The first caused the
CAM_PASS_ERR_RECOVER flag to be set unconditionally on READ DEFECTS
commands, and also caused the CAM_DIR_IN flag to not be set.  This was
the cause of all of the "camcontrol defects doesn't work with my NCR
controller" bugs.

The second prevented camcontrol negotiate from negotiating any bus width
other than 8 bits.

Submitted by:	[email protected] (Gerard Roudier)
1999-09-27 06:17:23 +00:00
Yoshihiro Takahashi 9fffddb4d7 Supported Networld EC-98X and EP-98X ethernet card.
Submitted by:	"KOMURO" <[email protected]>
Reviewed by:	[email protected] (Chiharu Shibata)
1999-09-26 08:34:58 +00:00
Chris Costello 70a9b67634 MFC: Change .Fn to .Xr where appropriate. 1999-09-25 22:43:35 +00:00
Chris Costello 8e8ae85c1b MFC: Fix a few capitalization errors. 1999-09-25 21:48:33 +00:00
Yoshihiro Takahashi bc599cd463 MFC: if_ed.c rev 1.156 and if_edreg.h rev 1.27
Added new macros ED_P1_MAR(i) and ED_P1_PAR(i).
Convert ED_PC_RESET and ED_PC_MISC into relative offset from ED_PC_ASIC_OFFSET.
1999-09-25 13:08:18 +00:00
Yoshihiro Takahashi 75c4f9c349 MFC: rev 1.155
The ed_probe_Novell should not clear id_maddr when it fails to probe.
1999-09-25 12:40:07 +00:00
Mark Murray 80777ecf12 Fix whitespace problem that increases diff size: "no newline at end of file" 1999-09-25 10:51:05 +00:00
Brian Somers 35c6052287 Make it clear that i4b support isn't built into RELENG_3 by default. 1999-09-24 12:23:00 +00:00
Yoshihiro Takahashi a83d97d13d MFC: rev 1.28.
Fixed the bug that the number of sectors per cylinder was stored into
  the ncyls (number of cylinders) in dsinit().
1999-09-24 11:56:54 +00:00
Yoshihiro Takahashi 34562f6948 MFC: rev 1.7
- Fixed DMA 64k boundary problem.
  - Test the processor flag to detect disk I/O BIOS errors.
1999-09-24 11:55:03 +00:00
Yoshihiro Takahashi 504eed42f1 MFC: rev 1.75
- Supported 1.23MB FD again.
   - Supported all formats that IBM-PC's driver supports.
   - Changed the device minor numbers. They sync in IBM-PC's driver.
1999-09-24 11:52:13 +00:00
Alexey Zelkin 8a525f2a81 Backout my previous patch (-p/-t options) until complete review.
Requested by: asami, rgrimes
1999-09-24 11:28:23 +00:00
Alexey Zelkin 676165fff9 MFC: revision 1.7, allow -p and -t options 1999-09-23 13:50:49 +00:00
Alexey Zelkin c9af249351 MFC: revision 1.10, mdoc(7)'fy 1999-09-23 13:47:46 +00:00
Alexey Zelkin 3349437ac6 MFC: revision 1.4, mdoc(7)'fy 1999-09-23 13:43:31 +00:00
Kenneth D. Merry 839256769d MFC, revision 1.7. Clarify what getdevs() expects as input.
Prompted by:	grog
1999-09-23 06:39:55 +00:00
Yoshihiro Takahashi d2780d0e9c Merge from sys/i386/i386/machdep.c revision 1.322.2.7. 1999-09-23 04:05:25 +00:00
Jordan K. Hubbard 95a780b2a0 reference to firewall variable should say "firewall_type" 1999-09-23 03:50:29 +00:00
Alexey Zelkin d0aa1d8fd8 MFC: Add gencat(1) to SEE ALSO section
PR:		docs/13658
1999-09-22 22:47:00 +00:00
Alexey Zelkin 7f77095f9c MFC: Allow .Rv macro to be used in 7th man section.
PR:		docs/13284
1999-09-22 22:38:39 +00:00
Alexey Zelkin 8e6b7a78dd MFC: .PB -> .El
PR:		docs/13283
1999-09-22 22:27:36 +00:00
Alexey Zelkin 6fdece0280 MFC: err.3 -> errc.3, verrc.3, warnc.3, vwarnc.3.
PR:		docs/13222
1999-09-22 22:15:11 +00:00
Alexey Zelkin 83881079c2 MFC: small style typo.
PR:		docs/13134
1999-09-22 21:56:55 +00:00
Alexey Zelkin 071c8f1d6f MFC: mdoc(7)'fy 1999-09-22 21:45:48 +00:00
Yoshihiro Takahashi f23ba952ff Fixed the device message on PC-98.
PnP devices on PC-98 is always connected on isa.
1999-09-22 14:44:31 +00:00
Ruslan Ermilov e6d3782d06 MFC: (revs 1.16 - 1.19)
- sys/errno.h -> errno.h
- make partial links work for outgoing packets
1999-09-22 14:15:15 +00:00
Greg Lehey 44b2556984 Fix typo:
Reported-by:	"Jeffrey J. Mountin" <[email protected]>
1999-09-22 01:32:20 +00:00
Alexey Zelkin 5eb5e1a75e MFC: mdoc(7)'fy
Reviewed by:	mpp
1999-09-21 19:41:08 +00:00
Alexey Zelkin 6aa7ce7a6d MFC: NAME and SYNOPSIS sections sync, mdoc(7)'fy 1999-09-21 19:30:45 +00:00
Alexey Zelkin b0353620d1 MFC: "tcp_extensions" turns on RFC1323 extensions only.
PR:		docs/13879
Submitted by:	Martin Kammerhofer <[email protected]>
1999-09-21 18:54:44 +00:00
Jose M. Alcaide 765c2abb35 Re-encode spanish messages using ISO-8859-1.
(bring changes from HEAD's 1.2 to RELENG_3)
1999-09-21 17:24:34 +00:00
Yoshihiro Takahashi cc0bfea1cc Merge from sys/i386/conf/GENERIC revision 1.143.2.21. 1999-09-21 13:25:14 +00:00
Justin T. Gibbs 4d21e40b7d Add a missing comment line.
Submitted by:	Roger Savard <[email protected]>
1999-09-20 23:31:41 +00:00
Justin T. Gibbs 5a087fb62a MFC: Clear SELINGO during selection timeouts so that the busy LED turns off. 1999-09-20 19:11:59 +00:00
Justin T. Gibbs 80ae0001a0 MFC: Fix Ultra2 data corruption under high PCI bus loads. 1999-09-20 19:11:13 +00:00
Mitsuru IWASAKI e8ba7ffa4c MFC: 1.106 -> 1.107
Return immediately from apm_suspend() when APM BIOS wasn't initialized.
Pressing Alt-Pause key will cause machine to reboot with apm disabled.

PR:             i386/13817
Submitted by:   yokota
1999-09-20 15:34:29 +00:00
Jose M. Alcaide 156688772f Add spanish support.
PR:		i386/10595
Submitted by:	Jose M. Alcaide <[email protected]>
1999-09-20 10:26:18 +00:00
Alexey Zelkin ce980c3b30 MFC: correct spelling: ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <[email protected]>
Reviewed by:	mpp
1999-09-20 09:50:01 +00:00
Bill Fumerola adb2b5f8df Recommend stable-supfile and secure-stable-supfile instead of
standard-supfile and secure-supfile respectivly.
1999-09-19 21:57:44 +00:00
Brian Feldman f103f3a37f Put "${firewall_script}" in quotes.
Submitted by:	[email protected]
1999-09-19 21:35:18 +00:00
Alexey Zelkin 9b6c26189f add $FreeBSD$
MFC: mdoc(7)'fy

PR:		docs/13408
1999-09-19 18:29:07 +00:00
Alexey Zelkin 0e411e5030 MFC: add link syscons.4 -> sc.4
PR:		docs/13289
1999-09-19 18:17:51 +00:00
Alexey Zelkin c17767bc23 MFC: fix typo
PR:		docs/13814
Submitted by:	Alex Vasylenko <[email protected]>
1999-09-19 17:59:41 +00:00
Jordan K. Hubbard 1e41282ea7 MFC: cosmetics and adaptation. 1999-09-19 08:37:16 +00:00
Jordan K. Hubbard 4cca46b73c MFC: less chat 1999-09-19 07:47:58 +00:00
David E. O'Brien e33526fed2 Fix Id tag spamage. 1999-09-18 19:34:45 +00:00
David E. O'Brien 1a3b683d9c Make RealPort cards work after re-insertions.
Submitted by:	Duncan Barclay <[email protected]>
1999-09-18 19:33:08 +00:00
Alexey Zelkin 78ee35a9f8 add $FreeBSD$
MFC:
.	mdoc(7)'fy
.	grammar fixes
. 	make it look better
1999-09-18 16:19:01 +00:00
Alexey Zelkin ea6e6f1fa1 MFC: expand .Xrs list, correct paper list 1999-09-18 16:03:48 +00:00
Alexey Zelkin 4d001dba5d MFC: Spelling and grammar errors fix, mdoc(7)'fy
PR:		docs/13406
1999-09-18 15:56:20 +00:00
Alexey Zelkin 9aeadaf0b1 MFC: mdoc(7)'fy
add $FreeBSD$

PR:		docs/13409
1999-09-18 15:53:26 +00:00
Yoshihiro Takahashi 63b7e78b07 Sync with sys/i386/conf/GENERIC revision 1.143.2.22. 1999-09-18 11:26:11 +00:00
Bill Paul f5c3fdc949 MFC: add bridging support.
PR:		kern/12385
1999-09-17 18:28:17 +00:00
Bill Paul 30f639ba42 MFC: close PR #13793 (initialize mini receive ring maximum length
correctly)

PR:		13793
1999-09-17 18:05:28 +00:00
Jordan K. Hubbard c35ab24400 Fix up a few small bogons I noticed while I was in here during -release. 1999-09-17 09:31:48 +00:00
Jordan K. Hubbard 8cef7215db Emergency fix for -r.
Submitted by:	bfumerola
1999-09-16 08:26:12 +00:00
Bill Fumerola c5f289819c Traditional post-release bump.
Approved by:	jkh
1999-09-16 07:37:17 +00:00
Ollivier Robert 18b41dce3d MFC: from 1.26 correctly initialise the multicast filter.
Submitted by:	Francis Dupont <[email protected]>
Approved by:	jkh
1999-09-16 07:35:38 +00:00
Jordan K. Hubbard 421c10b209 We are at 3.3-STABLE now, post-tag. 1999-09-16 04:56:44 +00:00
Jordan K. Hubbard a7f56066b1 Welcome to 3.3-RELEASE 1999-09-16 03:01:06 +00:00
Alfred Perlstein 0df360701e Limit aliases to a vnode in the namecache to a sysctl tunable
'vfs.cache.maxaliases'  This protects against a DoS via thousands
of hardlinks to a file wiring down all kernel memory.

Approved by:	jkh
1999-09-16 02:02:16 +00:00
Alfred Perlstein ecb11b29b4 Do not prematurely panic.
Approved by:	jkh
1999-09-16 01:50:29 +00:00
Larry Lile e786515e14 MFC the fix for truncated arp packets, and this time
do it correctly.  Also fix a little white space breakage.

[This affects token-ring only]
1999-09-16 00:50:37 +00:00
Julian Elischer 89c303b0a6 MFC: fix "make cannot find archive members"
PR: bin/13039
Submitted by:	[email protected]
Approved by: jkh
1999-09-16 00:28:40 +00:00
Greg Lehey a86bf22ca0 Update information about RAID-5 and how to treat bugs.
Approved-by: jkh
1999-09-16 00:06:42 +00:00
Larry Lile 32d41c5994 MFC fix for truncated token-ring arp replies.
Reorder arp code to make ethernet arp's the default and
allow fddi to arp correctly.

Reported by: Russell Neeper <[email protected]>
Reviewed by: Eivind Eklund <[email protected]>
Approved by: Jordan K. Hubbard <[email protected]>
1999-09-15 23:09:08 +00:00
Alexey Zelkin 227df2a26f MFC: mdoc(7)'fy.
Pointed out by: ru
Generally approved by: jkh
1999-09-15 18:51:47 +00:00
Doug Rabson 0a57e61c9a Fix a merge botch.
Approved by: jkh
1999-09-15 18:45:14 +00:00
David E. O'Brien 57ae559b32 s/emulation/binary compatibility/g 1999-09-15 17:43:09 +00:00
Ruslan Ermilov 9ea76e9343 MFC: Fix a coredump when commands in ~/.exrc prepended with addresses.
PR:		13000
Approved by:	jkh
1999-09-15 08:57:36 +00:00
Ruslan Ermilov 6b734c02fa MFC: (rev 1.9) Adjust descriptions for if_up() and if_down().
Approved by:	jkh
1999-09-15 08:51:50 +00:00
Ruslan Ermilov f378b20087 MFC: (rev 1.32) Add comments, fix typos.
Approved by:	jkh
1999-09-15 08:38:05 +00:00
Ruslan Ermilov 7d471a9005 MFC: (rev 1.7, 1.9)
- remove reference to the undocumented getkerninfo(2) call.
- describe all available message header structures, typo fixes.

Approved by:	jkh
1999-09-15 08:31:11 +00:00
Peter Wemm 1c10896ac7 Add a NO_CVS hook at the last second so we can build freefall from a stock
3.3-R build, after a little `accident' a short while ago.  This had better
not break anything as jkh has an armed nuke pointed at me at the moment...

Reviewed by:	jkh
1999-09-15 03:43:33 +00:00
Jordan K. Hubbard 39cb25b308 conditionalize some chattyness based on bootverbose. 1999-09-15 03:12:17 +00:00
Jordan K. Hubbard c3e1212859 MFC: DTRT for gnome + enlightenment 1999-09-15 02:53:37 +00:00
Jordan K. Hubbard 875ab523c6 Justin merged AMD support back into -stable; make note of this appropriately. 1999-09-15 02:39:28 +00:00
Jordan K. Hubbard bd843efdbc Add a small warning about RAID-5 in vinum. 1999-09-15 02:20:32 +00:00
Jordan K. Hubbard bd213f4302 MFC: don't erroneously associate ppp with the tunnel device. 1999-09-14 22:53:31 +00:00
Jordan K. Hubbard 1ff00c5bd2 Don't need to add bpfilter anymore. 1999-09-14 18:43:11 +00:00
Alexey Zelkin 496cf80d60 MFC: Document .Nx, .Ox and .Ta macros
Generally approved by:	jkh
1999-09-14 16:35:16 +00:00
Alexey Zelkin ef13604302 MFC: rc.conf -> /etc/motd
PR:		docs/13748
Generally approved by:	jkh
1999-09-14 16:14:09 +00:00
David E. O'Brien 17502a681e MFC: rev 1.225 (add NIS domainname to the tweakable knobs)
Approved by:	jkh
1999-09-14 10:42:12 +00:00
Alexey Zelkin 8d08818703 MFC: Reflect current state of filesystems layout
PR:	docs/13229
Approved by:	jkh
1999-09-14 09:42:45 +00:00
Ruslan Ermilov 6400adf425 MFC: Don't call if_up() here, just set IFF_UP.
PR:		12251
Approved by:	jkh
1999-09-14 09:07:00 +00:00
Bruce Evans eab169d8fd MFC (1.25: fixed rm of deep directories). 1999-09-14 09:03:35 +00:00
Ruslan Ermilov b2e6a9e5c1 MFC: Align.sockaddrs.
PR:		12847
Approved.by:	jkh
1999-09-14 08:44:55 +00:00
David E. O'Brien c8c0d5f9e7 MFC: rev 1.2 (support zh_TW.Big5 locale)
PR:		13623
Submitted by:	[email protected]
Approved by:	jkh
1999-09-14 08:44:04 +00:00
Jordan K. Hubbard 6c8b2f4a90 MFC: check_quotas=YES by default (so you can just tweak enable_quotas). 1999-09-14 07:27:32 +00:00
Jordan K. Hubbard 8f88b14d42 MFC: preserve perms, use proper serial console selection. 1999-09-14 07:24:46 +00:00
David E. O'Brien ac5b6456fc MFC: document tcp_keepalive, dhcp_program, dhcp_flags, and log_in_vain.
Update tcp_extensions.  And some general cleanup merges.

General manpage fixes ok'ed by:	JKH
1999-09-14 06:04:10 +00:00
David E. O'Brien 11489c28b2 Spell {10,100}-BaseTX correctly.
Remove outdated "thanks" that was for 3.{0,1}.
1999-09-14 05:28:41 +00:00
David E. O'Brien e62ab228ea ispell. 1999-09-14 05:20:48 +00:00
David E. O'Brien 06681f5446 Remove some Alpha/i386-specific things from the i386/Alpha-specific files.
Move base system security issues before ports security issues.
Group all the added network drivers (followed by rest of drivers) in an
  attempt to have a more logical grouping.
The Alpha-specific file needed some $ FreeBSD $ action.
1999-09-14 05:08:46 +00:00
Warner Losh 5378f39050 Reflect last minute security update to inn. 1999-09-14 04:19:46 +00:00
Justin T. Gibbs eafd6503e6 MFC: Almost everyone using the bus-dma interface copied a bug from my code.
I fixed this in -current a month ago but forgot to MFC them.  I don't
know how the old code ever worked... 8-)

There is also two fixes for detaching devices in here.  One is for
disconnecting a device with bus-dma resources (busdma_machdep.c) and
the other is for cam queue resources.  These two fixes have been in
-current for over a month (Nick Himba found them using USB devices).

And finally, there is a fix for a compile warning in the advansys
driver.

Approved by:	jkh
1999-09-14 04:08:11 +00:00
Jordan K. Hubbard d47c068e62 MFC: [ from Justin's email:
"Almost everyone using the bus-dma interface copied a bug from my code.
I fixed this in -current a month ago but forgot to MFC them.  I don't
know how the old code ever worked... 8-)

There is also two fixes for detaching devices in here.  One is for
disconnecting a device with bus-dma resources (busdma_machdep.c) and
the other is for cam queue resources.  These two fixes have been in
-current for over a month (Nick Himba found them using USB devices).

And finally, there is a fix for a compile warning in the advansys
driver.

I may not be around for much of today, so feel free to commit these
if they are approved." ]

Submitted by:   gibbs
1999-09-14 04:01:10 +00:00
Jordan K. Hubbard 9b4150cc82 MFC: [ from Justin's email:
"Almost everyone using the bus-dma interface copied a bug from my code.
I fixed this in -current a month ago but forgot to MFC them.  I don't
know how the old code ever worked... 8-)

There is also two fixes for detaching devices in here.  One is for
disconnecting a device with bus-dma resources (busdma_machdep.c) and
the other is for cam queue resources.  These two fixes have been in
-current for over a month (Nick Himba found them using USB devices).

And finally, there is a fix for a compile warning in the advansys
driver.

I may not be around for much of today, so feel free to commit these
if they are approved." ]

Submitted by:	gibbs
1999-09-14 03:51:31 +00:00
Greg Lehey 8cbb061c52 struct rqgroup: put 0-length array at the end. Make mental note not
to write such crap again.

Spotted-by:     Parag Patel <[email protected]>
Approved-by:	jkh
1999-09-13 08:03:53 +00:00
Mitsuru IWASAKI 81a856ae74 Improve comments on apm stuff.
Add `$FreeBSD$' for the new commit_prep.pl.

Reviewed by:	obrien
Approved by:	jkh
1999-09-13 03:32:52 +00:00
Ollivier Robert 2e9b825b7a MFC: check for /var/msgs before trying to create a file in it.
PR:		bin/13184
Submitted by:	"Stephen J. Roznowski" <[email protected]>
1999-09-12 22:44:16 +00:00
Kenneth D. Merry dcad910143 MFC: Fix a file descriptor leak in cam_open_btl(). The xpt device was
opened, but never closed.

Pointed out by:	[email protected]
Approved by:	jkh
1999-09-12 21:33:28 +00:00
Ruslan Ermilov e5a9cfdbb1 MFC: (rev 1.18) typo fix.
Approved by:	jkh
1999-09-12 16:07:54 +00:00
Ruslan Ermilov b4f4b37f74 MFC: (rev 1.15, rev 1.16): handle TCP reset properly.
PR:		13639
Approved by:	jkh
1999-09-12 16:07:24 +00:00
Mitsuru IWASAKI 5c5428d5fb MFC:
apm.c:	1.104 -> 1.106
	Handle USERSTANDBYREQ and CAPABILITIESCHANGE event.

apmd.8:	1.3 -> 1.5
	Document USERSTANDBYREQ and CAPABILITIESCHANGE events to apmd manpage.
	The apmd command appeared in FreeBSD 3.3, not 4.0.

Approved by:	jkh
1999-09-12 01:06:32 +00:00
Chris Costello 606cf2f9a4 MFC: Create a ``uiomove.9'' link to uio.9, since uio.9 documents the
uiomove(9) function.

Approved by:	jkh
1999-09-12 00:45:57 +00:00
Jordan K. Hubbard 6b8b1b6431 Undo my $FreeBSD$ smashing. 1999-09-12 00:09:29 +00:00
Justin T. Gibbs 5c58f83dfe Oops, added the comment, but not the controller line for the amd0 device. 1999-09-11 16:06:36 +00:00
Justin T. Gibbs b109223f6a MFC: Better target mode support. Probe logic for the 2930. Fixed a few
nits in the error recovery code.

Approved by: jkh
1999-09-11 15:52:55 +00:00
Justin T. Gibbs 26f1010b0f MFC: Add probe logic for the 2930CU. Fix an aic7896 auto-term detection bug
Approved by: jkh
1999-09-11 15:51:48 +00:00
Justin T. Gibbs 9df362aaba Add the amd driver.
Approved by: jkh
1999-09-11 15:46:38 +00:00
Justin T. Gibbs 1a95add754 Bring the AMD driver back into -stable.
Approved by: jkh
1999-09-11 15:46:12 +00:00
Justin T. Gibbs 6f49fd05df Bring the AMD driver back into -stable.
Aproved by: jkh
1999-09-11 15:44:16 +00:00
David E. O'Brien b8d1d17273 MFC: rev 1.13 (document -R)
Approved by:	jkh
1999-09-11 13:36:09 +00:00
Pierre Beyssac 08f34d8510 MFC: move call to umask(0) back into pw_util(), because the latter
function is also used by chpass(1) and passwd(1).

Reviewed by:	jkh
1999-09-11 10:21:05 +00:00
David E. O'Brien 12739b13e9 MFC: revs 1.{35,41}
Bring over the {Lucent,NCR,Cabletron RoamAbout} WaveLAN/IEEE and
NDC Ethernet Instant-Link NE2000 clone support

Approved by:	jkh
1999-09-11 09:36:53 +00:00
David E. O'Brien 5745dfc4f1 MFC: rev 1.4 (ucb adjustments)
Approved by:	jkh
1999-09-11 09:22:33 +00:00
Jordan K. Hubbard ff527958af MFC: fix the rogue score file by using the current permissions on the copy. 1999-09-11 06:13:57 +00:00
Mike Smith a1691eacb1 Back out an accidental merge from -current that broke APM && SMP
Authorised by: jkh
1999-09-10 22:36:03 +00:00
Poul-Henning Kamp 0329a5ba95 MFC: tsc is not suitable for timecounting on WinChip C6
Submitted by:	IMAI Takeshi <[email protected]>
Reviewed by:	phk
Approved by:	jkh
1999-09-10 20:47:22 +00:00
Bill Fumerola 76d1e3a826 Approved MFC: 1.67 -> 1.68 Install aio_*.2 1999-09-10 20:36:08 +00:00
Jordan K. Hubbard 41e331a14e MFC: r1.164. This allows docs to build. 1999-09-10 19:44:24 +00:00
Sheldon Hearn 6aabfb72ff MFC: Apply the Danish Axe to LOGIN_CAP_AUTH.
Approved by:	jkh
1999-09-10 15:10:58 +00:00
Warner Losh fae92dbacc MFi386: Security things fixed before 3.3R 1999-09-10 04:22:52 +00:00
Warner Losh 80f771163c Add security section before the release.
Approved by: jkh
1999-09-10 04:20:18 +00:00
Bill Paul 38e72c875a Add the xmaciireg.h header to /sys/pci; the SysKonnect driver needs
this to compile. The sk driver isn't in GENERIC though so this doesn't
affect the release build.
1999-09-10 01:48:23 +00:00
Mike Smith 946b19048b MFC: call smp_rendezvous_action in a.out compatible fashion. 1999-09-10 01:20:32 +00:00
Daniel Baker ace4f940cd MFC:
column counter (cnt) not reset to 0 on display of '\r' which could cause
unnecessary forced linewraps on some terminals.
Corrected apparent omission in program logic which was causing the
insertion of redundant crlf's.  Eliminated the venetian-blind effect
in walled text.
1999-09-09 23:05:51 +00:00
Jordan K. Hubbard 75620c3aa1 Tag in release notes on this branch. Still needs editing. 1999-09-09 13:50:29 +00:00
Jordan K. Hubbard baf005945b Whoops, I missed converting the 3.2 references!
Reminded by:	Oliver Fromme <[email protected]>
1999-09-09 10:42:17 +00:00
Poul-Henning Kamp 920b27d079 MFC: Improved doc. 1999-09-08 17:13:30 +00:00
Jordan K. Hubbard a674069519 MFC: "classic gnome" l&f option 1999-09-08 11:22:13 +00:00
Roger Hardiman 63cd043c06 MFC: Added Australian channel set 1999-09-08 08:43:08 +00:00
cvs2svn 7d1a41186c This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-09-08 07:34:53 +00:00
Jordan K. Hubbard 70685daf5a MFC: decrease maxusers in install kernel. 1999-09-08 04:47:17 +00:00
Brian Feldman 6175913481 Add IPFW changes.
Reviewed by:	jkh
1999-09-07 23:25:14 +00:00
Jordan K. Hubbard ba41239030 MFC: Allow patch flags 1999-09-07 20:51:36 +00:00
Ruslan Ermilov f55df74159 MFC: Add FreeBSD 3.3 to the Fx and Os macros.
Approved by:	jkh
OK'ed by:	mpp
1999-09-07 12:58:48 +00:00
Yoshihiro Takahashi 6ee05adbed Sync with sys/i386/conf/Makefile.i386 and sys/i386/conf/files.i386
revision 1.136.2.9 and 1.220.2.13, respectively.
1999-09-07 12:25:36 +00:00
Jordan K. Hubbard 7ac60b2d1d Update XFree86 release number. 1999-09-07 09:37:42 +00:00
Dag-Erling Smørgrav 558ebacb53 MFC: Show dirty buffers and the percentage of time a disk was busy.
PR:		12858
Submitted by:	Arjan de Vet <[email protected]>
Approved by:	jkh
1999-09-07 08:39:34 +00:00
Hidetoshi Shimokawa 4eb0d8198c MFC: Update the author's address and Global's home page.
Approved by: jkh
1999-09-07 02:51:35 +00:00
John Polstra a704768977 MFC 1.37 -> 1.38: Change the warning about unrecognized entries in
the dynamic table to a debug message.

PR:		bin/12849
Approved by:	jkh
1999-09-06 16:50:54 +00:00
Jordan K. Hubbard 01a892652f MFC: don't be so boorish in DHCP configuration 1999-09-06 15:14:58 +00:00
Sheldon Hearn 629505d620 MFC: Add xrefs to {f,net,sock}stat.1 pages and correct a .Dt .
Approved by:	mpp
1999-09-06 13:20:42 +00:00
Ruslan Ermilov 9f9d4514d7 MFC: 1.7.
Fix the breakage introduced in the previous commit, which
prevented matching of user names.

Noticed by:	Evren Yurtesen <[email protected]>
Approved by:	jkh
1999-09-06 12:34:18 +00:00
Dag-Erling Smørgrav fdf472624c MFC rev 1.51: don't forget to reset _pw_stepping_yp to 0. 1999-09-06 08:09:49 +00:00
Alexey Zelkin 6e9218cc69 Fix problem with manpages which contain ``-'' (dash) symbol in
Name Description (.Nm) field.

PR:		bin/13456
Reviewed by:	mpp, jkh
Approved by:	jkh
1999-09-06 05:41:49 +00:00
Jordan K. Hubbard 84067f397a MFC: fix path-ological bug with docs. 1999-09-06 03:34:04 +00:00
Brian Feldman 3f01ec563e Disable k6_mem.c for now. It isn't quite ready for prime-time. 1999-09-06 00:35:34 +00:00
Jordan K. Hubbard 738ab27db1 Back out the ${KERNEL} change - it's messier in its implications than
I thought.
1999-09-05 21:06:10 +00:00
Jordan K. Hubbard 60a293c5d7 OK, I'm now sorry I ever opened Peter's can of worms here. They're
really icky! :)  Back out all but the tag fixes - I'll go tweak release/Makefile
back to doing things the old way.  It's a pessimisation from what I had before,
but too much stuff was getting dragged in for such a comparatively small
delta.
1999-09-05 21:03:48 +00:00
Bill Fumerola 18486d2a8f MFC: Correct the spelling of Eklund. 1999-09-05 20:56:43 +00:00
Mike Pritchard 8340829ba2 MFC: mdoc style fixes. .Bx Free -> .Fx. Cross references
to ports split into a different subsection.

Approved by: jkh
1999-09-05 15:23:41 +00:00
Mike Pritchard ba7037401e MFC: mark some i386 only stuff as i386 only.
Approved by: jkh
1999-09-05 15:14:14 +00:00
Brian Feldman cd65547c87 Clean up and make work better the "uid" and "gid" cases.
Approved by:	jkh
1999-09-05 12:04:35 +00:00
Jordan K. Hubbard 4489aefa85 MFC: ${KERNEL} changes, unbreak tag support, support debugging kernels. 1999-09-05 10:22:41 +00:00
Chris Costello e2b38c23a9 Add usb.4 to ${MAN4} and ${MLINKS}
Approved by:	jkh
1999-09-04 22:11:25 +00:00
Chris Costello 8345eff58b Add the manual page for USB to -STABLE (aka 3.3-RC). Since the code
exists on this branch, the documentation should, too.

Approved by:	jkh
1999-09-04 22:07:15 +00:00
Jordan K. Hubbard 83a21b9065 Your updates to HARDWARE.TXT concerning ISDN are giving the current status
in 4.0-CURRENT. Because the i4b-project is only commiting to the HEAD branch
we stay at i4b release 70 in the RELENG_3 branch. So here is a diff:

Submitted by:	Udo Schweigert <[email protected]>
1999-09-04 20:24:07 +00:00
Jordan K. Hubbard 40c5c6e016 MFC: update to XFree86 3.3.5 1999-09-04 16:24:51 +00:00
Chris Costello 939f03c37c MFC: Add cross-references for respective syscalls.
Approved by:	jkh
1999-09-04 16:12:17 +00:00
Chris Costello 879d4f9610 MFC: Properly document -P and -p flags.
Approved by:	jkh
1999-09-04 16:06:09 +00:00
Jordan K. Hubbard c9da0e5adb MFC: Move these into their architecture subdirectory. 1999-09-04 09:16:07 +00:00
cvs2svn e6ec0509ab This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-09-04 08:54:15 +00:00
Jordan K. Hubbard 13a407b044 MFC: changes for DHCP support, some updates to docs (NOTE: I've merged
the USB and ISDN sections more or less unchanged; if there are still
significant differences between the support in -current and the support
currently in -stable for either of these families of devices, please let
me know to adjust the docs.  I don't follow either the USB or ISDN efforts
closely enough to know for sure!).
1999-09-04 08:46:32 +00:00
John Birrell 15f39ed3be If MACHINE_ARCH is not defined, default to i386 instead of unknown so
that bootstrapping make from 2.2.X builds a useful tool.

Tested by:   David Scheidt <[email protected]> in make aout-to-elf
             from 2.2.6 to RELENG_3.

Approved by: jkh
1999-09-03 22:07:19 +00:00
Warner Losh 41e73920d5 MFC: 1.11 Stop core dumping on long, strange paths.
Approved by: jkh
1999-09-03 19:40:33 +00:00
Mike Smith 37755c87b2 Add memcontrol to the build.
Approved-by:	jkh
1999-09-03 19:18:09 +00:00
Mike Smith 6a731c739c Bring memcontrol back to -stable.
Approved-by:	jkh
1999-09-03 19:16:39 +00:00
Jordan K. Hubbard 35398b0cc6 MFC: Enable DHCP support
PR:	13548
1999-09-03 08:57:27 +00:00
Jordan K. Hubbard fa477eeb62 MFC: allow verbose DOS filesystem options. 1999-09-03 08:53:59 +00:00
Jordan K. Hubbard f6e5598888 MFC: 1.6: dump -w fix 1999-09-03 08:48:51 +00:00
Warner Losh d57bb0b8cd MFC: Backport strl* routines.
Approved by: jkh
Tested by: make buildworld
1999-09-03 06:18:13 +00:00
Mike Smith 98548f56e6 Bring back the rest of the changes required to make memory range support
work on SMP systems.  Tested by various folks on the -stable list, thanks
for their patience and support.

Approved-by:	jkh
1999-09-02 23:57:04 +00:00
David E. O'Brien 39ef10c472 Bump __FreeBSD_cc_version for 3.3 RELEASE.
Approved by:	jkh
1999-09-02 18:29:31 +00:00
David E. O'Brien 907fc28ff8 Set are now in Release Candidate mode -- set __FreeBSD_version to 330000. 1999-09-02 18:12:05 +00:00
David E. O'Brien 6061128a7c MFC: rev 1.45 (futher document ``hostname'' WRT DHCP) & remove contractions. 1999-09-02 18:09:11 +00:00
Brian Somers 2318b99983 When sending radius authentication requests:
Supply RAD_NAS_IDENTIFIER if we have a `hostname` and
  RAD_IP_ADDRESS if that hostname resolves.

  Supply RAD_NAS_PORT using the ttyslot() of the tty that
  we're authenticating on if it's a tty device.

Partially submitted by: Andriy I Pilipenko <[email protected]>
PR:			12225
1999-09-02 15:11:53 +00:00
Yoshihiro Takahashi a766efcedf Sync with sys/i386/conf/GENERIC revision 1.143.2.20.
Approved by:  jkh
1999-09-02 12:19:00 +00:00
Yoshihiro Takahashi b3776ca129 Sync with sys/i386/i386/userconfig.c revision 1.126.2.10.
Approved by:  jkh
1999-09-02 12:17:09 +00:00
Thomas Gellekum 342bd4bd5d MFC: Add -r' option to the read' builtin. Make the behaviour of
`read -e' the default.

Approved by:	jkh
1999-09-02 12:09:48 +00:00
Jordan K. Hubbard 266ab86899 MFC: PR#13534 1999-09-02 11:56:20 +00:00
Jordan K. Hubbard a48ebe7e7f We're now at 3.3-RC; the release candidate. 1999-09-02 11:55:40 +00:00
Jordan K. Hubbard de0fd75198 Delete the VAR_NEWFS_ARGS variable (which crept in during my attempt
to correct my earlier spam) until I hear from phk about whether this is
a -stable candidate.
1999-09-02 11:48:45 +00:00
Ruslan Ermilov 7b1a78f560 MFC: Don't install /etc/manpath.config.sample.
Approved by:	jkh
1999-09-02 09:14:39 +00:00
Warner Losh f7971cd3e7 MFC: fix DoS in boot sequence; implement rc.sysctl; don't use /tmp for
motd creation.
1999-09-02 08:53:31 +00:00
Jordan K. Hubbard f5aa254532 NOW merge this over. Ahem. 1999-09-02 00:55:31 +00:00
Yoshihiro Takahashi 9d661ba747 MFC: revision 1.54 and 1.56
- Make binary size smaller.
- Fix typo in TDK/LANX stuff.
- C-NET(9N)C support (PC-98 only).
1999-09-01 23:56:52 +00:00
Greg Lehey 3a7d5657f0 Remove a rather embarrassing race condition.
Approved-by:	jkh
1999-09-01 23:28:02 +00:00
Eivind Eklund b55e751bea MFC: Style. This commit just minimize the diffs from -current,
including adapting the style cleanup peter did.  No functional
changes.
1999-09-01 22:27:00 +00:00
Nick Sayer c7b0b2882e MFC: Add SX to si driver ID string. quoted string change only. 1999-09-01 16:43:58 +00:00
Sean Eric Fagan 5058259e2c Make prototype and function decl. match. 1999-09-01 16:22:45 +00:00
Roger Hardiman 0aab5f00a6 MFC: Update driver to release 1.72
Main improvements are
  VBI support for Teletext now usable
  STB card identification (proboems with audio still remain)
  MSP3430G audio support for new Hauppauge cards
  Hauppauge model identification
  Hauppauge model 627 tuner supported

Bug Fix
  AVerMedia card detection fixed
1999-09-01 16:14:03 +00:00
Bill Fumerola d907504a3c (1) Remove support for automatic fetching of a.out packages. No-one
qualifies for that anymore.

(2) Change if logic to reflect 3.3-RELEASE
1999-09-01 14:05:07 +00:00
Sheldon Hearn 15ec747c88 MFC: Fix getopt handling of -d option, which got broken by -f option. 1999-09-01 12:45:45 +00:00
Sean Eric Fagan d22f45c22d MFC: clean up the coredump routines a bit, eliminating some duplicate
code.

Reviewed by:	julian
1999-09-01 06:12:12 +00:00
Dima Ruban f36a087cac MFC: don't follow symlinks on ktrace. 1999-09-01 05:52:13 +00:00
Brian Somers ffe344131a MFC: vty3 -> vty2 1999-09-01 00:54:44 +00:00
Dmitrij Tejblum e4b2e9bfa6 MFC rev. 1.12: fix a memory leak. 1999-08-31 20:16:01 +00:00
John Polstra 0b06bd0f9c MFC: Adjust the examples to reflect the new "src-sys-crypto"
collection.  Add back "src-eBones" to "cvs-supfile" and
"secure-cvs-supfile".
1999-08-31 17:59:30 +00:00
Sheldon Hearn db2ecc4105 MFC: Revert to .Xr for builtins. 1999-08-31 12:53:18 +00:00
Yoshihiro Takahashi 37fadc707a Sync with sys/i386/conf/files.i386 revision 1.220.2.12. 1999-08-31 12:14:07 +00:00
Kazutaka YOKOTA f81f3021e4 MFC from rev 1.5.
- Handle the signal SIGTERM.
- Slightly rearrange VGLCheckSwitch().
- Fix VGLEnd()
1999-08-31 09:19:09 +00:00
Mike Smith c7ef970bd8 Fix missing return(0) in mem_range_attr_get() 1999-08-31 06:45:41 +00:00
Sheldon Hearn 7bd078ecc7 Back out previous commit. I mistook passing commentary from bde for
review.

Requested by:	bde
1999-08-31 06:44:17 +00:00
Mike Smith 5cccf27e70 This file wasn't correctly patched up to the most recent working version,
leading to a prototype mismatch.  Fix.
1999-08-31 06:42:30 +00:00
Bruce Evans c5db0b383e MfC (1.61: fixed access timestamp bugs). 1999-08-31 03:11:12 +00:00
Mike Smith cc752349a5 MFC: Intel 686 and AMD K6/2 memory range attribute support. This merge
brings all of the memory range attribute support from -current back to
-stable, as requested by a number of folks.

Reviewed by:	jlemon
1999-08-31 01:19:30 +00:00
cvs2svn c1adf644b8 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-31 01:00:31 +00:00
Luoqi Chen bf56aebced (MFC)Wrong sleep addr passed to wakeup.
Submitted by:   Vsevolod Lobko  [email protected]
PR:		i386/13468
1999-08-30 18:37:43 +00:00
John Hay f5d001ffc9 MFC: IPX checksum code.
PR:		13374
Submitted by:	Boris Popov <[email protected]>
1999-08-30 16:52:11 +00:00
Roger Hardiman bbb2fffcf0 MFC: Add #include <sys/select.h> 1999-08-30 16:24:35 +00:00
Mark Murray 7acb3f5e9b MfC: Correct description of bind(2) syscall.
Correct According To:	W. Richard Stevens
1999-08-30 14:19:09 +00:00
Sheldon Hearn 94799b3ff3 MFC 1.60: Fix for the case where DEBUG is used without DIAGNOSTIC. 1999-08-30 12:30:11 +00:00
Sheldon Hearn 6fe856b977 MFC: Reduce the number of warnings emitted for large UID's and GID's. 1999-08-30 10:29:03 +00:00
Sheldon Hearn d4fc99c30f MFC: Grammar, spelling and mdoc clean-ups. 1999-08-30 10:20:14 +00:00
Daniel Eischen 5508423faf MFC: Make checks for invalid timevals in select() and poll() return
-1 and set errno to EINVAL.  Added check for null timespec in
      pthread_cond_timedwait().
1999-08-30 00:20:02 +00:00
Brian Feldman 887688ea47 This got emptied out recently. 1999-08-29 21:32:07 +00:00
Doug White df073dcfb8 MFC: Take tee off of stage1 call. 1999-08-29 19:18:57 +00:00
Roger Hardiman 8fec96e405 MFC: Add Voodoo 3 description 1999-08-29 19:18:04 +00:00
Doug White 0ac10f2234 Dialog-ify 'use custom directory' question. 1999-08-29 19:08:38 +00:00
Mitsuru IWASAKI 5c62e4755c MFC: 1.18 -> 1.19
ident GENERIC -> ident PCCARD

Okayed by:	hosokawa
1999-08-29 17:05:59 +00:00
Peter Wemm f13d5fc441 $Id$ -> $FreeBSD$ 1999-08-29 16:48:23 +00:00
Peter Wemm c4f617ca01 $Id$ -> $FreeBSD$ 1999-08-29 16:33:42 +00:00
Peter Wemm 700c9d248f $Id$ -> $FreeBSD$ 1999-08-29 16:07:53 +00:00
Peter Wemm a92bee191d $Id$ -> $FreeBSD$ 1999-08-29 15:57:45 +00:00
Mitsuru IWASAKI 5a36642d85 Mention that APM support has been improved and apmd(8) has been imported. 1999-08-29 15:23:49 +00:00
Peter Wemm 8e19c90b7f $Id$ -> $FreeBSD$ 1999-08-29 15:18:34 +00:00
Mitsuru IWASAKI 288995ec60 MFC: bios32() equivalent Fix (1.93 -> 1.98)
- Set segment limits to 64k byte as default.
  For compatibility with the previous apm device driver, new flags
  value is prepared.

- Delete unnecessary apm_event_enable() in attach function.
  It should be called only by apmconf -e.

- Fix segment descriptor for APM, especially limit granularity.
  Following segment selector setting in bios32() family, some values
  in gdt_segs[] were fixed.  APM BIOS reports its segment limits in
  byte units, so the limit granularity for APM is byte units, not
  page units.

Reviewed by:	imp and jlemon
1999-08-29 15:11:59 +00:00
Peter Wemm ee00aca011 $Id$ -> $FreeBSD$ 1999-08-29 15:04:30 +00:00
Peter Wemm f376ef9054 $Id$ -> $FreeBSD$ 1999-08-29 14:49:43 +00:00
Stephen McKay d972ce881f MFC (up to rev 1.27): Better performance at times of high rates of file
creation or deletion.

OK'd by: jkh
1999-08-29 14:31:23 +00:00
Peter Wemm 8433714d3c $Id$ -> $FreeBSD$ 1999-08-29 14:23:02 +00:00
Brian Feldman b9f1099bd4 The new pidentd now runs as root. 1999-08-29 13:15:39 +00:00
Brian Feldman 9869a17237 MFC:
This is the pre-3.3 IPFW megamerge. This brings IPFW almost completely
up to 4.0's. __FreeBSD_version is bumped by this commi. Changes include:
	- per-socket credentials stored
	- ability to get those credentials with sysctl
	- uid- and gid- based filtering in IPFW
	- dynamic logging in IPFW (rules can be set as logging for any number
	  of packets, not just the default, and logging can be reset)

Following this is a commit to pidentd to use 1 and 2.
1999-08-29 13:09:25 +00:00
Marcel Moolenaar d54387f139 MFC:
o  Fix lstat behaviour for links.
o  Fix dev_t conversion for struct stat.
o  Minor refinements.

Approved by: jkh
1999-08-29 13:09:06 +00:00
Marcel Moolenaar b3e52385a0 MFC:
o  Fix segfault in uselib
o  Fix {s/g}etgroups semantics

Approved by: jkh
1999-08-29 08:59:12 +00:00
Yoshihiro Takahashi 711d1160bd MFC: rev 1.14 (added -z and -i option). 1999-08-29 03:24:39 +00:00
Yoshihiro Takahashi 950b5c0f16 MFC: rev 1.38 and 1.39 (added 3C574-TX Fast EtherLink and CyQ've ELA-010). 1999-08-29 02:49:02 +00:00
Alan Cox 072ad8eb6d MFC: [rev 1.47] Prevent livelock in kmem_alloc_wait. 1999-08-28 21:40:58 +00:00
Marcel Moolenaar db10c0d8b7 MFC: glibc2.1 required syscalls (rt_sigaction, rt_sigprocmask, getcwd and
vfork)

Approved by: jkh
1999-08-28 20:45:08 +00:00
Marcel Moolenaar 23d164ceb8 MFC: glibc2.1 required syscalls (rt_sigaction, rt_sigprocmask, getcwd and
vfork)

Approved by: jkh
1999-08-28 20:36:41 +00:00
Yoshihiro Takahashi f01a097259 - Added the olpt and gdc drivers.
- The PC-9801-86 driver is renamed 'nss'.
1999-08-28 15:20:55 +00:00
Roger Hardiman 14b171c81e MFC: Add file forgotten in previous commits 1999-08-28 06:52:43 +00:00
Yoshihiro Takahashi 206fbbb74f Sync with sys/dev/syscons/scvidctl.c revision 1.7.2.2. 1999-08-28 05:29:39 +00:00
Kazutaka YOKOTA 977560c398 MFC: Retain the previous vty and history buffers when setting up
the graphics mode (rev 1.11).
1999-08-28 02:45:11 +00:00
Kazutaka YOKOTA 2ff214e3ae Back-port the fix regarding the mode information for the VGA mode X
(/sys/dev/fb/vga.c, rev 1.3).
- This mode uses four planes rather than one.
- "# of bytes in a scan line" = "# of pixels in the line"/2
1999-08-28 02:43:05 +00:00
Kazutaka YOKOTA e01b748581 MFC: Do not assume the VESA BIOS will preserve the upper 16 bits
of EAX and EBX (rev 1.27).
1999-08-28 02:41:59 +00:00
Mike Pritchard cde851a27f MFC: Remove some 4.3BSDish anacronisims that state it is an
error to have pathname that contains a character with the
high-order bit set.
1999-08-27 20:22:56 +00:00
Joerg Wunsch f1856ba976 MFC: r 1.8, remove 4.3BSDish anachronism 1999-08-27 14:26:04 +00:00
KATO Takenori b6bb3dde04 MFC: IBM BlueLightning CPU detection (revision 1.72). 1999-08-27 08:09:04 +00:00
Jordan K. Hubbard 8b5558ad77 MFC: revert BINMODE; ppp is failing for other reasons. 1999-08-27 07:47:42 +00:00
Jordan K. Hubbard 85507584e1 MFC: correct BINMODE 1999-08-27 06:02:00 +00:00
Bill Fumerola 9c35b6a204 Spelling mistake: 'von' -> 'on' 1999-08-27 01:54:28 +00:00
Jun Kuriyama d9d10dbb3c MFC: More PAO-ish stuff. Wildcard the IRQ bits. 1999-08-26 22:01:06 +00:00
Jun Kuriyama 2f040c6725 MFC: Release IRQ allocated dynamically.
Removed a very very old hack (I disabled it in PAO long time ago).
     Set correct "flags" value when pccardd allocates/initializes driver.
1999-08-26 21:59:54 +00:00
Brian Somers bef3600a4b MFC: Rebuild the list of interface numbers to names if we're trying
to evaluate an interface number that didn't previously exist.
1999-08-26 20:02:16 +00:00
Kenneth D. Merry 18cb40e756 MFC: Fix short timeout problems with the pt(4) driver:
- increase the default timeout from 10 seconds to 60 seconds
- add a new kernel option, SCSI_PT_DEFAULT_TIMEOUT, that lets users specify
  the default timeout for the pt driver to use
- add two new ioctls, one to get the timeout for a given pt device, the
  other to set the timeout for a given pt device.  The idea is that
  userland applications using the device can set the timeout to suit their
  purposes.  The ioctls are defined in a new header file, sys/ptio.h

PR:		10266
Reviewed by:	gibbs, joerg
1999-08-26 19:39:54 +00:00
Nik Clayton 8b7a5ed271 MFC: 1.82 from HEAD (clearer wording for BOOT_COMCONSOLE_PORT)
Requested by:   cpiazza
1999-08-26 19:29:18 +00:00
Roger Hardiman 5c3cfe241d MFC: Obtain VM page size using a sysctl rather than using DEFAULT_PAGE_SIZE 1999-08-26 18:29:48 +00:00
Roger Hardiman 4d531912cb MFC: Comment out references to ssh to allow builds to complete. 1999-08-26 18:01:56 +00:00
Mitsuru IWASAKI d3e8fa5eae MFC: 1.42->1.43
Follow the style clean-up.
1999-08-26 18:00:52 +00:00
Dima Ruban 4ba32797d9 MFC: don't follow symlinks on coredumps 1999-08-26 17:35:03 +00:00
Roger Hardiman 69c91173c8 Undo last commit which committed the wrong file. 1999-08-26 17:22:07 +00:00
Sheldon Hearn 78635beaca MFC: Suggest lsvfs(1) as a means for discovering available fs types. 1999-08-26 16:55:10 +00:00
Roger Hardiman 753925c93d Undo last commit which committed the wrong file. 1999-08-26 16:06:06 +00:00
Roger Hardiman 5d1cfdfb22 MFC: Update patch so it applies cleanly 1999-08-26 15:36:54 +00:00
Marcel Moolenaar 2d523ee3e1 MFC: Fix stack alignment 1999-08-26 14:50:10 +00:00
Joerg Wunsch 82bd0bef04 MFC rev 1.3 and 1.6: various fixes regarding the description of the
flag values
1999-08-26 13:43:36 +00:00
Yoshihiro Takahashi 6ba021973c Sync with sys/i386/conf/files.i386 revision 1.220.2.10. 1999-08-26 11:15:23 +00:00
Greg Lehey e0b2308d24 MFC: Bring in sync with -CURRENT. 1999-08-26 04:03:56 +00:00
cvs2svn 686f8d679d This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-26 04:01:38 +00:00
Greg Lehey 9b9a3ebc0f Update and tidy descriptions of info -V.
Describe use of -w option with start.
Tidy up descriptions of scale factor suffixes.
1999-08-26 03:32:07 +00:00
Greg Lehey aae0170f7c MFC:
config_plex: don't allocate a rangelock struct.

lockrange: correctly expand rangelock struct, including expanding a
	   null struct.  Previously lockrange would attempt to lock a
	   NULL pointer under these circumstances.

Reported-by:	Ian Freislich <[email protected]>
1999-08-26 03:30:44 +00:00
Brian Somers 96c39d6720 MFC: Use err*() & warn*() 1999-08-25 21:44:29 +00:00
Brian Somers 290f1d8754 MFC: Fix some mdoc(7) style inconsistences 1999-08-25 21:40:21 +00:00
Doug White cdb82ab222 MFC: add -e to usage(). 1999-08-25 21:31:57 +00:00
David E. O'Brien 88f5003435 Totally remove every bit of ``amq -M'' processing unless ENABLE_AMQ_MOUNT
is defined.

Obtained from:	am-utils-6.0.1s11
1999-08-25 20:18:37 +00:00
David E. O'Brien d5c16098cd MFC: rev 1.4 (don't getopt -M option and don't process it unless
ENABLE_AMQ_MOUNT is on)

Obtained from:  am-utils-6.0.1s11
1999-08-25 20:07:52 +00:00
David E. O'Brien 1c99c54f4b MFC: rev 1.2 (Make sure expanding errno into a textual representation
doen't overflow)
1999-08-25 18:59:39 +00:00
Mitsuru IWASAKI e7e20edab8 MFC:
etc/Makefile:			1.200->1.201
	etc/apmd.conf:			added to RELENG_3
	etc/rc.resume:			added to RELENG_3
	etc/rc.suspend:			added to RELENG_3
	etc/defaults/rc.conf:		1.18->1.20
	etc/etc.i386/MAKEDEV:		1.205->1.206
	etc/etc.i386/rc.i386:		1.39->1.42
	share/man/man5/rc.conf.5:	1.42->1.43
	usr.sbin/Makefile:		1.156->1.157
	usr.sbin/apmd:			added to RELENG_3

The apmd package provides a means of handling various APM events from
userland code.  Using apmd.conf, the apmd(8) configuration file, you
can select the APM events to be handled from userland and specify the
commands for a given event, allowing APM behaviour to be configured
flexibly.
1999-08-25 18:11:18 +00:00
Dmitrij Tejblum 2d861b15e7 MFC rev. 1.11: fix an alignment problem. 1999-08-25 16:56:45 +00:00
Masahide MAEKAWA 46835e3fa7 MFC: from rev 1.194, 1.208
Make the USB devices by default
1999-08-25 16:50:43 +00:00
Dmitrij Tejblum 7f8474578c MFC:
- rev. 1.26: force FPU state in memory when the process is swapping out
  - rev. 1.27: add some extra alpha_pal_imb() in overkill mode.
1999-08-25 15:11:19 +00:00
Jun Kuriyama cab08dfcac MFC: Inappropriate commment for -i option.
Reviewed and tested by:	hosokawa, nyan, kuriyama
1999-08-25 14:32:37 +00:00
Jun Kuriyama 4d9e86929f MFC: Added "iosize" directive in /etc/pccard.conf
Allocate free I/O window with given size to card.
     (with "iosize auto" fix)

Reviewed and tested by:	hosokawa, nyan, kuriyama
1999-08-25 13:38:11 +00:00
Chris Costello 02164736a6 MFC: Move mount(8) cross-reference down the list under `SEE ALSO' with the
rest of the section 8 references.
1999-08-25 08:46:56 +00:00
Chris Costello 8f5e2fe0a8 MFC:
* Merge removal of sd(4) and od(4) references.

 * Merge fixes from revision 1.6.  This revision addresses PR #10624.
1999-08-25 08:36:38 +00:00
Warner Losh 5a79826a77 MFC: 1.6 close possible buffer overflow 1999-08-25 07:46:12 +00:00
Alan Cox 98c84b3452 MFC: The new implementation of atomic.h. This implementation
fixes some cases where gcc actually generated non-atomic code
sequences.
1999-08-25 05:22:03 +00:00
David E. O'Brien aa6cb8a648 MFC: rev 1.31 (fix release) 1999-08-25 03:42:09 +00:00
Doug White e9dc556583 MFC: Missing quote. 1999-08-25 01:13:31 +00:00
Doug White 74fce5cfa6 MFC: Fix patch. 1999-08-24 23:29:58 +00:00
Jean-Marc Zucconi 25bf5e75a2 MFC (rev 1.4): add euro-currency and constant rates of EMU area. 1999-08-24 23:29:05 +00:00
Jean-Marc Zucconi 567c1c7f42 MFC (rev1.8): fix excessive and inconsistent argument splitting. 1999-08-24 23:22:56 +00:00
Jean-Marc Zucconi eace9c0d34 MFC (rev 1.7): initialize exit code. 1999-08-24 23:18:01 +00:00
Jean-Marc Zucconi 93ba6cc615 MFC (rev 1.19): typo in msg. 1999-08-24 23:14:16 +00:00
Jean-Marc Zucconi 1c0082bbd3 MFC (rev1.10): flags given to chflags depend on sequence. 1999-08-24 23:11:40 +00:00
Jean-Marc Zucconi cc4b73fcc0 MFC (rev1.12): Fix the output of long command names. 1999-08-24 23:06:06 +00:00
Greg Lehey 1dba14c3cd Add vinumraid5.c.
Reported-by:	Udo Schweigert <[email protected]>
1999-08-24 22:31:10 +00:00
Chris Costello d3d779021d Remove `od' entry - functionality has been taken over by da(4). 1999-08-24 16:42:15 +00:00
Mitsuru IWASAKI b3f05b50e7 MFC:
apm.c:		1.18->1.19

Change to continue process after calling `Get Resume Timer' APM
BIOS function (supported in v1.2) on older BIOS version (v1.1 or 1.0).
1999-08-24 15:58:27 +00:00
Mitsuru IWASAKI 4cdf2a45b4 MFC:
apm.c:		1.100->1.101

Fix `key release event prevent suspend' problem.  We don't need
`sleep 1; zzz' trick now.

- APM BIOS Call for suspend/standby now should be issued with delay.
- Delay for suspend/standby can be adjusted by using sysctl(8) interface
  (eg. sysctl -w machdep.apm_suspend_delay=3).
1999-08-24 15:56:44 +00:00
Mitsuru IWASAKI 69e89a0f29 MFC:
apm.c:		1.98->1.99

- Add apm_check_function_supported() and call it from
  apm_bioscall() to check requested BIOS is supported or not.

- Add workaround in apm_driver_version() for the buggy BIOSes which
  don't return the connection version in %ax.
1999-08-24 15:53:53 +00:00
Mitsuru IWASAKI 3bff76dd8b MFC:
apm.c:		1.89->1.91
	apm_bios.h:	1.21->1.22

Add apmd support code.
1999-08-24 15:51:03 +00:00
Mitsuru IWASAKI 9aa7734ba2 MFC:
apm.c:	1.80->1.81, 1.83->1.84, 1.85->1.86

- Now that each cpu has its own gdt table, we need to setup apm gdt entries in
  all the tables.
- Make apm_probe() properly return an error code when APM BIOS calls
  failed, so that the apm driver won't be attached.
1999-08-24 15:44:34 +00:00
Chris Costello b1620017c2 MFC: Remove od.4 -- driver itself was not ported to CAM and da(4) takes
its functionality now.
1999-08-24 13:41:32 +00:00
cvs2svn 2a69c245df This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-24 06:54:21 +00:00
Greg Lehey 09a759b608 format_config: generate correct information for detached subdisks. 1999-08-24 05:34:21 +00:00
Greg Lehey 29d6e75347 MFC: Bring -STABLE in sync with -CURRENT. 1999-08-24 04:06:51 +00:00
Greg Lehey 41842d909e MFC: Add Vinum RAID-5 support. 1999-08-24 04:01:30 +00:00
Bill Paul bffa16853f MFC: change PN_RXLEN from 1518 to 1536 bytes. 1999-08-24 03:21:09 +00:00
Tatsumi Hosokawa 4c16481c8a MFC: 3C574TX support (if_ep.c:1.80->1.81, if_epreg.h:1.23->1.24) 1999-08-24 00:50:39 +00:00
Brian Somers cda8036cdf MFC: ppp_alias -> ppp_nat
Shuffle ppp startup location
1999-08-23 23:32:30 +00:00
Brian Somers f2b02dea36 MFC: ppp_alias -> ppp_nat 1999-08-23 23:25:00 +00:00
Brian Somers f738b9f527 MFC: Reduce the recovery time to 1 second 1999-08-23 23:16:55 +00:00
Brian Somers 231fa8a1ec MFC: Allow ``set authkey'' irrespective of the current phase. 1999-08-23 23:12:14 +00:00
Brian Somers e5c65a0d84 MFC: isdn exampes (not functional without the 00.83.00 i4b patches or
better)
     An advanced filtering example
     Use passive mode for PPPoSSH
     How to multi-link over multiple different ISPs
1999-08-23 22:16:18 +00:00
Brian Somers eedde88b5a MFC: Abstract the physical device layer (`show modem'' is now `show
physical'').
     Support ``physical'' and ``sync'' logging.
     ``set weight'' -> ``set bandwidth'' and a ``set autoload'' rewrite.
     ``set cd'' and better carrier detection.
     PPPoISDN support (.defined out in the Makefile as it's only
     functional with i4b-00.83.00 or better installed)
     PPPoUDP support
     -alias -> -nat
     Add -foreground and -quiet command lines switches
     Minimum idle timer support
     ``alias port'' range support
     Some alignment wrinkles ironed out
     Support for TUNSIFMODE and TUNSLMODE (if defined)
     Assorted throughput measurement improvements
     ``enable/disable keep-session'' support
     Adjust filter sets built with MYADDR and HISADDR when the IPs change
     Allow forward jumps in filter rules
     Support ospf filtering
     Better handing of ``no number'' CBCP REQs
     Handle file descriptor close-on-exec flags properly before exec()s
     Drop packets received when the current state is wrong
     Expand PROCESSID correctly when executing commands
     Add a new CARRIER phase (this is temporary - 'till ``set dial'' is
     abstracted and made device specific)
     Handle IPCP code rejects
     Support ``deny enddisc''
     Don't moan about group write permissions to ppp.conf
     More verbiage (now I'm making words up) in ``show mp''
     Show the correct `next' values in ``show timer''
     Plus an assortment of other minor changes
1999-08-23 21:59:51 +00:00
Doug White 2ba79d5450 MFC: Add 'options MFS_ROOT' 1999-08-23 18:57:46 +00:00
Wes Peters 39cac14d43 Re-introduced some important notes lost in the MFC.
Let's try not to lose content on these style sweeps,
folks.
1999-08-23 17:38:38 +00:00
Jun Kuriyama 8519333f96 Merge from GENERIC:
Merge the Adaptec AIC-6915 fast ethernet and SysKonnect gigabit ethernet
    drivers into the RELENG_3 branch.
  MFC: rev 1.179 (enable bpfilter), but only a single one.
1999-08-23 15:33:57 +00:00
Nick Hibma f20b5c7ad6 Recognise the GPS receiver from Trimble
in NMEA mode (without date).

        Trimble OEM Ace-II receiver. Low cost PCB with single
        voltage input, external active antenna and two serial
        ports with either NMEA and ITAPs output. Programmable
        to be tuned for 'time' accuracy in fixed station config.

Author of tool notified.

Submitted by:   Dirk van Gulik <[email protected]>
1999-08-23 14:50:28 +00:00
Luigi Rizzo a7c80d881d Remove files forgotten in previous commits. 1999-08-23 13:58:47 +00:00
Luigi Rizzo 5fb4022788 Add files forgotten in previous commits 1999-08-23 13:57:49 +00:00
Luigi Rizzo 0059f7c3b3 Add file forgotten in previous commits. 1999-08-23 13:55:23 +00:00
Luigi Rizzo 6a6d952502 Remove files forgotten in previous commits 1999-08-23 13:53:50 +00:00
Luigi Rizzo 2393cb6d09 Add files forgotten in previous commits. 1999-08-23 13:48:44 +00:00
Luigi Rizzo 2454946dd9 add files forgotten in previous commits 1999-08-23 13:46:13 +00:00
Luigi Rizzo de7bf2a6e5 Add files forgotten in the previous commits. 1999-08-23 13:43:43 +00:00
Luigi Rizzo 10c0df324b Remove files forgotten in previous commits. 1999-08-23 13:42:31 +00:00
Luigi Rizzo 2551dff2e5 Add files forgotten in previous commits. 1999-08-23 13:41:06 +00:00
Luigi Rizzo fcb1688282 Delete files forgotten previous commits. 1999-08-23 13:38:08 +00:00
Sheldon Hearn 33713bddea MFC: Fix setlocale(3) xref. 1999-08-23 12:56:59 +00:00
Yoshihiro Takahashi 524a34ae5f Sync with sys/dev/syscons/syscons.c revision 1.293.2.7. 1999-08-23 12:45:55 +00:00
Luigi Rizzo a11675534a MFC: bump version to 0.445 1999-08-23 11:37:34 +00:00
Luigi Rizzo 117f6de7a5 MFC: cleanup in PicoBSD scripts, bump version to 0.445 1999-08-23 11:36:19 +00:00
Chris Costello 99f44b9da5 MFC: Document ENOSYS error.
PR:		docs/13290
1999-08-23 11:09:16 +00:00
Poul-Henning Kamp 418de1de7e MFC: -e option to fdisk. 1999-08-23 11:07:00 +00:00
cvs2svn 69c453f5dd This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-23 11:04:24 +00:00
Michael Haro 5fb47de7b6 MFC: use uname(3) to find out hardware platform, add braces and other minor cleanup 1999-08-23 03:59:52 +00:00
Michael Haro 37edcabf82 MFC: #include <err.h> 1999-08-23 03:16:08 +00:00
Doug White 7f3f5b4f94 MFC: PicoBSD mega-upgrade. It actually works in -STABLE, let's hope I
didn't miss anything.  According to luigi, I have jkh's OK on this.

Submitted by:  luigi
1999-08-22 23:09:15 +00:00
cvs2svn d6f9229590 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-22 21:45:25 +00:00
Tim Vanderhoek cd842615cd MFC: improve grammar and formatting in comments 1999-08-22 19:52:21 +00:00
Tim Vanderhoek c7d838a7e1 MFC: typo fix 1999-08-22 19:34:04 +00:00
Tim Vanderhoek 38011b1de9 MFC: reflect the new feeding habits of the vty monster 1999-08-22 19:10:08 +00:00
Andrew Gallatin 3ac4f25477 MFC 1.5 -> 1.6: fix a kld bug where modules of type R_ALPHA_GLOB_DAT which
have non-zero addends can get loaded incorrectly
1999-08-22 17:49:06 +00:00
John Polstra 9aaab664b0 MFC 1.29 -> 1.30: Fix segmentation violations in certain obscure
cases involving failed dlopens.
1999-08-22 17:31:31 +00:00
John Polstra f7b86cebd5 MFC: Change many asserts into normal errors. Enable format string
mismatch checking for _rtld_error().

    map_object.c:   1.2  -> 1.3
    rtld.c:         1.28 -> 1.29
    rtld.h:         1.6  -> 1.7
1999-08-22 17:28:18 +00:00
John Polstra 552bba5aa6 MFC 1.6 -> 1.7: Mark my turf as maintainer. 1999-08-22 17:20:50 +00:00
Bill Paul 229cb47426 MFC: mention that 3c980B, 3c905C and 3cSOHO100-TX OfficeConnect adapters
from 3Com are supported.
1999-08-22 16:40:02 +00:00
Bill Paul 909767ba83 MFC: add flag to conditionalize the filtering of map input lines with
+ and - characters in them so that automounter maps can be built properly.
Closes PR #8699.
1999-08-22 15:37:21 +00:00
Nick Hibma 9de801bb8d MFC: rev. 1.58
Add kld* man(2) pages.

PR:		misc/13317
Submitted-by:	[email protected]
1999-08-22 13:30:01 +00:00
Kazutaka YOKOTA 50493055de MFC: backport the revised VT switching code from -CURRENT (rev 1.307).
(The PR originator has been testing the code in his -STABLE box for some
time now and seen no problem.)

PR: kern/13002
1999-08-22 10:32:34 +00:00
Kazutaka YOKOTA 9e9d9639f1 MFC: assorted bug fixes.
- tty mode/attribute fix (keyboard.c, rev 1.2)
- Video mode restoration (main.c, rev 1.3)
- Buffer size calculation (text.c, rev 1.1)
- Address calculation for VGA mode X (bitmap.c, rev 1.2, simple.c, rev 1.2)
1999-08-22 09:03:56 +00:00
Warner Losh 3e7d1e69e3 MFC: stop profiling on exec 1999-08-22 08:19:57 +00:00
Kazutaka YOKOTA fb87c99520 MFC: revise description on moused options (rev 1.41). 1999-08-22 06:16:01 +00:00
Tim Vanderhoek e1bff26ca7 MFC: tempfile race fix 1999-08-22 05:29:09 +00:00
Nick Sayer 2776a652bc MFC: Equation result fix from v1.11 1999-08-22 04:57:40 +00:00
Tim Vanderhoek 977d9786d6 CFC: depends-list target has become pretty-print-build-depends-list. 1999-08-21 17:25:52 +00:00
Jun Kuriyama 6c16d3a9c9 MFC: Added "pccardd_flags" for rc.conf. 1999-08-21 17:16:48 +00:00
Jun Kuriyama 1724d31853 MFC: Added $pccardd_flags. 1999-08-21 17:16:31 +00:00
Jun Kuriyama 78e34e7934 MFC: Added "pccardd_flags" for rc.conf.
Removed hosokawa's name and (old) e-mail address from comments.
1999-08-21 17:16:30 +00:00
Kazutaka YOKOTA 1a0e7c5092 MFC:
- Revise MouseMan+ protocol support. (moused.c, rev 1.28)
- Add VersaPad support. (moused.c, rev 1.29)
- Update the man page. (moused.8, rev 1.21)
1999-08-21 11:46:42 +00:00
Kazutaka YOKOTA 8a1877bc28 MFC:
- Revise MouseMan+ protocol support. (psm.c, rev 1.14, mouse.h, 1.13)
- Add VersaPad support. (psm.c, rev 1.15, mouse.h, 1.14)
- Update the man page. (psm.4, rev 1.18)
1999-08-21 11:46:12 +00:00
Ruslan Ermilov 1c4fbb88b0 MFC:
- Remove unused MANBIN directive.

- Add an OPTIONAL_MANPATH directive (same as MANDATORY_MANPATH,
  except an absence of the directory is not considered an error
  and doesn't produce a warning).
  Put /usr/local/lib/perl5/*/man under OPTIONAL_MANPATH.

- An order of directives in manpath.config is now irrelevant.

- Get rid of infinite loop when PATH is unset or NULL, and
  MANDATORY_MANPATH directory doesn't exist.

- mdoc(9)ify manpage.

Approved by:	jkh
1999-08-21 07:23:40 +00:00
David E. O'Brien 06a923d0c5 Revert shared lib major version number back to 3. 1999-08-21 07:07:14 +00:00
Chris Costello 0daac9d392 MFC: Remove superflous entry for `preserve'
PR:		docs/13279
1999-08-21 04:46:23 +00:00
Chris Costello 50de472945 MFC: Fix spelling error: compliment -> complement
PR:		docs/13280
1999-08-21 04:39:29 +00:00
Jun Kuriyama 90c453a515 MFC: Add the manpages for ums and ukbd (USB mice and keyboards).
Approved by:	gehenna
1999-08-21 03:51:16 +00:00
Jun Kuriyama 6c7753baf7 MFC: Add the manpage for ums (USB mice).
Approved by:	gehenna
1999-08-21 03:51:07 +00:00
Jun Kuriyama c37a444512 MFC: Add the manpage for ukbd (USB keyboards).
(except change in "cvs diff -r 1.3 -r 1.4")

Approved:	gehenna
1999-08-21 03:50:55 +00:00
John Polstra 4323e3278c MFC 1.6 -> 1.7: Handle flags from the "boot" command. 1999-08-21 01:49:41 +00:00
Bill Paul 295918d471 MFC: fix power management register definitions 1999-08-21 01:12:08 +00:00
Alfred Perlstein fde1a542a6 MFC: 1.11
Reviewed by:	eivind
1999-08-20 21:17:45 +00:00
Andrzej Bialecki 4df9601f7e Restore INTERNALLIB.
Noticed by:	bde,jdp
1999-08-20 18:32:45 +00:00
David E. O'Brien d9ed226398 MFC: rev 1.6. (+=) 1999-08-20 08:54:06 +00:00
Greg Lehey 496480b802 MFC: Change the name of the static variable 'files' to 'linker_files'
in order to be able to refer to it uniquely from the kernel debugger.

Approved-by:   peter
1999-08-20 00:25:24 +00:00
Alfred Perlstein 04d8ffd223 MFC: sanity check time structures passed in
uthread_poll.c:       1.2
uthread_nanosleep.c:  1.9
uthread_select.c:     1.10
uthread_cond.c:       1.16
1999-08-19 23:29:37 +00:00
Marcel Moolenaar 55fe694167 MFC: Let processes retrieve their argv through procfs. Revert to the original
behaviour in all other cases.

Submitted by: Andrew Gordon <[email protected]>
1999-08-19 19:42:22 +00:00
Dmitrij Tejblum e365ebd8f5 MFC rev. 1.2: don't ignore weak symbols. 1999-08-19 19:39:51 +00:00
Alfred Perlstein 94bef3d80c MFC: 1.20 uthread_kern.c, fix handling of time under/overflow
Pointed out by: Fabian Thylmann <[email protected]>

Reviewed by:    eivind, jb
1999-08-19 16:54:00 +00:00
Yoshihiro Takahashi 4b121c17a5 Sync with sys/i386/conf/GENERIC revision 1.143.2.18. 1999-08-19 13:55:41 +00:00
Joseph Koshy 3b65456dea MFC: {rev 1.30 "mount.c", rev 1.26 "mount.8"} Enhanced syntax for `mount -u'.
Ok'ed by:	jkh
1999-08-19 10:14:48 +00:00
Ruslan Ermilov 38c45d6ad1 MFC: Nuke /usr/share/misc/pkg_manage. 1999-08-19 07:11:48 +00:00
Joseph Koshy 32f120ac7b MFC: {rev 1.11} Use current names for swap partitions. 1999-08-19 06:18:15 +00:00
Bill Paul cc232fef64 MFC: rxstat should be 32 bits, not 16. 1999-08-19 03:49:27 +00:00
Mike Pritchard 0faf735967 MFC: Sort xrefs. 1999-08-19 00:14:15 +00:00
David E. O'Brien 869dd7b094 MFC: rev 1.179 (enable bpfilter), but only a single one. 1999-08-18 21:35:37 +00:00
Mike Pritchard 97e81dba6b MFC: Document some common ENVIRONMENT variables. 1999-08-18 19:55:04 +00:00
David E. O'Brien 9dabe3a7eb MFC: upgrade to readline-4.0. 1999-08-18 19:15:51 +00:00
Andrzej Bialecki 6bcb1eb61b ...which goes here. Sorry, slip of fingers. 1999-08-18 19:12:30 +00:00
Andrzej Bialecki ddaec65c1d Add manual page for pam_radius.
Reviewed by:	jdp
Approved by:	jkh
1999-08-18 19:08:01 +00:00
cvs2svn 4e1c393765 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-18 19:04:25 +00:00
Marcel Moolenaar 806b0cd422 MFC: handle EFAULT cases when translating pathnames. Seems important :-) 1999-08-18 11:18:45 +00:00
Marcel Moolenaar 3a347b93fd MFC: Implementation of TCXONC. 1999-08-18 07:52:36 +00:00
Chris Costello 9dcea3a0cc MFC: Fix a bunch of bad cross-references.
PR:		docs/13211
1999-08-18 07:41:20 +00:00
David E. O'Brien 4933ebb90b Compare our changes agaist 3.2, not ourselves.
Submitted by:	Anders Andersson <[email protected]>
1999-08-18 05:57:10 +00:00
Alan Cox 4df7e7d9d7 MFC: Set cnt.v_page_size to PAGE_SIZE rather than DEFAULT_PAGE_SIZE so that
"vmstat -s" reports the correct value on the Alpha.
1999-08-18 03:18:28 +00:00
Chris Costello 5a41e6cb23 MFC: Cross-reference to nonexistent getservbyname(2) changed to
getservbyname(3).
1999-08-18 01:21:49 +00:00
Kenneth D. Merry dc0801c771 MFC, revision 1.4: Take out a reference to ccb(4). I never got around
to writing it.

Reported by:	"Alexey M. Zelkin" <[email protected]>
1999-08-17 22:04:55 +00:00
Marcel Moolenaar 904a54e69c MFC: Provide wrappers for sched_{s|g}etscheduler. We need to convert the policy
argument.

PR: 12006
Originator: Jean-Claude MICHOT <[email protected]>
1999-08-17 21:06:06 +00:00
Bill Fumerola f7ac0ba77b MFC: sunsite -> metalab 1999-08-17 18:29:47 +00:00
Mark Murray 94f8def0ac MFC: claim ownership. 1999-08-17 13:44:50 +00:00
Marcel Moolenaar 5673d4e4df MFC: use wrappers for {s|g}etrlimit to convert the resource argument.
PR: 9591
Originator: John Plevyak <[email protected]>
1999-08-17 13:16:56 +00:00
Jun Kuriyama d81212bdd7 MFC: Make release makes PC-card boot.flp automatically.
Exclude CHECKSUM.MD5 itself from CHECKSUM.MD5 in PC-card floppy
       directory.
     Added a short README to PC-card boot.flp directory.

Reviewed and tested by:	hosokawa, nyan, kuriyama
Approved by:		jkh
1999-08-17 13:14:19 +00:00
Marcel Moolenaar f6837d2a21 New entries:
o  Linux mode has been improved and has had many bugfixes,
o  The support env. (ie ports) have been updated.
1999-08-17 10:59:10 +00:00
Mike Pritchard ce10b46b65 MFC: The sysinstall man page menetions that it was due to be replaced
in a previous FreeBSD version.  That never happened.  Document that
it is due to be replaced, but leave it open-ended as to when.

Also do some mdoc cleanup.

PR:		docs/13148
PR:		docs/13144
Submitted by:	Lee Cremeans <[email protected]>
		Alex M. Zelkim <[email protected]>
Discussed with: jkh
1999-08-17 10:58:58 +00:00
Marcel Moolenaar ff76d8ec8f MFC: Use a wrapper for the link syscall that does name translations.
PR: 12749
Submitted by: Boris Nikolaus <[email protected]>
1999-08-17 09:36:36 +00:00
Tim Vanderhoek eb89c07d10 MFC: Fix `.if C-expr (&&)|(||) C-expr' evaluation bug. 1999-08-17 07:34:09 +00:00
Joseph Koshy 2a4cdc4e4c MFC: {rev 1.3} Correct troff sequence for backslashes. 1999-08-17 07:14:14 +00:00
Joseph Koshy d151faf6b9 MFC: {rev 1.2} Remove empty "SEE ALSO" section 1999-08-17 07:07:47 +00:00
Joseph Koshy d58ca36848 MFC: {rev 1.7} Note that CCD requires partitions of type FS_BSDFFS. 1999-08-17 07:05:13 +00:00
Yoshihiro Takahashi e4de65343a MFC: Use V-FAST mode register to check whether it supports V-FAST mode. 1999-08-17 04:36:24 +00:00
Luigi Rizzo 9b826229b6 MFC: enable printing of bridging statistics 1999-08-17 03:32:37 +00:00
Luigi Rizzo 2a74a369f6 MFC: fix printing of interface names. 1999-08-17 03:31:56 +00:00
Chris Costello eb4c5bec4f MFC: Bad reference of time(2) -> time(3) 1999-08-16 22:12:36 +00:00
Chris Costello 3aeee0804b MFC: Fix bad references. 1999-08-16 21:47:55 +00:00
Ruslan Ermilov 9f50d15a46 MFC: Unbroke zforce.
PR:		8348
1999-08-16 20:58:37 +00:00
Ruslan Ermilov f8d63dc6cd MFC (rev 1.13, 1.14):
- Make UTC or local time message a little more clear.
- Ignore the user-supplied umask, set it to 0022 by default.
- Install /etc/wall_cmos_clock with 0444 mode rather than 0666.
- -Wall inspection

PR:		12967
1999-08-16 20:46:43 +00:00
Matt Jacob 950c68f562 MFC:Clarify and cleanup some CAM queueing breakages. 1999-08-16 20:12:38 +00:00
Matt Jacob f29839c904 MFC: add in SIMQFRZ_TIMED && CMD_RQLATER defines 1999-08-16 20:04:57 +00:00
Matt Jacob 5a08240742 MFC: add in new ICB structure variant (for 2200) 1999-08-16 20:03:17 +00:00
Matt Jacob 9be7464f93 MFC: Clarify lun limits for FC && SCSI. 1999-08-16 20:02:40 +00:00
Matt Jacob 603d05ee27 MFC:More code cleanup. Go back to using FULL_LOGIN Fibre Chan if
MFC:f/w is less than 1.17.0 level. Change where we do the loop database
MFC:init. Add in the CMD_RQLATER return. Add some register debounce.
1999-08-16 20:00:26 +00:00
Matt Jacob 3b975e00a0 MFC:Set some correct return values. Prefer I/O map all the time unless
configured otherwise.
1999-08-16 19:52:40 +00:00
Archie Cobbs 52c9664302 MFC: New command line options -M (min TTL) and -P (specify protocol). 1999-08-16 19:35:28 +00:00
Luigi Rizzo df0af9fc3f whoops... missing semicolon 1999-08-16 19:16:25 +00:00
Matt Jacob 162586a265 MFC: Put in a limit (8) for lun width- do not exceed probing this unless
a device is quirked for allowing it.
Reviewed by:	[email protected]
1999-08-16 17:48:36 +00:00
Luigi Rizzo 27287164c1 MFC: add probabilistic rule match code (kernel+userland) and manpage.
Approved-by: Jordan
1999-08-16 17:29:53 +00:00
Sheldon Hearn f97401583a MFC: Use colon as username:group separator for chown(8). 1999-08-16 16:22:28 +00:00
Thomas Gellekum a39067965d MFC: fix core dump with `fortune -f'. 1999-08-16 14:40:53 +00:00
Poul-Henning Kamp 728ccc72d9 Add blurb about fla driver. 1999-08-16 10:14:52 +00:00
Kazutaka YOKOTA a275582000 MFC: update option descriptions (rev. 1.14 and 1.15). 1999-08-16 09:31:38 +00:00
Kazutaka YOKOTA 2cd4a6e0fd MFC: the `bell' option update (rev.1.27). 1999-08-16 09:31:00 +00:00
David E. O'Brien d5c79e7b5d Time to start thinking about 3.3-RELEASE.
* DHCP installs !!
  * bpf is enabled by default (for DHCP supported installs).
  * ISC's DHCP client upgraded to 2.0
  * Bison to 1.28
  * A Gcc optimiser bug has been fixed for the Alpha
1999-08-16 07:31:20 +00:00
Kazutaka YOKOTA 1157d2ed26 MFC: add French-Canadian keymap. 1999-08-16 07:07:27 +00:00
cvs2svn d809a71657 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-16 07:05:59 +00:00
David E. O'Brien e60e1a016a MFC: Upgrade Bison from version 1.25 to 1.28.
(minus added "--broken-undeftoken-init" option, which is not needed here)
1999-08-16 06:17:14 +00:00
Chris Costello 9b55466aca MFC: Bad ref tcpdump(1) -> tcpdump(8)
(This was in the last commit, actually.  I seem to have screwed up.)
1999-08-16 05:42:27 +00:00
Chris Costello 79d78d7079 Fix a typo in my previous commit 1999-08-16 05:39:25 +00:00
Chris Costello 9ebba1d76e Add $Id$ tag. 1999-08-16 05:38:38 +00:00
Matt Jacob ca27bcffe1 MFC: Move initialization of announce_buf up to make
MFC: sure it is initialized in all cases.
1999-08-15 23:37:46 +00:00
Marcel Moolenaar 9dd6cf4859 MFC: Fix bug in the fcntl syscall where 'arg' was not set properly. 1999-08-15 14:29:40 +00:00
Mike Pritchard 490c2a08d0 MFC: Various man page cleanup. 1999-08-15 13:51:11 +00:00
Mike Pritchard 314f6da4da MFC: Various man page cleanup. 1999-08-15 13:26:01 +00:00
Mike Pritchard cb331b0ee0 MFC: Various man page cleanup.
I also brought all of the new aio_* man pages in from -current because
they are affected by this change.

They still need to be added to the makefile, but I'll wait until
I can verify a build on my 3.2-stable system before I do that.
1999-08-15 13:20:42 +00:00
Mike Pritchard cc0d1d660c MFC: Various man page cleanup. 1999-08-15 12:54:58 +00:00
Mike Pritchard fabcefd32d MFC: Varour man page cleanup.
This includes another xref fix to ypserv.8 that should have
been MFCed.

Not all of the i4b man changes from the original commit were merged
due to conflicts brought about by new functionally being added in -current
and causing conflicts with this commit.  Maybe I'll come back later
and try to get them all merged, but I doubt it.  They were mostly
cosmetic changes.
1999-08-15 12:51:15 +00:00
Mike Pritchard e249105296 MFC: Various man page cleanup.
I also merged in another older -current commit to nice.8 and renice.8
that added some extra man page xrefs, since it made my job easier, and it
should have been done anyways.
1999-08-15 12:32:26 +00:00
Mike Pritchard 36e4ed665f MFC: Various man page cleanup. 1999-08-15 12:19:51 +00:00
cvs2svn 606a159c51 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-15 10:48:37 +00:00
Kazutaka YOKOTA ca06310a98 MFC: Correctly save `flags' bits (rev 1.13). 1999-08-15 06:07:08 +00:00
Daniel Eischen 353768ae8f MFC: Add check for runnable threads before polling file descriptors. 1999-08-15 02:02:41 +00:00
Chris Costello cb960583ec MFC: Bad reference vidcontrol(4) -> vidcontrol(1) 1999-08-14 22:30:18 +00:00
Chris Costello b9d67a21aa MFC: getsockname(8) -> getsockname(2) 1999-08-14 22:26:54 +00:00
Chris Costello 9aeb29c9fd Reference to uname(2) -> uname(3) 1999-08-14 22:17:11 +00:00
Chris Costello 84be79832e MFC: Fix bad references in man pages. 1999-08-14 21:10:48 +00:00
Bill Paul 33cca7c55f MFC: fix call to m_adj() in ti_newbuf_jumbo(); 1999-08-14 15:46:01 +00:00
Peter Wemm e17cbfeb59 Forced commit. The previous delta was backdated to try and make
dated branch checkouts consistant.
1999-08-14 15:33:46 +00:00
Sheldon Hearn 9f69c36c95 MFC: Don't force compression in SUPFLAGS. 1999-08-14 14:10:56 +00:00
Marcel Moolenaar 98b6cc9c5f MFC (rev 1.40): Fix LINUX_TIOC{S|G}SERIAL and LINUX_TIOCGETD ioctls. 1999-08-14 13:35:09 +00:00
Marcel Moolenaar c1b2642dc1 MFC: Part 2 (of 2) of the termios ioctl fixes. See rev. 1.39 for details. 1999-08-14 10:39:51 +00:00
Marcel Moolenaar 26c28876c6 MFC: Part 1 of the termios ioctl fixes. See log of rev. 1.38 for details. 1999-08-14 10:17:39 +00:00
Mike Pritchard c3f45a535a MFC: Document the AUTHORS section in mdoc(7). Expand the description
of the AUTHORS section in mdoc.samples(7) to document how the
authors name should be specified.
1999-08-14 09:46:54 +00:00
Greg Lehey b7eeb639c1 MFC: Fix typo. 1999-08-14 09:14:03 +00:00
Chris Costello 4cd211d42b MFC: Bad reference of exit(2) changed to exit(3) 1999-08-14 08:15:17 +00:00
Chris Costello d6f6f4fa2c Add $Id$ tag. 1999-08-14 08:14:31 +00:00
Chris Costello d23e8d0f0f MFC: Bad reference exit(2) changed to exit(3) 1999-08-14 08:07:27 +00:00
Chris Costello 91c63ded42 Bad reference time(2) -> time(3) 1999-08-14 08:02:10 +00:00
Chris Costello e585768079 Add $Id$ tags to -STABLE, too. 1999-08-14 08:00:51 +00:00
Chris Costello bf8f25844e Change bad reference of termios(3) to termios(4) 1999-08-14 07:53:59 +00:00
Chris Costello 0c163a4dd4 Bad reference of sysctl(1) changed to sysctl(8). 1999-08-14 07:49:49 +00:00
Chris Costello 0c591c033d Add $Id$ tags. 1999-08-14 07:48:42 +00:00
Chris Costello 2b1eb1797f MFC: Bad reference of lstat(3) -> lstat(2) 1999-08-14 07:44:15 +00:00
Chris Costello 85a65fd7d3 MFC: Fix .Xr line for `getpagesize' reference 1999-08-14 07:34:38 +00:00
Chris Costello 3dc708031d MFC: Fix bad references
fopen(2) -> fopen(3)
  fclose(2) -> fclose(3)
1999-08-14 07:25:18 +00:00
Chris Costello c3d3d8ea31 Add $Id$ tag. 1999-08-14 07:22:24 +00:00
Chris Costello 4c1c5b5d9e MFC: Fix bad references:
iostat(1) -> iostat(8)
  vmstat(1) -> vmstat(8)
1999-08-14 06:57:48 +00:00
Chris Costello 57f1e8c336 Add $Id$ tag. 1999-08-14 06:54:51 +00:00
Chris Costello 3db572adde MFC: Bad reference of getcwd(2) -> getcwd(3). 1999-08-14 06:48:01 +00:00
Chris Costello edfb6237b0 MFC: Bad reference of setrlimit(3) -> setrlimit(2) 1999-08-14 06:40:37 +00:00
Chris Costello 578471ed20 MFC: Bad reference of su(8) -> su(1) 1999-08-14 06:36:03 +00:00
Chris Costello 1518aaf0eb MFC: Reference of mount(1) -> mount(8) 1999-08-14 06:28:00 +00:00
Chris Costello 198b782b8a MFC: Bad reference of mount(1) -> mount(8) 1999-08-14 06:19:20 +00:00
Chris Costello edb33bb6be MFC: Fix a minor style error. 1999-08-14 05:39:39 +00:00
Chris Costello daf914df76 MFC: Specify that ruptime info is broadcast once every three minutes, not
once every minute.

PR:             docs/13130
Submitted by:   Ben Smithurst <[email protected]>
1999-08-14 01:05:30 +00:00
Chris Costello c8a5cc05c7 MFC: Change a reference from kldload(3) to kldload(2). 1999-08-13 21:07:29 +00:00
Jun Kuriyama 60b5a18350 MFC: Add bits of PAO that are non-controversial.
Reviewed and tested by:	hosokawa, nyan, kuriyama
1999-08-13 16:00:29 +00:00
Jun Kuriyama a671c60fd3 MFC: Add a kernel config for PC-Card machines. This is part of the
(safe) PAO integration.

Reviewed and tested by:	hosokawa, nyan, kuriyama
1999-08-13 15:58:56 +00:00
Jun Kuriyama fc0e6d09bc MFC: More uncontroversial PAO updates. Make the IRQ wildcarding work
a lot better, and improve the daemonizing code.

Reviewed and tested by:	hosokawa, nyan, kuriyama
1999-08-13 15:58:26 +00:00
Marcel Moolenaar 9d00411218 MFC: Emulate some CDROM ioctls, including CDROMSUBCHNL. 1999-08-13 14:55:07 +00:00
Sheldon Hearn 9ca5995e14 MFC: Style issues in previous commit 1999-08-13 12:58:10 +00:00
Yoshihiro Takahashi a7598fc847 Sync with sys/i386/i386/userconfig.c revision 1.126.2.8. 1999-08-13 12:56:25 +00:00
Bill Fumerola af37b6da00 MFC: Swiss font by Dan Nelson 1999-08-13 01:06:57 +00:00
Mike Pritchard 06cff950d2 MFC: remove a reference to config(8) and fix some help for the irq and drq
pnp commands.
1999-08-13 00:22:52 +00:00
Nik Clayton e7387c6219 MFC: Fix numerous typos 1999-08-12 22:57:37 +00:00
Chris Costello 6bf7c1e7f6 MFC: Clarify, move and shorten ${VPATH} info. 1999-08-12 21:30:20 +00:00
Yoshihiro Takahashi ac143f1919 Sync with sys/boot/i386/libi386/biosdisk.c revision 1.20.2.6. 1999-08-12 12:45:19 +00:00
Yoshihiro Takahashi efbb973d0f MFC: revision 1.65, 1.66 and 1.67.
- Cosmetic changes.
  - Fixed a compiler warning by conversion from pointer to integer.
  - Removed unused variable.
  - Fixed missing argument of printf.
  - Fixed printf format.
  - Added parentheses suggested by the compiler.
1999-08-12 12:12:56 +00:00
Sheldon Hearn 9d7e818726 MFC rev 1.2: Don't hang when SIGCHLD is ignored. 1999-08-12 05:17:38 +00:00
Chris Costello 18762fca64 MFC: -E flag (override specific variable with environment equivalent) 1999-08-12 03:31:15 +00:00
Chris Costello 7f28e9f102 MFC: -E flag and :Q to quote variable expansion to all proper expansion of
variables for recursive makes.
1999-08-12 03:27:05 +00:00
Chris Costello f1c4bac7b6 MFC (and more to come!)
As Tim Vanderhoek's commit message stated:

When printing an error message after command execution fails, don't assume
the only possible error is "command not found".  This makes debugging of
messages such as "/bin/sh: not found" less common...
1999-08-12 03:25:16 +00:00
Sheldon Hearn a3a03755c0 MFC: Pass correct name of shell as argv[0]. 1999-08-11 23:56:38 +00:00
Warner Losh 3532733a0f MFC: 1.127,1.128 except adjust suser_xxx to oldstyle suser call. 1999-08-11 21:39:50 +00:00
Marcel Moolenaar 4acd38e042 MFC: Handle mixer read ioctls correctly. They have the same group, number and
argument size as their write counterparts and were handled as write ioctls.
1999-08-11 21:07:39 +00:00
Chris Costello 10824f93f2 MFC: Document and discourage usage of ${VPATH} in new Makefiles. 1999-08-11 17:58:44 +00:00
Ruslan Ermilov 80b616e29c MFC: revision 1.11
/usr/local is not mandatory, remove it from MANDATORY_MANPATH.

PR:		13078
1999-08-11 17:32:15 +00:00
Luigi Rizzo 5f69054274 MFC: add spl protection when restarting the timer. 1999-08-11 14:42:40 +00:00
Sheldon Hearn b3cd7737a8 MFC rev 1.19: Avoid a common DST happy hour. 1999-08-11 13:29:54 +00:00
Sheldon Hearn b64e876d16 MFC: Add cautionary note regarding Daylight Savings Time. 1999-08-11 13:02:59 +00:00
Warner Losh 64d3f20d1b Add support for booting from the fla device. This goes directly into
-stable because it isn't relevant for -current.  Asthetic objection by
bde noted, but that is fixed in -current and tio fix in stable would
require too big a change for stable.

Reviewed by: phk, nordier
1999-08-11 02:53:56 +00:00
David E. O'Brien b4ab84ca88 Check to see if /usr/bin/logger exists before using it. Use "echo" if
/usr/bin/logger is not available.

Noticed from:	error messages in -CURRENT's sysinstall Alt-F2 debug screen
1999-08-10 07:08:07 +00:00
cvs2svn 0437711af0 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-10 05:58:59 +00:00
Brian Somers 37deeb40bb Ppp handles filters 0 - 39, not 0 - 19. 1999-08-09 23:35:07 +00:00
Chris Costello 960bc085d5 MFC: Fix a few typos. 1999-08-09 14:34:17 +00:00
Yoshihiro Takahashi 2fe1403991 Sync with sys/i386/i386/userconfig.c revision 1.126.2.7. 1999-08-09 14:00:05 +00:00
Yoshihiro Takahashi 25fd609fae Sync with sys/i386/conf/GENERIC revision 1.143.2.17. 1999-08-09 13:59:05 +00:00
Yoshihiro Takahashi da3a299ea9 MFC: Fixed checking a type of the interface. 1999-08-09 13:06:02 +00:00
Tor Egge b493a9a17f MFC: If we still haven't got a sufficient number of free buffers after the
call to flushdirtybuffers() then sleep in waitfreebuffers().
PR:		11697
1999-08-09 00:48:50 +00:00
Chris Costello 4775eb5df4 MFC: Document the -f flag. 1999-08-08 22:58:04 +00:00
Bill Paul 6bb5dfc11b Whoops, almost forgot: update this file for the sf and sk drivers too. 1999-08-08 21:23:21 +00:00
Bill Paul 550ee22ad6 Merge the Adaptec AIC-6915 fast ethernet and SysKonnect gigabit ethernet
drivers into the RELENG_3 branch.
1999-08-08 21:22:19 +00:00
Andrew Gallatin da379662cd MFC: [1.21] On an AS 600 5/266 (and possibly others), accessing the
configuration space of PCI devices that don't exist cause PCI master & target
aborts rather than returning ~0 or giving a machine check.  Bring in some code
from NetBSD to handle this properly.
1999-08-08 16:29:27 +00:00
Andrew Gallatin 02d196bf55 MFC: Fix an unbelievably stupid typo that cases as500 & as600 machines
booted with a graphics head to panic on boot
1999-08-08 15:41:24 +00:00
KATO Takenori 598e394a93 MFC: Fix a panic caused by freeing unallocated structure. 1999-08-08 10:08:12 +00:00
Bruce Evans 3ccc89373f MFC (remove). The reference to c++filt has already been removed in
binutils/Makefile, although that was a mistake at the time.
1999-08-08 08:50:17 +00:00
Yoshihiro Takahashi b67b475a9d MFC: sys/boot/pc98/libpc98/biosdisk.c revision 1.4 and 1.5.
- Provides discontinuous unit number support.
 - Don't assume that SCSI ID numbers of HDD units are contiguous.
 - Fix drive letter to display.
1999-08-08 08:19:46 +00:00
Bruce Evans 0a9040d6ef MFC (1.7-1.8: install c++filt in the correct place).
The breakage is more tangled for RELENG_3.  RELENG_3 still has
binutils/c++filt sources, so the elf case should have worked by
installing the binutils version in the correct place.  However,
building of binutils/c++filt was broken in rev.1.4.2.1 of
binutils/Makefile by mismerging rev.1.8.

PR:		12920
1999-08-08 08:02:51 +00:00
Gene Stark 961cc839d0 MFC: merge correction from 1.8. 1999-08-08 07:26:14 +00:00
Gene Stark 5b737fa16a MFC: apply fix from 1.7 for server looping problem. 1999-08-08 07:12:28 +00:00
Stefan Eßer b77f31b82c Merge from current: Support for 53c895 and 896 Ultra-40 chips (rev 1.146). 1999-08-07 23:27:35 +00:00
Poul-Henning Kamp 80548a088c (MFC) Fix missing comment around license.
Submitted by:	bde
1999-08-07 19:44:41 +00:00
John Polstra 6a9b811e54 Bring these into the RELENG_3 branch.
Submitted by:	phk
1999-08-07 01:09:20 +00:00
cvs2svn 4832383178 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-08-06 20:04:09 +00:00
Mike Pritchard bee775ae57 MFC: Fix a bunch of typos and spelling errors. 1999-08-06 15:46:38 +00:00
Mike Pritchard 4329595bbf MFC: Fix the man page to correctly describe the name of the output files. 1999-08-06 15:45:57 +00:00
Sheldon Hearn f5e80f42c9 MFC rev 1.9: Fix integer overflow. 1999-08-06 14:38:41 +00:00
Daniel Eischen ba5400b826 MFC: Fix thread initialization to allow for the case where stdio file
descriptors are not opened.

PR:		bin/12853
1999-08-06 12:27:41 +00:00
Bruce Evans eb8b541e5f MFC (fixed printf format errors/sa -km/PR 4582). 1999-08-06 07:05:58 +00:00
Doug White d3527758ec MFC: Typo police.
PR:	docs/12986
Submitted by: Seth <[email protected]>
1999-08-06 04:37:59 +00:00
John Polstra 656a8a5b8e MFC 1.26 -> 1.27: When listing the installed packages, do it in
alphabetical order.
1999-08-06 01:24:33 +00:00
Ollivier Robert 1bf555b6bd The usage string was missing one '\n'. Already fixed in CURRENT.
PR:		bin/12987
Submitted by:	[email protected] (David Malone)
1999-08-05 20:21:11 +00:00
David E. O'Brien f5984a8c25 MFC: ISC DHCP version 2.0 1999-08-05 15:06:23 +00:00
Dag-Erling Smørgrav 048229db22 MFC: add access(2) to the list of recognized syscalls. 1999-08-05 12:05:37 +00:00
David E. O'Brien 5c2845e8ed MFC: use Byacc rather than Bison 1999-08-05 06:37:18 +00:00
David E. O'Brien 9f5538c349 Do a gloabal `cvs add *' to make sure we get *everything* this time... 1999-08-04 22:05:54 +00:00
David E. O'Brien 2730ff110b Grrr.. missed a `cvs add'.
Reported by:	Udo Schweigert <[email protected]>
1999-08-04 19:00:52 +00:00
David E. O'Brien 2105bf89a7 MFC: rev 1.6 (log setting hostname) 1999-08-04 15:19:52 +00:00
David E. O'Brien f44eef7858 MFC: ISC's dhclient version 2.0. 1999-08-04 15:07:08 +00:00
David E. O'Brien 34ba378e58 MFC rev 1.4 (hostname setting support) 1999-08-04 05:37:54 +00:00
David E. O'Brien 3a834538dc Fixes needed for the Alpha to compile X11R6.
Submitted by:	dfr
Obtained from:	RedHat's Alpha offering
1999-08-04 00:55:24 +00:00
Bill Fumerola 1076af0ddc Add a note about the mismatch of the tcpdcheck/tcpdmatch binaries and the
configuration files that they are REALLY checking.

PR:		bin/12819
Submitted By:	Seth Bromberger <[email protected]>
1999-08-03 20:47:53 +00:00
Sheldon Hearn cbf1966e40 MFC: Add Exim. 1999-08-03 14:59:32 +00:00
Tim Vanderhoek 6849f881f7 MFC: English fixes and errx() (non-)exitcode 1999-08-02 22:53:35 +00:00
Bill Paul 7eeff45937 MFC: insert extra delay between issuing master reset and RX/TX resets. 1999-08-02 21:58:41 +00:00
Warner Losh ca6485fc83 MFC: 1.126 only root sets flags on devices 1999-08-02 21:37:25 +00:00
Bill Paul 019bc8b618 MFC: issue an RX and TX reset in xl_reset() to smack the 3c905C to its
senses.
1999-08-02 21:07:22 +00:00
Brian Somers 99cda3e463 MFC: Allow room for editing labels on disks that are >= 10000Mb
Submitted by: Josef L. Karthauser <[email protected]>
1999-08-02 15:43:28 +00:00
Satoshi Asami 8166a76937 MFC (ports-ftp). 1999-08-02 11:34:02 +00:00
Warner Losh d19fd5705b MFC: 1.190 1999-08-02 05:47:09 +00:00
Warner Losh 275e6b288a MFC: 1.17: Add -S to nroff and troff 1999-08-02 05:05:49 +00:00
Kazutaka YOKOTA 74dc10dfa4 I forgot this bit in the last MFC :-( 1999-08-02 03:45:40 +00:00
Tim Vanderhoek 802824c6be CFC: EXIT_SUCCESS and EXIT_FAILURE for portable programs 1999-08-01 20:47:18 +00:00
SADA Kenji 97f07da79f Typo of sample command line.
Submitted by: Seiichi Satomi <[email protected]>
1999-08-01 20:38:40 +00:00
Yoshihiro Takahashi 74c311edd6 Don't include opt_vesa.h. Because PC-98 does not have the VESA mode.
Pointed out by:	Masanori Kanaoka <[email protected]> and
		Nobuyuki Koganemaru <[email protected]>
1999-08-01 13:34:40 +00:00
Yoshihiro Takahashi ef27128dbf Sync with sys/i386/conf/files.i386 revision 1.220.2.9. 1999-08-01 13:20:09 +00:00
Poul-Henning Kamp cdc1313e0f Pave the way for the fla driver. 1999-08-01 12:49:41 +00:00
Mike Pritchard 7b526297b9 MFC: remove duplicate .At macro. 1999-08-01 11:00:55 +00:00
Mike Pritchard e974738cc0 MFC: Removed POSIX.1/NetBSD makeup (braces) for NAME_MAX, etc... 1999-08-01 10:59:51 +00:00
Mike Pritchard 589a8e2fa5 MFC: Fix mdoc syntax error. 1999-08-01 10:58:45 +00:00
Andrey A. Chernov 297c762647 MFC: Tune table, add chars 1999-07-31 15:52:49 +00:00
Andrey A. Chernov 134f5cc977 MFC: make few chars back illegal 1999-07-31 15:15:36 +00:00
Tim Vanderhoek 025b9ad877 CFC: typo fix: err() -> errx() 1999-07-31 15:05:00 +00:00
Andrey A. Chernov ba8c14a96d MFC: all chars above 127 are legal 1999-07-31 14:58:10 +00:00
Andrey A. Chernov 86fb1d4516 MFC: latin1 on ascii emulation 1999-07-31 14:17:28 +00:00
Andrey A. Chernov edffea456f MFC: more koi8-r chars 1999-07-31 13:20:11 +00:00
Andrey A. Chernov 476d562c87 MFC: Install tmac.safer and msafer.7 1999-07-31 12:22:53 +00:00
Andrey A. Chernov c7166b439e MFC: use hardcoded latin1 chars only if -Tlatin1 1999-07-31 12:03:41 +00:00
Brian Somers 5eb03f7e22 MFC: Add a default ppp.conf (mode 600).
Originally submitted by: Wayne Self <[email protected]>

     Allow a ppp startup option in rc.conf.

     Adjust sysinstall so that it appends to the end of ppp.conf
     and uses the generated profile to start ppp in auto mode on
     boot.

     Submitted by: Josef L. Karthauser <[email protected]>
1999-07-30 17:30:30 +00:00
Andrey A. Chernov 21e32db547 MFC: locale fixes 1999-07-30 16:38:26 +00:00
Mike Pritchard 808e1797f6 MFC: Minor mdoc style nit. 1999-07-30 14:16:38 +00:00
Mike Pritchard be105bccb4 Fix a few typos. 1999-07-30 12:57:46 +00:00
Mike Pritchard 59771642fe MFC: Use the .At macro to reference versions of AT&T UNIX. 1999-07-30 12:53:01 +00:00
Mike Pritchard 34a09b028f MFC: Use the .At macro to reference versions of AT&T UNIX. 1999-07-30 12:46:51 +00:00
Mike Pritchard 3c726df092 MFC: Teach the .At macro about release v2, v3, v4 and v5 of AT&T UNIX. 1999-07-30 12:37:31 +00:00
Mike Pritchard 079baedc49 MFC: Document the getdents(2) system call.
Forgot to mention in the previous commit:

Some minor mdoc clean up as long as I'm editing the man page.
1999-07-30 11:33:41 +00:00
Mike Pritchard 125a2a96ff MFC: Fix a number of typos. 1999-07-30 10:27:38 +00:00
Mike Pritchard 571b5206ca MFC: Document the lchmod(2) system call. 1999-07-30 10:09:30 +00:00
Mike Pritchard 33ccfbfdb7 MFC: Document the lutimes() and futimes() system calls. 1999-07-30 09:05:42 +00:00
Mike Pritchard 16c3e2ce56 MFC: Mdoc cleanup. 1999-07-30 07:46:51 +00:00
Warner Losh 086132b080 MFC: 1.4 -S for man pages 1999-07-30 05:43:15 +00:00
Bill Paul d058185413 MFC: close PR #12651 (fix hash calculation for cn_hash in
nfs_readdirplusrpc()).
1999-07-30 04:53:12 +00:00
Bill Paul a0fefa6e61 MFC: fix nfs_readdirplusrpc() so that it actually works. 1999-07-30 04:03:21 +00:00
Brian Feldman 5c634738f3 FOLLOW should be NOFOLLOW.
PR:		11213
Submitted by:	Kazutoki TAKAMUNE <[email protected]>
1999-07-30 01:07:23 +00:00
Bill Paul b0f2270401 MFC: correct sanity test length calculation in nfsrv_readdirplus() so that
we don't accidentally overfill the mbuf chain when using 32K read/write
sizes. Stops "cd /nfsdir; du" from certain NFSv3 TCP clients from crashing
the system.
1999-07-29 21:48:51 +00:00
Nick Hibma 8d8b001d05 MFC: bc core dumped when a value with between 128 and 255 (mod 256) digits
was entered.

PR:		12550
Submitted by:	Vladimir Tchoukharev [email protected]
1999-07-29 20:03:07 +00:00
Mitsuru IWASAKI 23ef061325 MFC: (1.14 -> 1.15)
Correctly set the wakeup time respecting wall_cmos_clock.

PR:		12614
Submitted by:	Michael Constant <[email protected]>
1999-07-29 19:19:04 +00:00
Mitsuru IWASAKI 9cc151d960 MFC: (1.15 -> 1.16)
Fix year 2000 problem on resume wakeup timer.

PR:		12613
Submitted by:	Michael Constant <[email protected]>
1999-07-29 19:04:07 +00:00
Sheldon Hearn 94559be36b YACC: Add example. 1999-07-29 18:59:32 +00:00
Sheldon Hearn ded9471b07 YACC: Fix handling of comments and blank lines. 1999-07-29 16:37:09 +00:00
Alan Cox cfac0e5bc5 MFC: Shrink vm_object's by (1) removing cache_count and wired_count and
by (2) using u_short for pg_color.
1999-07-29 05:38:58 +00:00
Robert Nordier 6f08d4cf99 MFC: Use fname not "fname" as pnp_readconf() argument, since it
came up.

PR           : 12850
Submitted by : Gabor Zahemszky <[email protected]>
1999-07-28 18:40:41 +00:00
Brian Somers c47f6a62e6 MFC: Don't complain if 0 bytes are written to the tun device, just do nothing. 1999-07-28 15:08:06 +00:00
Sheldon Hearn 6a247c2eeb MFC: Fix typo. 1999-07-28 13:35:24 +00:00
Robert Nordier 420673deb7 MFC: Use /boot/mbr. 1999-07-28 10:44:07 +00:00
Robert Nordier 46b52d55f6 MFC: Use /boot/mbr; getopt(3); usage(); man page revisions, etc. 1999-07-28 09:51:18 +00:00
Robert Nordier 411ad31575 MFC: Activate kgzip. 1999-07-28 09:12:09 +00:00
Robert Nordier 85cfc5c977 MFC: Add kgzip. 1999-07-28 09:05:28 +00:00
Robert Nordier a192e2ae9d MFC: Activate mbr, kgzldr. 1999-07-28 08:38:57 +00:00
Robert Nordier 726f0d8fad MFC: Add kgzldr. 1999-07-28 08:37:10 +00:00
Robert Nordier 9b1b476bec MFC: Add mbr. 1999-07-28 08:34:11 +00:00
Robert Nordier db5d09d94c MFC: LBA access as build option. 1999-07-28 08:31:02 +00:00
Robert Nordier c1d2f556a1 MFC: Recognise NetBSD slices. 1999-07-28 08:29:52 +00:00
Alan Cox 6880dcfb25 MFC: [rev 1.82] Clear error in nfsrv_create when we have a valid reply
so that that reply is actually transmitted.
1999-07-28 08:24:50 +00:00
Alan Cox f620cbcd90 MFC: Fix a race condition between pmap_growkernel and
process creation.
 [pmap.h: rev 1.31, vm_glue.c: rev 1.87, vm_map.c: rev 1.173]

Hide access to vmspace::vm_pmap behind inline function vmspace_pmap.
(This function is assumed by the above patch.)
 [vm_map.h: rev 1.36]
1999-07-28 07:40:02 +00:00
Alan Cox 4153462516 MFC: [rev 1.64] Fix a race condition between pmap_growkernel and
process creation.
1999-07-28 07:30:02 +00:00
Alan Cox cbe6fad053 MFC: [rev 1.242] Fix a race condition between pmap_growkernel and
process creation.
1999-07-28 07:29:06 +00:00
Alan Cox 102c6fbc98 MFC: [rev 1.28] Fix a race condition between pmap_growkernel and
process creation.
1999-07-28 07:28:11 +00:00
Tim Vanderhoek 63bf51d8b7 [Whoops... used ci -m instead of -F on the last commit...]
MFC: misc incidental cleanup, gtags support, better line-number passing to
     $EDITOR, working arrow keys, $Id$ to manpage
1999-07-28 06:17:12 +00:00
Tim Vanderhoek f827233894 commit-notes 1999-07-28 06:09:52 +00:00
David E. O'Brien 754322af78 This document claims FreeBSD 3.3 has changed the username-group name
seperator from ``.'' to ``:''.... so I guess we'd better actuall commit it.
(MFC: rev 1.20)
1999-07-28 04:31:10 +00:00
David E. O'Brien faebc14adc MFC: rev. 1.24 (change username-group name seperator from `.'' to `:'')
(``.'' still accepted for backwards compatability)
1999-07-28 04:30:06 +00:00
Julian Elischer ddd093c8a0 RE-MFC: Fix support for Cyrix Cx5530 UDMA.
(removed functional parts of patch that caused problems before
and were in fact not needed).
Matches 1.39
1999-07-27 01:39:53 +00:00
Sheldon Hearn 7e51f5d44d MFC: Add missing reason for EINVAL return. 1999-07-26 11:40:07 +00:00
cvs2svn 7b15c71b27 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-07-26 10:49:38 +00:00
Sheldon Hearn 855d9b951d MFC: Correct HISTORY. 1999-07-26 09:39:47 +00:00
Dag-Erling Smørgrav 37b16228b9 MFC: claim ownership of inetd. 1999-07-26 08:52:07 +00:00
Andrey A. Chernov 3f4b38ed03 MFC: remove <ctype.h> 1999-07-26 05:52:31 +00:00
Andrey A. Chernov e5f17350bc MFC: uch and p_simp_re() fixes 1999-07-26 01:39:56 +00:00
David E. O'Brien 28b2d05531 MFC: rev 1.16 (don't background pccardd) 1999-07-26 01:09:39 +00:00
Tor Egge d12ff49719 MFC: Remove devstat entry when taking down a ccd device. 1999-07-26 00:40:14 +00:00
Tor Egge 9d4e09f139 MFC: Handle relocation of internal representation during variable expansion. 1999-07-26 00:06:21 +00:00
David E. O'Brien d54f105948 Zero's in the version number made the CE2 identification algorithm skip to
the wrong string, thus the PS-CE2-10 failed to be reconized.

Submitted by:	Wilko Bulte <[email protected]>
1999-07-25 21:43:53 +00:00
Jordan K. Hubbard 16a9c91e1a Temporarily back out the linux_base -> linux_lib change; the packages
all still depend on the older linux_lib and we need a decent 3.x-stable
snapshot by Monday for the toolkit.
1999-07-25 19:06:06 +00:00
Masahide MAEKAWA 839bbece81 MFC: from rev. 1.21 and 1.23
o Call ums_disable() to abort the pipe.
o Do not wake up processes which has been waiting or polling for mouse
  data.  It won't be available anymore.
o Add non-blocking I/O on read
o Add checks to make sure we do not dereference the softc when not found
  because the device has been removed.

Requested by:	Kazutaka YOKOTA
OKed by:	Nick Hibma
1999-07-25 18:35:35 +00:00
Tim Vanderhoek b60a4d88d0 MFC: clarify what must be in the pointer passed to [v]asprintf() 1999-07-25 17:43:57 +00:00
Martin Cracauer 10d9e89fdf MFC: The fix for SIGINT breaking of interactive loops that has been
in -current since April.
1999-07-25 12:26:43 +00:00
David Greenman 618a2780cb From rev 1.31: Increased max kmem to 200MB. 1999-07-24 22:28:01 +00:00
Masahide MAEKAWA a8374bec42 o When aborting an interrupt pipe, just wait for 1ms for the completion
of the current interrupt transaction.

o Do not schedule the next interrupt transaction if the pipe is being
  aborted or the last round of the interrupt transaction ended with error.

Reviewed by:	Kazutaka YOKOTA <[email protected]>
		Nick Hibma <[email protected]>
1999-07-24 18:23:03 +00:00
Matt Jacob c3d202771f MFC: apply patch from PR author- seems reasonable.
PR:		12020
Submitted by:	Matthew D. Fuller <[email protected]>
1999-07-24 17:50:58 +00:00
Nick Hibma d995d4f54f MFC: Update the man page to reflect the current value of MAXSYMLINKS
PR:		12634
Submitted by:	[email protected]
1999-07-24 16:52:12 +00:00
Tim Vanderhoek 3575e555ab Merge y2k fix: perform modular division by 100 on yr number register 1999-07-24 00:46:32 +00:00
John-Mark Gurney 1c554a4961 MFC: rev 1.61, fix a problem w/ zero byte writes to tun 1999-07-23 20:12:46 +00:00
Bill Paul 1326f1b55a MFC: merge patches from the head to clean up buffer allocation and
alignment a little, use longword payload alignment on x86 as well as alpha.

Oh, forgot to mention in the previous commit:

Pointed out by: Andrew Gallatin
1999-07-23 18:49:15 +00:00
Dag-Erling Smørgrav 6c9d593926 MFC: don't match up TCP services with UDP sockets. 1999-07-23 14:49:15 +00:00
Daniel Eischen 3752f50ab5 MFC: removed -DNOPOLL. Note that unlike -current, the libc_r library
version remains at 3.  If you are building dynamically linked apps
that now want to use poll, keep in mind that they will not be usable
with previous versions of libc_r.so.3 (which lack the wrapped poll()).
1999-07-23 13:07:12 +00:00
Daniel Eischen 4c77952d9d MFC: Bring in both bug fixes, performance improvements, and enhancements
(addition of wrapped poll).

This should fix MySQL problems.
1999-07-23 13:00:35 +00:00
Daniel Eischen a3f05da0f5 MFC: Cosmetic changes to man pages and addition of RCS Identifiers. 1999-07-23 12:32:34 +00:00
Daniel Eischen 17aa4c1052 MFC: Add mutex test. 1999-07-23 12:30:30 +00:00
Yoshihiro Takahashi 9acdf1e110 Sync with sys/dev/syscons/syscons.c revision 1.293.2.5. 1999-07-23 11:27:41 +00:00
Ruslan Ermilov 2311d5bd13 MFC: Fix a non-critical memory leak.
PR:		12769
Submitted by:	Peter Jeremy <[email protected]>
1999-07-23 08:29:43 +00:00
Jordan K. Hubbard edbb0f065e MFC: linux_lib -> linux_base 1999-07-23 02:23:51 +00:00
Bill Paul 860468a2b2 MFC: remove SiS 900 PCI definitions 1999-07-22 20:58:46 +00:00
Sheldon Hearn aa8ca5ba14 MFC rev 1.11: Don't dump core for a known, documented bug. 1999-07-22 17:36:04 +00:00
Sheldon Hearn d058ee9c32 MFC: Sync with CURRENT
Correct a manpage example.
	Use arc4random().
	Fix printf() conversion specificier format parsing.
	Fix casts in putdata().
	Add BUGS section to manpage.
1999-07-22 17:29:14 +00:00
Bill Paul a6f81d4f1e MFC: increase delay in xl_reset() to make slower machines happy. 1999-07-22 17:09:01 +00:00
Bill Paul 43be64c845 MFC: add splimp() protection to tl_stats_update(). 1999-07-22 17:04:09 +00:00
Sheldon Hearn cbd9be1487 MFC: Fix pipe descriptor leak. 1999-07-22 16:17:58 +00:00
Sheldon Hearn 085ad18e1f MFC: exit() -> _exit() in function called within signal handler. 1999-07-22 14:49:38 +00:00
Kazutaka YOKOTA 59eb5add2b MFC: from rev 1.314.
- Clear relevant variables when the keyboard is not available.
- Do not touch the `tty' struct when it's not yet available.
1999-07-22 12:45:50 +00:00
Kazutaka YOKOTA b117143289 MFC: Move the `return' statement the correct place so that the keyboard
won't be initialized if `atkbd?' is disabled. (rev 1.12)
1999-07-22 12:44:29 +00:00
Dag-Erling Smørgrav 3d6af2a599 Back out previous commit so IDE works again.
Whatever happened to testing before MFC?
1999-07-22 11:34:12 +00:00
Wes Peters f1eb2fc748 MFC: make file(1) much faster by sizing cache for magic(5)
database appropriately.
1999-07-22 01:26:05 +00:00
David E. O'Brien 2842092f24 MFC: rev 1.13 (document skey command) 1999-07-21 20:36:45 +00:00
Julian Elischer d14f3d27bb MFC: 1.58 (Peter)
Reset SA_NOCLDWAIT on exec().

PR:             kern/12669
Submitted by:   Doug Ambrisko <[email protected]>
1999-07-21 19:55:02 +00:00
Sheldon Hearn 7467a34ae3 MFC:
Make wrapping a command-line, not a compile-time, option.
	Enable dgram wrapping.
	Fix handling of -l.
	Rename ident -> auth (see next item).
	Allow use of service alias names.
	Set proctitle for wrapping case.

This syncs RELENG_3 with HEAD, with the notable exception of Brian
Feldman's new auth/ident/tap which is still a bit green. :-)

Requested by:	obrien
1999-07-21 19:28:27 +00:00
Sheldon Hearn e58b8ca7f3 MFC 1.63: Fix for the hosts_options(5) spawn option. 1999-07-21 18:39:50 +00:00
Julian Elischer 370c3abd9b MFC: 1.36
Allow Cyrix 5530 based UltraDMA IDE controllers to co-exist with other
devices on the PCI bus.
This is a workaround for a bug in the Cx5530 PCI bus logic that will
hog the PCI bus if the disk is fast enough. UDMA mode 2 is fast enough
to make this happen so limit the drives to mode 1. The symptom is
missed interrupts and sio  silo overflows at high async speeds.
1999-07-20 22:58:20 +00:00
Jordan K. Hubbard 98c7939051 MFC: Fix for XFree86 3.3.4 1999-07-20 21:17:21 +00:00
Bill Paul c9da7e100d MFC: correct wi_frame structure alignment 1999-07-20 20:09:21 +00:00
Ruslan Ermilov fa6d4e73e4 MFC:
- use -finet option to netstat(1), and don't discard anything.
- don't truncate the protocol field.
These two changes conspire to make sockstat(1) show divert sockets.
1999-07-20 08:08:27 +00:00
Ruslan Ermilov 0f5390ec3c MFC: Don't truncate port numbers. 1999-07-20 07:51:36 +00:00
Robert Nordier 729bd47aef MFC: ThinkPad special atkbd0 mode; boot2 keyboard probe. 1999-07-19 20:42:21 +00:00
Jordan K. Hubbard 2c2e299d50 MFC: XFree86 3.3.4 update that snuck by. 1999-07-19 20:04:12 +00:00
Jordan K. Hubbard 0508ff6135 MFC: Update to XFree86 3.3.4 1999-07-19 11:49:51 +00:00
Sheldon Hearn e3b12a288f MFC: Fix handling of cd command inside evaluations. 1999-07-19 11:02:39 +00:00
Kazutaka YOKOTA 4cab27185a MFC: Remove a hack to recognize syscons's cursor keycodes.
It is unnecessary now that scgetc() in syscons returns the escape
sequence for the cursor keys rather than their raw, internal key
codes. (rev 1.24)
1999-07-18 06:13:35 +00:00
Yoshihiro Takahashi 56b28e5593 Sync with sys/i386/i386/machdep.c revision 1.322.2.6. 1999-07-18 04:04:11 +00:00
John Polstra 31ff64a756 MFC 1.13 -> 1.14: Remove trailing whitespace that caused sendmail to
choke.
1999-07-17 23:25:04 +00:00
Marcel Moolenaar fa2af44674 MFC: Implementation of VT_RELDISP ioctl.
Submitted by: Kazutaka Yokota <[email protected]>
1999-07-17 18:20:33 +00:00
Marcel Moolenaar 38b9a35f32 MFC: Trivial implementation of TIOCM{S|G}ET and TIOCMBI{S|C} ioctls. No need
to convert the arguments.
1999-07-17 16:59:51 +00:00
Marcel Moolenaar 744bcb5e7b MFC: Let newuname return "Linux" as the OS name and not "FreeBSD". Also,
return a more sensible (for Linux applications) release number. Hardcoding
a release number has its drawbacks, but it will do for now.
1999-07-17 16:42:44 +00:00
Jonathan Lemon 35f822e808 MFC: lower-level callout routines.
Approved by:		jkh
Not objected to by:	wollman
1999-07-16 19:11:07 +00:00
Hidetoshi Shimokawa 8a5c022acf MFC: 1.27 -> 1.29
* Fix the return value of ypbindproc_setdom_2_yp().
* Fix unaligned access on alpha.
1999-07-16 06:16:41 +00:00
Dmitrij Tejblum dd1563437f MFC:
- rev. 1.21: -Wall fixes (dillon)
- rev. 1.22: list corrupted by region locking and signal (dt)
- rev. 1.23: list corrupted by ptrace() and style fix for 1.21 (bde)
1999-07-15 22:45:46 +00:00
David E. O'Brien 1a53404b35 MFC: rev 1.46 (don't discard error output from sysctl(8))
+ echo "NFS access cache time" setting
1999-07-15 18:45:07 +00:00
David E. O'Brien d8ac5f39eb MFC: revs 1.4{2,5,9}
* log_in_vain
     * TCP keepalives
     * network_interfaces=auto processing
1999-07-15 18:41:14 +00:00
David E. O'Brien e3e7117456 MFC: revs 1.6, 1.1{0,3,7}
* log_in_vain
	 * TCP keepalives
	 * amd mount points & map keys
	 * network_interfaces=auto
1999-07-15 18:37:48 +00:00
Jonathan Lemon e986efe8d8 Add missing argument to devstat_add_entry() 1999-07-15 18:06:17 +00:00
Jonathan Lemon cfa0d7f7a2 MFC: kern.maxsockbuf --> kern.ipc.maxsockbuf 1999-07-15 17:32:28 +00:00
Marcel Moolenaar 940b89f8a8 MFC: handle interpreter loading in chroot'd env.
PR: 10145
Reviewed by: peter
1999-07-15 13:01:54 +00:00
Bruce Evans 2b5b97179f MFC (non-cosmetic parts of 1.23: fixed loss of ASTs on systems with shared
interrupts).
1999-07-15 11:26:21 +00:00
Hidetoshi Shimokawa c829b00994 Make gcc compiled again on alpha.
(Back out previous change and keep our local change.)
1999-07-14 08:26:33 +00:00
John Polstra edb3db277d MFC 1.26 -> 1.27: Cleanup properly after a failed dlopen().
PR:		bin/12471
Submitted by:	Max Khon <[email protected]>
1999-07-14 04:24:15 +00:00
John Polstra f26736078f MFC 1.27 -> 1.28: Bugfix for dladdr() and dlsym(RTLD_NEXT, ...). 1999-07-14 04:17:14 +00:00
John Polstra d17a551060 MFC 1.5 -> 1.6: Handle R_ALPHA_NONE relocations. 1999-07-14 04:14:50 +00:00
Foxfair Hu d33a0495dd MFC: Fix the wrong URL of back-issue FreeBSD newsletter. 1999-07-14 02:27:51 +00:00
Kazutaka YOKOTA 7c34c4211c MFC: rev 1.12. Change key_t to keyent_t. 1999-07-13 13:34:29 +00:00
Mike Pritchard f93929f66e MFC: Fix a couple of typos. 1999-07-12 18:38:46 +00:00
Nick Hibma 2c579d3ed9 MFC: Correct typo
PR:		9638
Submitted by:	Mauro Allegrini [email protected]
1999-07-12 15:58:51 +00:00
Kazutaka YOKOTA 47d0c8fbbc YAMFC: rev 1.5 and rev 1.11. 1999-07-12 15:47:25 +00:00
Kazutaka YOKOTA a152e7f0cf MFC: Implement a kludge for some wheeled mice for which infamous "psmintr:
out of sync..." messages is generated and the wheel movement is not
recognized.
1999-07-12 15:29:27 +00:00
Sheldon Hearn 09eb268c5d MFC: Fix commented out CFLAGS modifier. 1999-07-12 14:28:57 +00:00
Kazutaka YOKOTA ae5b28c7b4 MFC: Implement a kludge for some wheeled mice for which infamous "psmintr:
out of sync..." messages is generated and the wheel movement is not
recognized.
1999-07-12 13:40:52 +00:00
John-Mark Gurney b4a95de710 bah, cvs diff -kk -j 1.64 -j 1.65 cam_xpt.c didn't do what I expected,
make this file compile again by placing the comment in the right space..

Pointed out by: Fred Nicolls <[email protected]> and
		Oliver Brandmueller <[email protected]>

it's always important to include what branch you are having problems
with...
1999-07-12 10:01:38 +00:00
David E. O'Brien 3a49447417 MFC: rev 1.13: add portlint and sort. 1999-07-12 07:53:39 +00:00
Tim Vanderhoek 8d552d8e2f CFC: .Ev WRKDIRPREFIX, delta <target>readmes</target>, .ORG->.org 1999-07-12 02:35:09 +00:00
David E. O'Brien c7619b8248 MFC: update to version 1.20 of the XE driver. 1999-07-11 22:29:11 +00:00
David E. O'Brien 9cffdea9e6 Better approach: totally turn off the new specs_file handling until I find
the real reason it dumps core.  We don't depend on the new code, but figured
it would be nice to have in case someone is hacking their native Gcc.
1999-07-11 22:10:16 +00:00
David E. O'Brien 6d8d5be5c0 Do not try to use ``specs_file'' if it is NULL (which it is in our case). 1999-07-11 21:56:57 +00:00
David E. O'Brien 65f7f95dfc 2.7.2.1->2.7.2.3 differences merged in. 1999-07-11 21:55:34 +00:00
David E. O'Brien bb17be5106 gcc 2.7.2.1->2.7.2.3 differences merged in. 1999-07-11 21:44:41 +00:00
Bill Paul 55a7265f08 MFC: add wb0 to GENERIC for alpha 1999-07-11 14:55:23 +00:00
David E. O'Brien 2a225ca936 Use IP addresses in Portmapper example since they must be used rather than
hostnames.
1999-07-11 10:37:37 +00:00
John-Mark Gurney 93b7f7dfd3 MFC: add Microp 4421 as broken
rev1.65
1999-07-11 06:20:46 +00:00
Bill Paul e3e4bbcf14 MFC: make the wb driver work on alpha, add bridge support. 1999-07-11 00:58:38 +00:00
David E. O'Brien 196972d76d Helper to trim extracted files for use when importing new versions of GCC 2.7.2. 1999-07-09 18:16:16 +00:00
David E. O'Brien b90476b101 Actually add this file to 3.x. 1999-07-09 16:58:30 +00:00
Sheldon Hearn e1ac3d8544 MFC: Fix typo in previous commit. 1999-07-09 13:40:28 +00:00
Dag-Erling Smørgrav 63757c8a04 Belatedly MFC rev 1.49 (stopgap fix for bin/10821) 1999-07-09 13:38:47 +00:00
Sheldon Hearn 14171c41b6 MFC: Update parallel port section ("Printers:" -> "Parallel port:") and
add ppi and pps devices.
1999-07-09 13:24:59 +00:00
Sheldon Hearn 916cef6f5f MFC: Add pps device. 1999-07-09 12:57:59 +00:00
Mark Murray 111af0f818 Fix make world breakage (\ left off end of line) 1999-07-09 09:10:12 +00:00
David E. O'Brien 698e8a4f10 MFC: install dhclient.conf and sort file list
PR:				conf/12458
Submitted by:	Doug <[email protected]>
1999-07-09 05:39:47 +00:00
Jordan K. Hubbard f9ab8b4e9e MFC: document /etc/defaults/rc.conf 1999-07-09 01:47:24 +00:00
John Polstra 39cf0a6c7d MFC 1.25 -> 1.26: Make it possible to debug the _init functions. 1999-07-08 14:49:33 +00:00
David E. O'Brien 6bdbf2e998 MFC: %Z functionality. 1999-07-08 12:52:01 +00:00
Bill Paul 153f2c03bb MFC: forgot one line from race condition fix. 1999-07-08 00:43:29 +00:00
Bill Paul fd8abb510a MFC: fix race condition in xl_start(). 1999-07-07 21:50:56 +00:00
Dag-Erling Smørgrav 3201ec6718 Back out previous commit after discussing it with Dmitrij Tejblum. 1999-07-07 21:01:20 +00:00
Dag-Erling Smørgrav 01b59e0b97 MFC: Always set errno to ENOMEM when returning 0. 1999-07-07 19:58:14 +00:00
Matt Jacob 71474c5722 MFC: Fix my complete botch. I hope. Tested this time 1999-07-07 18:15:13 +00:00
Kazutaka YOKOTA e684f3193b MFC: Belgian keyboard fix. 1999-07-07 13:24:28 +00:00
cvs2svn 4b814d3a5f This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-07-07 13:20:13 +00:00
Jordan K. Hubbard 3c7b0f7904 MFC: linux compat changes. 1999-07-07 09:53:29 +00:00
Ollivier Robert 8545950b71 MFC: Added $Id$
Approved by:	kirk
1999-07-07 08:55:43 +00:00
Brian Feldman 43bf3baa30 0ff0 -> 0xff0. Sorry about that.
Noticed by:	cracauer
Pointy hat to:	green
1999-07-06 17:21:48 +00:00
Yoshihiro Takahashi 653005f596 Sync with sys/i386/isa/sio.c revision 1.224.2.6. 1999-07-06 14:12:57 +00:00
Yoshihiro Takahashi 303efe7ab2 Sync with sys/i386/isa/clock.c revision 1.129.2.3. 1999-07-06 14:11:49 +00:00
Kazutaka YOKOTA e0b11407ac MFC: List avaiable function keys. 1999-07-06 13:14:03 +00:00
Kazutaka YOKOTA 0b215cbe0a MFC: Remove reference to the obsoleted COMCONSOLE option. 1999-07-06 11:47:26 +00:00
Hidetoshi Shimokawa 42d8cf9a38 Fix misplacement of PPS_CAPTUREASSERT and PPS_CAPTURECLEAR. 1999-07-06 11:08:31 +00:00
Brian Feldman bdda1b600d MFC some i386-family-CPU changes. 1999-07-06 06:50:05 +00:00
Matt Jacob ff95fcade0 MFC: add in (controlled by option) 2200 Expanded Lun F/W 1999-07-06 05:40:44 +00:00
Matt Jacob 3259600160 MFC: suggestions from bde to clean up last checkin slighty 1999-07-06 01:42:44 +00:00
Matt Jacob 27ad293932 MFC: add in a boot environment isp_disable flag 1999-07-06 01:23:35 +00:00
Matt Jacob a4d11d99d2 MFC: fix broken 2200 cases 1999-07-05 22:05:35 +00:00
Matt Jacob a12844d032 MFC: add 2200 f/w; fix botched define 1999-07-05 20:43:14 +00:00
Matt Jacob ea2f6b5548 MFC: dd ISP_DISABLE_2200_SUPPORT defines; Add reference to 2200 F/W 1999-07-05 20:28:16 +00:00
Matt Jacob 862436726d MFC: add another ISP option 1999-07-05 20:20:57 +00:00
Bill Paul 23df4be2d8 MFC: remove ti_refill_rx_rings(). 1999-07-05 20:20:36 +00:00
Matthew Hunt 61859878ab MFC: "can not" -> "cannot" 1999-07-05 18:13:11 +00:00
Kazutaka YOKOTA c2eeb7b610 MFC: Added the EXAMPLE section and try to make the text slightly more
informative.
1999-07-05 10:00:41 +00:00
Mike Smith a195a3a370 Add support for the 'ida' driver.
Fix character major for 'fla' (102 not 101).
1999-07-05 09:22:18 +00:00
Dag-Erling Smørgrav 21251b5097 MFC: bump the number of vtys.
Forgotten by:	jkh ;P
1999-07-05 09:08:05 +00:00
Mike Smith cf8a00d4b7 Remove wb0. What _was_ I thinking? 1999-07-05 08:55:22 +00:00
Dag-Erling Smørgrav 8d664eadde MFC: feed the vty monster. 1999-07-04 17:18:50 +00:00
Bill Paul 306d2dcc69 MFC: add sanity checks to avoid trying to process frames with bogus
lengths.
1999-07-04 14:41:34 +00:00
Bruce Evans 5379167cd6 MFC (1.14: quick fix for breakage of bounds checking in rev.1.12). 1999-07-04 08:12:36 +00:00
John Polstra 12ffbf2f43 MFC 1.5 -> 1.6: New location for the soft-updates sources. 1999-07-03 21:48:04 +00:00
John Polstra 5eff3287e8 MFC 1.614 -L 1.615: Reflect new soft-updates location. 1999-07-03 21:46:18 +00:00
John Polstra a4c0c14b4d Remove soft-updates sources from their old location on the RELENG_3
branch.
1999-07-03 21:43:18 +00:00
John Polstra 219f547add Add RELENG_3 versions of the soft-updates sources in their new
location.  Their history can be found in the oldRELENG_3 branch.
1999-07-03 21:41:00 +00:00
Matt Jacob f6a963ed0a MFC: Avoid dividing by zero. 1999-07-03 21:16:44 +00:00
Dag-Erling Smørgrav 5eecdcfb97 MFC: reverse FTP_PASSIVE_MODE check. 1999-07-03 11:57:11 +00:00
Yoshihiro Takahashi e1698e0da7 MFC: Use MACHINE_ARCH instead of MACHINE to check x86 architecture. 1999-07-03 08:20:32 +00:00
Michael Haro a032335791 wcd -> acd
Submitted by:	 Ruslan Ermilov <[email protected]>
1999-07-03 05:42:38 +00:00
Matt Jacob 4bbe08c838 MFC: Add 2200 support. Add Fabric Support. Add SCCLUN support. Clean up a lot.
Remove non-CAM code. Merge contents of isp_freebsd_cam.h to isp_freebsd.h.
Remove isp_freebsd_cam.h. Run in circles, scream and shout.
1999-07-03 01:47:14 +00:00
Matt Jacob 6a84c33b4d MFC: remove non-CAM code. Add 2200 Support. Check environment variables, etc. 1999-07-03 01:45:17 +00:00
Mike Smith 19d9d92aef MFC: maxusers->32, remove gzip, add wb0 1999-07-03 01:36:43 +00:00
Matt Jacob 094b5bdde7 MFC: Roll FC firmware 1999-07-02 23:55:58 +00:00
Mike Smith c1352bb6cd Make this a little more relevant to the 3.2-stable branch. Probably still
needs some work.
1999-07-02 23:39:50 +00:00
Jordan K. Hubbard d07dcd95ba MFC: eliminate varargs abuse. 1999-07-02 22:36:34 +00:00
Robert Nordier 92698ef148 MFC: Fill in bi_bios_geom[]. 1999-07-02 21:40:04 +00:00
Sheldon Hearn fdc2e99426 MFC: Back out previous commit. Yet another test case for delayed MFC's. 1999-07-02 17:30:27 +00:00
Nick Sayer d05bb55d9c MFC: Add SSL imap, pop3 and telnet 1999-07-02 16:57:31 +00:00
Ruslan Ermilov 73b937b1da o use getprotobynumber(3) instead of hardcoded protocol names.
Divert(4) sockets will now appear as "internet raw divert"
  instead of "internet raw 254".

o -Wall tweak.

Reviewed by:	bde
1999-07-02 15:13:41 +00:00
Yoshihiro Takahashi 1c9a14b25b Sync with i386/conf/Makefile.i386 revision 1.136.2.6. 1999-07-02 13:03:27 +00:00
Yoshihiro Takahashi 35bea7659b Sync with i386/conf/GENERIC revision 1.143.2.16. 1999-07-02 13:02:28 +00:00
Sheldon Hearn cff21ceb3e MFC: Document the kld-related syscalls. 1999-07-02 12:40:35 +00:00
Brian Feldman 91ca7031ff "transfered" -> "transferred"
Reviewed by:	dict(1)
1999-07-02 08:57:06 +00:00
Matt Jacob 2dc93f4af2 MFC: add tags step. 1999-07-02 04:22:00 +00:00
Jordan K. Hubbard e919ca1304 MFC: fixups for tags and documentation. 1999-07-02 04:04:55 +00:00
Jordan K. Hubbard a928cba727 MFC: fix incorrect bit flipping. 1999-07-02 02:00:51 +00:00
Yoshihiro Takahashi c54d39ca0e Sync with sys/dev/syscons/syscons.c revision 1.293.2.4. 1999-07-02 00:50:44 +00:00
Yoshihiro Takahashi 71bb19aa40 Sync with i386/isa/clock.c revision 1.129.2.2. 1999-07-02 00:48:44 +00:00
Yoshihiro Takahashi 0d3e4ad835 Sync with i386/conf/GENERIC revision 1.143.2.15. 1999-07-02 00:46:59 +00:00
Yoshihiro Takahashi e5db074d71 Sync with i386/i386/userconfig.c revision 1.126.2.6. 1999-07-02 00:45:34 +00:00
Jordan K. Hubbard b149e9c50f MFC: one last time. 1999-07-01 20:14:08 +00:00
Ruslan Ermilov 6d88ee43f7 MFC:
Document that FTP_PASSIVE_MODE should be explicitly
set to `YES' for passive mode to be used by default.
Just setting FTP_PASSIVE_MODE is not sufficient, as
it was before.

Noted by:	eivind
Reviewed by:	des
1999-07-01 14:35:36 +00:00
Ruslan Ermilov 17c45e1c4e MFC: Turn System V command line syntax ``on'' by default.
Requested by:		peter
Reviewed by:		des, billf
1999-07-01 13:40:53 +00:00
Kris Kennaway 0357464a2b MFC: Spelling 1999-07-01 13:32:31 +00:00
cvs2svn 17f3b07051 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-07-01 12:16:07 +00:00
Ruslan Ermilov b00c2d9a98 MFC:
- separate the pftp and FTP_PASSIVE_MODE tests so gate mode works again
  PR:		bin/12070

- specifically check that FTP_PASSIVE_MODE is set to YES, rather than
  just checking if it is defined

- add "-s src_addr" option to allow setting of the source IP address

- fix two minor bugs

- slightly cleanup manpage
1999-07-01 11:33:36 +00:00
Jordan K. Hubbard b0d222d4e4 MFC: compromise for radius 1999-07-01 00:08:23 +00:00
Julian Elischer b71184290d MFC: Bring in NFS cleanups by Matt.
These fix several case where errors were being incorrectly,
and also fix the hangs that were being reported by David Cross.

Much of the patch is "cleanups" which resulted from the attempt at isolating
the problems. They are left because the disciplin added makes the
maintainability higher.

Includes fixes from David Cross and someone else (I lost the mail).
1999-06-30 22:05:19 +00:00
Sheldon Hearn a338c73848 MFC: Allow input via stdin. 1999-06-30 21:50:18 +00:00
Kris Kennaway 14cce85f73 MFC: retreived -> retrieved 1999-06-30 12:53:42 +00:00
Kris Kennaway c9272724ac MFC: Spelling & grammar fixes 1999-06-30 12:51:04 +00:00
Kris Kennaway 8fb06a2cf7 MFC: inode -> vnode 1999-06-30 12:15:56 +00:00
Kris Kennaway 13a93bb5f7 MFC: Update manpages to reflect includes 1999-06-30 12:07:02 +00:00
Kris Kennaway cf11daddeb MFC: vadvise() -> madvise() 1999-06-30 11:51:51 +00:00
Jordan K. Hubbard 4c30e209c5 MFC: use correct radius ports 1999-06-30 06:21:00 +00:00
Julian Elischer c2f819d7f7 MFC: Handle auspex NFS server problem
courtesy of apple.
1999-06-30 03:38:52 +00:00
Matthew Hunt 74ef924320 MFC: Correct spelling error of NMBCLUSTERS. 1999-06-29 19:10:21 +00:00
Kazutaka YOKOTA 03fd6b5ad1 MFC: Fill in tp->t_windowsize AFTER the call to (*linesw[tp->t_line].l_open)(),
rather than BEFORE the call.  Otherwise the structure will be `zero'ed out
by l_open, which actually is ttyopen(), if !TS_OPEN. (Rev.1.310)
1999-06-29 17:32:29 +00:00
John Polstra 20a0fba8fd MFC: Fix serious performance bug for large programs with multiple
GOTs.
1999-06-29 05:16:26 +00:00
KATO Takenori 773a68a486 MFC: new parallel port driver for PC98. 1999-06-28 15:31:32 +00:00
Pierre Beyssac c82f175f1c MFC: Force umask to 077 (instead of 000) during the edit phase.
PR:		misc/11797
1999-06-28 12:41:25 +00:00
Mike Pritchard 8496e81bf8 MFC: update the SYSNOPSIS to reflect that the -l option can be
specified more than once.
1999-06-28 10:53:44 +00:00
Satoshi Asami b70ad62fee New ports/{java,irc,x11-servers} categories, Step #7 - update sample
cvsup files.
1999-06-28 10:08:06 +00:00
Martin Cracauer c6f6763bdf MFS: Fail if parsing failed, don't continue. 1999-06-28 06:51:32 +00:00
Matt Jacob 19f107fa53 MFC: add description of Qlogic ISP FC Full Duplex option 1999-06-27 19:38:47 +00:00
Matt Jacob 32bd0e576b MFC: add config option for fibre channel full duplex 1999-06-27 19:31:14 +00:00
Sheldon Hearn 50e3bb2294 MFC: Add -d debugging option. Describe exit status in the manpage. 1999-06-27 18:34:30 +00:00
Sheldon Hearn cf1b65c299 MFC: Do nothing for etc-examples target when SHARED=symlinks . 1999-06-27 16:44:12 +00:00
Pierre Beyssac 1f63bee51d MFC: in in_pcbconnect(), check errors from in_pcbbind() and exit
if any. This avoids calling in_pcbrehash() without a preceeding
in_pcbinshash(), causing a crash.

PR:		misc/12256
1999-06-27 11:31:35 +00:00
Mike Pritchard eec63967a8 MFC: Fix some typos and do some minor mdoc cleanup. 1999-06-27 02:40:35 +00:00
Mike Pritchard ca3fc6328d MFC: Document that mlock() and munlock() can return EPERM if the
caller is not the super-user.  Also document that we do not
currently support the per-process RLIMIT_MEMLOCK limit.

PR:		doc/11607
1999-06-27 00:41:21 +00:00
Mike Pritchard 8bf065dd48 MFC: Minor mdoc fix.
Forgot this in the first commit:
PR:		Part of doc/10331
1999-06-26 23:18:32 +00:00
Mike Pritchard 2d321ae914 MFC: Actually describe all of fsinfos options. 1999-06-26 23:02:24 +00:00
Robert Nordier f1406a82d4 MFC: Document -P (keyboard probe) assumptions. 1999-06-26 22:09:21 +00:00
Robert Nordier c9ffc3aac4 MFC: Enable/disable options; signature check. 1999-06-26 21:40:37 +00:00
Robert Nordier 3d57998a5e MFC: active flag handling; sanity check drive number; pass partition
pointer to bootstrap; enable/disable options; etc.
1999-06-26 21:31:57 +00:00
Nick Hibma 1e803eccc8 MFC: Possible fix for PR 12041, remove unused variable and a possible
division by 0 fault

PR:		kern/12041
Submitted-By:	[email protected]
1999-06-26 14:45:05 +00:00
Pierre Beyssac 3e9def3442 MFC: Never return the root node itself from rn_match(); return NULL instead.
PR:		kern/12265
1999-06-26 13:47:19 +00:00
Sheldon Hearn 0e05a88aba MFC: Report correct master.passwd path on error. 1999-06-26 10:46:55 +00:00
Sheldon Hearn 05ef44ddca MFC: Add -d option. 1999-06-26 07:18:26 +00:00
Tim Vanderhoek 09d006d598 MFC: word message apropriately when appending output instead of overwriting 1999-06-26 06:24:19 +00:00
Brian Somers de1e97c75a MFC: Add -p (ignores POINTOPOINT interfaces) 1999-06-26 03:14:16 +00:00
Brian Somers 25b7964dda MFC: Don't scribble if our last arg is expect-send-expect 1999-06-26 02:56:07 +00:00
Matthew Hunt 476fb8e980 MFC: Add Pro/100+ and i82559. 1999-06-25 16:53:02 +00:00
John Polstra 60c487dc65 MFC 1.24 -> 1.25: Fix reference counting problem.
PR:		bin/12129
1999-06-25 04:51:45 +00:00
Brian Feldman 6c5809578d MFC: Rise mP6 support requires an addition to identcpu.c, and a workaround
to the read-only (write -> GPF) TSC. We no longer zero the TSC at
     boot.

Reviewed by:	msmith
1999-06-25 03:06:06 +00:00
Brian Feldman 39392202f2 MFC: Fix state reporting for FTP transfers; make one of the HTTP states
consistent with the others.
1999-06-25 02:57:26 +00:00
Jonathan Lemon 94012066b1 MFC: rev 1.65, cyrix WT_ALLOC fix. 1999-06-24 20:16:34 +00:00
Nick Hibma 322ef051b3 Fix typo (missing double quote) 1999-06-24 17:20:54 +00:00
Matt Jacob ab31819ce0 MFC: (corrections for type change in softc) 1999-06-24 16:45:11 +00:00
Matt Jacob f20389c563 MFC: Bruce pointed out I was being silly with volatile. 1999-06-24 16:40:17 +00:00
Joerg Wunsch 69b3944d30 Remove foxfair's damage done to the de_DE* locales by accidentally
importing them from the head, and then simply disabling them from
the Makefile after problems building the world arose, as opposed to
fixing the real problem (i. e. reverting the definition files to a
version that is acutally compatible with 3-stable's colldef(1)).

While the ss/sz handling is perhaps not 100% correct now, the German
locale is at least back at all.  I'm surprise this bug survived the
branch until now...
1999-06-24 15:53:18 +00:00
Matt Jacob f5e7b3f036 MFC: Quirk Tandberg 4100 like Tandberg 4200. 1999-06-24 15:22:40 +00:00
Sheldon Hearn 820f368e0a MFC: Add missing strings and correct a comment. 1999-06-24 14:40:15 +00:00
Sheldon Hearn 2a72410a40 MFC: Populate /usr/share/examples/etc as advertised. 1999-06-24 09:55:08 +00:00
Mike Pritchard 7b9bb624c1 MFC: Some man page cleanup. Make the NAME and SYNOPSIS sections agree
so that whatis(1) will produce the corect results.
1999-06-24 06:28:18 +00:00
Mike Pritchard 4f46d669a2 MFC: Add the 'reset' command to the NAME section. 1999-06-24 04:50:00 +00:00
Mike Smith 3630963839 MFC: make the eject ioctl work. 1999-06-24 03:10:02 +00:00
Mike Pritchard 69a6fb23e0 MFC: The .Rv macro is not valid for section 9 man pages. 1999-06-24 01:00:56 +00:00
Mike Pritchard afe6f30cf2 MFC: Update mdoc.samples(7) to reflect that section 9 is a valid section
number.  Add a list of section numbers and their descriptions.
1999-06-24 00:21:32 +00:00
Sheldon Hearn abc7cfc067 MFC: Ignore NIS accounts when checking for passwordless accounts. 1999-06-23 14:28:00 +00:00
Ruslan Ermilov 7f98fa3504 MFC:
- init(8) will now halt the system if sent USR1 signal,
  or halt and turn the power off (if hardware permits)
  if sent USR2 signal.  System V's command line syntax
  is also available, but turned off by default.

- shutdown(8) will now signal init(8) instead of simply
  executing halt(8) or reboot(8) to halt or reboot the
  system.  This benefits from running /etc/rc.shutdown
  by init(8).  ``-o'' flag is provided for backward
  compatibility.

- various minor cleanups to shutdown(8).

- some reboot(8) details clarified.

PR:		5451
Thanks to:	Leif Neland <[email protected]>
1999-06-23 10:25:55 +00:00
Ruslan Ermilov 452ef6e745 MFC: Document ``init_path'' and fix two typos. 1999-06-23 09:19:19 +00:00
Brian Somers 63b5484b2d MFC: 50M -> 90M 1999-06-23 08:41:58 +00:00
Kazutaka YOKOTA 1f5db686a9 MFC: Add Central European, Czech and Slovak keymaps.
PR: misc/11443, misc/11446, misc/11447
Submitted by: G. Adam Stanislav <[email protected]>
1999-06-23 08:21:43 +00:00
cvs2svn f0c15c7edf This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-06-23 08:14:42 +00:00
David E. O'Brien d282e0e42d MFC: rev 1.19 (score file ownerships)
Related-to-PR:	bin/8440
Submitted by:	Stephen J. Roznowski <[email protected]>
1999-06-23 04:30:05 +00:00
Sheldon Hearn 46f797d80d MFC: Fix and enable internal service wrapping, fix handling of maxchild
and clarify manpage's description of TCP Wrappers support.
1999-06-22 18:06:35 +00:00
Brian Somers 30b36a8317 MFC: Make PKT_ALIAS_REVERSE work and document it. 1999-06-22 17:25:38 +00:00
Brian Somers 793484e2ea MFC: Work around egcs optimisation failures (this isn't required,
but keeps the code consistent).
1999-06-22 17:25:07 +00:00
Brian Somers 4ffb29868f MFC: Make incoming packets work as keepalives too. 1999-06-22 17:24:33 +00:00
Steve Price 94d7898d7b MFC: wrap fpsetmask(3) and friends in 'extern "C"'. 1999-06-22 17:13:04 +00:00
Sheldon Hearn 7f136dc9e5 MFC: rev 1.3: Fix for the case where nobody can't read root's homedir. 1999-06-21 18:39:37 +00:00
Sheldon Hearn cbdb006386 MFC: rev 1.3: Add missing declarations. 1999-06-21 17:14:54 +00:00
Tim Vanderhoek 654dea070b MFC: Return ENOEXEC for short gzipped files.
I waived the standard undefined waiting period on this mfc due to 1) the
ease with which it lets a non-priv user panic a GENERIC kernel
("touch x; gzip x; chmod u+x x.gz; ./x.gz") and 2) the fact that I
really tested it on -stable, anyways.
1999-06-21 16:39:59 +00:00
Sheldon Hearn a269d7730e MFC: Don't allow users to prevent the updating of /etc/motd . 1999-06-21 16:05:14 +00:00
Sheldon Hearn a2c44c39ab MFC: Add missing argument to synopsis. 1999-06-21 12:38:17 +00:00
Joseph Koshy 0e9450ec71 MFC: {rev 1.2} Types and -mdoc usage. 1999-06-21 10:22:27 +00:00
Alan Cox 7e5149ec41 MFC: [rev 1.168, 1.169, and 1.170] Fix two panics and an accounting error
in the growable stack code.
1999-06-20 19:17:16 +00:00
Bill Paul 3e94c907b4 MFC: adjust FIFO and DMA thresholds to improve performance and reduce
RX FIFO overruns.
1999-06-20 18:57:14 +00:00
Matt Jacob bc52fcb7b1 MFC: quirk NOLUNS cabletron devices 1999-06-20 18:45:55 +00:00
Alan Cox 7ef6f8c017 MFC: [rev 1.42] For consistency with other implementations, check
for the existence of the segment before checking its permissions.
1999-06-20 18:43:46 +00:00
Peter Wemm d170a8ec81 MFC: 1.55: tegge: don't deref NULL on tcp pcblist sysctl copyout if the
tcp session was closed or reset.
1999-06-20 01:21:25 +00:00
Bill Paul 456af1b479 Add the ADMtek PCI fast ethernet driver to the RELENG_3 branch. I've
been using this driver with my sample cards at work with 3.2-RELEASE
for a while now and it's been very stable. Works on the alpha platform
too.
1999-06-19 21:38:04 +00:00
Robert Nordier 513ba1acd6 MFC: Fix use of e_phoff in place of e_phnum. 1999-06-19 20:53:53 +00:00
Bill Paul a5064a2c87 Add RealTek driver to GENERIC for alpha. 1999-06-19 20:27:58 +00:00
Bill Paul 54502cf605 MFC: make this driver work on FreeBSD/alpha 1999-06-19 20:21:24 +00:00
Matt Jacob 7a24a7e398 MFC:compare against the *new* nfsnode's mount point for seeing whether or not
the new nfsnode is already in the hash queue. We're pretty much guaranteed
that the old nfsnode is already in the hash queue.
1999-06-19 19:35:11 +00:00
Brian Somers e15c8524b4 MFC: Don't delete quota files when clean-tmps is enabled. 1999-06-19 13:03:33 +00:00
Bill Paul 4a40980d29 MFC: implement TX descriptor usage counter to avoid TX ring wrap. 1999-06-19 00:38:39 +00:00
Ruslan Ermilov 534510fb20 Typo in previous commit. 1999-06-18 10:41:13 +00:00
Ruslan Ermilov de472c4a7e MFC:
Mention that pid 1 is not affected by kill(-1, SIGXXX) too.
1999-06-18 10:26:08 +00:00
Kenneth D. Merry aa249d885d MFC: Add a MAINTAINER line to modules that I maintain.
Suggested by:	brian, markm
1999-06-18 00:43:20 +00:00
Ruslan Ermilov 070b43fb6b MFC: Don't accept divert/tee/pipe rules without corresponding option.
PR:		10324
1999-06-17 13:38:59 +00:00
Ruslan Ermilov 7214d7144e MFC:
Work around the problem that the first port name in a range specification
can't have a dash (`-') character (it is treated as a ``range'' operator).
See ipfw(8) manpage for details.

PR:		7101
1999-06-17 13:03:39 +00:00
Ruslan Ermilov 4a29c752a1 Merge from non-crypto version:
- "-N" option
- "-E" security fix
- "-s src_addr" option

Requested by:	markm
1999-06-17 09:33:04 +00:00
Ruslan Ermilov 710e212559 MFC:
- add "-s src_addr" option
- document "-N" option in SYNOPSIS and usage()
1999-06-17 07:27:45 +00:00
Nick Hibma f81589a5f0 uhub is mandatory, as it is required for the root hub. Keep it optional
but make it depend on usb instead.
1999-06-16 19:38:36 +00:00
Nick Hibma 6098d21064 Remove useless stubs 1999-06-16 18:57:50 +00:00
Matt Jacob 7bb7167b8d MFC:Use vput instead of vrele. 1999-06-16 18:40:43 +00:00
Nick Hibma b078cbe177 Remove option USBVERBOSE 1999-06-16 17:49:31 +00:00
Nick Hibma aac395f025 Add back in the USB stuff. We now have a couple of testers for this
source base, so we should be able to support them properly.
1999-06-16 17:41:07 +00:00
Nick Hibma c927e9282e Remove option USBVERBOSE
Add the options for debugging used in dev/usb/*.c

Submitted by:	Kazu
1999-06-16 17:34:36 +00:00
Bill Paul dde061d813 MFC: fix multicast hashing for PNIC II, which has only a 128 bit table
instead of 512.
1999-06-16 16:32:07 +00:00
Kazutaka YOKOTA 9c6c15a470 MFC: print verbose messages when there is error. 1999-06-16 14:05:20 +00:00
Kazutaka YOKOTA a1234ab759 MFC: remove unnecessary function call (rev 1.5). 1999-06-16 11:50:25 +00:00
Matt Jacob 3e3e874a46 MFC:
If we retry this operation from the top of this routine, we need to
make sure we've freed any allocated resources (to avoid a memory leak)
and and do the right thing with respect to the nfs node hash lock we'd
acquired.
1999-06-15 23:26:09 +00:00
Julian Elischer f5767274f0 Add a couple of command definitions.
Also add offsets into the IDE parameter block so that it is humanly
possible to match the structure to the manufacturer's documentation.
(basically this is just changes to comments)
1999-06-15 23:06:51 +00:00
Mike Pritchard 5973eef106 MFC: cam_get_device() was returning 0 on failure, and 1 on success, while
camcontrol(8) and the documentation in camlib.c and cam(3) all expect
-1 on failure and 0 on success.  Updated camlib.c to return the values
specified by the documentation.
1999-06-15 20:04:42 +00:00
Mike Pritchard fb5501d8ea MFC: Correctly document the two different object file formats that
can be used with objformat.
1999-06-15 19:21:17 +00:00
Mike Pritchard 3eecf358e4 MFC: Describe the IMPLEMENTATION NOTES section since we have a number of
man pages that use it.
1999-06-15 19:07:24 +00:00
Ruslan Ermilov c58d3ac6ee MFC: Fix the section number. 1999-06-15 14:36:46 +00:00
Joseph Koshy 68c8442f8d MFC: {rev 1.7} Larger, space separated fields in the output of repquota. 1999-06-15 06:14:27 +00:00
Nik Clayton fcda52eb53 MFC: Include <sys/time.h> for correctness. BDE to introduce a better
fix later.  From aio.h:1.10
1999-06-14 19:07:16 +00:00
Ruslan Ermilov 0c4c7cf0a1 MFC:
It was possible to circumvent telnet's security ``-E'' (no escape at all)
option by running it with ``-8 -E'' and passing it 0xff character.

PR:		6317
Reviewed by:	des, David Borman <[email protected]> (the author)
1999-06-14 18:58:23 +00:00
Bruce Evans 455a92592f MFC (1.9: updated). 1999-06-14 15:15:22 +00:00
Nick Hibma 18ccecd6c3 Man pages for top refer to only 2.x, but not to 3.x and later. 1999-06-14 12:11:09 +00:00
Alan Cox 9dbc937e7d MFC: rev 1.166
The wrong vm_map_entry is used in vm_map_protect to determine
	if writes must not be allowed due to COW.
1999-06-13 04:06:41 +00:00
Alan Cox 03f8e18482 MFC:
rev 1.52: Restructure pipe_read in order to eliminate
		several race conditions.
	rev 1.48 and 1.49: Cosmetic changes.
1999-06-12 05:58:49 +00:00
Mike Pritchard 2f66abb4d8 MFC: Fix a minor style nit in the NAME section. 1999-06-11 16:30:31 +00:00
Mike Pritchard a674090dd9 MFC: Move the description of the strncmp() function from the RETURN VALUES
section to the DESCRIPTION section.
1999-06-11 16:24:55 +00:00
Tim Vanderhoek f4af6904b6 MFC: Compile with -DNO_REGEX 1999-06-11 04:40:24 +00:00
Steve Price d9e2fe2398 MFC: add libwrap to the beforeinstall target (rev 1.68 in -current).
PR:		11739
Reviewed by:	peter
1999-06-11 00:24:12 +00:00
Kenneth D. Merry fad8365c25 MFC: For vendor-specific commands sent using the 'camcontrol cmd'
facility, use the passed in CDB length, not 1.

Submitted by:	Jean-Marc Zucconi <[email protected]>
1999-06-10 16:15:45 +00:00
Brian Somers 4e99556fb0 MFC: Never bring a link back up after receiving a terminating signal,
don't rely on already being in PHASE_DEAD.
1999-06-10 09:07:15 +00:00
Jordan K. Hubbard 7e0cd42a72 MFC: remove defunct time server. 1999-06-09 09:32:19 +00:00
Jordan K. Hubbard 5057d2f2f2 MFC: fix buffer overflow. 1999-06-09 09:31:28 +00:00
Brian Somers c674817cdb MFC: Don't add the -p flag if amd_args is empty. 1999-06-09 08:56:11 +00:00
Foxfair Hu b3b893d4a6 MFC: Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
It makes compatible with IANA charset defination, and let existent I18N
application happier.

Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>
Add the .src file again, forgot when last commit.
1999-06-09 02:50:16 +00:00
Foxfair Hu 5d5d3c6411 MFC: Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
It makes compatible with IANA charset defination, and let existent I18N
application happier.

Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>
1999-06-09 02:48:55 +00:00
Foxfair Hu 06b671cf5e MFC: Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
It makes compatible with IANA charset defination, and let existent I18N
applications happier.

Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>
1999-06-09 02:28:35 +00:00
Brian Somers 3d071705d1 MFC: Don't IPCP TLD if we're already doing it. This prevents
recursion by doing something like ``down'' or ``quit all''
     in ppp.linkdown.
1999-06-08 12:00:29 +00:00
Brian Somers ec8e8bc88e MFC: Make the `load'', dial'' and `open'' commands a big clearer. 1999-06-08 11:59:49 +00:00
Joseph Koshy 2bf230fa27 MFC: {rev 1.15, 1.16} Fix typos. 1999-06-08 06:25:51 +00:00
cvs2svn 41a34820c6 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-06-08 02:25:20 +00:00
Mike Smith cfa4ca7d73 MFC: fixes for POSIX locking in threaded applications. 1999-06-07 20:39:14 +00:00
Andreas Klemm 4f4c60a661 MFC: solve name conflict
the old STREAM protocol has been obsoleted by "ST2" (RFC 1819)

Detected by:    Andre Albsmeier <[email protected]>
Suggested by:   Matt Crawford <[email protected]>
1999-06-07 19:26:21 +00:00
Archie Cobbs 9c940d4f53 MFC (rev. 1.54): redefine MAXNBUF 1999-06-07 18:38:49 +00:00
Kris Kennaway b6f874ab8e MFC: Typos, check return value of malloc(), sprintf -> snprintf 1999-06-07 14:14:22 +00:00
Kris Kennaway b20d189535 MFC: Fixes from OpenBSD:
Add $Id$
Removes temp file exploits in gzexe (predictable filenames)
Fixes some typos
Fixes a buffer overrun in gzip -S
Don't prepend /usr/local/bin to path in scripts
Correct location of /usr/share/misc/termcap
1999-06-07 14:07:36 +00:00
Ruslan Ermilov 03451a2669 MFC: (rev 1.69) Fix parsing of ip addresses on a command line.
PR: 5047
1999-06-07 08:48:13 +00:00
Steve Price 76127a3c7e MFC: .Std -> .St 1999-06-07 04:03:16 +00:00
Steve Price 6931bb2ece MFC: isninf -> isinf spelling correction. 1999-06-07 02:53:28 +00:00
Peter Wemm d1d48fb973 MFC: Use IP_PORTRANGE to cause sobind() to get a priviliged port rather
than doing it the hard way.
1999-06-07 00:12:10 +00:00
Peter Wemm c3edd5a23b MFC: Avoid integer overflow on nfsv2 mounts when calculating the bytes used
from the number of blocks on files > 2GB. (Mostly just affects stat())
1999-06-07 00:09:38 +00:00
Peter Wemm eec8e328fa MFC: don't loose mbuf pointers leading to duplicate frees or reuse of
freed bufs.
1999-06-07 00:07:18 +00:00
Peter Wemm 634596d1a9 MFC: Don't die with a negative nfs_madj() on the server when a client
scans a directory with a large number of files.
1999-06-07 00:06:21 +00:00
Peter Wemm 9d188c92cd MFC: catch an allocation race leading to duplicate entries 1999-06-07 00:04:05 +00:00
Peter Wemm c861e08469 MFC: Don't mistake a non-async write that needs to be committed for an
interrupted write.
1999-06-07 00:02:58 +00:00
Matt Jacob e90a791916 MFC: Add a clarification in the man page suggesting that some tapes
(QIC) written under 2.X may not be easily read under the current
driver without explicitly setting to variable mode or to the blocksize
these tapes were written under 2.X with.

PR: 6681
1999-06-06 23:28:36 +00:00
Julian Elischer 327d3fa00a MFC: fix braino 1999-06-06 20:22:37 +00:00
Bill Paul 4474ec583f MFC: avoid some minor code duplication, no functional code changes. 1999-06-06 16:47:10 +00:00
Kris Kennaway a3f3f8a283 MFC: Correct description of -c and -w options 1999-06-06 14:28:50 +00:00
Andreas Klemm c6a1766a9e MFC: since FreeBSD can be used as sniffer, update file to
include all registered internet protocols
	- updated title
	- updated URL (not hosted on iana.org anymore)
1999-06-06 14:05:20 +00:00
Bruce Evans d37041228c MFC (1.56: fixed corruption of the kmemstatistcs list). 1999-06-06 13:40:56 +00:00
Archie Cobbs 51a6ce19f2 MFC (rev. 1.53): ksprintn() race condition fix 1999-06-06 02:44:04 +00:00
Archie Cobbs f26652873a MFC (rev. 1.31): SIOCGIFCONF list increment bug fix 1999-06-06 02:34:00 +00:00
Archie Cobbs decf3998f9 MFC (rev. 1.18): SIOCGIFCONF list increment bug fix 1999-06-06 02:31:48 +00:00
Archie Cobbs e3c03edb51 MFC (rev. 1.16): SIOCGIFCONF list increment bug fix 1999-06-06 02:29:17 +00:00
Julian Elischer 4d58a4d566 MFC: Reprint the start time at completion of "Make world" so you
can see how long it took
1999-06-05 21:09:24 +00:00
Luoqi Chen c6844aa9ec (MFC) Fix an accounting problem when prefaulting 4M pages.
PR:		kern/11948
1999-06-05 16:18:30 +00:00
Ruslan Ermilov 0fa29e318a MFC:
- Don't overwrite the variable LOCATE_CONFIG;
- Delete debug line from updatedb.sh.
1999-06-05 15:30:11 +00:00
Ruslan Ermilov 6d7c27e8a7 MFC: added wosch as maintainer. 1999-06-05 15:21:07 +00:00
Julian Elischer 8db9aeb4c2 MFC: Support ja_JP.Shift_JIS
Obtained from: Whistle tree
1999-06-05 03:15:48 +00:00
Peter Wemm c235e513bf MFC: stop mbuf leak when writing to a tcp session in certain race
conditions.
1999-06-05 01:25:12 +00:00
Ruslan Ermilov 2bcdf55baf MFC: Manpage cleanup, move $Id$ to #ifndef lint, remove unused includes,
grammatical fixes.
Submitted by:	Philippe Charnier
1999-06-04 23:46:41 +00:00
Bruce Evans ebffa5fc37 MFC (part of 1.48: fixed null setting of `rc_started' again). 1999-06-04 18:58:27 +00:00
Bruce Evans 1d566c4e1e MFC (1.89: really fixed panics when SMP is configured). 1999-06-04 18:17:12 +00:00
Brian Somers b2aec7a833 MFC: Fix two sequence number comparisons. 1999-06-04 12:21:17 +00:00
KATO Takenori 62e871b12d MFC: Declare Crtat and Atrat variables. 1999-06-04 08:20:39 +00:00
Michael Haro a9535c93d3 Add the 3Dfx Voodoo Banshee 1999-06-04 02:49:57 +00:00
Bill Paul ff87d2ea2f MFC: Close PR #12008; reset _yp_enabled flag in endpwent(). 1999-06-04 02:32:24 +00:00
Kazutaka YOKOTA f7e9d48fec MFC: Mention that 8x8 font is required for 43, 50 and 60 line text modes,
and that font files can be specified in /etc/rc.conf[.local].
1999-06-03 12:44:49 +00:00
Kazutaka YOKOTA 56df5a2a0b MFC: Make it clear that PS/2 type mice will work only with "auto" and
"ps/2" protocol types, and that serial mouse protocols shouldn't be
specified for these mice.
1999-06-03 12:43:41 +00:00
Kazutaka YOKOTA 0caf7fea46 MFC: Fix PS/2 MouseMan+ protocol. 1999-06-03 12:42:48 +00:00
KATO Takenori e734e157ca Enable splash.
Pointed out by:	Nobuyuki Koganemaru <[email protected]>
1999-06-03 10:31:22 +00:00
Ruslan Ermilov 669b5386ec MFC: getvfsbyname() returns zero on success.
PR:		12000
Submitted by:	Anatoly A. Orehovsky <[email protected]>
1999-06-03 09:09:55 +00:00
Ruslan Ermilov a90e3655e3 MFC: "_first_" -> "FIRST". 1999-06-02 16:25:10 +00:00
Ruslan Ermilov c14966f39c MFC: Spelling corrections for dummynet. 1999-06-02 06:04:58 +00:00
Bill Paul 6a82d9de90 MFC: fix warning message to tell users about Plug & Play OS setting in
their BIOS if pci_map_port() fails.
1999-06-01 19:15:06 +00:00
Roger Hardiman 80b1c5db3a MFC: Updated to support new Meteor/PPB cards (PCI-PCI Bridge).
Submitted by:	Anton Berezin <[email protected]>
  The Protein Laboratory, University of Copenhagen
1999-06-01 17:34:45 +00:00
Ruslan Ermilov 651937b863 MFC: Get rid of segfaults in a set-uid program. 1999-06-01 14:28:54 +00:00
Brian Somers 788fdd549d MFC: Ignore the quota.user and quota.group files rather than the
``quotas'' file when cleaning /tmp.
1999-06-01 13:27:37 +00:00
Ruslan Ermilov 99a8d5292f MFC: time -> when. 1999-06-01 11:24:19 +00:00
Ruslan Ermilov 2e17ee22f0 MFC: sync header line with manpage.
PR:		11511
1999-06-01 11:03:08 +00:00
Roger Hardiman 6ff5cdb039 MFC: Re-add new function calls pci_get_bus_from_tag and pci_get_parent_from_tag 1999-06-01 07:35:27 +00:00
Roger Hardiman ba93d6c462 MFC:
Add pci_get_parent_from_tag() and pci_get_bus_from_tag() to the
FreeBSD 2.2 PCI API compatibility section. These use the old
pcici_t tags and are for new Matrox Meteor frame grabbers which need to
identify the PCI bus they are on and the tag of their PCI-PCI Bridge
1999-06-01 06:52:21 +00:00
Eivind Eklund bde779eabc MFC: Use FS name instead of device name in example 1999-06-01 06:26:05 +00:00
David Greenman e955411a60 MFC 1.59: Increased NKPT to 17 so large memory machines can boot. 1999-06-01 01:27:17 +00:00
David Greenman 27eb56f20e MFC 1.58: type cast fix. 1999-06-01 01:10:54 +00:00
Bill Fumerola 09305353de We are in 3.2, not 3.1 now.
PR:		misc/11931
Submitted by:	Don Croyle <[email protected]>
1999-05-30 22:36:44 +00:00
Bill Fumerola be2991d551 MFC: spelling fix. 1999-05-30 21:34:26 +00:00
Bill Paul 588729eabd MFC: add support for SiS 900 RealTek workalike chipset. 1999-05-30 18:56:46 +00:00
Bill Paul c36a4205ff MFC: add PCI ID for the 3c905C-TX "Tornado" NIC. 1999-05-30 18:17:09 +00:00
Roger Hardiman d17d52a3cb Rename PCIS_BRDIGE_HOST to PCIS_BRIDGE_HOST 1999-05-30 13:22:12 +00:00
Poul-Henning Kamp e45e410925 Fix my chrdev goof in doc2k (MFC) 1999-05-29 19:49:28 +00:00
Jordan K. Hubbard f0855b7586 MFC: exclude CVS files (this saves about 8,000 inodes). 1999-05-29 08:56:36 +00:00
Bill Paul 35d20af37a MFC: fix support for PNIC II (add PNIC II ID to mx driver) 1999-05-28 18:53:46 +00:00
Bruce Evans db44aa2820 MFC (1.88: fixed panics when SMP is configured). 1999-05-28 13:31:26 +00:00
Kazutaka YOKOTA de759fbd8c MFC: Add description on configuration options and the EXAMPLE section. 1999-05-28 04:34:00 +00:00
Kazutaka YOKOTA 9b9b4e539f MFC: Don't confuse cursor keys with numpad keys when composing a char
code (rev 1.9).
1999-05-28 03:15:58 +00:00
KATO Takenori 9bdcfd1d86 Sync with sys/i386/conf/files.i386 and options.i386 revisions
1.220.2.8 and 1.103.2.5, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-05-28 03:06:46 +00:00
Guy Helmer 42b8e6db48 MFC: Add missing -s option.
PR:		docs/10378
1999-05-28 02:12:11 +00:00
Guy Helmer 07694ffcf0 MFC: Add the missing cd9660-specific options to the -o flag. While I'm here,
add the missing -j flag to the synopsys.

PR:		docs/1667
1999-05-28 01:21:57 +00:00
Julian Elischer e04b60ea8b MFC: Another tokenring file forgotten yesterday.. get it from -current 1999-05-27 19:19:55 +00:00
Eivind Eklund 6659bea533 MFC: Part of token ring support 1999-05-27 18:43:26 +00:00
Roger Hardiman a116b80e89 MFC: Add support for ALS120 based ISA sound card (ASound Gold)
identified by its PnP id
1999-05-27 11:03:38 +00:00
Jordan K. Hubbard 446bdff148 MFC: message cleanup. 1999-05-27 10:34:10 +00:00
Julian Elischer 5edec3f408 This file got left out of the patches for 3.0..
bring it in from -current.
1999-05-27 10:30:19 +00:00
Julian Elischer 38fbcc52de MFC: Olicom token ring support and token ring framework.
Submitted by:	Larry Lile <[email protected]>

Also Tagged into RELENG_3:

sys/contrib/dev/oltr/COPYRIGHT
sys/contrib/dev/oltr/i386-elf.trlld.o.uu
sys/contrib/dev/oltr/if_oltr.c
sys/contrib/dev/oltr/trlld.h
sys/contrib/dev/oltr/trlldbm.c
sys/contrib/dev/oltr/trlldhm.c
sys/contrib/dev/oltr/trlldmac.c
1999-05-27 03:07:02 +00:00
Guy Helmer 8a9f1e9a21 There are six bit fields in the flags now, not four.
PR:		i386/10328
1999-05-27 02:48:26 +00:00
Mike Spengler a5da146963 MFC: Allow 256 network interfaces per physical interface. 1999-05-26 21:31:13 +00:00
Justin T. Gibbs 9487eecc9d MFC: Ignore subvendor and subdevice information for aic7880 based cards. 1999-05-26 16:59:56 +00:00
Roger Hardiman 861084558c MFC: add identification of 440 LX chipset 1999-05-26 16:39:42 +00:00
Roger Hardiman bac0bf2ca9 MFC: Update options for Bt848/Bt878 driver 1999-05-26 16:36:25 +00:00
Matt Jacob 3c8bff2119 MFC: Add TDC 3800 to quirk list for fixed mode device.
PR:11866
Submitted by:	Helge Oldach [email protected]
1999-05-25 23:36:03 +00:00
Roger Hardiman 85eae9f831 MFC: Sync with -current. This brings the driver to release 1.68
Important changes are support for VBI capture via /dev/vbi0
Support for 430FX and SIS/VIA chipset compatibility modes on Bt878 and 879
cards.
1999-05-25 20:52:01 +00:00
Roger Hardiman 1470c4a310 MFC: Rename 849 to 849A 1999-05-25 20:50:33 +00:00
Justin T. Gibbs 75fb21cb97 MFC: XPT_CONT_TARGET_IO is valid for cam_periph_unmapmem.
Protect xpt_action with splsoftcam().
1999-05-25 20:27:27 +00:00
Justin T. Gibbs 140b06a7ef MFC: Block in aha_cmd until all pending mailbox commands complete. Clean up
aha softc.
1999-05-25 20:26:08 +00:00
Justin T. Gibbs e89fb547fc MFC: Make 'ahc dump eeprom' a real option. 1999-05-25 20:25:40 +00:00
Justin T. Gibbs 746fd98026 MFC: Make 'ahc dump eeprom' a real option. Don't dereference our scb until
we've validated the index given by the firmware.
1999-05-25 20:25:23 +00:00
Justin T. Gibbs 973b81c119 MFC: Fix for PR 11872 1999-05-25 20:23:58 +00:00
Roger Hardiman b30f7639d2 MFC:
Add OPTi 82c822 host to PCI bridge

If you use a Bt878 card with this chipset, be sure to enable
the SIS/VIA chipset compatiblity mode workaround in the Bt848/Bt878 driver
1999-05-25 20:22:43 +00:00
Julian Elischer 100bbab54a Add LINT and files.i386 entries for the IDA driver. 1999-05-25 20:19:12 +00:00
Julian Elischer 77e616dd7a Compaq "Intelligent Disk Array" driver.
Mark Dawson holds teh copyright on this and has releases from
Compaq to allow him to do so..

Functional in 3.x
1999-05-25 19:47:41 +00:00
cvs2svn d0e8b3f813 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-25 19:45:18 +00:00
Tim Vanderhoek 79a7f28e11 Respell vp0. Add $Id$. 1999-05-25 18:01:29 +00:00
Kenneth D. Merry b2bf132267 MFC: Fix the read/write permission checks in cam_periph_mapmem(). If
we're writing, we want to be able to read the buffer.  If we're reading,
we want to be able to write to the buffer.

PR:		kern/11870
Submitted by:	Andrew Mobbs <[email protected]>
1999-05-25 17:12:02 +00:00
Dag-Erling Smørgrav 717bd22e89 Forgotten in the previous commit: add INIT_PATH example to LINT. 1999-05-25 14:08:01 +00:00
Dag-Erling Smørgrav 63be260a74 MFC: make the location of init(8) tunable at compile and boot time. 1999-05-25 13:24:24 +00:00
Pierre Beyssac 19f1f578d1 MFC: typo.
PR:		docs/11832
Submitted by:	Ralf S. Engelschall <[email protected]>
1999-05-25 11:57:10 +00:00
KATO Takenori 323ff937d8 Sync with sys/i386/conf/files.i386 revision 1.220.2.6.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-05-25 10:38:31 +00:00
John Polstra a9f2494320 MFC: Eliminate references to src-eBones.
PR:		conf/11873
1999-05-25 05:44:29 +00:00
Tim Vanderhoek 90daf7e14b MFC and MFS (bet you never thought that was possible): typo 1999-05-24 23:45:46 +00:00
Tim Vanderhoek dd42efb207 MFC (plus some -stable unique): typos, incl. misc/11876 (Andrew Boothman) 1999-05-24 23:35:04 +00:00
Luoqi Chen f5a0ee3c1e Back out changes don't belong to the 3.x branch. 1999-05-24 19:31:16 +00:00
Mike Spengler b3c20e903b MFC: Print SPANS addresses in the correct byte order. 1999-05-24 18:42:47 +00:00
David E. O'Brien fc435160b3 Install libs in `lib/compat/aout'' rather than `lib/compat''.
The hand-rolled compat22 used in 3.1-R installed into lib/compat/aout, as
does the src compat22/ I created.

Peter (1999/04/06) changed compat2{0,1} in -CURRENT to use ``lib/compat/aout''
but did not propogate the change to -STABLE.  (the commit logs imply that
Peter might not have known his changes were post-Branch Point)
1999-05-24 17:07:03 +00:00
David E. O'Brien ec9a728382 MFC: add ld.so 1999-05-24 16:55:22 +00:00
David E. O'Brien df7beef8b3 MFC: rev 1.2/1.3 (add ld.so installation) 1999-05-24 16:47:09 +00:00
Roger Hardiman 4cddae5522 Updated PicoBSD kernel config files
Use flags 0x40 for ppbus (as per GENERIC)
  Add comments to match the comments in GENERIC
  Remove old vector usage

Approved by: Andrzej Bialecki <[email protected]>
1999-05-24 15:32:30 +00:00
Bill Paul 5a62b22fb6 MFC: fix tx corruption bug in ti_encap(), also update to latest Tigon 2
firmware image.
1999-05-24 15:02:15 +00:00
Luigi Rizzo ecb6efd627 MFC: close PR# kern/10889 1999-05-24 10:09:26 +00:00
Brian Somers 6e860545bc MFC: Don't warn about ``!'' lines being unindented commands in ppp.conf. 1999-05-24 09:05:07 +00:00
Steve Price f8ab61fd18 MFC: s/cF/nF/ in a couple of places. 1999-05-24 01:54:56 +00:00
Justin T. Gibbs b3be1c9d20 MFC: Use values from XPT_GDEV_STATS instead of XPT_GDEV_TYPE. 1999-05-23 19:00:41 +00:00
Justin T. Gibbs f8be27b4e0 failled->failed
Submitted by:	[email protected]
1999-05-23 18:59:50 +00:00
Justin T. Gibbs f26d335ca0 MFC: Fix for PR 11799. 1999-05-23 18:58:43 +00:00
Roger Hardiman 713d053ff2 MFC: Sync the driver with release 1.66
(CVS version 1.79)
1999-05-23 18:44:57 +00:00
Brian Somers 4f5a3a7bf1 MFC: brucify 1999-05-23 13:52:33 +00:00
Justin T. Gibbs 7f1270a09e MFC: Fix minor negotiation bug on U2 chips. Honor 'no initial reset' option. 1999-05-22 22:59:13 +00:00
Justin T. Gibbs 8922366614 MFC: Use cam_periph_async for default async event handling.
Fix a few target mode bugs related to userland command handling.
1999-05-22 22:58:30 +00:00
Justin T. Gibbs 6d039cdb75 MFC: Better bus settle and reset behavior. XPT_PATH/GDEV_STATS. Suport
scanning without an initial bus reset.
1999-05-22 22:57:38 +00:00
Bill Paul eeef9e946b Dangit... missed the cvs add on if_wireg.h. 1999-05-22 21:09:49 +00:00
Bill Paul 5becd0c362 Bring the WaveLAN/IEEE 802.11 driver and wicontrol utility into
the stable branch.
1999-05-22 21:08:48 +00:00
Bill Paul 8574566522 Bring the WaveLAN/IEEE 802.11 driver and the wicontrol(8) utility
into the stable branch.
1999-05-22 21:03:31 +00:00
cvs2svn e4505bd7a9 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-22 16:21:48 +00:00
Robert Nordier c4760db935 MFC: smisth -> smith. 1999-05-22 13:22:17 +00:00
Robert Nordier e7c09ce9bc MFC: Disk error codes and cyl > 1023 note. 1999-05-22 13:03:28 +00:00
Robert Nordier 40d40d4819 MFC: Minor improvements, references to loader(8). 1999-05-22 13:01:48 +00:00
Doug Rabson b59f723160 MFC: Problems with coredumps from static programs. 1999-05-22 08:29:22 +00:00
Semen Ustimenko 3434dc9315 Move arpcom structure be the first in softc structure.a Needed
for ether_ioctl.

PR:	pending/11754
1999-05-22 06:00:05 +00:00
Greg Lehey bdc76fea02 MFC: Make Vinum compile correctly without VINUMDEBUG
Tripped-over-by:	Thomas Stromberg <[email protected]>
			"R. Luettgen" <[email protected]>
1999-05-22 04:57:25 +00:00
David E. O'Brien 8d5aa8f306 MFC: remove dup ex' driver entry and OBE ix' driver entry. 1999-05-22 02:34:33 +00:00
Kenneth D. Merry a1cc442d8c MFC: Fix a memory leak and a double free that could happen in certain
error cases.  These were unlikely to happen in normal operation.

Noticed by:	"Christopher R. Bowman" <[email protected]>
1999-05-21 22:03:34 +00:00
John Polstra b36bef983c MFC: Fix hostname lookup problems on 64-bit machines. 1999-05-21 20:58:49 +00:00
John Polstra c3d9b0e037 MFC 1.2 -> 1.3: Fix sign-extension bug in kerninfo output on 64-bit
machines.
1999-05-21 16:12:09 +00:00
Roger Hardiman b3fc451451 Add -lradius to the libs section.
This is required by the new ppp code.
1999-05-21 15:39:08 +00:00
Dag-Erling Smørgrav 58123f398b -STABLE is not -CURRENT. -STABLE's config(8) still requires double-quotes
around options with digits in them.
1999-05-21 09:07:57 +00:00
Dag-Erling Smørgrav 6e9bcc7de4 Argh! forgot this:
PR:		conf/11747
1999-05-21 09:00:58 +00:00
Dag-Erling Smørgrav eaa4e8352d MFC: upgrade to perl 5.00503
Spotted-by:	Ruslan Ermilov ([email protected])
1999-05-21 08:57:11 +00:00
Dag-Erling Smørgrav a2177e5d53 i386/isa/lpt.c is for olpt, not lpt. This caused the parallell port to
be probed and attached twice.
1999-05-21 08:37:08 +00:00
Ollivier Robert 17aa931bfb MFC: too bad I didn't checked this before 3.2...
ftp3.fr.freebsd.org (UVSQ, Versailles, France) has been available for a long
time.

Submitted by:   R\xe9my Card <[email protected]>
1999-05-21 07:16:55 +00:00
Semen Ustimenko 95ed39865d MFC: Sync with current version. 1999-05-20 21:42:34 +00:00
Daniel C. Sobral a58b5e968e MFC. Remove deprecated comments. 1999-05-20 17:04:36 +00:00
Daniel C. Sobral 42051a83d4 MFC. Assorted memory management bugs. 1999-05-20 16:55:57 +00:00
Joseph Koshy 96a9fdc1ff MFC: {rev 1.10} correct swap device names. 1999-05-20 04:51:21 +00:00
Pierre Beyssac 3da2236434 MFC: change reference count in struct ifaddr to a u_int, to be able
to handle more than 2^16 routes to the same interface.

Fix suggested by Andrew Bangs <[email protected]> in PR kern/10570.
Tested by Don Lewis <[email protected]> under -stable.

PR:		kern/10570
1999-05-19 23:00:18 +00:00
Kenneth D. Merry 43b73ff8c7 MFC: Fix a typo, and get rid of the bugs section that talks about
adding different ways to specify devices.  That code has been added.
1999-05-19 19:40:20 +00:00
Jordan K. Hubbard 3f6e6f6a68 MFC: PAP/CHAP dialog. 1999-05-19 10:50:14 +00:00
Jordan K. Hubbard 51e6ffdca8 MFC: add ftp5.uk.freebsd.org 1999-05-19 08:57:20 +00:00
David E. O'Brien 202aebad3f Add a commented out COMPAT22, since we have the others. 1999-05-19 02:05:11 +00:00
Julian Elischer cf60037a17 MFC: 1.74->1.75
fix the kern.quantum sysctl to match -current
This is measured in usecs.  default value is 100000 (10 ticks).

Submitted by: BDE
1999-05-19 01:48:27 +00:00
Nick Hibma 4550751ec9 Unbreak compilation of LINT 1999-05-18 22:31:49 +00:00
Doug Rabson 812da55ba8 MFC: Calibrate the PCC. 1999-05-18 21:27:47 +00:00
John-Mark Gurney 3509144bee MFC: make md5 digest actually work 1999-05-18 19:57:29 +00:00
Justin T. Gibbs 8330b33ebc MFC: Fix unpause during bus or device reset operation. 1999-05-18 03:59:39 +00:00
Jordan K. Hubbard aec769633c MFC: handle a.out ldconfig paths. 1999-05-18 00:49:40 +00:00
Justin T. Gibbs 03c09b29e5 MFC: Make xpt_path_comp work on wildcarded paths again. 1999-05-18 00:41:43 +00:00
Pierre Beyssac a893b09037 MFC: typo.
PR:		doc/11582
1999-05-17 22:55:43 +00:00
Justin T. Gibbs 849b87e9c3 MFC: Use an id masking scheme to provide generic chip probes. Fix 2950U2B
ident entry.
1999-05-17 21:58:40 +00:00
KATO Takenori 379c51d245 Sync with sys/i386/i386/userconfig.c revision 1.126.2.5.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-05-17 12:41:52 +00:00
KATO Takenori 04848d4320 Sync with sys/i386/conf/files.i386 revision 1.220.2.4.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-05-17 12:41:06 +00:00
KATO Takenori 4989299433 Sync with sys/i386/conf/GENERIC revision 1.143.2.12.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-05-17 12:40:35 +00:00
David E. O'Brien 759aa17480 Don't compile the `xe' driver by default. Unlike the zp and ze drivers,
xe requires the `card' controler to be defined.  And unlike the ed, ep and
fe drivers, the xe driver doesn't support a non-PCMCIA NIC.
1999-05-17 05:49:45 +00:00
Joseph Koshy 54dabc8e27 MFC: {rev 1.3} refer to kget(8) instead of dset(8). 1999-05-17 03:32:19 +00:00
Michael Haro 84204a78ce Include if_xereg.h from the correct directory 1999-05-16 20:21:52 +00:00
Brian Somers 26e7da66dc MFC: /sbin/natd portrange documentation and bugfix 1999-05-16 11:59:52 +00:00
John Birrell 1070f2eeb5 MFC: Ensure that an existing thread gets it's state set to PS_DEAD to
prevent being rescheduled.
1999-05-16 05:38:54 +00:00
Justin T. Gibbs f56e179353 MFC: Use bus dma so this driver works on the Alpha. Take advantage of
the HS_MAILBOX register to avoid the aic7890/91/96/97 pause race
      during sync/wide negotiation.
1999-05-16 00:08:47 +00:00
Justin T. Gibbs e94ff55515 MFC: Use bus dma so this driver works on the Alpha. 1999-05-16 00:07:57 +00:00
Justin T. Gibbs 275c5ed993 MFC: Use 'new' PCI API. Look at subvendor ID during probe. Use bus dma so
this driver works on the Alpha.
1999-05-16 00:07:45 +00:00
Daniel C. Sobral f4fc2bbd1e Add "initialize" which can be used instead of "start". 1999-05-15 19:46:42 +00:00
Daniel C. Sobral 0d33c4693c MFC. Add a new example. 1999-05-15 19:42:22 +00:00
Bill Fenner 6a1440ffbe MFC: Add version numbers (including 3.2) to .Os and .Fx macros.
Definite candidate for tag-sliding!
1999-05-15 19:29:47 +00:00
David E. O'Brien d65a88a619 MFC: rev 1.36 (Intel and Xircom cards using the `xe' driver) 1999-05-15 18:26:53 +00:00
David E. O'Brien acef562785 MFC: `xe' driver. 1999-05-15 18:19:37 +00:00
David E. O'Brien 29b930b656 MFC: add `xe', the Xircom PC Card Ethernet driver 1999-05-15 18:13:58 +00:00
David E. O'Brien d3e78bd5e2 MFC: Xircom PC Card Ethernet driver 1999-05-15 18:09:09 +00:00
Jordan K. Hubbard f54f980352 MFC: wmaker typo fix 1999-05-15 15:05:23 +00:00
Jordan K. Hubbard a21d905bae MFC: fix search bogons, prevent architectural miscegenation, etc. 1999-05-15 14:38:44 +00:00
Roger Hardiman c2b6b86e48 Put back the DRIVER_TYPE_MISC definition.
It is no longer required in -current but is still needed in 3.x
1999-05-15 13:03:25 +00:00
Roger Hardiman c62a28227b MFC: Add #if (NSMBUS>0) checks around smbus/iicbus i2c bus code. 1999-05-15 12:25:33 +00:00
Jordan K. Hubbard 52205a225d Fix a minor doc nit and two references to 3.1-RELEASE which got by
me on the first pass.  Tags slid appropriately.
1999-05-15 10:28:22 +00:00
Jordan K. Hubbard 6f8f869da7 We're now in 3.2-STABLE 1999-05-15 09:22:55 +00:00
Warner Losh f0ea5cf1fb MFC: Add small delay before inquire_setup.
It would be nice if this could be in 3.2, but if not, oh well.
1999-05-15 05:02:49 +00:00
Nate Williams a3a6490ba7 MFC: Fix memory leak. 1999-05-15 01:34:38 +00:00
Don Lewis 02d8c2160f MFC: fix potential memory overwrite in escape parsing
PR:		11687
Reviewed by:	ache
1999-05-15 01:08:27 +00:00
cvs2svn cc5ced8531 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-14 19:08:00 +00:00
Roger Hardiman 38d189b15f Better description of how to get the bt848 (bktr) driver working
with smbus,iicbus and iicbb

Approved by: JKH
1999-05-14 17:41:10 +00:00
Daniel C. Sobral 4d93b05a81 MFC. Slight adjustment in modules available.
Approved by: jkh
1999-05-14 16:33:03 +00:00
Jordan K. Hubbard 19b84cb3ac MFC: add pnp support. 1999-05-14 15:12:26 +00:00
Jordan K. Hubbard c784aa8345 MFC: more impressive windowmakerness. 1999-05-14 15:04:45 +00:00
Jordan K. Hubbard 10add024f8 MFC: DTRT for Latest 1999-05-14 14:58:17 +00:00
Jordan K. Hubbard cc084a0840 change branch name. 1999-05-14 14:31:56 +00:00
Jordan K. Hubbard 38911994f2 MFC: extra verbosity. 1999-05-14 14:30:07 +00:00
Jordan K. Hubbard 2ab735235f MFC: return status fixes. 1999-05-14 12:15:52 +00:00
Jordan K. Hubbard af481edd69 MFC: list X3DL server. 1999-05-14 07:16:32 +00:00
David Greenman 0c472214ef Remove vestige of P_DEADLKTREAT. 1999-05-14 06:32:41 +00:00
David Greenman 6d73abf79c Brought in Luoqi's fix from PR 8416. This likely has benign priority
inversion problems, but that's much better than hanging the system.
1999-05-13 23:49:56 +00:00
David Greenman 84f53c4cb4 Backed out P_DEADLKTREAT stuff as it doesn't appear to fix the problem. 1999-05-13 23:47:46 +00:00
Bill Paul 9782645f93 MFC: remove stray line of bogus code (only seen if WB_USEIOSPACE is
not #defined).

Approved by: jkh
1999-05-13 21:19:31 +00:00
Bill Fumerola 7e02908f5a "jkh-ok"-MFC: {www,doc}-supfile additions. 1999-05-13 18:43:16 +00:00
Andrzej Bialecki 588c6822b0 Set environment, not CFLAGS.
Approved by:	jkh
1999-05-13 15:27:14 +00:00
Kris Kennaway 943ea6ed01 MFC: Grammatical fixes
Approved by: jkh
1999-05-13 12:22:03 +00:00
Warner Losh 8d4f453703 Merge the test for 0x7f for the undocumented geometry register from
current.  The patch didn't want to apply, so this is reimplemented.

Approved by: jkh
1999-05-13 07:00:34 +00:00
Jordan K. Hubbard e3bc9cc7ba MFC: minor back-out of parts of 1.10. 1999-05-13 05:25:21 +00:00
Jordan K. Hubbard 1170085261 MFC: typo 1999-05-13 02:50:57 +00:00
Mike Smith 78298b6bc2 MFC: Fix handling of 'wd' in MakeDev. Remove axe from foot. 1999-05-12 23:51:56 +00:00
Matt Jacob dd34994c74 Approved by jkh:
MFC: When asked to get the current transfer settings go do a dev_refresh
isp_update call to get a better chance at seeing whether a recent
settings change has latched up.
1999-05-12 23:26:41 +00:00
Jordan K. Hubbard b6b74de30a MFC: avoid bogus uc_devlist data. 1999-05-12 23:08:28 +00:00
Jordan K. Hubbard 764f878320 MFC: norwegian time server. 1999-05-12 22:06:17 +00:00
cvs2svn e0c1c36162 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-12 20:01:11 +00:00
Jordan K. Hubbard c710e069d2 Mild pull-up to -current. 1999-05-12 10:55:13 +00:00
Jordan K. Hubbard 23882549e2 MFC: more rigorous checks. 1999-05-12 09:32:51 +00:00
Jordan K. Hubbard c69e4c4a05 MFC: support multiple archs 1999-05-12 09:09:59 +00:00
Jordan K. Hubbard faddfde5e2 MFC: change the internals of package_add(). 1999-05-12 09:04:17 +00:00
Dag-Erling Smørgrav d49f633853 MFC: Sync usage() with man page.
PS:		11539
Submitted by:	Ruslan Ermilov <[email protected]>
1999-05-12 07:02:31 +00:00
Dag-Erling Smørgrav c01e25db9b MFC: Don't stop listening to the signal pipe just because you don't have
anything else to do.

PR:		10468, 11594
Approved by:	jkh
1999-05-12 07:02:02 +00:00
Jordan K. Hubbard a0ae502532 MFC: update XFree86 help pointers. 1999-05-12 06:59:37 +00:00
Jordan K. Hubbard 43ebd114db MFC: revive PKG_ADD_BASE 1999-05-12 06:10:25 +00:00
Jordan K. Hubbard 62bb87a900 MFC: better desktop / server configuration. 1999-05-12 04:53:11 +00:00
Matt Jacob 903034ca02 Approved by Jordan... MFC: Quirk of a Kennedy 962X* Half-Inch Reel Tape
drive. An ancient and venerable technology that we're proud to continue
to support by quirking around it's slightly crotchety interpretations of
the SCSI specification. - 30 -
1999-05-12 04:49:28 +00:00
David Greenman badda33a33 Updated to rev 1.24 of ffs_softdep.c. Includes various fixes but not the
most recent performance optimization (which hasn't had enough testing yet).

Approved by:	jkh
1999-05-12 02:13:04 +00:00
KATO Takenori 91c1386a93 Sync with sys/i386/isa/fd.c revision 1.132.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
Approved by:	jkh
1999-05-12 00:08:32 +00:00
KATO Takenori 2e9fa31af8 Sync with sys/i386/i386/userconfig.c revision 1.126.2.4.
Submitted by:	Takahashi Yoshihiro <[email protected]>
Approved by:	jkh
1999-05-12 00:07:32 +00:00
Paul Richards 9dabfc6c4e MFC - set bust master enable bit.
Approved by:	 jkh
1999-05-11 23:46:22 +00:00
Paul Richards 9e7a6dda3b MFC
Mainly memory allocation fixes plus some cleanups that aren't needed in -stable but bring the versions together.

Approved by:	jkh
1999-05-11 23:42:54 +00:00
Mark Newton e192fa3da1 svr4_enable shouldn't have been mentioned here, considering svr4 won't be
in any releases 'til 4.0 comes out.

Submitted by:	Greg Lehey <[email protected]>
Reviewed by:	Jordan Hubbard <[email protected]>
1999-05-11 12:21:22 +00:00
Jordan K. Hubbard cb575e02c5 MFC: catch up with /etc/mail 1999-05-11 11:53:07 +00:00
Jordan K. Hubbard d534b06675 MFC: PR 9367 1999-05-11 11:04:12 +00:00
Jordan K. Hubbard 4f256c27ee Make the driver work on HP8100 and the newer Philips, etc drives.
Submitted by:	sos
1999-05-11 10:33:27 +00:00
Jordan K. Hubbard 095c0c74af MFC: desktop ordering, preserve /root. 1999-05-11 10:25:34 +00:00
Jordan K. Hubbard b469516a35 Make note of recent KKIS.05051999.003b exploit fix. 1999-05-11 08:05:20 +00:00
David Greenman a1e3252f67 MFC: Changes to shared locking to elevate the priority over exclusive lock
when both have been requested and the P_DEADLKTREAT process flag is set.
Believed to fix PR 8416.
1999-05-11 07:54:25 +00:00
Jordan K. Hubbard 648be3a5c8 Don't make this sgid by default.
Requested by: jkb
1999-05-11 07:35:33 +00:00
Jordan K. Hubbard cc069a9663 MFC: catch more a.out libs 1999-05-11 07:28:00 +00:00
Jordan K. Hubbard ad4cdcd455 MFC: add /usr/X11R6/bin to default path. 1999-05-11 07:10:03 +00:00
Matt Jacob abba85af23 MFC: add in mention of 1080/1240 support 1999-05-11 06:15:51 +00:00
Matt Jacob 76c70f6851 MFC: changes to support dual bus host adapters. 1999-05-11 06:09:01 +00:00
Matt Jacob c731e7a861 MFC: revisions 1.10-1.16 and 1.18. A large set of changes to handle dual
bus adapters and changes in how f/w is handled.
1999-05-11 06:03:27 +00:00
Matt Jacob 162abbbf22 MFC: cleanups and dual bus definitions. 1999-05-11 05:57:24 +00:00
Matt Jacob ce93b8c2f4 MFC: support for dual bus adapters. 1999-05-11 05:55:39 +00:00
Matt Jacob 022a7360a2 MFC: Do 3 level f/w versions. 1080/1240 support (for dual bus hbas).
See revistions 1.9-1.14.
1999-05-11 05:54:06 +00:00
Matt Jacob 78e6c17781 MFC: Add in 1080/1240 support (new register layouts) and NVRAM for same.
See revistions 1.5-1.9.
1999-05-11 05:51:39 +00:00
Matt Jacob 871c599673 MFC: use FAST POSTING codes. Add in 1080/1240 support which caused a
quite large set of changes. Correct bogus BIG_ENDIAN defines.
See revisions 1.5-1.10.
1999-05-11 05:49:59 +00:00
Matt Jacob e8f333985c MFC: Add in dual bus support. Add in 1080 LVD support. Add in NVRAM
decdoing. Go to a 3 level f/w usage. Handle PDB change events properly.
See revisions 1.12-1.19.
1999-05-11 05:47:40 +00:00
Matt Jacob 1a12f4120c MFC 1.551 && 1.570 options pertinent for ISP host adapter. 1999-05-11 05:43:44 +00:00
Matt Jacob 1994715977 MFC:
Add a SA_FLAG_COMP_SUPP flag (to quirk compression as
SUPPORTED). Add a SA_FLAG_TAPE_FROZEN for (see below).
Add a queue_count field to softc.

Add HP T20* Travan-5 like tape device as a FIXED/512 type device.
Works for me. Add TANDBERG SLR5 as a variable SA_QUIRK_1FM device.
Change VIPER 2525 to 1024 byte blocksize. It's possible other
drives should change too, but see below..

Change argument to sagetparams to be pointer to a sa_comp_t union-
this can be either a DATA COMPRESSION or a DEVICE CONFIGURATION
page. In general compression now tries to use the DATA COMPRESSION
page and if that fails tries the DEVICE CONFIGURATION page.

Change close routine to not rewind tape if there's a failure in either
writing filemarks or in backing over one of two filemarks for a 2FM
at EOT tape- instead mark the tape as 'frozen' and print a message
saying that either an OFFLINE or REWIND or an MTEOM command is needed
to clear this state (all bring certainty back to tape position). Fix
sastrategy to not allow I/O to a frozen tape.

Add MTIOCGETEOTMODEL/MTIOCSETEOTMODEL ioctls that get and set the EOT
model for a tape drive (you can now dynamically change whether it's
a 2 FM @ EOT or 1FM at EOT tape device). This ought to give folks
something to handle the QIC drives we don't know about. Correctly propagate
record of compression algorithm back. Clear FROZEN flag for EOM, REWIND
and OFFLINE (and RETENSION and ERASE) cases.

Fix an egregious bug in sadone that had left the device queue frozen
for deferred (for fixed mode case) errors.

Add comment in samount about how useless the test unit ready is for
invalidating a mount (this has to be fixed later).

Fix residual calculation (per Eivind) in saerror so that negative values
for tape records being too large for the supplied buffer get caught. Do
some other saerrro cleanup.

Per Ken && Justin, add my name to copyright comment.
1999-05-11 05:40:43 +00:00
Matt Jacob 16e6eae485 MFC 1.126 && 1.130 to bring ISP host adapter options back into stable branch. 1999-05-11 05:35:28 +00:00
Bruce Evans 6a94134b08 MFC (1.143: fixed reset handling for motor off resets). 1999-05-11 05:30:53 +00:00
Kenneth D. Merry 198ce867b9 Note that support has been added for the Adaptec 2930U2 and 3950U2. 1999-05-11 05:25:23 +00:00
Matt Jacob 4abb47cee7 MFC: Move the cleaner versions that Bruce had encouraged me to do back into
the mainstream.
1999-05-11 04:46:38 +00:00
Greg Lehey 7b70ca7b3c MFC: Fix a bogon which stopped Vinum from recognizing half its keywords.
It doesn't in fact bite here, but it's filth, and it could potentially
jump out of the woodwork and do harm.
1999-05-11 03:59:29 +00:00
Jonathan M. Bresler 64d15d9f96 update spam countermeasures
add examples of using an access_db
	update .mc files to match recommendations on
		http://www.sendmail.org/m4/anti-spam.html
1999-05-11 03:21:04 +00:00
Matt Jacob e726c73d59 MFC versions 1.5-1.10 1999-05-11 03:01:20 +00:00
Matt Jacob 243975c5f5 MFC version 1.56. I think 1.53 ought to go too. 1999-05-11 02:53:00 +00:00
Matt Jacob 80d651e0b6 MFC version 1.5 1999-05-11 02:27:05 +00:00
Matt Jacob 26ec2553c9 MFC version 1.25 1999-05-11 02:14:27 +00:00
Matt Jacob a7dddfe1f5 MFC version 1.15 1999-05-11 02:12:49 +00:00
Matt Jacob 7e0811778a MFC: version 1.18 1999-05-11 02:07:30 +00:00
Alan Cox e5da461159 MFC: 1.18 (Clear the undefined bits returned by a rdmsr on the performance
counters.)
1999-05-11 02:04:31 +00:00
David E. O'Brien 02add7cf27 MFC: s/safe_finger/finger/g 1999-05-11 01:35:01 +00:00
David E. O'Brien f9450898da MFC: Impliment elements of TCP Wrappers's `safe_finger'. 1999-05-11 01:34:14 +00:00
Michael Haro e828864589 MFC: s/it/if/ 1999-05-11 01:22:48 +00:00
Bruce Evans 09a5d94c90 MFC (1.142: fixed checking for maddr/msize conflicts). 1999-05-10 23:33:58 +00:00
Kenneth D. Merry 53ad805dde MFC:
Add a new device specification syntax to camcontrol.  It is now possible to
do things like:

camcontrol tur da5
or
camcontrol tur 1:2:0
or
camcontrol tur 1:2

These changes are fully backwards compatible with the original device
specification syntax (-n dev -u unit), so it is possible to use either
method to specify a device now.

The device specification changes do not affect the rescan, reset or debug
commands, since by design, those commands work on a bus or bus:target:lun
basis only.

Also, shorten the default usage statement so that it fits in a 24 column
terminal.  The full usage statement is still available by using the "help"
"-h" or "-?" arguments to camcontrol.

Submitted by:	Joerg Wunsch <[email protected]>
1999-05-10 23:32:53 +00:00
Dmitrij Tejblum 33434b2174 Revert previous commit, since it caused problems.
OKed by:	wosch
1999-05-10 22:28:15 +00:00
Jun Kuriyama 4d3b5a4430 MFC: Fix typo.
Submitted by:	Hiroki Sato <[email protected]>
1999-05-10 22:04:17 +00:00
Bill Paul a05d5900b9 MFC: small patch to ypxfr to allow it to run properly from cron. 1999-05-10 20:57:06 +00:00
David E. O'Brien 4af077e17c Document 'nlpt'->'lpt'
devstat and friends API change
			NOAOUT->WANT_AOUT
1999-05-10 19:56:49 +00:00
David E. O'Brien 3addd1faa0 MFC: NOAOUT --> WANT_AOUT 1999-05-10 19:55:59 +00:00
David E. O'Brien 5c141148eb MFC: move sysctl/ to src/sbin/ due to its installation place 1999-05-10 19:44:31 +00:00
Don Lewis 102783de06 MFC: Fix descriptor leak provoked by KKIS.05051999.003b exploit code. 1999-05-10 18:36:34 +00:00
Luoqi Chen 352fb2b7af MFC: Don't ignore mmap() address hint below the text section. 1999-05-10 17:09:25 +00:00
Doug Rabson 502e0d6c6c Make install target work properly. 1999-05-10 16:27:13 +00:00
Dag-Erling Smørgrav 6521428b09 MFC (with a little help from indent): style cleanup. 1999-05-10 15:20:30 +00:00
Peter Wemm 047063c535 MFC: cvs-1.10 + FreeBSD mods preserved. 1999-05-10 15:00:51 +00:00
Peter Wemm 7db42a1b1f MFC: recognize a few more chips - this was merged ages ago, well before
new-bus.
1999-05-10 13:33:08 +00:00
Peter Wemm 6ef6dd09e2 Add a 4.0-current compatability hack for COMPAT_PCI_DRIVER() to try
and ease portability between -current and -stable.  This won't help
-current to 3.1-RELEASE portability though.
1999-05-10 13:27:37 +00:00
David E. O'Brien 8d7562cb7a MFC: rev 1.7 (operator precedence bug)
PR:		11411
1999-05-10 12:37:25 +00:00
David E. O'Brien 394ebff281 MFC: rev 1.18 (operator precedence bug)
PR:		11415
1999-05-10 12:36:43 +00:00
David E. O'Brien 5820983bd3 MFC: rev 1.72 [operator precedence (nit: in #if 0 code) bug]
PR:		11413
1999-05-10 12:34:33 +00:00
David E. O'Brien 39d3e9adc6 MFC: rev 1.3 [Typo: if (mpu_config = NULL) -> if (mpu_config != NULL)]
PR:		11411
1999-05-10 12:33:08 +00:00
David E. O'Brien 0c1c762972 MFC: rev 1.21 (operator precedence bug)
PR:		11410
1999-05-10 12:31:53 +00:00
David E. O'Brien 3764d773cd MFC: s/size == 0;/size = 0;/ 1999-05-10 12:29:55 +00:00
Jordan K. Hubbard 11ae369bb8 Remove all the 3.1-release specific cruft from here. 1999-05-10 10:54:13 +00:00
Bruce Evans 22cca6e79e MFC (1.15: detect new PCI device IDs; 1.11: added missing newline). 1999-05-10 10:42:17 +00:00
Jordan K. Hubbard 6ba04e4639 Remove COMPAT22 from canned target list (you have to ask for it now). 1999-05-10 09:28:12 +00:00
Jordan K. Hubbard 1979a87cfb Initial attempt at what I believe to be just 3.x-relative changes. 1999-05-10 09:22:47 +00:00
David Greenman e14ca458b9 Backed out changes in rev 1.51.2.1 since it causes a socket leak and there
is insufficient time to troubleshoot this prior to the 3.2 release.
Not backed out from current. Some collateral changes in uipc_socket2.c and
sys/socketvar.h were also not backed out as they are harmless.
1999-05-10 08:30:34 +00:00
Greg Lehey 2afef9116c MFC:
Arrange the "CONFIGURATION FILE" section in the order in which the
entries go into the config file.

Clarify what names can be used for Vinum drives, and what will happen
to you if you use other names.

Forcibly-demonstrated-by:  Thomas Stromberg <[email protected]>
                           Peter K Campbell <[email protected]>
                           George Cox <[email protected]>
                           many others, but those were the only three today.
1999-05-10 08:28:05 +00:00
David E. O'Brien f3a2281771 * Update supported AHA controlers.
* Camcontrol now offers more configurability
* devstat and friends list devices in a "better" order

Submitted by:	Ken Merry
1999-05-10 08:26:32 +00:00
David E. O'Brien db9f323df3 Add install support for ``compat22''.
(oh the fun of hunting down all places I need to fixup for my commit...
so foolish for volenteering...)
1999-05-10 00:50:41 +00:00
Nick Sayer ee05be63eb MFC: securelevel time setting handling code. This has worked
perfectly on a number of RELENG_3 machines since it was added
to -current.
1999-05-09 23:56:12 +00:00
Alan Cox 49b411896a MFC:
Two OBJ_ONEMAPPING maintenance changes:  1. Fix a non-fatal bug
	in vm_map_insert (from 1.149).  2. Remove pointless maintenance
	in vm_map_remove (from 1.160).

	Remove pointless comparisons from vm_map_simplify_entry (from
	1.146).

	Remove an incorrect comment (from 1.159) and
	an unused variable (from 1.155).
1999-05-09 23:22:18 +00:00
Jacques Vidrine e37c20bd91 MFC: 16 characters for the device name in /etc/dumpdates is not long
enough, particularly when using vinum.  Allow 32 characters
(arbitrary, I know) instead.

PR:     bin/11433
1999-05-09 22:33:47 +00:00
Andrzej Bialecki 0658d3c451 Silence message about absence of PnP overrides. 1999-05-09 22:10:58 +00:00
Andrzej Bialecki 7af0e0d91d MFC: deal with recursive MAKEDEV calls.
Submitted by:	Patrick Powell <[email protected]>
1999-05-09 22:04:09 +00:00
Alan Cox e53c398b9e MFC: Disable the "Hint" option in phkmalloc as default.
Reviewed by:	Poul-Henning Kamp <[email protected]>
1999-05-09 18:41:49 +00:00
David E. O'Brien 602b472eee Remove the compat31 dist.
(What the hell is a RELENG_3 tagged src/release/ doing in my -CURRENT tree??)
1999-05-09 16:58:39 +00:00
David E. O'Brien b7c69424cf Turn on both compat22 and compat3x dists. 1999-05-09 16:56:53 +00:00
Kris Kennaway 763d97f5a5 MFC: Typos 1999-05-09 13:43:46 +00:00
Doug Rabson 0e2c856a7e MFC: Rename when building libc_r. 1999-05-09 13:06:54 +00:00
KATO Takenori c00f42460a MFC: Merged updated keyboard driver.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-05-09 12:57:13 +00:00
Doug Rabson a2b1ce8749 MFC: Remove DDB. 1999-05-09 11:44:39 +00:00
Doug Rabson 8d143d92c7 MFC: More disklabel tweaks for sysinstall 1999-05-09 11:36:22 +00:00
Doug Rabson 9fbc3359ca MFC: Allow sysinstall to access disklabel on alpha. 1999-05-09 11:29:06 +00:00
Kazutaka YOKOTA c7fbf8d173 YAMFC: merge updated keyboard driver code:
- Refined internal interface in keyboard drivers so that:
  1. the side effect of device probe is kept minimal,
  2. polling mode function is added,
  3. and new ioctl and configuration options are added (see below).

- Added new ioctl: KDSETREPEAT
  Set keyboard typematic rate.  There has existed an ioctl command,
  KDSETRAD, for the same purpose.  However, KDSETRAD is dependent on
  the AT keyboard.  KDSETREPEAT provides more generic interface.
  KDSETRAD will still be supported in the atkbd driver.

- Added new configuration options:
  ATKBD_DFLT_KEYMAP
  Specify a keymap to be used as the default, built-in keymap.
  (There has been undocumented options, DKKEYMAP, UKKEYMAP, GRKEYMAP,
  SWKEYMAP, RUKEYMAP, ESKEYMAP, and ISKEYMAP to set the default keymap.
  These options are now gone for good.  The new option is more general.)

  KBD_DISABLE_KEYMAP_LOADING
  Don't allow the user to change the keymap.

- And other minor fixes and updates.

                merged files and revisions
---------------------------------------------------------------------
usr.sbin/kbdcontrol/kbdcontrol.c        1.22, 1.23, 1.24, 1.25
usr.sbin/vidcontrol/vidcontrol.c        1.27

sys/alpha/include/console.h             1.42, 1.43, 1.44

sys/dev/kbd/kbd.c                       1.4
sys/dev/kbd/kbdreg.h                    1.3
sys/dev/kbd/kbdtables.h                 1.45
sys/dev/kbd/atkbd.c                     1.5, 1.8
sys/dev/kbd/atkbdreg.h                  1.2

sys/dev/syscons/syscons.c               1.295, 1.296, 1.299

sys/dev/usb/ukbd.c                      1.9, 1.10, 1.11, 1.12, 1.13

sys/i386/conf/LINT                      1.565
sys/i386/conf/options.i386              1.109
sys/i386/conf/files.i386                1.228
sys/i386/include/console.h              1.45
sys/i386/isa/atkbd_isa.c                1.3
sys/i386/isa/pcvt/pcvt_kbd.c            1.28, 1.29

sys/isa/atkbd_isa.c                     1.2
1999-05-09 11:02:37 +00:00
John Birrell fe4dafab73 MFC: (mostly) Realtime scheduling patches from Dan Eischen. 1999-05-09 07:48:53 +00:00
Peter Wemm bf04e09363 Try and repair RELENG_3 tag spammage (grr!!!)
Somebody tagged this manually (dont do this! use cvs add!) with RELENG_3
and botched it by using a static rather than branch tag.  Then, when trying
to merge these revisions onto the (now broken) branch, they deleted and
recreated the RELENG_3 tag, again using a static rather than branch tag.

Reminder: committers should *NOT* be using 'cvs tag' for RELENG_* tags
*at all*.  To add a file to a releng branch, use cvs add!
1999-05-09 07:48:40 +00:00
Alan Cox 956317d50b MFC: 1.153
Correct an optimization in vm_object_page_remove.
1999-05-09 03:42:08 +00:00
Kenneth D. Merry 15041c8744 MFC:
Add a facility in the CAM error handling code to retry selection timeouts.
If the client requests that the error recovery code retry a selection
timeout, it will be retried after half a second.  The delay is to give the
device time to recover.

For most of these drivers, I only added selection timeout retries where
they were also retrying unit attention type errors.  The sa(4) driver calls
saerror() in a number of places, but most of them don't request retrying
unit attentions.

Also, bump the default minimum CD changer timeout from 2 to 5 seconds and
the maximum timeout from 10 to 15 seconds.  Some Pioneer changers seem to
have trouble with the shorter timeout.

Reviewed by:	gibbs
1999-05-09 01:27:46 +00:00
Nick Hibma 3f66ff1c48 MFC: Check whether the PIRQD enable bit is set in LegSup and
if not, set it.
1999-05-08 23:05:14 +00:00
Nick Hibma 4b898d15d9 MFC: 1999-05-04
problems solved:

1) create function usbd_errstr which turns a usbd_status into a sensible
   error message

2) ohci.c: Interrupt transfers worked only for the first packet.
   The second packet was not seen as finished.

3) change printf to logprintf

4) add definitions for Commun. Device Clas

5) uhci.c: many a change, all problems up to rev. 1.25

6) ums.c: mouse now looks like a mouse systems mouse

7) usbdevs*.h: add loads of device id's

8) lots of textual changes
1999-05-08 23:05:02 +00:00
David E. O'Brien a8a4a22664 Enter 3.2-BETA. This is needed because the packages reflect the version
of the build machine, and we want to get "3.2" in them vs. "3.1".
1999-05-08 21:55:42 +00:00
Kenneth D. Merry 3596a6ff2f MFC: The 2930U2 and 3950U2 are supported by the Adaptec driver. 1999-05-08 21:44:24 +00:00
Kenneth D. Merry 6cfee806db MFC: Devices are hardwired with "unit 0", not "lun 0" as was in these man
pages.

Also, update the pass(4) man page to indicate that some CCBs must be
sent through the xpt(4) device and cannot be sent through a pass device.

PR:		8826
1999-05-08 21:38:47 +00:00
John Polstra e287965a4c MFC: Add pam_deny and pam_permit modules. Add account management to
the pam_unix module.
1999-05-08 21:32:02 +00:00
Doug Rabson 89c4cb151a MFC: More alpha-related fixes. 1999-05-08 21:24:08 +00:00
Doug Rabson 2fb750faa4 MFC: gdb-4.18 1999-05-08 19:22:59 +00:00
Doug Rabson baab252f42 MFC: Various alpha fixes and other cleanups. 1999-05-08 19:10:14 +00:00
David E. O'Brien c946a7dcf1 Hookup compat22 (a.out) libs. 1999-05-08 18:50:08 +00:00
David E. O'Brien 23a2d6291a MFC: update 1999-05-08 18:10:05 +00:00
David E. O'Brien 9c78917e0d MFC: update to v2.0b1pl27 1999-05-08 18:05:19 +00:00
David E. O'Brien 5b4fdd7879 MFC: 2.2.x / a.out compatability libraries. 1999-05-08 17:57:11 +00:00
cvs2svn 042a92d243 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-08 17:54:03 +00:00
Stephen McKay 86b9c2af7a MFC: Flood ping fix, -l option fix, egcs warning fix, -S documentation.
Now equivalent to ping.c 1.44 and ping.8 1.20.

PR:	9308
1999-05-08 15:42:42 +00:00
Kenjiro Cho a63e33c48e MFC: clean up en atm driver
o fix DDB support
   o back out pvc shadow interface support
   o misc minor cleanup
1999-05-08 14:34:36 +00:00
Doug Rabson 15d94e3c20 MFC: Install gdbserver and gdbreplay in the right place. 1999-05-08 12:10:08 +00:00
Doug Rabson 3dadfb3733 MFC: declare the return address register so gdb can see it. 1999-05-08 11:47:54 +00:00
Doug Rabson c69cb87ed0 MFC: Needed for gdb-4.18 1999-05-08 11:39:19 +00:00
Kris Kennaway ff535ac290 MFC: Spelling/formatting fixes. 1999-05-08 10:43:20 +00:00
Doug Rabson 7dbd42c163 MFC: Another missing file from the big gdb merge. 1999-05-08 10:01:33 +00:00
Doug Rabson c9c9e5cd86 MFC: A couple of stragglers from gdb-4.18 1999-05-08 09:11:26 +00:00
Doug Rabson d1b654984a MFC: Import gdb-4.18
Approved by: core
1999-05-08 08:58:48 +00:00
Roger Hardiman cd884e45a6 MFC
Include PCI NE2000 cards which are supported
Include Bt878 support
1999-05-08 06:53:28 +00:00
Roger Hardiman 934628f34f MFC. Bring in recent changes from -current.
This makes the driver identical to CVS 1.70 (authors version 1.61)

This includes the code to prevent kernel hangs when
row=0 or columns=0
1999-05-08 06:29:19 +00:00
Jordan K. Hubbard 2db95744e8 MFC: C++ safe. 1999-05-08 05:50:40 +00:00
Alan Cox 8ef7005df6 MFC: rev 1.52
nfs_realign:
	Check for badly aligned mbuf data and realign by copying the unaligned
	portion of the data into a new mbuf chain and freeing the portions
	of the old chain that were replaced.

	We cannot simply realign the data within the existing mbuf chain
	because the underlying buffers may contain other rpc commands and
	we cannot afford to overwrite them.

Submitted by:	Matthew Dillon <[email protected]>
1999-05-08 04:58:29 +00:00
Daniel C. Sobral 75c1c3a63d MFC. Do not lowercase Joliet cd's filenames.
Submitted by:	Motomichi Matsuzaki <[email protected]>
1999-05-08 04:38:22 +00:00
cvs2svn e2b3ce7fb6 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-08 01:59:28 +00:00
Julian Elischer abf5dbcd9a Handle the case when the default handler doesn't want to take the device.
Pointy hat dispensed by: Mike Spengler <[email protected]>
1999-05-08 00:28:13 +00:00
Julian Elischer 2d9e682ba3 Allow a specific driver to wrest control of a device from
the generic "chipset" driver if it knows more about it than the generic
driver does. Not an MFC because doug and co are doing it differently
in the new-bus world.

Reviewed by: Doug Rabson <[email protected]>
1999-05-07 23:43:07 +00:00
Doug Rabson 9a9730445b MFC: Use correct definition of Elf_Note for 64bit platforms. 1999-05-07 22:11:03 +00:00
Doug Rabson e7c7d2ac1d MFC: One more patch to console.h for the new syscons. 1999-05-07 22:06:11 +00:00
Daniel C. Sobral 9b4e141141 Update loader's version. -stable can boot kernels at different
load addresses.
1999-05-07 15:24:22 +00:00
Foxfair Hu c23c31e10b MFC, fix _BIG5_sgetrune() in libc.
PR:		10918
Submitted by:	Yung-Jen Hung <[email protected]>
1999-05-07 13:29:31 +00:00
Jordan K. Hubbard 28f7c6e0d8 MFC: give each dog its day. 1999-05-07 11:45:50 +00:00
Jordan K. Hubbard 27f1887362 MFC: allow kget to be disabled. 1999-05-07 11:03:23 +00:00
Jordan K. Hubbard 11f68b317a MFC: various fixes over the last 2 days. 1999-05-07 10:42:32 +00:00
Andrzej Bialecki a6f12c1bd5 Assorted fixes to PicoBSD in preparation for 3.2-RELEASE:
* use system's kget instead of TinyWare version
* use /bin/sh instead of Ash - it was old, and not much smaller
* remove unused MIB files
* check for kzip stubs, and build them if necessary
* slightly update the docs
* use newer /boot/ contents
* use my own greeting menu.
* fix a couple of bugs in scripts
* bump revision number to 0.44

Submitted by:	me && various people from freebsd-small
1999-05-07 10:04:45 +00:00
Doug Rabson 5403a39580 MFC: Use the new syscons on alpha. 1999-05-07 09:03:06 +00:00
Doug Rabson 93584e0168 MFC: Most non-newbus and non-vm changes to the alpha port since the
3.1 branch was started, including:
* Crashdumps
* Fixes to spl
* Sysctls to control unaligned accesses
* Use the new syscons driver instead of the old one.
* A few other minor fixes and cleanups.
1999-05-07 09:02:05 +00:00
Jason Evans 96e5841b40 Apply patch included in bin/8872. This fixes a bug that occurs when
pthread_cond_timedwait() times out.
1999-05-07 07:54:03 +00:00
Mark Murray b5e9082618 MFC: don't wrap internal services for now. 1999-05-07 06:50:28 +00:00
John Polstra ad4c2af283 MFC: Enable MS-CHAP support.
pppd/Makefile:    1.12  -> 1.13
release/Makefile: 1.479 -> 1.480
1999-05-07 04:29:12 +00:00
Julian Elischer b6b4b2803f MFC: Fix mis-identified chip 1999-05-07 04:06:38 +00:00
Kenneth D. Merry 74775eaafa MFC: Add a number of interrelated CAM feature enhancements and
bug fixes.

NOTE:  These changes will require recompilation of any userland
applications, like cdrecord, xmcd, etc., that use the CAM passthrough
interface.  A make world is recommended.

camcontrol.[c8]:
 - We now support two new commands, "tags" and "negotiate".

	- The tags commands allows users to view the number of tagged
	  openings for a device as well as a number of other related
	  parameters, and it allows users to set tagged openings for
	  a device.

	- The negotiate command allows users to enable and disable
	  disconnection and tagged queueing, set sync rates, offsets
	  and bus width.  Note that not all of those features are
	  available for all controllers.  Only the adv, ahc, and ncr
	  drivers fully support all of the features at this point.
	  Some cards do not allow the setting of sync rates, offsets and
	  the like, and some of the drivers don't have any facilities to
	  do so.  Some drivers, like the adw driver, only support enabling
	  or disabling sync negotiation, but do not support setting sync
	  rates.

 - new description in the camcontrol man page of how to format a disk
 - cleanup of the camcontrol inquiry command
 - add support in the 'devlist' command for skipping unconfigured devices if
   -v was not specified on the command line.
 - make use of the new base_transfer_speed in the path inquiry CCB.
 - fix CCB bzero cases

cam_xpt.c, cam_sim.[ch], cam_ccb.h:

 - new flags on many CCB function codes to designate whether they're
   non-immediate, use a user-supplied CCB, and can only be passed from
   userland programs via the xpt device.  Use these flags in the transport
   layer and pass driver to categorize CCBs.

 - new flag in the transport layer device matching code for device nodes
   that indicates whether a device is unconfigured

 - bump the CAM version from 0x10 to 0x11

 - Change the CAM ioctls to use the version as their group code, so we can
   force users to recompile code even when the CCB size doesn't change.

 - add + fill in a new value in the path inquiry CCB, base_transfer_speed.
   Remove a corresponding field from the cam_sim structure, and add code to
   every SIM to set this field to the proper value.

 - Fix the set transfer settings code in the transport layer.

scsi_cd.c:

 - make some variables volatile instead of just casting them in various
   places
 - fix a race condition in the changer code
 - attach unless we get a "logical unit not supported" error.  This should
   fix all of the cases where people have devices that return weird errors
   when they don't have media in the drive.

scsi_da.c:

 - attach unless we get a "logical unit not supported" error

scsi_pass.c:

 - for immediate CCBs, just malloc a CCB to send the user request in.  This
   gets rid of the 'held' count problem in camcontrol tags.

scsi_pass.h:

 - change the CAM ioctls to use the CAM version as their group code.

adv driver:

 - Allow changing the sync rate and offset separately.

adw driver

 - Allow changing the sync rate and offset separately.

aha driver:

 - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs.

ahc driver:

 - Allow setting offset and sync rate separately

bt driver:

 - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs.

NCR driver:

 - Fix the ultra/ultra 2 negotiation bug
 - allow setting both the sync rate and offset separately

Other HBA drivers:
 - Put code in to set the base_transfer_speed field for
   XPT_GET_TRAN_SETTINGS CCBs.

Reviewed by:	gibbs, imp (aha), mjacob (isp)
1999-05-07 00:43:47 +00:00
Julian Elischer d52c5dc180 MFC: Add two cyrix devices to list. 1999-05-06 21:29:00 +00:00
Bill Fumerola 8664245276 MFC: 1.9 -> 1.10, wording clarification. 1999-05-06 20:53:16 +00:00
David E. O'Brien ff519631cb Actually install rc.diskless{1,2}. MFC rev 1.189 & 1.194 1999-05-06 16:48:17 +00:00
David E. O'Brien d14c3f9956 MFC: rev 1.195 (hosts.allow) 1999-05-06 16:43:01 +00:00
Bill Paul afc06b19f4 MFC: stability fixes for Macronix driver, small performance tweaks for
ASIX, PNIC, Winbond, VIA Rhine and ThunderLAN drivers.
1999-05-06 15:39:40 +00:00
Dmitrij Tejblum 94d80749aa MFC: fight with false newlines. 1999-05-06 14:12:25 +00:00
Nick Hibma 4a0142ec1b MFC: Via Controllers reset FRLBASE register as well. 1999-05-06 13:48:01 +00:00
Jordan K. Hubbard 5f1936e2bd MFC: correct includes. 1999-05-06 11:33:15 +00:00
David E. O'Brien 0f76fe90ef MFC: rev 1.14 (example changes) 1999-05-06 06:01:08 +00:00
Dmitrij Tejblum f098300238 MFC: pread() and pwrite(). 1999-05-05 23:19:59 +00:00
Dmitrij Tejblum d4c56fd0d8 MFC: wrappers and docs for pread() and pwrite(). 1999-05-05 23:18:50 +00:00
Dmitrij Tejblum 76f334d1dc Regenerate (pread and pwrite). 1999-05-05 22:59:29 +00:00
Mike Smith cddecf062d We need to downgrade emacs on freefall. 1999-05-05 22:56:42 +00:00
Dmitrij Tejblum 4fbbeaacb9 MFC: pread() and pwrite(). 1999-05-05 22:53:07 +00:00
Mike Smith 37f5cc50f4 *** empty log message *** 1999-05-05 22:51:12 +00:00
Dmitrij Tejblum c0d0cd800b MFC: added fsseko() and ftello(); fgetpos() and fsetpos() fixed for files
>2GB.
1999-05-05 22:18:12 +00:00
Dmitrij Tejblum f9b77ed91e MFC: fseeko() and ftello(). 1999-05-05 22:14:47 +00:00
Brian Somers 24d2a58f62 MFC: Use realhostname() & trimdomain(). 1999-05-05 21:20:30 +00:00
David E. O'Brien 0f35bdc2bc MFC. 1999-05-05 20:47:42 +00:00
Mark Murray c564bd9bdb MFC: Remove $Log garbage that was breaking folk. 1999-05-05 19:42:40 +00:00
David E. O'Brien 5bfad96145 * Note that TCP Wrappers is now in base system for 3.2-RELEASE
* reorder one network driver description to be with the others and simular
  in format
* note that 'nlpt' is now just 'lpt'
* reformat one of my previous entries
1999-05-05 19:01:28 +00:00
David E. O'Brien 496f78d6ae MFC: hookup to libwrap/tcp_wrappers. 1999-05-05 18:52:17 +00:00
David E. O'Brien ea5403035e MFC: hookup to libwrap now in base system. 1999-05-05 18:36:25 +00:00
Bill Paul 724ee56a93 MFC: Dynamically adjust TX start threshold in the face of tx underruns. 1999-05-05 17:10:49 +00:00
Mark Murray 871cf3db01 MFC: system Perl is now 5.00503! 1999-05-05 13:28:53 +00:00
Mark Murray b614eb8521 MFC: bump Perl5 maintenance release number. 1999-05-05 13:26:39 +00:00
Mark Murray eacf4eb59f MFC: remove dependancy on Perl5 libraries to avoid circular dependancy loop. 1999-05-05 13:24:14 +00:00
Mark Murray 7fc07d64c6 MFC: increment Perl5 maintenance relase number. 1999-05-05 13:22:35 +00:00
Mark Murray a4b1c1e859 MFC: Upgrade to Perl 5.00503 1999-05-05 13:19:09 +00:00
Jordan K. Hubbard a5c799ba65 Add fire screen saver. 1999-05-05 11:48:11 +00:00
Jordan K. Hubbard a3f13fa1cb MFC: sync up with latest non-experimental (or WIP) changes. 1999-05-05 11:34:44 +00:00
Jordan K. Hubbard b5a68f14ed MFC: typos 1999-05-05 10:22:11 +00:00
Jordan K. Hubbard 1c622283dd MFC: bogon fixed. 1999-05-05 10:14:35 +00:00
Andrzej Bialecki 282da5aadd MFC: new revision of Simple_HTTPd.
Submitted by:	William Lloyd <[email protected]>
Reviewed by:	abial
1999-05-05 07:31:33 +00:00
Joseph Koshy b424d3f3b0 MFC: {rev 1.4} clarify format of exit code, add xrefs. 1999-05-05 06:09:48 +00:00
Joseph Koshy 216d2b1ab9 MFC: {rev 1.3} correct typo. 1999-05-05 05:58:31 +00:00
Joseph Koshy 45a9ff79e3 MFC: {rev 1.2} correct .Nm misuse. 1999-05-05 05:56:48 +00:00
Greg Lehey 60dc056e17 st -> sa 1999-05-05 05:47:40 +00:00
Joseph Koshy 32f2e7f915 MFC: {rev 1.4} typo fixes. 1999-05-05 05:47:14 +00:00
Joseph Koshy d737d9e774 MFC: {rev 1.4} correct prototype for tigetstr(). 1999-05-05 05:43:50 +00:00
Joseph Koshy f6992ec912 MFC: {rev 1.6} "sd","st"->"da","sa"; correct xrefs. 1999-05-05 05:42:11 +00:00
Greg Lehey fd8b7b9ae1 MFC: Bring up to date with -CURRENT
struct drive: add fields for debugging lockdrive deadlocks.

Remove some dead variables.

Change DEBUG_EXITFREE to DEBUG_WARNINGS.
1999-05-05 05:21:39 +00:00
Greg Lehey c15fcb3401 MFC: Bring up to date with -CURRENT
sizespec:
  Implement scaling letter 's' to mean 'sectors' (of 512 bytes).

Requested-by: Steve Taylor <[email protected]>
1999-05-05 05:21:12 +00:00
Greg Lehey b15e90e500 MFC: Bring up to date with -CURRENT
set_sd_state:
  If a drive is down, take "empty" sds down.  Previously they were
  unchanged, which cause set_plex_state to take them up under some
  circumstances.

set_sd_state:
  Don't change state from reborn to reborn.  This caused a silly
  warning message.
1999-05-05 05:20:33 +00:00
Greg Lehey 940d06fd1d MFC: Bring up to date with -CURRENT
When VINUMDEBUG is set, add function basename() to return the base
name of a file.  Used by MMalloc and lockdrive.

vinum_mallocinfo:
  Set the entry number correctly.
1999-05-05 05:20:01 +00:00
Greg Lehey 5fe2c37c4d MFC: Bring up to date with -CURRENT
lockdrive: Add debug calls to catch occasional deadlocks on drives.
           The problem is probably gone, but the debug checks remain
           for a while.
1999-05-05 05:19:28 +00:00
Greg Lehey 61a3a5d771 MFC: Bring up to date with -CURRENT
Add flag keyword w.
1999-05-05 05:18:57 +00:00
Greg Lehey b2582df6f8 MFC: Bring up to date with -CURRENT
daemon_save_config:
  Fix a potential drive deadlock when saving config to a non-existent
  drive.

Add debug calls to catch occasional deadlocks on drives.  The problem
(above) is probably gone, but the debug checks remain for a while.

close_drive:
  If a drive has gone down and has dirty buffers associated with it,
  we'll get a panic when we try to vn_close it.  Check for this
  situation and discard any buffers; they're toast anyway.

  Only complain about usage count if DEBUG_WARNINGS is set.

check_drive:
  Change parameter name from drivename to devicename.

  Get the check for a referenced drive right.

  If the partition isn't a vinum drive, set the last error to ENODEV.

vinum_scandisk:
  Change parameter name from drivename [] to devicename [].
1999-05-05 05:18:16 +00:00
Greg Lehey 34d78464b5 MFC: Bring up to date with -CURRENT
Define macro LOCKDRIVE for debugging drive locking deadlocks.
1999-05-05 05:17:39 +00:00
Greg Lehey 3c31815966 MFC: Bring up to date with -CURRENT
Add declaration for basename()
Change lockdrive definition if VINUMDEBUG is set.
1999-05-05 05:17:08 +00:00
Greg Lehey 59afe3ccb2 MFC: Bring up to date with -CURRENT
update_plex_config: Eliminate a potential divide-by-zero.

Add debug calls to catch occasional deadlocks on drives.  The problem
is probably gone, but the debug checks remain for a while.

update_plex_config: Catch yet another divide-by-zero problem when
                    detaching the last subdisk from a striped plex.

Uncovered-by: Michael Reifenberger <[email protected]>
1999-05-05 05:16:20 +00:00
Greg Lehey bf2f0ac01c MFC: Bring up to date with -CURRENT
free_vinum: clear up a warning message.

Update description of how to analyse kernel dumps.

Get extern declarations right.

Change DEBUG_EXITFREE to DEBUG_WARNINGS.
1999-05-05 05:15:37 +00:00
Greg Lehey 2c0dd9d930 MFC: Bring up to date with -CURRENT
Update description of how to analyse kernel dumps.
1999-05-05 05:14:16 +00:00
Greg Lehey fc023e2acc MFC: Bring up to level of -CURRENT
Document -w option for init command.
Reorganize OPTIONS section into alphabetical order.

Update documentation of new functions.

Describe new scale letter for sizes: 's' (sector) instead of 'b'
(block).  Both mean 512 bytes, but 'b' is deprecated because it's
confusing.

Requested-by: Steve Taylor <[email protected]>

Document log file and environment variables.
1999-05-05 05:13:09 +00:00
Greg Lehey 989d798c0b MFC: Bring up to level of -CURRENT
If the wrong version of vinum(8) has been started (i.e. non-RAID-5
when the kernel module is RAID-5, or the other way round), execve()
the correct one.

Add \n to an error message.

Add -w option to init command: wait for init to complete before
returning.

When looking at all objects, look at all objects.

main:
  If the wrong version is started, execve the correct version.
Maintain a log file, by default /var/log/vinum.history, showing what
has been done.  This name can be overridden by the value of the
VINUM_HISTORY environment variable.

Print dates in log file according to the variable VINUM_DATEFORMAT, by
default %e %b %Y %H:%M:%S.

timestamp:
  Assign explicit variable for sec to get it to compile on Alpha.

Add definitions for history functions and printconfig split.
1999-05-05 05:11:14 +00:00
Greg Lehey 7577d4a625 MFC: Bring up to level of -CURRENT
If the wrong version of vinum(8) has been started (i.e. non-RAID-5
when the kernel module is RAID-5, or the other way round), execve()
the correct one.

Add \n to an error message.
  When looking at all objects, look at all objects.

vinum_lsi:
  Print rough size of plex in parentheses.
  Print drive info with -v option (previously required -V).

printconfig:
  split into vinum_printconfig (interactive) and printconfig (called
  from vinum_printconfig and from vinum_create when starting an
  interactive update.
1999-05-05 05:10:38 +00:00
Greg Lehey c5ab2aae45 MFC: Bring up to -CURRENT level.
If the wrong version of vinum(8) has been started (i.e. non-RAID-5
when the kernel module is RAID-5, or the other way round), execve()
the correct one.

Add \n to an error message.

Add -w option to init command: wait for init to complete before
returning.

vinum_init: count dead children correctly when waiting for completion.

vinum_resetstats: count objects correctly.

vinum_create:
  If no file name is specified, create one and edit it with the editor
  specified in the EDITOR environment variable, by default vi.

vinum_help:
  Update.
1999-05-05 05:09:46 +00:00
Joseph Koshy 4c65a585fd MFC: {rev 1.3} Typo fixes. 1999-05-05 03:05:52 +00:00
Masafumi Max NAKANE b57a57c88f MFC: typo fix. 1999-05-05 00:23:37 +00:00
Jordan K. Hubbard 50130e81be MFC: various updates. 1999-05-04 23:27:50 +00:00
Guy Helmer 258c0250b0 MFC: Make "\n" appear in sample C code.
PR:		docs/10708
1999-05-04 21:06:06 +00:00
Bill Paul b538a2a9c8 MFC: fix media selection for 3c900B-FL 10baseFL adapter. (This only affects
the media selection code a little and should not impact any working adapters,
so it should be safe to merge into -stable.)
1999-05-04 20:54:48 +00:00
Guy Helmer ecc07bc248 MFC: Use Cd macro for SYNOPSIS.
PR:		docs/10495
1999-05-04 20:51:14 +00:00
Guy Helmer e44c3c01ed MFC: Use Cd macro instead of Em. Added $Id$.
PR:		docs/10494
1999-05-04 20:45:31 +00:00
Guy Helmer 42d48b7aaf MFC (rev 1.7->1.8): writev(2) can return EDESTADDRREQ when attempting to
write to a UNIX domain socket on which connect(2) had been used to set a
destination address and the destination goes away.

PR:		docs/10451
1999-05-04 20:12:55 +00:00
Guy Helmer 77a7793c17 MFC (rev 1.26): Add -A to SYNOPSIS.
PR:		docs/10771
1999-05-04 19:46:55 +00:00
Justin T. Gibbs 81586eb332 MFC: Don't touch a path after we've free'd it. 1999-05-04 19:25:53 +00:00
Guy Helmer 4b1eef8024 Mention the special destination "default" for default routes. Fix a
couple of formatting bugs.

PR:		docs/9960
1999-05-04 18:41:32 +00:00
Guy Helmer dadb2ab7ab MFC: Add missing parenthesis. Change "hardware block" to "SCSI
logical block".
While I'm here, fix dangling "to".

PR:		docs/9940
1999-05-04 18:24:20 +00:00
Guy Helmer 3be3510ac8 MFC: Correct SYNOPSIS.
PR:		docs/9658
1999-05-04 18:15:05 +00:00
Dag-Erling Smørgrav 053e642481 MFC rev 1.50, and somebody pass me the pointy hat please... 1999-05-04 18:05:51 +00:00
Guy Helmer 2b9d2250d6 MFC: Add "#include <machine/param.h>" to SYNOPSIS to get PAGE_SIZE.
PR:		docs/8464
1999-05-04 18:01:18 +00:00
Guy Helmer 9b11d1ffaf MFC: Note the effect of close(2) on fcntl(2) record locks.
PR:		docs/3522
1999-05-04 17:49:49 +00:00
Luigi Rizzo 41bfb65394 MFC: free the dummynet header in ip_dummynet, not in the called
routine.
1999-05-04 16:24:00 +00:00
Masafumi Max NAKANE 9a40e3d99d Merge the serial console related tweaks from -current. 1999-05-04 16:17:57 +00:00
Guy Helmer 25e9f0f313 MFC: Spelling correction.
PR:		10824
1999-05-04 13:53:19 +00:00
KATO Takenori bedb4bf046 MFC: Fixed the mpu driver.
Supported the nss (NEC PC-9801-86 Sound System) driver.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-05-04 13:42:06 +00:00
Dmitrij Tejblum 2fee0568bc MFC rev. 1.21: 'll' modifier. 1999-05-04 13:06:29 +00:00
KATO Takenori c358441c94 MFC: fixed misused FE_D6_BBW. 1999-05-04 13:01:39 +00:00
Dmitrij Tejblum 9d8e25d6e6 MFC: rename a function to avoid conflicts with the 'pwrite' syscall. 1999-05-04 12:54:59 +00:00
Kris Kennaway af6f20e511 MFC: Better explanation of disk parameters. 1999-05-04 12:16:19 +00:00
Kris Kennaway 915918da08 MFC: Update comment about PPP. 1999-05-04 12:12:01 +00:00
Kris Kennaway 1080c69532 MFC: Clarify comment about legacy booting.
Reviewed by:	Robert Nordier
1999-05-04 12:08:16 +00:00
Kris Kennaway 5a7433a29d MFC: Clarify comment. 1999-05-04 12:04:49 +00:00
Kris Kennaway 345fb31e6e MFC: Typo 1999-05-04 12:01:54 +00:00
Kris Kennaway e364f59cc6 MFC: Manpage updates
Reviewed by:	Doug Rabson
1999-05-04 11:57:17 +00:00
Kris Kennaway 27e912e459 MFC: Wording changes. 1999-05-04 11:48:16 +00:00
Kris Kennaway 1ff9f190ba MFC: Off-by-one error. 1999-05-04 11:34:55 +00:00
Roger Hardiman 931b188996 Updated to support motherboards using APIC
(ie SMP machines)
This change is cleaner than the APIC_IO changes I made
to 4.x-currente in version 1.68
1999-05-04 10:58:10 +00:00
Brian Somers 0e15ae2dfb MFC: Add missing ``.''. 1999-05-04 10:56:49 +00:00
Brian Somers 64bd17c8a9 MFC: AmbiCom Inc NIC 1999-05-04 08:39:49 +00:00
Luigi Rizzo b28959877c MFC -- assorted dummynet cleanups 1999-05-04 07:47:45 +00:00
Jun Kuriyama ccc55de9e7 MFC: Activate pccardc.8. 1999-05-04 01:46:56 +00:00
Mike Smith 83bc02abac MFC: disable ppc chipset-specific probes by default. 1999-05-04 00:15:55 +00:00
Brian Somers 275d733d20 MFC: 3Com/Noteworthy 56k modem 1999-05-03 19:09:58 +00:00
David E. O'Brien 28f5b99bee MFC: rev 1.21 -- tcp_wrappers 1999-05-03 18:05:26 +00:00
David E. O'Brien eaa7dc2fa2 Really support tcp_wrappers in inetd this time. 1999-05-03 16:32:54 +00:00
Jun Kuriyama 1092b4ce28 MFC: New translation of pccardc.8.
Obtained from:	PAO (written in Japanese)
Reviewed by:	[email protected]
		[email protected]
		Randy Bush <[email protected]>
		Bill Trost <[email protected]>
		Bruce Campbell <[email protected]>
1999-05-03 11:20:37 +00:00
Greg Lehey 03ff6ee418 MFC: Add variable start_vinum. If set to YES, it will start vinum and
automagically find all the partitions.  This is to be preferred to the
somewhat emetic usage of vinum_slices and the equally obnoxious 'vinum
read' command.

Prodded-by: Don Lewis <[email protected]>
1999-05-03 08:13:55 +00:00
Torsten Blum 3749293d5c MFC: Install uuxqt sgid uucp. Since "rnews" should not be executable for
everyone (to prevent fake-postings) and modern Inn installs
     rnews as news.uucp and mode 4550 this is the only save way to allow
     uuxqt to process rnews batches.
1999-05-02 20:44:23 +00:00
cvs2svn 9845cb14aa This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-02 19:50:19 +00:00
Tim Vanderhoek be65909220 MFC: DOS sucks. 1999-05-02 18:18:04 +00:00
Tim Vanderhoek 4418a331b9 MFC: count crlfs as one character 1999-05-02 18:15:56 +00:00
Guy Helmer e08558e403 MFC: "Location" -> "Office Location", "#ifdef 0" -> "#if 0", additional
braces to clarify "else" statements.
1999-05-02 15:03:18 +00:00
Brian Somers 518311f7ff MFC: Handle receiving more than one acceptable CCP REQ
during one negotiation session without REJecting
     everything from the second REQuest.
1999-05-02 14:34:29 +00:00
Kris Kennaway 806fe20640 MFC: Manpage, code cleanups. 1999-05-02 13:22:57 +00:00
Kris Kennaway 3931918c88 MFC: POSIX.2 compliance, manpage cleanups. 1999-05-02 13:20:15 +00:00
Kris Kennaway f5744003e5 MFC: Fix display of example usage. 1999-05-02 13:08:32 +00:00
Kris Kennaway 1ea13e964e MFC: Add tty, kmem, bind & pop 1999-05-02 13:07:01 +00:00
Kris Kennaway 4e8b3aa480 MFC: Clarify wording. 1999-05-02 13:05:35 +00:00
Kris Kennaway 9e8efa4b46 MFC: Rewrite manpage and add 'default' feature. 1999-05-02 12:18:53 +00:00
Kris Kennaway f3ff5eeab4 MFC: Formatting fix. 1999-05-02 12:14:35 +00:00
Kris Kennaway 65eed2a560 MFC: Typo fix. 1999-05-02 12:12:21 +00:00
Kris Kennaway 5a32af6922 MFC: Various manpage fixes. 1999-05-02 12:06:56 +00:00
Brian Somers d54ea4f96b MFC: Use realhostname() and trimdomain().
main() returns int
     Silence egcs (yeah, I know....)
     Reprompt if given an empty login name in uucpd
     Correct errno handling in uucpd.
1999-05-02 09:36:22 +00:00
Brian Somers 8ab192d7fd MFC: Use ``set device "!program args"''. 1999-05-02 09:32:46 +00:00
Brian Somers 2ad1ffb5ec MFC: NetBSD changes
``set device'' changes
     AFCComp man page description

I haven't merged the port 80/81 changes as they've been
questioned :-/
1999-05-02 08:59:55 +00:00
Brian Somers 60365350dc MFC: Add some const keywords and fix some typos in man pages.
Fix and document trimdomain and make it handle DISPLAY names.
     Switch to the correct user before reading .login_conf.
     Add realhostname().
1999-05-02 08:50:53 +00:00
David E. O'Brien cf0db3a1d2 Mention that SMM:13 (Amd) is now in /usr/share/info.
PR:		7359
Submitted by:	Alec Wolman <[email protected]>
1999-05-02 07:49:52 +00:00
David E. O'Brien 4c49111cba MFC: turn on Info files. 1999-05-02 07:29:45 +00:00
Kris Kennaway ba29cd8246 MFC: Allow -v to adjust the seconds. 1999-05-02 06:28:09 +00:00
Kris Kennaway 3e09079767 MFC: Formatting/typo/correction changes. 1999-05-02 06:13:50 +00:00
Nate Williams 81193b6d2f MFC: Recognize alot more PCI/CardBus bridges so FreeBSD works on more
laptops out of the box.

From Torsten Blum, PAO via Nick Sayer, and myself.
1999-05-02 05:59:13 +00:00
Kris Kennaway 282d94eca8 MFC: Document recent additions to rc.conf.
For some reason CVS wasn't showing me these diffs when I did a
'cvs diff -rRELENG_3 -rHEAD' in the -stable directory, but they (along with
some other files) showed up when I did the same command from my -current
repository. CVS bug?
1999-05-02 05:54:48 +00:00
Kris Kennaway 4912e09a38 MFC: Typo/formatting fixes (add $Id$ to tx.4) 1999-05-02 05:42:45 +00:00
Kris Kennaway d29ec65789 MFC: Various typo/formatting fixes. 1999-05-02 05:34:31 +00:00
Kris Kennaway 580a29f7d2 MFC: 1.5 and 1.6 (grammar/punctuation changes). 1999-05-02 05:22:44 +00:00
Tim Vanderhoek 8bd73de6bc CFC: misref to /usr/share/mk/bsd.port.mk 1999-05-02 05:06:30 +00:00
David E. O'Brien fe1c608ca7 MFC: rev 1.12 (sd -> da / st -> sa) 1999-05-02 00:40:01 +00:00
David E. O'Brien 1f25d4bbc9 MFC: add TCP Wrappers support.
(also sorted manpage references and emblished the history a little)
1999-05-01 22:01:52 +00:00
Dag-Erling Smørgrav 4bb40b914f MFC: Fascist mode (do not open a datagram socket at all). 1999-05-01 18:49:17 +00:00
Bill Paul 6044915a3b Merge changes in from -current. I asked for people to test this for
me. I got *two* (2) positive replies and nothing else. People seem
to have an easier time complaining than they do testing fixes. I'm through
waiting. I'm confident this fixes the watchdog timeout problems, so
here it is. Deal with it.
1999-05-01 17:12:15 +00:00
Dmitrij Tejblum 9dcf3459a3 MFC rev.1.22: fix transfer of files >2GB.
Reminded by:	kris
1999-05-01 15:24:39 +00:00
Kris Kennaway 6950856d78 MFC: md5 -t fixes. 1999-05-01 15:09:49 +00:00
Jordan K. Hubbard 3b8d84b232 MFC: src menu reshuffle 1999-05-01 11:28:41 +00:00
SADA Kenji 371e7b0172 Make release would fail for lack of /etc/resolv.conf or $DISTFILES/
PR:	misc/9913
Submitted by:	YAMAMOTO Shigeru <[email protected]>
Forgotton by:	sada
1999-05-01 07:45:31 +00:00
Jordan K. Hubbard a75239c62a MFC: remove obsolete info 1999-05-01 03:37:29 +00:00
Andrey A. Chernov 54b3520f49 MFC: linger time in seconds 1999-04-30 19:55:04 +00:00
Bill Paul aa95b58b12 Add Tigon man page to Makefile 1999-04-30 19:35:08 +00:00
Bill Paul 46fec0ff03 Add the Alteon gigabit ethernet driver to -stable. It's been in -current
for a while now and there have been no complaints. Note: I have not merged
the vlan changes from -current, but you can still use the Tigon driver
without them.

Note2: I have also updated if_media.h to include the fiber optic ethernet
media types, including 1000baseSX which this driver needs.
1999-04-30 19:32:47 +00:00
Tim Vanderhoek d63de9794f MFC: "passwordtime" not "passwordperiod".
Discrepency-first-noticed-by: Luke <[email protected]>
Original-change-from-"passwordperiod"-by: committer of r.1.20 of
                                          local_passwd.c
1999-04-30 18:48:14 +00:00
Bill Paul 819d53c4d8 MFC: close PR# 10971. 1999-04-30 17:01:06 +00:00
Bill Paul c14a5c2599 MFC: close PR #10970 1999-04-30 16:45:24 +00:00
KATO Takenori 810fc904de Added $Id$. 1999-04-30 07:31:17 +00:00
Tim Vanderhoek 936438ff81 CFC: r.1.13: fix typos 1999-04-30 06:38:13 +00:00
Wes Peters fb822e1533 Fix strptime per Posix/Single UNIX Specification requirements.
Submitted by:	Sergey Babkin <[email protected]>
1999-04-30 06:01:45 +00:00
Tim Vanderhoek 20a75ac1dd The bsd.port.mk has moved. 1999-04-29 21:41:11 +00:00
Guy Helmer bd772ce0ef MFC: accept(2) can fail with EINTR.
PR:		docs/8858
1999-04-29 20:35:45 +00:00
Bill Paul 1d96151641 MFC: avoid letting child processes have their own children 1999-04-29 20:31:06 +00:00
Peter Wemm 49a4648681 Report byte count in >2G archives correctly
PR:		11389
Submitted by:	Adrian Chadd <[email protected]>
1999-04-29 20:00:47 +00:00
Guy Helmer b822599764 MFC: Explain when packets are tested by the firewall rules and what attributes
of packets can be tested.  Fix spelling and punctuation.  mdoc-ify lots
of punctuation.

PR:             docs/7437
MFC-Requested-By:	David O'Brien <[email protected]>
1999-04-29 19:22:13 +00:00
cvs2svn 8c1b14b02b This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-04-29 16:27:52 +00:00
Joseph Koshy d7c1a7a4a3 MFC: {rev 1.3} Add xref to nologin(5). 1999-04-29 09:45:38 +00:00
Joseph Koshy e96f8052f2 MFC: {rev 1.6} Add xref to nologin(8). 1999-04-29 09:43:49 +00:00
Joseph Koshy 807ce265b9 MFC: {rev 1.14} Add xref to nologin(5). 1999-04-29 09:42:21 +00:00
Joseph Koshy ad88bb91f5 MFC: {rev 1.11} Remove reference to edit(1); typo fix. 1999-04-29 09:33:39 +00:00
Joseph Koshy 9766b47de0 MFC: {rev 1.3} Typo fix. 1999-04-29 09:25:29 +00:00
Joseph Koshy 4753c606da MFC: {rev 1.9} Typo fix. 1999-04-29 09:22:01 +00:00
Foxfair Hu 4b425ef0db MFC: Correction of better display under chinese terminal.
Submitted by : [email protected]
1999-04-29 08:41:01 +00:00
KATO Takenori 0ab6951153 Sync with sys/i386/isa/clock.c revision 1.129.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-29 06:10:27 +00:00
Jordan K. Hubbard 88457bc093 MFC: new loader.conf conventions 1999-04-29 03:33:52 +00:00
Joseph Koshy 56f9b01170 MFC: {rev 1.3} /dev/rst0 -> /dev/rsa0 1999-04-29 02:54:27 +00:00
Joerg Wunsch dba28bafdb MFC rev 1.6, you can only create special files with mknod(2). 1999-04-28 10:07:04 +00:00
David E. O'Brien e61527ce98 MFC. 1999-04-28 10:02:07 +00:00
David E. O'Brien fa849d4c80 MFC: add tcpdcheck & tcpdmatch 1999-04-28 07:58:12 +00:00
Jordan K. Hubbard 35cf979250 MFC: copy to /usr/share/skel 1999-04-28 07:20:25 +00:00
Jordan K. Hubbard 8ccbe18c58 MFC: Add desktop menu. 1999-04-28 06:58:16 +00:00
Jordan K. Hubbard 1a582685e8 MFC: add /usr/local/sbin to paths 1999-04-28 06:43:25 +00:00
John Polstra 2929b92250 MFC 1.21 -> 1.22: Initialize "__progname" and "environ" before
calling _init() functions.
1999-04-28 01:27:56 +00:00
John Polstra 39ce49b43c MFC 1.20 -> 1.21: Give RPATH precedence over LD_LIBRARY_PATH, as per
the ELF spec.
1999-04-28 01:23:51 +00:00
John Polstra cf6b7b3464 MFC (1999/04/08 17:28:44 PDT):
Isolate architecture dependencies better.
Eliminate some asm().
Make the dynamic linker work if it is built as an executable.
1999-04-28 01:19:26 +00:00
John Polstra 85acef673b MFC 1.18 -> 1.19: Fix typos in comments. 1999-04-28 00:54:55 +00:00
John Polstra ca220c2011 MFC: Remove unused cruft and eliminate dependency on dynamic
linker's header file.

Makefile	1.7 -> 1.9
crt1.c		1.4 -> 1.5
1999-04-28 00:08:14 +00:00
Tim Vanderhoek a7271444c3 MFC: .Xr chflags 1 , 1999-04-27 23:34:21 +00:00
John Hay 551d0eca23 MFC: Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify the
timecounter as well.
1999-04-27 19:30:24 +00:00
John Polstra af0b9ae3ae MFC 1.74 -> 1.75: Print correct list of PC-Card drivers. 1999-04-27 18:39:23 +00:00
Jordan K. Hubbard a2663fbe3f MFC: no ee, better path. 1999-04-27 11:55:26 +00:00
Jordan K. Hubbard 65ea7b2745 MFC: PR#7081 1999-04-27 07:10:39 +00:00
Tim Vanderhoek 8a40bcbd54 CFC: doc setuid ignored for scripts 1999-04-27 03:57:01 +00:00
Jordan K. Hubbard eb314a0fb8 MFC: make pkg_info without args do something meaningful. 1999-04-27 02:30:54 +00:00
KATO Takenori 85ec5f821b Sync with sys/boot/i386/loader/Makefile revision 1.28.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-26 23:27:39 +00:00
KATO Takenori 7512219672 Sync with sys/i386/conf/Makefile.i386 revision 1.136.2.5.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-26 23:26:46 +00:00
Luigi Rizzo 3d1ad2d146 MFC: print bridging statistics with ``-p bdg''. 1999-04-26 16:20:21 +00:00
Luigi Rizzo 6bd3282dde MFC: make one pass through the firewall the default. 1999-04-26 14:59:02 +00:00
Daniel C. Sobral 656a3ef580 MFC parsing rules correction. 1999-04-25 21:42:23 +00:00
Dag-Erling Smørgrav 364310e9aa Looks like I forgot to MFC this one: activate sockstat(1). 1999-04-25 16:47:46 +00:00
Dag-Erling Smørgrav f4af7115d8 MFC: increase kvm size to 1 GB. 1999-04-25 12:44:06 +00:00
Robert Nordier edf95613d3 MFC: Activate boot0cfg. 1999-04-25 11:41:47 +00:00
Robert Nordier 2e8ace7425 MFC: Add boot0cfg from -current. 1999-04-25 11:35:58 +00:00
Robert Nordier f71cc96878 MFC: Sync with -current version. 1999-04-25 11:16:20 +00:00
Brian Somers 65502919d6 MFC: Xircom GlobalACCESS modem 1999-04-25 10:29:58 +00:00
Luigi Rizzo 29d200dec4 MFC: move igmp_leavegroup() after if_delmulti. 1999-04-25 07:09:54 +00:00
Daniel C. Sobral 581ee26956 Add /boot/defaults. Hurray! My first broken world! And -stable, to
boot... say, I couldn't find any pointy hats on freebsdmall, could
anyone indicate a good place for buying them?
1999-04-25 04:11:48 +00:00
David E. O'Brien 65b0dcf294 MFC: rev 1.3 (use .ko rather than non-existant LKM's). 1999-04-24 21:56:05 +00:00
Andrey A. Chernov 66eb50af28 login_auth MFC 1999-04-24 21:49:30 +00:00
David E. O'Brien a224b1539c MFC: rev 1.6 (Alpha has never had lkm's) 1999-04-24 21:49:04 +00:00
David E. O'Brien c296021c3f Add libwrap to the mix. 1999-04-24 21:16:12 +00:00
David E. O'Brien 14a303fe09 MFC. 1999-04-24 21:15:23 +00:00
Daniel C. Sobral 9428da8834 Notice Joliet Extensions. Add a comment about boot blocks, elf kernels,
bootstrapping... that sort of thing.
1999-04-24 18:58:07 +00:00
Poul-Henning Kamp 727c2b45e0 MFS: braino in v_id handling. 1999-04-24 18:16:19 +00:00
Daniel C. Sobral 311a1d4e57 Add support for Joliet extensions to the iso 9660 filesystem. 1999-04-24 17:54:00 +00:00
Daniel C. Sobral 55f7808c5b Bring loader.conf to the stable branch. 1999-04-24 17:44:43 +00:00
cvs2svn 25b2f63453 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-04-24 17:25:36 +00:00
John Hay d1cfb6ef66 MFC: Fix calculation of "nice" value. 1999-04-24 09:44:29 +00:00
John Hay defb7d0246 MFC: Make the ipx part of netstat work again. 1999-04-24 09:36:39 +00:00
John Hay ad421e0e77 MFC: Make it possible to use lo0 as an internal IPX network. 1999-04-24 09:25:44 +00:00
John Hay edd4323f74 MFC: Teach IPXrouted to handle the internal net properly and add an option
to disable responses to SAP_GETNEAREST_SERVER requests.
1999-04-24 09:23:34 +00:00
David E. O'Brien 93ab83b7c3 Comment out the pcic module. Right now it is causing problems for people,
so we'd much rather they statically compile the pcic code into their kernels.

I'll leave it in -CURRENT so maybe the module will get some attention, but
-STABLE isn't the place for it right now.

Reviewed by:	msmith, Nate, imp
1999-04-24 03:10:59 +00:00
David E. O'Brien 6109ac74d3 nlpt->lpt (lpt->olpt in LINT) 1999-04-24 02:30:19 +00:00
David E. O'Brien 82efc740e0 include ppbus/lpt.h rather than ppbus/nlpt.h 1999-04-24 02:25:43 +00:00
David E. O'Brien fe882d9a25 nlpt->lpt 1999-04-24 02:24:27 +00:00
David E. O'Brien 8124295912 nlpt -> lpt. 1999-04-24 02:23:42 +00:00
David E. O'Brien fe8010ef44 Bring lpt.{c,h} from -CURRENT. These files are esentually the same as the
previous nlpt.{c,h}.  MAJOR history was lost when nlpt.{c,h} -> lpt.{c,h}
in -CURRENT as these files weren't repository copied.  So for the record:

Major ppbus commit with:

        + ECP parallel port chipset FIFO detection
        + DMA+FIFO parallel I/O handled as chipset specific
        + nlpt updated in order to use the above enhanced parallel I/O.
          Use 'lptcontrol -e' to use enhanced I/O
        + Various options documented in LINT
        + Full IEEE1284 NIBBLE and BYTE modes support. See ppbus(4) for
          an overview of the IEEE1284 standard
        + Detection of PnP parallel devices at boot
        + Read capability added to nlpt driver to get IEEE1284 compliant
          printer status with a simple 'cat /dev/lpt0'
        + IEEE1284 peripheral emulation added to BYTE mode. Two computers
          may dialog according to IEEE1284 signaling method.
          See PERIPH_1284 option and /sys/dev/ppbus/ppi.c

All this code is supposed to provide basic functions for IEEE1284 programming.
ppi.c and lpt.c may act as examples.
1999-04-24 02:20:22 +00:00
Jordan K. Hubbard d40d1a4744 MFC: remove outdated registration code. 1999-04-24 02:02:29 +00:00
SADA Kenji de03fe00c3 Typo of `same_ports' directive.
Submitted by:	Masaki Nohtomi <[email protected]>
1999-04-24 01:42:44 +00:00
Guy Helmer 44331db7ce MFC: local_cron -> local_periodic 1999-04-23 18:28:10 +00:00
Guy Helmer 51e73d8964 MFC: Ref kld(4). 1999-04-23 16:15:50 +00:00
Brian Somers 433d0cdf1f MFC: Spelling police 1999-04-23 13:46:28 +00:00
Peter Wemm 93df6c58a4 Update VM86 comment - it's used for VESA too.
PR:		7976
Submitted by:	Stefan Eggers <[email protected]>
1999-04-23 06:30:10 +00:00
Semen Ustimenko fbb5d2be55 MFC: Lack of volaile keyword in CSR_READ_* and CSR_WRITE_*
macroses fixed, ifq_maxlen initialization added, fix
to PR kern/10575 applied.
1999-04-23 05:47:53 +00:00
Greg Lehey 8650e50793 MFC: Fix poor heading format.
Submitted-by:  Matthew Fuller <[email protected]>
PR:            docs/11271
1999-04-23 03:54:19 +00:00
Foxfair Hu 9c9555ab46 Repair a breakage while making world.
Submitted by: Chris Timmons <[email protected]>
Oked by : make world
1999-04-23 02:36:19 +00:00
Alexander Langer 765428858e MFC (rev 1.35): diagnostic typo fix, -alldir --> -alldirs
Prodded by:	obrien
1999-04-22 14:59:08 +00:00
Foxfair Hu d626439845 Bring in the src files of my last commit, I missed it.
Indicated by : make world.
1999-04-22 08:34:09 +00:00
SADA Kenji aca1b4450a Function ``msgrcv()'' could copy larger data than it should do
under some circumstances.
PR:	kern/10765
Submitted by:	Yasuhito FUTATSUKI <[email protected]>
1999-04-21 13:26:34 +00:00
Martin Cracauer a27ff28be2 Back out my previous fix for non-interruptable interactive shell loops
(PR bin/9173), which broke interactive lopps completely (PR bin/11256).

This is not an MFC, I will committ a different fix for the original
problem to -current.

PR:		bin/11256
1999-04-21 11:10:13 +00:00
Brian Somers 8776658ddf int -> size_t 1999-04-21 08:13:25 +00:00
Brian Somers ebcabd7d7d MFC: Split the recorded chap challenge into two. 1999-04-21 08:06:06 +00:00
Brian Somers 7a8c9ca4e3 MFC: If ioctl TIOCMGET fails, continue. The device may be
a pseudo device created by an interactive version of
     rlogin/telnet/ssh & friends
1999-04-21 08:05:55 +00:00
David E. O'Brien 7a32bda9b2 MFC: compat3x addition. 1999-04-21 07:45:57 +00:00
Foxfair Hu 46646f0d0f MFC: Bring in the source for Chinese(big5) LC_TIME. 1999-04-21 07:45:38 +00:00
Foxfair Hu 2eee630443 MFC: Chinese big5 LC_TIME support.
MFC.
1999-04-21 07:37:43 +00:00
Foxfair Hu 35ac64893a MFC: Chinese big5 LC_TIME support. 1999-04-21 07:37:17 +00:00
Joseph Koshy 6bf55736fa MFC: {rev 1.581} Document the `makeoptions' parameter. 1999-04-21 04:53:35 +00:00
Dmitrij Tejblum 449c4c1899 MFC rev.1.41: remove noisy printfs. 1999-04-20 22:43:34 +00:00
Bill Fumerola f79ee4379a MFC: IPX address formatting nit. (1.24 -> 1.25) 1999-04-20 22:07:05 +00:00
Dmitrij Tejblum b606b68067 MFC rev.1.206: fix lock up in getnewbuf() with interruptible NFS. 1999-04-20 19:54:20 +00:00
David E. O'Brien adeda0ce1e MFC: bring tcp_wrappers to 3-STABLE
Ok'ed by:	markm
1999-04-20 19:20:03 +00:00
David E. O'Brien 52cffde09b MFC:
* rev 1.84: snd_nxt, not rcv_nxt, when calculating the ISS during TIME_WAIT
* rev 1.83: fix warning to pass -Wall -Wcast-qual
1999-04-20 19:09:15 +00:00
Joerg Wunsch 0be411a0ee MFC: rev 1.18, don't clobber "prompt" iff already set. 1999-04-20 12:08:48 +00:00
Joerg Wunsch a49fb71365 MFC: rev 1.21, make <DEL> an alternative rubout character. 1999-04-20 12:02:00 +00:00
Brian Somers a173c064c2 o Support ranges in ``alias port''.
o Avoid some alpha/Wall warnings.
o Becareful about aligning mbufs before casting bits of them.
o Don't accept pap/chap packets unless we're in the right PHASE.
o Be smarter when detecting HDLC headers.
o Use a combination of the peers accmap and our own when async
  encoding, and back out the previous LCP changes.
o Add an extra sig_Handle() to avoid hanging under certain
  curcumstances.
o Tidy up macro usage in the man page.
o Don't change \r\n to \r\r\n in tty raw mode.
1999-04-20 08:09:19 +00:00
Justin T. Gibbs cbb1820357 MFC: Preserve termination settings in shutdown hook. 1999-04-19 21:37:50 +00:00
Justin T. Gibbs 5d8f871a7c MFC: Properly report auto sense failures. Give request sense operations
a 5 sec timeout.
1999-04-19 21:37:28 +00:00
Justin T. Gibbs 06d646844d MFC: Use macros for access head of camq heap. 1999-04-19 21:36:45 +00:00
Justin T. Gibbs 0682554625 MFC: Offset heap pointer for more efficient algorithm.
Handle CAM_AUTOSENSE_FAILED, with other scsi status errors.
1999-04-19 21:36:28 +00:00
Nick Hibma 8ce3c2ae73 Remove the lines for the USB support. It is not ready for public
consumption.
1999-04-19 20:11:32 +00:00
Masafumi Max NAKANE 50ed1310b7 MFC: typo fix. 1999-04-19 18:54:06 +00:00
Luoqi Chen fc08bd7848 Fix a potential hang situation.
PR:		i386/2108
1999-04-19 18:52:34 +00:00
KATO Takenori 28d4ebaa02 Sync with sys/i386/conf/GENERIC revision up to 1.143.2.7.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-19 16:09:00 +00:00
Semen Ustimenko e497e8432b MFC: Included ntfs.ko into world build. 1999-04-19 14:29:32 +00:00
Semen Ustimenko d45b96eb9c MFC: Included mount_ntfs into world build. 1999-04-19 14:27:32 +00:00
David E. O'Brien 3255a2698a Add beautiful descriptions of PCI network drivers from rev 1.151. 1999-04-18 23:37:02 +00:00
John Birrell 5d0d0d1153 Initialise the magic number for the initial thread so that people can
kill (signal) it.

Submitted by: Steve Bernacki, Jr. <[email protected]>
1999-04-18 21:36:45 +00:00
Jordan K. Hubbard a8fbfa1e30 MFC: Add entries for Intel 82443GX chipset. 1999-04-18 18:44:53 +00:00
KATO Takenori c81327d8ae Sync with sys/dev/syscons/syscons.h revision 1.46.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-18 15:01:28 +00:00
KATO Takenori b5672254d2 Sync with sys/i386/isa/sio.c revision 1.224.2.5.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-18 14:59:09 +00:00
KATO Takenori 181fdc454f Sync with sys/i386/i386/machdep.c revision 1.322.2.5.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-18 14:58:01 +00:00
KATO Takenori 7e1a3c3a13 Sync with sys/i386/isa/wd.c revision 1.186.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-18 14:55:28 +00:00
Dag-Erling Smørgrav 056338ca02 MFC: PCX decoder 1999-04-17 19:32:01 +00:00
Dag-Erling Smørgrav e804bc5bb1 MFC: reorganize macros 1999-04-17 19:31:18 +00:00
Jordan K. Hubbard 1889c3f37b MFC: SYSVSEM 1999-04-16 18:27:48 +00:00
Andrew Gallatin e291904f8c backport switchtime zeroing from -current 1999-04-16 17:01:48 +00:00
Nick Hibma fbaa5edc20 MFC: remove confusing entries. The drivers are not yet implemented. 1999-04-16 16:30:24 +00:00
Jonathan Lemon 3864881d0a MFC, revisions 1.20, 1.22, which I missed last time.
Reminded by: Kazu
1999-04-16 15:58:21 +00:00
Guy Helmer 9202996103 MFC: kld.4 man page. Enable installation of kld.4 in Makefile and fix
disordering (although I missed a couple of changes within the MLINKS).
1999-04-16 02:29:09 +00:00
Guy Helmer 1c1f1fdb44 MFC: Update list of supported interfaces and mdoc-ify. 1999-04-16 02:14:07 +00:00
Guy Helmer 019e58f1d2 MFC: Bridging support. 1999-04-16 01:57:05 +00:00
Jonathan Lemon 039a180f50 Sync up vm86 changes to -current 1999-04-15 21:01:14 +00:00
cvs2svn 34d443c011 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-04-15 13:40:44 +00:00
David E. O'Brien 6c031e3e0a MFC: rev. 1.26 1999-04-15 07:21:42 +00:00
Bill Paul ae2d8c4767 MFC: add support for 3c900B-TPC, fix media selection for 3c905B-COMBO,
change TX queuing strategy a little.
1999-04-15 03:19:47 +00:00
John Polstra 1fe4a7e193 MFC 1.4 -> 1.5: Fix breakage at -O3. 1999-04-14 20:52:55 +00:00
John Polstra 55c2cba9c1 MFC: Reverse C++ constructor and destructor order for consistency
with gcc and egcs.  Bump __FreeBSD_version to 31002 to reflect the
change.
1999-04-14 20:50:28 +00:00
John Polstra fac0c6949e MFC: Fix compilation with "-g", and eliminate the need for
"-Wno-unused" in the Makefile.
1999-04-14 20:43:26 +00:00
Bill Paul 9ba027fb24 MFC: fix mode selection for non-MII NICs so that all modes work right
when selected, document that NWAY support for older 82c168 boards is
broken and manual override via ifconfig should be used instead.
1999-04-14 19:44:53 +00:00
Martin Cracauer 8dd249b01c MFC: example fixes 1999-04-14 12:47:07 +00:00
John Polstra 8b0a180c58 MFC (3 April 1999): Enable BSD/OS binaries to run in configurations
that have a large kernel virtual address space.
1999-04-14 04:55:24 +00:00
Bill Paul 5cfe565a90 MFC: close PR #11122. 1999-04-14 04:06:42 +00:00
John Hay 868efb40db MFC: Update to latest nanokernel and ppsapi stuff. 1999-04-13 18:55:21 +00:00
Bill Paul ed4f02c56e MFC: turn on 'promisc' bug workaround all the time, set busctl register
to make certain machines happy.
1999-04-13 17:31:40 +00:00
Semen Ustimenko e1a4e5a754 MFC: Removed DIAGNOSTIC option redefinition. 1999-04-13 14:56:35 +00:00
Guy Helmer afbd8e6d56 MF2.2: Bridging support (Andres <[email protected]> has verified the operation
of this patch in 3.1-stable).
1999-04-13 13:31:23 +00:00
Guy Helmer 50def09948 MFC: Correct ref editline(3). 1999-04-13 02:44:04 +00:00
Guy Helmer ce600a5650 MFC: kern.somaxconn -> kern.ipc.somaxconn
PR:		docs/11057
1999-04-13 02:39:06 +00:00
Guy Helmer bc150d2367 MFC: typo fix, additional references to sysctl variables that affect
open file and process limits.
1999-04-13 02:33:59 +00:00
Guy Helmer 4c3cbd967e MFC: LKM/moload -> KLD/kldload 1999-04-13 02:21:10 +00:00
Bill Paul 7abc015f1e MFC: rewrite TX section, set ifq_maxlen to a sane value 1999-04-12 21:39:14 +00:00
Bill Paul f55bddb79c MFC: don't touch general purpose register on boards with MII-based
transceivers.
1999-04-12 21:14:36 +00:00
Bill Paul 9904da5844 MFC: add support for 3cSOHO100-TX "hurricane" card. 1999-04-12 20:39:52 +00:00
Martin Cracauer b68e243aac MFC: Use sh -T flag. 1999-04-12 15:55:56 +00:00
Martin Cracauer 12a081777a MFC: Merge the fixes that have been in -current for a while:
-T flag
-a flag
breakability of interactive loops
quote fix by Tor Egge/NetBSD/Havard Eidnes
various cosmetic changes
1999-04-12 15:46:02 +00:00
Brian Somers 673e379c88 MFC: remove extraneous space 1999-04-12 15:29:11 +00:00
Bruce Evans a807354dc4 YAMFC (all: 1.191 (cosmetic), 1.190 (missing drive selects sometimes
delayed the probe), 1.189 (operator precedence bug annulled a sanity
check in wddump())).
1999-04-12 15:28:32 +00:00
Dag-Erling Smørgrav 98d44ae650 Typo in comment. 1999-04-12 10:07:15 +00:00
John Hay 177c52a7af Add lp.4. This should get make release a little further. 1999-04-12 05:44:24 +00:00
Bill Paul 4443516ab4 MFC: fix initialization of busctl register. 1999-04-12 02:48:19 +00:00
Dag-Erling Smørgrav c4b84b50c2 MFC: Don't build man page indices if NOMAN is defined. 1999-04-11 21:52:42 +00:00
Bill Paul 6ce60554a8 MFC: updates to xl driver (support for 3c905B-COMBO, longer timeout
during reset, try to avoid failing attach if pci_map_port() bogusly fails).
1999-04-11 17:46:46 +00:00
Brian Somers cfbfc4af57 MFC: OR the peers ACCMAP with our own when doing
ASYNC framing.
1999-04-11 08:53:39 +00:00
Bill Paul d939db6771 MFC: turn on promisc bug workaround for 82c168. 1999-04-11 05:16:07 +00:00
Bill Paul 68f62d496d MFC: add support for 82c168 chip with internal transceiver. And
I mispelled Brian's last name: it's Walenz, not Walenze. Sorry about
that Brian.
1999-04-10 18:46:59 +00:00
Dag-Erling Smørgrav 1fc62fdf0e MFC: Allow the user to specify a firewall script. 1999-04-10 10:59:15 +00:00
David E. O'Brien 0f3349cf62 Move lp.4 from man4.i386/ (as done in -CURRENT) and MFC.
Replace seperate plip.4 with a link to lp4 (as in -CURRENT).

Document the nlpt device.
1999-04-10 06:29:24 +00:00
David E. O'Brien 6bc54a9d14 Complete MFC. (update to 2.0b1pl18) 1999-04-09 18:49:30 +00:00
John Polstra 5074a734a2 MFC 1.7 -> 1.8: Add missing declaration.
Broken by:	nsayer, in both current and RELENG_3
1999-04-09 17:12:47 +00:00
Dag-Erling Smørgrav b7ae5df2f8 MFC: Allow setting MAXFILES in kernel config. 1999-04-09 16:37:22 +00:00
Eivind Eklund 7e123ddef2 MFC: Respect DESTDIR 1999-04-09 14:17:37 +00:00
Jordan K. Hubbard ab8146f4b4 MF22: more explanatory motd 1999-04-08 22:39:59 +00:00
Julian Elischer 1d4ad68b18 Add a example that builds a pci driver..
Submitted by: "Christopher R. Bowman" <[email protected]>
comments and corrections welcome
1999-04-08 18:47:37 +00:00
Bill Paul 50c20bd546 MFC: make ASIX driver work on FreeBSD/alpha, add to GENERIC. 1999-04-08 17:45:22 +00:00
Bill Paul 15f44ef184 MFC: support Compex RL100-TX Macronix NIC. 1999-04-08 17:40:27 +00:00
Guy Helmer fcfaa07f6d MFC: LKM/modload -> KLD/kldload.
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-08 14:04:30 +00:00
Guy Helmer 6bde7d9659 MFC: modload -> kldload, add kldload(8) ref.
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-08 14:00:59 +00:00
Guy Helmer 04af86ea98 MFC: LKM/modload -> KLD/kldload
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-08 13:57:52 +00:00
Guy Helmer d3153d2124 MFC: LKM -> KLD
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-08 13:53:31 +00:00
Satoshi Asami ed9bb7a467 MFC (delete plan9, add palm). 1999-04-08 08:07:54 +00:00
Jordan K. Hubbard bb4716f92b MFC: read the errata! read the errata! 1999-04-08 06:00:19 +00:00
Justin T. Gibbs cb41e73fdf MFC: Improve bt_cmd(). 1999-04-07 23:11:20 +00:00
Justin T. Gibbs 928a717501 MFC: Correct invalid #define in 93cx6.c. Freeze devq on all scsi status errors. 1999-04-07 23:10:04 +00:00
Justin T. Gibbs 6fae6b6c5b MFC: Improve error classification and deal with firmware queue full bug. 1999-04-07 23:09:27 +00:00
Justin T. Gibbs 90e9d5cdd2 MFC: Remove camq_regen. 1999-04-07 23:09:03 +00:00
Justin T. Gibbs 0addf4bb92 MFC: Remove camq_regen. Fix heap code off by 1 error. 1999-04-07 23:08:55 +00:00
Julian Elischer c8bcc50a45 MFC: two cosmetic changes. 1999-04-07 22:25:52 +00:00
Jordan K. Hubbard 43061d4272 sendmail is now at 8.9.3 1999-04-07 17:01:38 +00:00
Peter Wemm 983e405f06 Update for official 8.9.3 header lines patch 1999-04-07 09:31:37 +00:00
Peter Wemm e342373f93 MFC: Upgrade sendmail from patched 8.9.2 to proper 8.9.3 1999-04-07 09:30:13 +00:00
Peter Wemm ac082e91fc MFC rev 1.24 - reset rlimits for ppplogin
PR:	10399
1999-04-07 05:37:15 +00:00
Peter Wemm 64f0483a33 MFC: al=username autologin support
Submitted by:	"Andrew J. Korty" <[email protected]>
1999-04-07 05:35:25 +00:00
Peter Wemm 0d0b02a883 MFC rev 1.11 - support loading kernel at other than 0xf0100000. 1999-04-07 05:20:54 +00:00
John Polstra 8074953467 MFC 1.16 -> 1.17: Resolve undefined weak references to 0. 1999-04-07 05:12:41 +00:00
John Polstra ec22652a5d MFC 1.15 -> 1.16: Handle NULL argv. 1999-04-07 05:10:04 +00:00
Alan Cox ce8ae058b7 MFC: part of rev 1.228. (Use "loadandclear" to update the pte,
eliminating a race condition on SMPs.)
1999-04-07 02:50:14 +00:00
John Polstra d6175e110a MFC 1.2 -> 1.3: Fix bug in handling passwordless accounts. 1999-04-06 19:50:31 +00:00
Guy Helmer 8b48cc9b57 MFC: Replace LKM with KLD.
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-06 14:06:17 +00:00
Guy Helmer b44890900c MFC: Replace LKM with KLD.
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-06 13:59:14 +00:00
Greg Lehey 66a8513f14 MFC: Check in -CURRENT version of vinum 1999-04-06 09:07:55 +00:00
Greg Lehey 45c6577864 MFC: Commit -CURRENT version of vinum kernel components 1999-04-06 09:05:58 +00:00
Greg Lehey 4a548e4dec Add Vinum partition type 1999-04-06 09:03:19 +00:00
Greg Lehey 3605c31579 MFC: Check in -CURRENT version of vinum(8) 1999-04-06 08:59:36 +00:00
Jordan K. Hubbard 8aed64a793 MFC: allow device reprobe 1999-04-06 08:27:48 +00:00
Brian Somers 1258b7bf11 MFC: When we get an LCP TLU, go into PHASE_AUTHENTICATE
from any other phase besides PHASE_NETWORK, otherwise
     there's a chance that we end up sending auth packets
     and dropping the replies.
1999-04-05 21:52:53 +00:00
Jun Kuriyama bbc772a368 MFC:
- Cleanup usage of err() and warn().
- Add error handling for ioctl().
1999-04-04 13:23:40 +00:00
KATO Takenori ae656b51b3 MFC: fix for console mouse. 1999-04-04 02:53:57 +00:00
John Polstra 02e9c8bd0b MFC 1.12 -> 1.13: Fix macro name typo. 1999-04-03 22:48:30 +00:00
Gary Palmer 9db0e40cff Change default release name from 3.0 to 3.1 1999-04-03 20:54:00 +00:00
David E. O'Brien ff7978e93b Default to UDP protcol until FreeBSD's NFS/TCP gets stronger. 1999-04-03 09:27:44 +00:00
KATO Takenori 097185f4c3 MFC: Use files under sys/boot/i386.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-02 09:01:02 +00:00
Andrey A. Chernov 97352f41bd MFC: sign extension bug 1999-04-01 22:32:13 +00:00
Steve Price ba1f0320e6 MFC: fixup botched previous commit. 1999-04-01 19:44:17 +00:00
Nick Sayer d6b900db5d 1.103.2.1 merged the changes made in 1.105 to RELENG_3. Fixes the
ntoh?() issue when passing bridged packets through ipfw.

PR:		10818
1999-04-01 14:56:17 +00:00
Nick Sayer dc7e78f805 rev 1.4.2.1 (and this one) merged the changes from v1.7 into RELENG_3.
Fixes the ntoh?() issue when passing bridged packets through ipfw.

PR:		10818
1999-04-01 14:54:53 +00:00
Bill Paul a33a3aa080 MFC: kludge ps(1) to read uarea on FreeBSD/alpha via kvm_read(). 1999-04-01 14:47:33 +00:00
KATO Takenori 2c9e24196c Sync with sys/i386/conf/GENERIC and files.i386 revisions 1.143.2.5 and
1.220.2.2, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-01 14:47:01 +00:00
Nick Sayer adb4d428d1 perl is in /usr/bin, not /usr/local/bin 1999-04-01 08:10:05 +00:00
Guy Helmer 3b86855144 MFC: KLD and kldload references. 1999-04-01 02:17:28 +00:00
Bill Paul 29314a0215 MFC: cleaups and update for FreeBSD/alpha. 1999-04-01 02:13:13 +00:00
Guy Helmer 8de0a43acc MFC: Spelling, references, and nroff macros. 1999-04-01 02:10:38 +00:00
John Polstra 0a0dbfed82 MFC: spppcontrol.1 -> sppcontrol.8 1999-04-01 00:11:58 +00:00
cvs2svn 83adca2d17 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-04-01 00:01:52 +00:00
Satoshi Asami fa2af5d1c1 MFC (${DESTDIR}, beforeinstall). 1999-03-31 23:58:41 +00:00
Nick Sayer a14d217378 MFC -
1. Upgrade T225 download code supplied by vendor

2. Change width of SX ISA card. It's only 32k wide, not 64.
1999-03-31 23:57:12 +00:00
Bill Paul e7aec0968b MFC: shorten device names, hide warning message 1999-03-31 16:15:55 +00:00
Nick Sayer c3dccc3d4e Merge RELENG_3 and HEAD 1999-03-31 15:24:27 +00:00
Nick Sayer abb88c830b MFC 1999-03-31 14:12:52 +00:00
Nick Sayer b382fec348 MFC 1999-03-31 14:04:51 +00:00
Nick Sayer ad00f8d992 MFC, if_tx.c bridging support 1999-03-31 13:53:20 +00:00
Satoshi Asami 62cfbc3eee MFC: /var/db/pkg mode. 1999-03-31 13:39:46 +00:00
Satoshi Asami a692e3fcb4 MFC: create /var/db/pkg. 1999-03-31 07:07:17 +00:00
Bill Paul cc03fdef42 MFC: put in missing ifmedia_set() and final changes for FreeBSD/alpha,
add device tl0 to GENERIC config for FreeBSD/alpha now that I've tested
it and verified it works.
1999-03-31 04:12:30 +00:00
David E. O'Brien e7e156d1f8 MFC: rev 1.2 (no "-w" option) 1999-03-30 21:22:25 +00:00
Bill Paul eb7e671215 MFC: fix line wrap bogon. 1999-03-30 19:35:22 +00:00
Bill Paul 6303272bff MFC: add support for bitrate NICs and update for FreeBSD/alpha.
Forgotten from previous message: also remove some #ifdef'ed debug code
which was never turned on and that I don't need anymore.
1999-03-30 17:10:31 +00:00
Poul-Henning Kamp 4e7d607646 MFC: remove unneeded prototypes. 1999-03-30 11:49:29 +00:00
Brian Somers c08a41b79e MFC: redirect_port ranges and better const correctness. 1999-03-30 10:18:01 +00:00
Brian Somers d5d3685ca8 MFC: Disable reads on our ICMP socket. We only use it for sending. 1999-03-30 10:11:55 +00:00
Joerg Wunsch 65c26b420f MFC: replace the ugly and potentially dangerous find ... -exec rm by
the safer find ... -delete.
1999-03-30 08:58:39 +00:00
Wes Peters 132d47727e Turn on PCI busmaster in the probe routine in case the
BIOS did not.

PR:		10150
Reviewed by:	dg
1999-03-30 04:51:43 +00:00
Satoshi Asami c90c0fd81b MFC: create .mkversion. 1999-03-29 23:03:32 +00:00
Kenneth D. Merry 1465191019 MFC: Delete all references to the aic driver. 1999-03-29 17:59:38 +00:00
Kazutaka YOKOTA c4d10618b7 MFC: Make the splash screen alternate "fade out" and "fade in" action at
regular intervals, when the module is used as a screen saver (rev. 1.7).
1999-03-29 15:15:21 +00:00
Kazutaka YOKOTA ed21cd66de MFC: Another round of fix for palette loading (rev.1.21). 1999-03-29 15:11:47 +00:00
David E. O'Brien 4416a66617 Document that Tar now supports compressing via bzip2. 1999-03-29 11:30:25 +00:00
David E. O'Brien ef2de48c96 MFC: document -y/--bzip2/--bunzip2 flag. 1999-03-29 11:26:35 +00:00
David E. O'Brien dcc7b13c47 MFC: rev 1.16 add -y/--bzip2/--bunzip2 flag. 1999-03-29 11:22:34 +00:00
Brian Somers 47b22b3a63 MFC: Increase the timeout and wait for ``PPP'' in the compuserve
example.
1999-03-28 00:23:29 +00:00
Bill Paul d7dcf37f89 MFC: make 3Com and PNIC PCI drivers work on FreeBSD/alpha. 1999-03-27 20:45:56 +00:00
Steve Price 8b18a6056e MFC: bump __FreeBSD_version to mark new implementation of dladdr(3). 1999-03-27 05:28:18 +00:00
Jordan K. Hubbard fd45092dc4 MFC 1999-03-27 02:20:17 +00:00
Nate Williams fe44604de4 MFC: Install manpage. 1999-03-26 21:27:33 +00:00
Luigi Rizzo c787024c9f one more typo.... will i ever fix this... 1999-03-26 16:48:55 +00:00
Luigi Rizzo adc4d10694 MFC: fix length handling with bridged packets. 1999-03-26 14:19:40 +00:00
Nate Williams 96da3cccfd MFC: Make setting the PCIC irq via the boot file work. 1999-03-26 00:21:03 +00:00
Chris Timmons 2cc38b715d MFC: Replace a missing quotation. 1999-03-25 16:41:04 +00:00
KATO Takenori f6bea74991 Sync with sys/i386/isa/sio.c revision up to 1.224.2.4.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-25 13:35:31 +00:00
Brian Somers e13514c573 MFC: Undo possible damage done by the new TUNSIFMODE ioctl
in FreeBSD-current.
1999-03-25 11:38:17 +00:00
KATO Takenori 7ca096a5f1 Sync with sys/i386/conf/options.i386 revision 1.103.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-25 08:55:34 +00:00
Brian Somers e3a433e3c3 MFC: Forgotten share/examples/ppp 1999-03-25 07:06:50 +00:00
Brian Somers 18c1f6b57b MFC: PacketAliasProxyRule takes a const char * 1999-03-25 06:48:31 +00:00
Bill Paul 8584e4edd8 MFC: fix typos. 1999-03-25 01:12:36 +00:00
Steve Price df7865b8fb MFC: support for Cardinal MVP288IV PnP modem. 1999-03-25 00:33:47 +00:00
Nate Williams 77436fb2af MFC: Correct dladdr() functionality. 1999-03-24 23:47:56 +00:00
Nate Williams f48da8108b MFC: Install with -fschg to protect the loader from accidental removal. 1999-03-24 23:39:14 +00:00
Nate Williams f1f94af205 MFC: dladdr(3) support. 1999-03-24 23:38:40 +00:00
Brian Somers 1554792375 ppp sample files are now in share/examples/ppp 1999-03-24 21:04:46 +00:00
Brian Somers cfab254342 MFC: ppp sample files. 1999-03-24 21:01:27 +00:00
Brian Somers 48a71d7a41 MFC: Add a ``const'' and remove some inconsistent prototype args. 1999-03-24 20:29:42 +00:00
Brian Somers d6a3b4c4f1 MFC:
o Add radius support.
o Add ``alias proxy'' and ``alias pptp'' support.
o Support server-side M$Chap authentication.
o Support client & server-side M$LANMan authentication.
o Support ``!program'' passwords.
o Use pipes only for unidirectional IPC.
o Extend ``set *retries'' commands.
o Don't ResetReq when doing Predictor compression.
o Delay carrier detection by a default of 1 second and implement
  ``set cd''.
o Implement incremental redial timeouts via ``set redial''.
o Don't use hard-coded quotes or brackets in the man page.
o ``random'' redials means 1-30 seconds, not 0-29.
o Close rather than hanging if the peer never responds to auth requests.
o Nuke outstanding authentication request timers when the layer is closed
  unexpectedly.
o Log CCP errors as in the CCP log (not as a WARNING).
o Ensure that all TLU/TLD and TLS/TLF pairs are balanced.
o OR the peers ACCMAP with our own during LCP negotiations.
o Set the interface netmask correctly and show it in ``show ipcp''.
o Drop the correct diagnostic connections and remove the correct local
  domain socket from ``set server''.
o If our config file doesn't exist, moan about that rather than claiming
  that the ``default'' section doesn't exist.
1999-03-24 18:03:14 +00:00
Steve Price a40a0bfc9a MFC: add support for USR3090 PnP modem. 1999-03-24 18:00:31 +00:00
Brian Somers b568bd022a MFC: Move natd to network_pass1 1999-03-24 17:25:26 +00:00
Brian Somers ddae28cc0f MFC: Mention natd_program 1999-03-24 17:24:32 +00:00
Brian Somers 210037eabf MFC: Add natd_program 1999-03-24 17:20:44 +00:00
Brian Somers 2e5a277d48 MFC: add natd 1999-03-24 17:13:31 +00:00
Brian Somers e6a784e050 MFC: Bring natd to life in sbin 1999-03-24 17:13:04 +00:00
Brian Somers 8052fe3eb1 MFC: Upgrade to libalias version 3 1999-03-24 17:12:01 +00:00
Brian Somers 21257c3482 MFC: usr.sbin/natd -> sbin/natd 1999-03-24 17:11:10 +00:00
Steve Price 17d5e32fa2 MFC: defer expansion of $PATTERN to avoid picking up a value from the
user's environment.
1999-03-24 17:08:02 +00:00
Luigi Rizzo 8339424f0e MFC: add missing #include "opt_bdg.h" 1999-03-24 12:45:45 +00:00
Jordan K. Hubbard ef9376fd61 MFC: document upgrade, work-around for doscmd. 1999-03-24 04:26:19 +00:00
Bill Fumerola 49b6245fb5 MFC: Duplicate line removal (1.10 -> 1.11) 1999-03-23 23:09:38 +00:00
Doug Rabson bc4487071e MFC: Allow module handler to veto unload before editing cdevsw.
PR: kern/10653
1999-03-23 21:39:54 +00:00
Justin T. Gibbs 5ded49a6b2 MFC 1999-03-23 07:41:53 +00:00
Alan Cox 8710f8dfce MFC: 1.145
Submitted by:	"John S. Dyson" <[email protected]>
1999-03-23 05:08:07 +00:00
Joseph Koshy 1a69e00354 MFC: {rev 1.25} Typo fix. 1999-03-23 05:03:25 +00:00
Alan Cox 4b6a904be5 MFC: 1.128
PR:		kern/9515
1999-03-23 04:38:33 +00:00
Alan Cox 9c29a5176e MFC: 1.101 1999-03-23 04:12:49 +00:00
Poul-Henning Kamp 4cebee8685 MFC:
tc_adjustment is 64 bits now.
1999-03-22 14:50:47 +00:00
Poul-Henning Kamp bccfd2a65c MFC:
Make the same size rounding error both ways.
1999-03-22 14:02:27 +00:00
Poul-Henning Kamp 84f52f714b MFC:
Have ntp_gettime access sysctl by name.
	Remove /usr/include/timepps.h
	Track PPS-API draft
	Improve interface/support for PPS drivers.
	Update to Dave Mills "nanokernel" PLL
	Make hardpps() work with timecounters.
1999-03-22 13:09:36 +00:00
Bill Fumerola 7b8cda2175 MFC: node / node pair clarification 1999-03-20 21:26:17 +00:00
KATO Takenori c3097a660d Sync with sys/i386/isa/if_ed.c revision 1.148.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-20 15:39:29 +00:00
KATO Takenori 01876beb9e Sync with sys/i386/conf/Makefile.i386 revision 1.136.2.4.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-20 15:38:56 +00:00
Dag-Erling Smørgrav 1ae68c51ad MFC revision 1.9 1999-03-20 10:28:43 +00:00
Semen Ustimenko 9901f9079b Added VT_NTFS type. 1999-03-20 09:37:49 +00:00
Bill Fumerola baf3d0b1d1 MFC: mdoc fixes 1999-03-20 04:50:13 +00:00
Bill Fumerola da5a73b579 MFC: mdoc fix 1999-03-20 04:29:56 +00:00
Bill Fumerola d5bdd9feff MFC: security(1) -> security(7) 1999-03-20 04:06:47 +00:00
Warner Losh f1bbe53c31 Merge fix from current that adds vnode_if.h to the list of those files
which are created when .depend doesn't exist.
1999-03-20 00:45:56 +00:00
Jordan K. Hubbard 740b78de57 MFC: X-Kern-Developer dist, changes to mirror site layout. 1999-03-19 21:48:42 +00:00
Jordan K. Hubbard 6b9667f4af MFC: preserve rc.firewall 1999-03-19 08:22:49 +00:00
Mike Smith eb0c365206 MFC: $d -> %d fixes 1999-03-19 00:38:00 +00:00
Brian Somers 323b66039e MFC: Host names are case-insensitive. 1999-03-19 00:07:25 +00:00
Julian Elischer 22981ead49 re-enable a code segment that is needed until another 4.x merge is made. 1999-03-18 23:28:39 +00:00
Julian Elischer c04695c635 p->p_vmspace->vm_pmap.pm_stats.resident_count is in pages now.. 1999-03-18 21:29:02 +00:00
Julian Elischer 62b4373275 MFC:
Merge to include upto 1.133 and include 1.137-1.138-1.139. (plus a manual
tweek) 1.138 and 1.139 were already ,merged but I re merged them into
1.133 to get this version.

This resolves a low memory hang here in testing at Whistle.
1999-03-18 20:14:24 +00:00
Julian Elischer 3377019014 Need to translate more .h to .ph then just /usr/include &
/usr/include/sys.  Specifically we need /usr/include/machine
since "syslog.h" includes "machine/ansi.h".  To be safe we
translate all of /usr/include/* and /usr/include/*/*.

sample error case:
         echo "require 'syslog.ph';" | /usr/bin/perl
will fail when syslog.ph tries to include machine/ansi.ph

Submitted by:	Doug Ambrisko
1999-03-18 19:39:07 +00:00
Luigi Rizzo ef09e45791 MFC: add bridging support for the following net drivers:
ed, lnc, de, fxp
1999-03-18 18:47:29 +00:00
KATO Takenori 15c9dcd527 MFC: install the manual page.
Sumbitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-18 13:43:06 +00:00
Jordan K. Hubbard 4fed4646c0 MFC: add kget 1999-03-18 06:18:11 +00:00
Alan Cox e82d6d07f2 MFC: 1.53 and 1.54 1999-03-18 05:46:33 +00:00
Jonathan Lemon b59343577d MFC; revision 1.76
Fix for _private_tss handling
1999-03-18 04:42:21 +00:00
David E. O'Brien f3e988b8f6 MFC: upgrade to ver 1.11. 1999-03-18 00:03:57 +00:00
Daniel C. Sobral 28816bc182 Bump version: increased dictionary size. 1999-03-17 23:07:23 +00:00
Nate Williams 0fa4e1790d MFC: Use the correct arguments to kldstat. 1999-03-17 21:57:53 +00:00
Nate Williams bc5e173e38 MFC: Fix typos in PCIC load check. 1999-03-17 20:58:33 +00:00
Bill Fumerola e6b6514b3c MFC: portmap_program, lpd_program, sendmail comments, check_quota, enable_quotas
rc.conf 	1.1 -> 1.4
	rc.network 	1.39 -> 1.40
	rc 		1.179 -> 1.180
			1.182 -> 1.183
1999-03-17 20:04:57 +00:00
Nate Williams e9f1d56f38 MFC: Add a Q&D test before loading the pcic module to make sure there
isn't a compiled in one.
1999-03-17 17:41:35 +00:00
Jordan K. Hubbard 7acb907916 don't use objlink 1999-03-17 11:10:49 +00:00
Bill Fumerola a230b16180 MFC: whois.c 1.6 -> 1.8 (Russian NIC, gov/mil updates)
MFC: whois.1 1.4 -> 1.6  (Russian NIC, gov/mil updates, formating)

PR:		bin/9802(gov/mil updates), bin/10627(request for merge)
Submitted by:	Thomas Stromberg <[email protected]> (request for merge)
		ache, wollman
1999-03-17 03:20:47 +00:00
Bruce Evans ab8b80c66d MFC (1.29: fixed `mount -a -u ...'). 1999-03-16 22:30:46 +00:00
Mike Smith 6ad60a1331 MFC, don't call int15:820
PR:		i386/10485
Submitted by:	[email protected]
1999-03-16 21:23:14 +00:00
Mike Smith 431ff53aa9 MFC, search for correct ACPI tag
PR:		i386/10587
Submitted by:	Takanori Watanabe <[email protected]>
1999-03-16 21:12:14 +00:00
Luigi Rizzo ba9ad9cc2a MFC: fix "arp: host is not local" problem with dummynet 1999-03-16 18:03:28 +00:00
Daniel C. Sobral f07004e72b Fix disk unit assignment bug.
PR:		i386/9668
Submitted by:	Stefan Eggers <[email protected]>
1999-03-16 14:58:25 +00:00
David E. O'Brien ef50697a6b Use the date for 3.1-R instead of 3.0-R.
Submitted by:	Tony Finch <[email protected]>
1999-03-16 12:57:42 +00:00
Julian Elischer 6445e8efde Protect a list operatio behind splbio()
MFC: 1.53->1.54 (partial)
Submitted by: Matt Dillon <[email protected]>
1999-03-16 00:04:50 +00:00
David E. O'Brien b2293d68a7 Most 3.1->3.2 & 3.0->3.1
Add NTFS driver.
Add ISC dhclient.
1999-03-15 09:47:17 +00:00
Daniel C. Sobral 710343c75e The man page, version 0.1. 1999-03-15 08:57:48 +00:00
cvs2svn 69c46ea1f2 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-03-15 08:52:24 +00:00
Bill Fumerola e8d83c1898 MFC: grammar nits 1999-03-15 02:58:24 +00:00
Bill Fumerola 3ea544dfe6 MFC: typos 1999-03-15 02:50:44 +00:00
Bill Fumerola 5ba17e102c MFC: Typo 1999-03-15 02:37:06 +00:00
Kazutaka YOKOTA 30f3e59098 This is a temporary workaround for kernel panic occurring when
switching video modes.  People typically see the panic when the screen
saver has been running and is being stopped.

WARNING: this is not a real fix.  Something really funny must be
happening in the page table entries for the physical memory
0x0-0xa0000, which is mapped to the beginning of the kernel region.
1999-03-15 00:20:56 +00:00
Daniel C. Sobral d78dd4a690 MFC. r1.13, increase FICL dictionary size. 1999-03-14 22:03:11 +00:00
Dag-Erling Smørgrav a14666e77b MFC: Fix bogons in previous commit. 1999-03-14 20:30:08 +00:00
Mike Smith 6691634f9d MFC: fix syntax description for boot command. 1999-03-14 19:56:21 +00:00
Bill Fumerola 39456dec76 MFC: Sync MASTER_SITE_* from bsd.port.mk 1999-03-14 19:06:39 +00:00
Semen Ustimenko 5431bf4188 MFC: Going to backport to RELENG_3, rest things:
include mount_ntfs dir into src/sbin/Makefile,
ntfs dir into src/sys/modules/Makefile,
merge 1.83 -> 1.84 change from current to src/sys/sys/vnode.h,
1.200 -> 1.201 to src/sys/conf/files,
1.128 -> 1.129 to src/sys/conf/options.
1999-03-14 09:59:54 +00:00
Semen Ustimenko f154f9b84f MFC: Going to packport to RELENG_3 1999-03-14 09:47:05 +00:00
Semen Ustimenko 241e087fe9 MFC: Going to backport to RELENG_3 1999-03-14 09:40:48 +00:00
Joerg Wunsch 270b5a3346 MFC: NDGBPORTS is a supported option now. 1999-03-14 07:07:02 +00:00
Kenneth D. Merry ac474c8f4a MFC, version 1.49
Disable tagged queueing for IBM DCAS drives, update comment for WD
Enterprise drives.

PR:		kern/10398
Submitted by:	Hideaki Okada <[email protected]>
1999-03-14 05:17:49 +00:00
Dag-Erling Smørgrav bf3fba5b15 MFC: Chown the pty device nodes back to root:tty. 1999-03-14 03:21:39 +00:00
Jordan K. Hubbard c0d0b0d5ac MFC: chmod ppp directory to proper perms 1999-03-13 10:41:29 +00:00
Julian Elischer 61762e9ea7 MFC: set resid in IO completion. (matches 1.73->1.74) 1999-03-13 00:32:36 +00:00
Julian Elischer da0b803d5a MFC: place parens around SMBPRI to ensure correct eavluation. ->1.3 1999-03-13 00:17:01 +00:00
Jordan K. Hubbard 564f28f750 Add doscmd back; it appears to build without X now. 1999-03-12 21:16:19 +00:00
Ollivier Robert 13f2c7c8a5 MFC: add '-p' for POSIX compliant output.
Patch rewritten for 3.1-STABLE & 4.0-CURRENT.

PR:		bin/10515
Submitted by:	Jens Schweikhardt <[email protected]>
1999-03-12 11:15:13 +00:00
Ollivier Robert c4167a280b PID_MAX is now 99999.
PR:		docs/10530
Submitted by:	Ben Smithurst <[email protected]>
1999-03-12 10:50:36 +00:00
Julian Elischer e12efeba16 MFC: 1.116
Fix the 'fwd' option to ipfw when asked to divert to another machine.
plus cleanups.
Submitted by: Matthew Reimer <[email protected]>
1999-03-12 01:17:14 +00:00
Julian Elischer 0ff47de1c9 MFC: Stop an mfs process from being swapped out. This can cause deadlock
Submitted by: Matt Dillon <[email protected]>
(a fix to an earlier patch of his).
1999-03-12 00:51:47 +00:00
David Greenman 364d988de3 Brought in fix from rev 1.43: overflow bug 1999-03-11 19:21:31 +00:00
Kazutaka YOKOTA 751eef4067 YAMFC: add syscons.4 to Makefile. 1999-03-11 14:11:06 +00:00
Jordan K. Hubbard 04f21e8009 MFC: not so chatty 1999-03-11 11:03:00 +00:00
KATO Takenori d25c858db8 MFC: Make loader be able to load 1.2MB fd on machines w/ 1.44MB fdd.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-11 10:27:15 +00:00
KATO Takenori 3dd64d9295 MFC: Fix to find correct unit number for da device.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-11 10:26:21 +00:00
KATO Takenori 44bf2add9a Sync with sys/i386/isa/sio.c revision 1.224.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-11 10:24:33 +00:00
Jordan K. Hubbard a2559cf495 MFC: fixit fixes. 1999-03-11 09:38:21 +00:00
cvs2svn 6e9213e029 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-03-11 09:24:53 +00:00
Brian Somers 47a5e18bba MFC: Get the pid right if a stale lock file exists. 1999-03-11 09:10:04 +00:00
Alan Cox bdf8d4a974 MFC:
Change vm_map_growstack to acquire and hold a read lock (instead of a write
lock) until it actually needs to modify the vm_map.

Upgrading a map's lock to exclusive status should increment
the map's timestamp.  In general, whenever an exclusive lock is
acquired the timestamp should be incremented.
1999-03-11 05:56:49 +00:00
Jordan K. Hubbard 1448a6c501 MFC: Use FreeBSD as a prefix. 1999-03-10 21:59:59 +00:00
Dag-Erling Smørgrav 3592c1b3d5 MFC: Fix fstat compatibility by printing the address of the tcppcb instead
of that of the regular socket pcb for TCP sockets.

PR:             bin/9963
Submitted by:   Ruslan Ermilov <ru@@ucb.crimea.ua>
1999-03-10 17:32:26 +00:00
Warner Losh b3983ee3c1 MFC: Fix link count overflow problems.
ext2_vnops.c 1.44
	ufs_vnopfs.c 1.109, 1.110, 1.111
1999-03-10 16:57:53 +00:00
Jordan K. Hubbard 118d0b1fc1 MFC: nuke outdated mechanism 1999-03-10 03:51:15 +00:00
Jordan K. Hubbard 90b943e11d MFC: dependent package marking. 1999-03-10 02:51:26 +00:00
Andrzej Bialecki abc79249ce MFC: Take boot1/boot2 from their new place (/boot).
Submitted by:	luigi
1999-03-09 21:19:11 +00:00
Andreas Klemm b173be8f34 Fix from author of the driver:
The i++ loop from 1..1000 is too small on very fast machines like
PII 450 MHz. Increasing the loop from 1..100000 lets the machine
access PHY. After this patch it's possible to use a SMC PCI card
on a HP Kayak XA series PC Workstation. Workaround until this fix
was to enable debugging in the driver (#define EPIC_DEBUG 1).

Without that patch you get an undefined state:
while true
do
ifconfig -a | grep status:
done
The status messages flaps between twwo values, but not
"connected".

Obtained from:	Semen Ustimenko ([email protected])
1999-03-09 17:33:04 +00:00
Luigi Rizzo a479b3971e MFC: bring support for diskless in RELENG_3 1999-03-09 17:04:40 +00:00
Luigi Rizzo 818a5b1dae MFC: fix support for diskless in RELENG_3.
Now /etc/rc is the same as in HEAD, rc.diskless[12] are slightly
different using fewer mfs systems (there is still a lot of room
for improvement in both HEAD and RELENG_3)
1999-03-09 15:01:24 +00:00
Kazutaka YOKOTA 81922b96c2 MFC: don't free a NULL pointer. 1999-03-09 14:23:41 +00:00
Jordan K. Hubbard 0d886e7bc0 MFC: various. 1999-03-09 12:40:15 +00:00
Daniel C. Sobral 921283d3f0 MFC. Document -D flag, change error message.
PR:		bin/10462
Obtained from:	Matthew D. Fuller <[email protected]>
1999-03-09 11:46:58 +00:00
Justin T. Gibbs 114728c04e MFC: Cleanup and order register definitions. 1999-03-08 22:44:36 +00:00
Justin T. Gibbs 5435ad655f MFC: Add necessary splcam() protection. 1999-03-08 22:44:14 +00:00
Jun Kuriyama 84cfebf6d2 MFC:
Add "beep" subcommand.
1999-03-08 22:09:54 +00:00
Jun Kuriyama 500e5284cd MFC:
Add "beep" ioctl.  (#10 is reserved for PIOCSVIR)
1999-03-08 22:07:23 +00:00
Justin T. Gibbs 4553a0ee27 MFC: Add a routine for asking the card for IRQ/DRQ info. Fix comparision bug
in syncrate code so we don't attempt unsupported commands.
1999-03-08 21:39:35 +00:00
Justin T. Gibbs e704d43ce0 MFC: Ask the adapter for our interrupt information. ECU info is unreliable. 1999-03-08 21:38:03 +00:00
Justin T. Gibbs f48d63b47b MFC: Pull IRQ/DRQ probe code into bt.c. 1999-03-08 21:37:28 +00:00
Steve Price 92295ec547 MFC: Devid -> David. 1999-03-08 21:22:35 +00:00
Bruce Evans 6082ce3a54 MFC (1.229: fix null pointer panic for misconfigured master ports). 1999-03-08 18:13:50 +00:00
Kenneth D. Merry d91806f260 MFC: revisions 1.45 and 1.47 of cam_xpt.c (1.46 is already merged)
Limit the number of outstanding transactions to two for all Segate Medalist
Pro drives.  (4G, 6.5G, 9G)
1999-03-07 22:51:15 +00:00
Brian Somers 47f61c6e54 MFC: Correctly drop existing connections when reopening the diagnostic
socket.
1999-03-07 11:55:12 +00:00
Justin T. Gibbs 55d66c2796 Correction for last log message.
MFC: Dynamically allocate target instances at run time.
1999-03-07 00:44:17 +00:00
Justin T. Gibbs 633ab628c7 MFC: Add untested 2930U2W support. Adjust for changes in negotiation
parameter layout in softc.
1999-03-07 00:42:43 +00:00
Justin T. Gibbs da6e0ab09f MFC: Add cam_imask to splvm(). 1999-03-07 00:41:58 +00:00
Justin T. Gibbs ed1a4c0d7f MFC: ahb.c - poll for scsi bus reset completion.
ahc_eisa.c - Adjust for changes in negotiation parameter layout in softc.
1999-03-07 00:41:38 +00:00
Justin T. Gibbs dc1d343fb5 MFC: Fix MULTI TID support. 1999-03-07 00:40:47 +00:00
Justin T. Gibbs 5aad51e4b3 MFC: Add target control device. Fix bugs. Silence SYNC CACHE illegal
request errors.
1999-03-07 00:40:31 +00:00
Justin T. Gibbs c5d7ea17e3 MFC: Add XPT group code macros and #defines.
Use splcam() protection on the EDT.
1999-03-07 00:39:49 +00:00
Justin T. Gibbs 237d0a3dcf MFC: Add target control device. 1999-03-07 00:38:56 +00:00
Justin T. Gibbs adab596db9 MFC: Add targ.ctl. 1999-03-07 00:37:59 +00:00
Archie Cobbs 787a3af8ea MFC: When an incoming packet is reflected back as an ICMP reply, make sure we
zero "m->m_pkthdr.rcvif", otherwise ipfw may wrongly match the outgoing packet.
1999-03-06 23:12:32 +00:00
Jordan K. Hubbard 5f32b66ba8 MFC: rev 1.224 1999-03-05 19:49:42 +00:00
KATO Takenori 670b2c7f09 MFC: 1.44MB fd support. 1999-03-05 08:13:58 +00:00
KATO Takenori f0ea61274f MFC: fix the character code of backslash. 1999-03-05 08:12:17 +00:00
KATO Takenori a9739aee94 MFC: read boot.config file. 1999-03-05 08:10:39 +00:00
Bill Paul 92f9c78d33 MFC: initialize rcvif in mbuf packet header to NULL in arprequest(). 1999-03-04 04:04:48 +00:00
Julian Elischer b9c1063d0f MFC:
On systems with
really fast I/O systems, it is possible to get in an infinite loop trying
to flush the buffers, because the I/O finishes before we can get all the
dirty buffers off the v_dirtyblkhd list and into the I/O queue. Fix this.

Submitted by: Matt Dillon <[email protected]>
Reviewed by: Kirk McKusick <[email protected]>
1999-03-03 19:33:16 +00:00
Julian Elischer a4090454b2 MFC:
close a race condition when newly allocated bufs might
	duplicate other newly allocated bufs.
Submitted by: Mat dillon <[email protected]>
Reviewed by: "John S. Dyson" <[email protected]>
1999-03-03 17:43:17 +00:00
Joerg Wunsch e47843cf30 MFC: fixup whitespace of previous commit 1999-03-03 14:03:48 +00:00
Joerg Wunsch 14757b3be6 MFC: . explicitly use fcntl(...,F_SETOWN) so we get SIGIO's
. revert to vfork() since the code relied on it
     . lookup ptys up to /dev/tty[pqrst]v
1999-03-03 12:10:50 +00:00
Jun Kuriyama db16fb24dc MFC:
Use O_RDONLY and O_RDWR for open() instead of number.
1999-03-03 11:15:33 +00:00
KATO Takenori 2a587f2c6f MFC: added FE_8BIT_SUPPORT into the list. 1999-03-03 10:57:44 +00:00
Roger Hardiman 5245375282 Updated the bktr entry to generate /dev/vbi
This is for VBI capture from the bt848 driver allowing
software teletext decoding.
1999-03-02 16:50:55 +00:00
Daniel C. Sobral 8acfe1931b MFC: Don't treat empty lines as end-of-file in include(). 1999-03-02 16:19:21 +00:00
KATO Takenori d7fd18ed21 MFC: fix for LINE30 option. 1999-03-02 12:41:17 +00:00
Alexander Langer 7f6d1516c2 MFC (rev 1.5): improve error message when attempting to link to a
non-existent file on the local host.
1999-03-02 04:17:02 +00:00
Julian Elischer 922e343c3a MFC:
Submitted by:	[email protected] (linuxthreads freebsd maintainer)
Fix Linux threads ability to track child processes/threads.
1999-03-02 00:42:09 +00:00
Julian Elischer 491bb11d8b MFC: Force synchronous operation if we are extremely low on memory
to prevent a low-memory deadlock.
Reviewed by: "John S. Dyson" <[email protected]>
Worked on by: Matthew Dillon <[email protected]>
Submitted by: Darrell Anderson <[email protected]>
and Andrew Gallatin <[email protected]>
1999-03-01 22:55:53 +00:00
Jun Kuriyama f8053b93e5 MFC:
s/card.conf/pccard.conf/
1999-03-01 22:05:30 +00:00
Luigi Rizzo 4d38ff42af MFC: fix IFF_ALLMULTI support enabling multicast router operation on
de interfaces
1999-03-01 17:03:24 +00:00
Bill Paul c9222352c3 MFC: close PR #10264. Don't bomb with fatal error in my_yp_match(): return
error status instead.
1999-03-01 16:12:35 +00:00
Roger Hardiman b809bea3c5 Bring 3.x-stable file inline with 4.x-current file CVS 1.22
(Bt848 driver release 1.60)
1999-03-01 11:05:38 +00:00
Roger Hardiman 4d4dfb5fde Bring 3.x-stable driver inline with 4.x-current driver CVS 1.67
(Bt848 driver release 1.60)

Added check to bktr_mmap from OpenBSD driver.
Improved MSP34xx reset for bt848 Hauppauge boards.
Added detection for Bt848a.
Added more XUSSR channels and TVTUNER_GETCHANSET ioctl.
Support Hauppauge Infra-Red Remote Control with new ioctl.
Added GPIO access ioctls - protected by #ifdef BKTR_GPIO_ACCESS
Corrected Mute on Hauppauge TV+Radio cards.
Autodetect MMAC Osprey card by looking for "MMAC" in the EEPROM.
Added ALPS Tuner Type.

Submitted by:	parts from Hiroki Mori <[email protected]> and Vsevolod Lobko<[email protected]>
Obtained from:	part from OpenBSD
1999-03-01 10:52:49 +00:00
Roger Hardiman 3e3c24cd81 Bring 3.x-stable file inline with 4.x-current file CVS 1.25
(Bt848 driver release 1.60)

Add new #defines for Bt848a card detection.
1999-03-01 10:48:18 +00:00
KATO Takenori 6aaba1f7a4 Sync with sys/boot/i386/btx/btx/btx.s revision 1.8.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-01 10:03:57 +00:00
Brian Somers 813bbad3d0 MFC: Bring up auto links despite there being no data queued if
we're already in network phase and our autoload values
     are set with no minimum threshold (the default).

     Tell the autoload timer that it's ``coming up'' *before*
     calling AutoLoadTimeout() directly... not after.  This
     prevents the very first demand-dial connection from
     immediately disconnecting when there are other auto links.

     Problem diagnosis:  Ted Mittelstaedt <[email protected]>
1999-03-01 00:47:15 +00:00
Archie Cobbs 8065f1c72f MFC: Add '-p pattern' option for splitting based on lines matching a pattern. 1999-03-01 00:41:48 +00:00
Gary Jennejohn 6bd04cd9be MFC: make buf in authflags bigger.
Requested by: Joerg Wunsch
1999-02-28 22:21:57 +00:00
Tor Egge 0403ea59e3 MFC: Don't call assign_apic_irq with a value for irq that is out of range. 1999-02-28 21:22:16 +00:00
Andrey A. Chernov 38187d2c65 MFC: PRUNEPATHS assignment 1999-02-28 20:42:02 +00:00
Dmitrij Tejblum 4b9dad44aa MFC rev. 1.5: typo. 1999-02-28 19:52:06 +00:00
Peter Wemm c757fbb95e MFC rev 1.37; fix rest of MNT_UNION/unionfs mixup. 1999-02-28 16:15:06 +00:00
David E. O'Brien e5155bbe1d MFC rev 1.3 (for both files) 1999-02-28 09:13:03 +00:00
Daniel C. Sobral 04f2472421 MFC. Correct $ behavior to print new lines. 1999-02-28 02:12:00 +00:00
Julian Elischer 6f5e8854f0 MFC: reintroduce code for union mounts deleted accidentally in 1.109.
matches 1.118->1.119
Submitted by: Tony Finch <[email protected]>
1999-02-27 07:10:39 +00:00
Peter Wemm 7068ad3636 Backport NetBSD's 19990120-accept fix from -current to 3.x-stable.
This includes:  uipc_socket.c rev 1.52,1.54; uipc_socket2.c rev 1.44,
socketvar.h rev 1.33, uipc_syscall.c rev 1.54 (indirectly related)
1999-02-26 17:32:51 +00:00
Bill Paul dfdf8849e0 MFC: remove DELAY() from xl_wait(). 1999-02-26 08:40:39 +00:00
Bill Paul 5207a72d2c MFC: add PCI device ID for the PNIC II. 1999-02-26 07:51:44 +00:00
Tim Vanderhoek 2ed21ccb36 MFC: r.1.2, Decapitalize function name. 1999-02-26 01:32:12 +00:00
Mike Smith 34b8b56cf8 MFC: Motorola Montana 1999-02-25 23:34:52 +00:00
Jordan K. Hubbard 043965e3dc MFC: PR#10252 1999-02-25 22:18:57 +00:00
Guido van Rooij c82f482e36 MFH: 1.72 (for a description see rev 1.66 and 1.67 from pcici.c) 1999-02-25 20:32:54 +00:00
Brian Somers ccec8e3a8e MFC: Parse IP addresses more securely - specifically, don't allow
a bum name to return as 0.0.0.0... we don't want ``delete xxx''
     to delete the default route when xxx doesn't resolve.

     Support IP number specifications as the host when specifying
     a tcp-style device (rather than *just* hostnames).
1999-02-25 20:08:11 +00:00
Garrett Wollman 6a64552a6a Merge from 4.0: teach newsyslog how to do something at a specific
time of day.
1999-02-25 18:38:33 +00:00
Garrett Wollman 4fea87acee Merge changes from 4.0: update references and add -A flag. 1999-02-25 18:36:32 +00:00
Robert Nordier fce81da2c3 MFC: Check size of partition before using it. 1999-02-25 17:49:24 +00:00
Robert Nordier 6452e8307f MFC: Emulate a V86 "movl %cr0,%eax" instruction. 1999-02-25 16:33:02 +00:00
Bruce Evans cf0fcd2723 MFC (don't forget to update `switchticks' in corner cases). 1999-02-25 14:36:29 +00:00
KATO Takenori 75207fb267 MFC: added comment on Access/PC and LAC-98 cards, and FE_8BIT_SUPPORT
option.
1999-02-25 14:02:36 +00:00
KATO Takenori 481ae3e849 MFC: added adv driver. 1999-02-25 13:54:54 +00:00
KATO Takenori 026d625ab7 Sync with sys/boot/i386/loader/Makefile revision 1.28.2.1
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-25 13:45:40 +00:00
Mike Smith 788f5dd92c MFC: don't protect page 0 anymore. 1999-02-24 01:37:46 +00:00
Bill Paul eefae7c25e MFC: add PCI vendor and device IDs for other RealTek and VIA Rhine II
adapters from Delta and Addtron.
1999-02-23 15:40:56 +00:00
Andrey A. Chernov f49a4133b5 MFC: remove ctype.c 1999-02-23 15:15:10 +00:00
Bruce Evans 484b5d8f94 MFC (improved scheduling in uiomove(), etc.). 1999-02-23 13:44:36 +00:00
Daniel C. Sobral 6f6a462b52 Late MFC to bring it up to loader's version. 1999-02-23 08:46:00 +00:00
Bill Paul 1d3ae56287 MFC: fix typo. 1999-02-23 02:01:07 +00:00
Bill Paul 4172073f64 MFC: small changes for AX88141. 1999-02-23 01:57:08 +00:00
Andrzej Bialecki b37a73f192 Improve check for "custom" directory.
PR:		misc/10155
Submitted by:	John Baldwin <[email protected]>
1999-02-22 21:25:15 +00:00
Bruce Evans 544a6b5493 MFC (added per-cpu variable `switchticks'). 1999-02-22 15:59:40 +00:00
Daniel C. Sobral fdcc2375fb MFC. Assorted memory leak/buffer reuse fixes. 1999-02-22 13:19:56 +00:00
Steve Price 00d1872c28 MFC: new path for dhclient. 1999-02-22 02:56:08 +00:00
Andrzej Bialecki 4b7c6e2e56 We no longer install SNMP daemon by default - it was too big. 1999-02-21 22:04:54 +00:00
Andrzej Bialecki 4720473a8c A couple of fixes: copy login.conf correctly, install Forth menu. 1999-02-21 22:04:24 +00:00
Andrzej Bialecki 94aa12e841 Do the right thing when kernel doesn't support PnP. 1999-02-21 22:02:38 +00:00
Andrzej Bialecki 52fcffe80a Clarify debug message. 1999-02-21 22:02:08 +00:00
David E. O'Brien 5c1b50d6ec revert rev 1.539.2.4 1999-02-21 21:12:26 +00:00
David E. O'Brien b39ed40c22 revert rev 1.143.2.2.
(nobody has yet to explain how I was able to config, compile, and run
a rev 1.143.2.2 kernel w/no warnings/errors)
1999-02-21 21:08:10 +00:00
Nicolas Souchu f5aeab93b9 Fix controller/device ppc0 inconsistency with GENERIC
Suggested by: Jeroen Ruigrok/Asmodai <[email protected]>
1999-02-21 15:24:41 +00:00
Jonathan M. Bresler 1c4e95ab60 gulf.net no longer provides lists of spam domains and spam
ip address ranges via anon ftp. therefore we no longer try
	to get these from gulf.net.  this change was committed to
	HEAD 1/31/1999 and should have been brought to -stable at
	that time.
1999-02-21 14:32:47 +00:00
Doug Rabson 4d4309cbc4 MFC: Add support for Compaq ProLiant 1200 host to PCI bridge. 1999-02-21 11:41:03 +00:00
David E. O'Brien cb825e151a Remove old lpt stuff, and rename "nlpt" to "lpt". 1999-02-20 21:17:50 +00:00
David E. O'Brien 87518f76d7 MFC. 1999-02-20 21:14:41 +00:00
Kazutaka YOKOTA 289be3124f MFC: Make sure the DAC palette width is restored to 6 bit. 1999-02-20 03:06:04 +00:00
Kazutaka YOKOTA 7eb9e35f51 MFC: Fix <back quote>/<logical not>/<vertical bar> key.
PR: i386/10130
1999-02-20 02:24:26 +00:00
Luigi Rizzo 10fdb1db53 MFC: prevent panic when pkts > MTU and with DF set get out of a pipe.
Actually, after fixing this for the third time (in HEAD, RELENG_3
and RELENG_2_2) i notice that there are a few more places in
ip_output() potentially with a similar problem:

the head of the mbuf chain is changed, yet the original pointer m0
(which is used in case the pkt exceeds the MTU and has DF set) is
not updated. This could lead to panics or more likely to mbuf leaks
depending on what happens to the original mbuf pointed by m0.
Something worth fixing soon...
1999-02-19 18:56:58 +00:00
Matthew Dillon 62193ed012 MFC from -4.x, protect vn worklist at splbio(). 1999-02-19 17:46:00 +00:00
Jordan K. Hubbard cfb8ae8b3f MFC: doc changes. 1999-02-19 16:51:22 +00:00
Andrey A. Chernov ba421d872d MFC 1999-02-19 14:58:27 +00:00
KATO Takenori 02c6dc712e Sync with sys/i386/i386/machdep.c revision 1.322.2.4.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-19 14:39:52 +00:00
David E. O'Brien 74f78b816c Now that introductions have been done, perform the marrage. 1999-02-19 10:35:08 +00:00
David E. O'Brien 3caa5df7c8 Mr. 3.1-STABLE, meet Ms. DHCP client 1999-02-19 10:32:57 +00:00
Mike Smith 5598f2fb92 MFC: D-Link DE-660 entry 1999-02-19 07:21:46 +00:00
John Polstra 292cd0579c MFC 1.6 -> 1.7: Fix typo in comment. 1999-02-19 01:37:16 +00:00
John Polstra 4126357b1b MFC 1.6 -> 1.7: Fix Linux emulator breakage by not loading dynamic
linker at a fixed address.
1999-02-19 01:36:29 +00:00
Kenneth D. Merry 052745d518 Merge the following revisions of the following files into RELENG_3:
Revision  Path
  1.2       src/share/man/man9/devstat.9
  1.15      src/sys/cam/scsi/scsi_cd.c
  1.10      src/sys/cam/scsi/scsi_ch.c
  1.20      src/sys/cam/scsi/scsi_da.c
  1.6       src/sys/cam/scsi/scsi_pass.c
  1.5       src/sys/cam/scsi/scsi_pt.c
  1.19      src/sys/cam/scsi/scsi_sa.c
  1.40,1.41 src/sys/dev/ccd/ccd.c
  1.133     src/sys/i386/isa/fd.c
  1.188     src/sys/i386/isa/wd.c
  1.19      src/sys/i386/isa/wfd.c
  1.9       src/sys/kern/subr_devstat.c
  1.52      src/sys/pc98/pc98/fd.c
  1.74      src/sys/pc98/pc98/wd.c
  1.4       src/sys/sys/devicestat.h
  1.30      src/usr.bin/vmstat/vmstat.c

The changes to atapi-cd.c that went into -current have not been merged,
since devstat support for that driver is not in RELENG_3.

Add a prioritization field to the devstat_add_entry() call so that
peripheral drivers can determine where in the devstat(9) list they are
inserted.

This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and
any ports that depend on the devstat code, since the size of the devstat
structure has changed.  The devstat version number has been incremented as
well to reflect the change.
1999-02-18 22:06:27 +00:00
cvs2svn 165a02f2bc This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-18 18:56:59 +00:00
Kenneth D. Merry a3320d4f45 MFC (version 1.44).
Fix sync rate and transfer rate printouts in xpt_announce_periph().
Sync rates like 4.032MHz were getting printed as 4.32MHz.

Also, add a quirk entry for the 18G Quantum Atlas III.  Like most other
recent Quantum drives, it bogusly reports queue full.  Thanks to Andre
Albsmeier <[email protected]> for the Atlas III inquiry
information.

Reviewed by:	gibbs
1999-02-18 18:12:31 +00:00
Jun Kuriyama 280b224b67 MFC:
tzdata1999a
	tzdata1999b
	bde's changes for Russian zones/rules

Reviewed by:	wollman, hideyuki
1999-02-18 11:43:05 +00:00
Joseph Koshy 3b8d37cd10 MFC: {rev 1.3} document use of backslash 1999-02-18 02:34:45 +00:00
Matthew Dillon a5735fff0f Backport from -4.x, unlock vnode before map lookup to avoid deadlock
situation between the vnode and map locks.
1999-02-18 02:04:01 +00:00
Jordan K. Hubbard faecaebd96 Forgotten MFC on lkms. 1999-02-18 00:58:20 +00:00
Mike Smith 7a6cc0849b MFC: replace 'make -f' with '${MAKE} -f' 1999-02-17 21:04:44 +00:00
Bruce Evans dc64fd6eb1 MFC (rev.1.326: don't pass PSL_NT to vm86 signal handlers).
PR:		9211
1999-02-17 13:08:41 +00:00
Bill Fenner abd55c860b MFC: off-by-one error. 1999-02-16 19:05:27 +00:00
Dag-Erling Smørgrav 7b7a748bff MFC: Better fix for the traceroute flood bug. 1999-02-16 14:24:02 +00:00
KATO Takenori e3362cfab8 MFC: revision 1.65.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-16 11:16:22 +00:00
KATO Takenori cd4007750f MFC: revision 1.79 (added PPC_DEBUG option).
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-16 11:13:57 +00:00
KATO Takenori 49bd395d82 Sync with sys/i386/conf/files.i386 revision 1.220.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-16 11:10:10 +00:00
KATO Takenori 0aed86322b Sync with sys/i386/i386/machdep.c revision up to 1.322.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-16 11:09:27 +00:00
Jordan K. Hubbard cd9dec0dd6 MFC: forgive PnP config saving problems. 1999-02-16 01:59:45 +00:00
Brian Somers 792bc95afa MFC: Fix dgb & dgm i/o addresses. 1999-02-16 00:20:03 +00:00
Julian Elischer ded6348af3 MFC: Add ability to sense the autodetected speed and duplex mode. 1999-02-15 08:47:10 +00:00
Bill Fenner 50e41a8b50 MFC: .Os usage 1999-02-15 08:46:22 +00:00
Dag-Erling Smørgrav 09f0b1a32f MFC: avoid negative timeout in select(). 1999-02-15 08:16:29 +00:00
Jordan K. Hubbard 3ec3e87697 MFC: save pnp data. 1999-02-15 07:10:41 +00:00
Jordan K. Hubbard ad154b2b75 post-release now. 1999-02-15 05:01:50 +00:00
Jordan K. Hubbard 496747cdd4 MFC: add gnome category. 1999-02-15 04:57:40 +00:00
Jordan K. Hubbard 724b6598c9 Correct syntax error in previous commit. 1999-02-15 04:48:32 +00:00
Dag-Erling Smørgrav 3fef0241bc Replace lpt0 with ppc0.
Add rdp to the hardware list.
1999-02-15 04:04:12 +00:00
Jordan K. Hubbard 098f5eaf0c 3.1-RELEASE! 1999-02-15 03:39:26 +00:00
Jordan K. Hubbard cd5b222b97 Sync with current reality. 1999-02-15 03:38:36 +00:00
Jordan K. Hubbard 9a3b5eec54 Update for impending 3.1-RELEASE. 1999-02-15 03:32:25 +00:00
Jordan K. Hubbard f4a2ead6ac MFC: install new disklabel. 1999-02-15 02:52:09 +00:00
Dag-Erling Smørgrav 932a95a6a1 Add a warning to the probe message about the driver being deprecated.
Approved by:	jkh
1999-02-15 02:51:18 +00:00
Dag-Erling Smørgrav 95d591a843 Use ppbus instead of the old lpt driver. Add a mention in LINT to the
effect that the old driver is deprecated.

Approved by:	jkh
1999-02-15 02:50:08 +00:00
Dag-Erling Smørgrav 8f4fc99399 Use ppbus instead of the old lpt driver.
Approved by:	jkh
1999-02-15 02:49:31 +00:00
Jordan K. Hubbard d6c7c44f53 MFC: better guess. 1999-02-15 02:23:41 +00:00
Dag-Erling Smørgrav 09c349a069 MFC: doc fix, and use device node rather than unit number.
Approved by:	jkh
1999-02-15 01:27:36 +00:00
Matthew Dillon e2fee34981 backport from -4.x, only call sorflush() on socket types when close()ing
descriptors lost in transit ( via sendmsg() ) when both ends are closed
    unexpectedly.  W/ Jordan's permission.
1999-02-15 01:18:25 +00:00
Jordan K. Hubbard ece5a689df MFC: fix fixit, media cleanup 1999-02-15 00:49:58 +00:00
Andrzej Bialecki 753533e187 MFC: Copy the 'reboot' script only for "dial" floppy. 1999-02-15 00:29:51 +00:00
Nicolas Souchu 7d260329fe Fix ppc interrupt handling at boot.
Ensure PPBPRI is correctly interpreted by compiler.
1999-02-14 22:05:29 +00:00
David E. O'Brien 2e55cb365b MFC am_defs.h rev 1.5 & config.h rev 1.10
Ok'ed by:	jkh
1999-02-14 22:02:33 +00:00
Jordan K. Hubbard 3be02e6473 MFC: various updates. 1999-02-14 21:35:55 +00:00
Jordan K. Hubbard aceab2d9e8 MFC: fix initial state. 1999-02-14 21:26:52 +00:00
Jordan K. Hubbard 69f5a4205e MFC: new screen savers. 1999-02-14 20:14:35 +00:00
Jordan K. Hubbard e58fc52570 MFC: use correct rc.conf file. 1999-02-14 20:06:52 +00:00
Jordan K. Hubbard fa178370c5 Turn SYSVMSG on by default for the KDE folks. 1999-02-14 19:55:39 +00:00
Jordan K. Hubbard d04821280e MFC: proper acd handling. 1999-02-14 19:42:23 +00:00
Jordan K. Hubbard 5c7de314a1 MFC: update ports info. 1999-02-14 18:55:29 +00:00
Dag-Erling Smørgrav 683811530c MFC: Mention that chflags can fail with EOPNOTSUPP.
Approved by: jkh
1999-02-14 14:16:44 +00:00
Dag-Erling Smørgrav 68b4d8c1a2 MFC: Ignore errors from chflags.
Approved by:	jkh
1999-02-14 14:09:44 +00:00
Jordan K. Hubbard 1e9b06deb9 MFC: don't use defaults which cause our own NFS code to fall over. 1999-02-14 07:43:33 +00:00
Jordan K. Hubbard cae9bc003c MFC: mark rc.conf vars properly. 1999-02-14 07:39:55 +00:00
Jordan K. Hubbard c2661e94ad MFC: preserve rc.conf 1999-02-14 05:53:12 +00:00
Jordan K. Hubbard c48e39291e MFC: set PATH 1999-02-13 18:49:14 +00:00
Bruce Evans c65fd63b69 MFC (reschedule and/or allow killing some syscall hogs). 1999-02-13 09:30:56 +00:00
Matthew Dillon ba26628572 PR: kern/9970
Backport from -4.x, remove illegal vput from nfs_link().
1999-02-13 08:03:47 +00:00
Matthew Dillon a3a96c0aec Backport from -4.x - clarify VOP_LINK operation & correct previous
incorrect description.
1999-02-13 07:57:22 +00:00
Jordan K. Hubbard 2646322441 MFC: merge changes in both directions. 1999-02-13 05:31:07 +00:00
Jordan K. Hubbard f22a7b5395 MFC: new /etc files 1999-02-13 05:18:24 +00:00
Andrzej Bialecki d0d47cbebc Extract the PnP settings as well. 1999-02-12 20:14:47 +00:00
Daniel C. Sobral 72389088ad MFC. Remove setjmp/longjmp() dependency on floatiing point, on i386.
Also, mfc a modification to the file pager, to make it a little bit more
useful.

Approved by:	jkh
1999-02-12 17:28:18 +00:00
cvs2svn a78f8ae86f This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-12 17:22:31 +00:00
Bill Paul 97ad2fb25b MFC: don't issue TX and RX commands so that we don't retrigger
autonegotiation and introduce delays.

Okayed by: jkh
1999-02-12 16:06:29 +00:00
Wes Peters 5abeead440 Reviewed by: jkh
Submitted by:	wes
Additional commentary to explain what the various
columns of data mean.
1999-02-12 04:03:39 +00:00
Jordan K. Hubbard 28d461d392 MFC: both types of rc.conf location 1999-02-12 00:17:35 +00:00
Jordan K. Hubbard 5a3b0b2a2f Update comments to match current affairs. 1999-02-11 23:05:00 +00:00
Matthew Dillon 9d55e4c991 Remove $conf_dir usage from rc 1999-02-11 22:03:27 +00:00
John Polstra 87eca08f46 Sync with -current. Merge approved by jkh. 1999-02-11 20:14:51 +00:00
Mike Smith 1aa04c6f47 The previous commit was a merge from -current (HEAD) not -stable, and it
was
Requested by:	jkh
1999-02-11 19:39:31 +00:00
Mike Smith a86cd76be1 MFS - fix %edx on entry to static Linux binaries. 1999-02-11 19:37:44 +00:00
Jordan K. Hubbard 5665693705 MFC: add spanish mirrors. 1999-02-11 14:43:09 +00:00
Jordan K. Hubbard b25bb2d693 MFC: fireport cards. 1999-02-11 14:00:31 +00:00
Justin T. Gibbs fb49a3ec04 MFC: ahc_eisa is also optional on 'eisa' 1999-02-11 07:17:57 +00:00
Justin T. Gibbs c4ebff7c86 MFC: Cosmetic - Complete descriptor manipulation before selwakeup.
Approved by: jkh
1999-02-11 07:17:15 +00:00
Justin T. Gibbs eb07a2b09e MFC: Target mode fixes.
Approved by: jkh
1999-02-11 07:16:29 +00:00
Justin T. Gibbs b94459869b MFC: Correct setting of ultra enable bits in adapter scratch ram.
Approved by: jkh
1999-02-11 07:16:04 +00:00
Greg Lehey 2de0b62811 Correct some indentation
Implicitly-desired-by: bde

update_plex_state:  Handle empty RAID-5 plexes correctly

Permitted-by: jkh
1999-02-11 05:53:52 +00:00
Greg Lehey 3e7be52f18 build_write_request: correct logic for handling writes to volumes with
failed plexes.

allocrqg: Remove dead code

Permitted-by: jkh
1999-02-11 05:50:30 +00:00
Greg Lehey 3a444f490a check_drive: Make sure that we don't open two different drives with
the same name.  Silently return EEXIST if this happens.

vinum_scandisk: Collect drive numbers, not pointers, to avoid problems
of relocated drives.

Tripped-over-by:  Bernd Walter <[email protected]>

Permitted-by:	  jkh
1999-02-11 05:31:02 +00:00
Greg Lehey 70df5eb4f9 In some cases, it's possible that I/O errors will cause the daemon to
time out on an operation.  Under these circumstances, vinum(8) will
automatically start another daemon.  Add a pid for the daemon, so that
an overtaken daemon will discover that it's no longer in favour, and
will crawl into a corner and die.

Permitted-by: jkh
1999-02-11 05:28:41 +00:00
Greg Lehey c80afa51fb Modify example configuration file to show more optimum stripe size of
256 kB instead of 16 kB.

Pointed-out-by: Steve Taylor <[email protected]>

Modify description of start command to include 'start' with no
parameters, which reads the config from all drives found on the
system.

Allowed-by: jkh
1999-02-11 05:18:20 +00:00
Greg Lehey 03f8e887fd Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.

Allowed-by: jkh
1999-02-11 05:16:01 +00:00
Greg Lehey 429c8768ad Include libdevstat in executable, for extended start command. 1999-02-11 05:12:38 +00:00
Dag-Erling Smørgrav 9ab4a48a87 MFC: Don't use an arbitrary hardcoded value for nfds in select() calls.
PR:		bin/9866
Approved by:	jkh
1999-02-10 18:18:39 +00:00
Jordan K. Hubbard 07240a421c MFC: Use rc.conf from new location. 1999-02-10 18:08:38 +00:00
Jordan K. Hubbard b8382a40ca Whoops, move rc.conf out of here too. 1999-02-10 17:58:50 +00:00
Kazutaka YOKOTA 42ffb9861c MFC:
- Revise text, and fix typos and grammatical errors.
- Add syscons.4.
1999-02-10 14:49:52 +00:00
cvs2svn 02fa10fea3 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-10 14:25:04 +00:00
KATO Takenori 0e596180fe MFC: rev. 1.6 (fixed COPYRIGHT_PC98). 1999-02-10 13:10:16 +00:00
KATO Takenori 7341571e8d Sync with sys/i386/i386/userconfig.c revision 1.126.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-10 13:04:13 +00:00
Jordan K. Hubbard fb7eda3acb MFC: don't use @'s in loader scripts anymore. 1999-02-10 09:34:23 +00:00
Jordan K. Hubbard 6941e5e90d MFC: install correct rc.conf 1999-02-10 09:15:41 +00:00
Jordan K. Hubbard 64785846a0 MFC: install more selectively. 1999-02-10 09:14:20 +00:00
Jordan K. Hubbard b496407802 MFC: save pnp values like isa values. Forgot to mention in -current
commit that this is actually from:

Submitted by:		abial
1999-02-10 00:29:17 +00:00
Jordan K. Hubbard d628e7823b MFC: install into /etc/defaults 1999-02-09 23:08:38 +00:00
Jordan K. Hubbard 7230ed256f MFC: /etc/defaults 1999-02-09 22:35:34 +00:00
Jordan K. Hubbard a5cd3032f5 MFC: retire rc.conf.site 1999-02-09 22:25:59 +00:00
Jordan K. Hubbard 8e3d54063e MFC: remove unused .hash word. 1999-02-09 22:25:06 +00:00
David E. O'Brien 88fe410308 Set __FreeBSD_version for 3.1
Ok'ed by:	JKH
1999-02-09 17:37:32 +00:00
David E. O'Brien cd5ed7ed6c Set __FreeBSD_cc_version for 3.1
Ok'ed by:	JKH
1999-02-09 17:37:21 +00:00
Dag-Erling Smørgrav a8833df9c4 MFC: Don't assume a_name is a number just because the first character
is a digit.

PR:		bin/9484
Submitted by:	Matthew D. Fuller <[email protected]>
1999-02-09 15:08:00 +00:00
Dag-Erling Smørgrav 0804ae51e6 MFC: Redirect mail to pseudo-user pop to root.
PR:		conf/9555
Submitted by:	Ruslan Ermilov <[email protected]>
1999-02-09 15:07:12 +00:00
Satoshi Asami 0989f69ef6 We are now in the beta cycle for 3.1.
Approved by:	jkh
1999-02-08 22:57:48 +00:00
Andrzej Bialecki 1046c94a57 Patch to make mrouted more friendly with crunchgen.
Reviewed by:	fenner, wollman
Submitted by:	luigi
Approved by:	jkh
1999-02-08 21:45:44 +00:00
John Polstra 29fe619412 MFC 1.19 -> 1.20: Fix format mismatches that caused wrong numbers to
come out on the Alpha.  Merge approved by <jkh>.
1999-02-08 19:08:13 +00:00
Dag-Erling Smørgrav 12c7f78b7d Bring the nlpt and plip drivers in sync with -current:
- add the PLIP_DEBUG option
 - fix the plip driver's bpf interaction
 - simplify the probe code in the nlpt driver
 - remove some warnings.

Approved by:		jkh
1999-02-08 19:05:55 +00:00
John Polstra db900c8090 MFC: Load the ELF dynamic linker at an architecture-specific
location, thereby solving breakage that was observed in large-memory
configurations where MAXDSIZ had to be increased.  This merge
includes the following revisions:

	src/sys/kern/imgact_elf.c	1.52 -> 1.53
	src/sys/i386/include/elf.h	1.5  -> 1.6
	src/sys/alpha/include/elf.h	1.5  -> 1.6

Merge approved by <jkh>.
1999-02-08 18:58:36 +00:00
Matthew Dillon d4f72996ae Backport from -4.x. Flush delayed-write data associated with nfs vnode
prior to rename operation.  This is a workaround to an NFS-V3 bug whereby
    the delayed-write data becomes stale after the rename.
1999-02-08 18:27:30 +00:00
KATO Takenori 31e08fc3e2 Sync with sys/boot/i386/loader/version revision 1.2.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-08 10:03:51 +00:00
Julian Elischer 76f7d6a36a MFC: Fix garbage inputs to ifa_ifwithaddr().
Matches revision 1.37
1999-02-08 08:33:38 +00:00
Daniel C. Sobral b947e894eb Bumb up loader's version.
Reviewed by:	Michael Smith <[email protected]>
Approved by:	jhk
1999-02-08 04:20:00 +00:00
Mark Newton 3acac25c18 MFC -- Prevent emulators from being unloaded whilst they are being
used.

Reviewed by:	Jordan Hubbard <[email protected]>
1999-02-08 01:27:18 +00:00
Andrzej Bialecki 191595d310 Change wcd0 to acd0. Pointed out by "E-post fra NetCom-abonnent",
Norway :-)
1999-02-07 22:19:58 +00:00
Jordan K. Hubbard ab3f9a3a7d MFC: distro changes. 1999-02-07 12:56:22 +00:00
KATO Takenori 4cd69b3158 Sync with syscons for i386.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-07 11:22:02 +00:00
KATO Takenori f27ff40679 Sync with sys/i386/i386/userconfig.c revision 1.126.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-07 11:21:07 +00:00
Kazutaka YOKOTA aec1347fb1 MFC:
- Add atkbd.4, atkbdc.4, splash.4 and vga.4.
- Update pcvt.4 and psm.4 to reflect recent keyboard driver changes.

Oked by: jkh
1999-02-07 05:43:14 +00:00
Kazutaka YOKOTA 98becd0eec MFC:
- Add FreeBSD 2.2.7, 2.2.8, 3.1, and 4.0 to the Fx and Os macros.
- Add 2.2.1 and 2.2.2 missing in a couple of places too.

Oked by: jkh
1999-02-07 05:41:37 +00:00
cvs2svn 4534a793b4 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-07 05:40:15 +00:00
Kazutaka YOKOTA 1d4498286b MFC:
- Don't assume the line length in the video memory is always the same as
  the screen width.
- Store the current video mode information in the `video_adapter' struct.
- The size of the `v_offscreensize' field in the VESA mode information
  block is u_int16, not u_int8.

Oked by: jkh
1999-02-07 03:03:29 +00:00
Jordan K. Hubbard 0bb06c2fc8 MFC: menu item reshuffle 1999-02-06 16:35:46 +00:00
KATO Takenori 3e9f0645e1 MFC: Pentium II Xeon, Celeron and Pentium III recognition.
OKed by:	jkh
1999-02-06 16:20:18 +00:00
Daniel C. Sobral 1205ceba72 MFC:
Rename "source" as "include". Make it capable of including forth source,
while stripping #@- functionality (in the BOOT_FORTH case).

Add builtin "more". (This is already in help.common -- must got into one
of Mike's MFC).

Make bf_run return ficlExec() result code. Push "interpret" on the
execution stack before calling ficlExec() (not doing this was a bug,
if we want ficlExec() to recurse).

Add EXCEPTION and MEMORY-ALLOC word sets.

Fix "evaluate" to respect buffer size.

Make builtins "throw" errors instead of pushing them on the stack. Move
error message printing from bf_command() to bf_run().

Make builtins state-aware.

Fix "type" not to use fixed sized buffers.

Add version words to ficl.

Add trace facility to ficl.

Add words $ and % to replace @ and - in "include".

Approved by: jhk
1999-02-06 14:27:46 +00:00
Kazutaka YOKOTA b491a97aeb YAMFC: print banner and prompt in the correct order (rev 1.128).
Approved by: jkh
1999-02-06 10:02:15 +00:00
Jordan K. Hubbard 08e8508f21 MFC: typo fix, reshuffle 1999-02-06 08:45:43 +00:00
KATO Takenori c1390ef92e MFC: activate boot loader for PC98.
Approved by:	jkh
1999-02-06 07:38:33 +00:00
KATO Takenori 852418e6c5 MFC: added boot loader for PC98.
Approved by:	jkh
1999-02-06 07:37:15 +00:00
KATO Takenori a83a61b0f7 MFC: moved pc98_system_parameter from text to data segment.
Approved by:	jkh
1999-02-06 07:31:33 +00:00
Matthew Dillon e438e4e9af Reviewed by: "Jordan K. Hubbard" <[email protected]>
Backport bug fix for pipes hanging in piperd from -4.x  to -3.x
1999-02-06 03:30:10 +00:00
cvs2svn efb240791d This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-06 02:54:48 +00:00
Jordan K. Hubbard 90dd8db9af MFC: allow internal variables to be marked as such. 1999-02-05 22:25:36 +00:00
Jordan K. Hubbard 8d8ea53e81 MFC: new variable handling. 1999-02-05 22:20:17 +00:00
Jordan K. Hubbard f685273015 MFC: bump mfs sizes 1999-02-05 17:09:22 +00:00
Brian Somers 933dc602b8 MFC: Allow an alternate to rad_send_request() for programs that
don't wish to wait for the RADIUS server to respond.

     Don't insist that RAD_USER_PASSWORD is supplied before
     calling rad_send_request().  Instead, insist on only one
     of RAD_USER_PASSWORD and RAD_CHAP_PASSWORD.

     Install radlib.h with -C

Merge ok'd by: jkh
1999-02-05 16:29:10 +00:00
Mark Murray eba43bfc29 MFC: make the whatis database for perl also. 1999-02-05 13:34:32 +00:00
Andrzej Bialecki 0b4eb05669 Nuke unused files. 1999-02-05 13:26:04 +00:00
Andrzej Bialecki 4dbe8614dc Nuke superfluous file. 1999-02-05 13:22:56 +00:00
Andrzej Bialecki 701225ed04 Clarify the logo a bit. 1999-02-05 12:21:57 +00:00
Andrzej Bialecki e4e907cd4f New version of simple_httpd. Added short install&run instructions.
Contributed by:	Marc Nicholas <[email protected]>
1999-02-05 12:21:41 +00:00
Andrzej Bialecki d92a263c78 Correct the meaning to reflect reality. 1999-02-05 12:20:35 +00:00
Andrzej Bialecki c602a7f693 Nuke /procfs 1999-02-05 12:20:01 +00:00
Andrzej Bialecki 7c7dd94a71 Add 'reboot'. 1999-02-05 12:19:51 +00:00
Andrzej Bialecki 3e9e3a7839 Add 'reboot' 1999-02-05 12:19:11 +00:00
Andrzej Bialecki cd604f9267 Add 'reboot' to allow for remote rebooting.
Asked for: on freebsd-small
1999-02-05 12:18:11 +00:00
Andrzej Bialecki ae2ad86099 Fixes to sync with upcoming 3.1-R. Approved by jkh.
* clean: don't clean unused tools/dumpnlist
* populate: don't install kvm_kernel.db, nor /stand/symbols.
1999-02-05 12:15:00 +00:00
Mark Murray b6b03c7253 MFC: force the links to go through.
OK'ed by:	jkh
1999-02-05 10:50:29 +00:00
Mark Murray f4af87e840 MFC: Clean up and add perl localland
OK'ed by:	jkh
1999-02-05 10:43:24 +00:00
Mark Murray 641fd600f8 MFC: Fix for bio devices in ioconf.c when port is wildcard or numeric.
OK'ed by:	jkh
1999-02-05 10:26:06 +00:00
Jordan K. Hubbard 8c51852773 MFC: XFree86 3.3.3.1 update, snapshot updates. 1999-02-05 09:55:35 +00:00
Mark Murray 316c1f6dc6 MFC: Make life easier for Laptop owners; autoload pcic and additions
to pccard database.
1999-02-05 09:42:27 +00:00
Matt Jacob 1301487919 MFC: version 1.17 1999-02-05 08:40:45 +00:00
Matt Jacob 26aff24c27 MFC: version 1.4 1999-02-05 08:38:21 +00:00
Matt Jacob acafa1e140 MFC: versions 1.16, 1.17 1999-02-05 08:36:32 +00:00
Matt Jacob 12745aca49 MFC: versions 1.13, 1.14 1999-02-05 08:33:15 +00:00
Matt Jacob 9717039f4a MFC: pull 1.3->1.4 change to RELENG_3 1999-02-05 08:26:30 +00:00
Matt Jacob 68d63d2cd8 MFC: pull 1.184->1.185 change to RELENG_3 1999-02-05 08:25:05 +00:00
Matt Jacob fbeb78d849 MFC: pull 1.4 to RELENG_3 1999-02-05 08:21:51 +00:00
Matt Jacob c0326be4e1 Approved by jkh. Pullup of 1.13 to RELENG_3. 1999-02-05 08:19:29 +00:00
Matt Jacob 74234a7ce6 Approved by jkh. Pullup of 1.21 to RELENG_3. 1999-02-05 08:19:03 +00:00
Greg Lehey c68a124502 More nit-picking in the debugging instructions.
Get the rc.conf description right.

Approved-by: jkh
1999-02-05 00:59:31 +00:00
Roger Hardiman 7e1f271238 Changed to use IICBUS_REPEATED_START
Submitted by:	Nicolas Souchu <[email protected]>
1999-02-04 14:14:30 +00:00
KATO Takenori f0603089bb Sync with sys/i386/i386/userconfig.c revision 1.126.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-04 14:01:03 +00:00
KATO Takenori 7b6610114b Sync with sys/i386/i386/machdep.c revision 1.322.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-04 13:59:59 +00:00
Jordan K. Hubbard 83a901778f MFC: compat22 distro 1999-02-04 13:47:07 +00:00
Kazutaka YOKOTA b6af7e185d MFC:
- Added atkbdc and atkbd to the device info array so that they don't
  appear as "unknown device" in the visual UserConfig.
- Mark psm as FLG_FIXED.

Approved by: jkh
1999-02-04 10:39:34 +00:00
Mike Smith bf1daf3bfb MFC: documentation for new tunables.
Reviewed by:	jkh
1999-02-04 06:48:26 +00:00
Mike Smith 42619d9e6b MFC: kernel tunable for TCBHASHSIZE
Reviewed by:	jkh
1999-02-04 06:40:28 +00:00
Mike Smith 9a6c4a01f0 MFC: kernel tunable for pcic IRQ 1999-02-04 06:40:01 +00:00
Jordan K. Hubbard 08c0d2fe9c Update release notes in preparation for 3.1 1999-02-04 06:14:04 +00:00
Julian Elischer e6f0958bcf MFC: fix logic around "nocon" test.
matches r1.2
1999-02-04 02:30:53 +00:00
Satoshi Asami f26d47d6ca Merge 1.74. 1999-02-03 22:26:35 +00:00
David Greenman 9d9a5c53c4 Brought in changes from rev 1.324: bugfixes for >=2GB RAM machines. 1999-02-03 14:12:01 +00:00
Brian Somers b41914cd7e MFC: Encode & Decode the PROTOCOMP fields correctly.
When NAKing the peer, get as close as we can to what
     he REQd.
     When the peer NAKs us, get as close as we can to what
     they NAKd with on our next REQ.
1999-02-02 20:27:47 +00:00
KATO Takenori 714e7b151e Sync with sys/dev/syscons/syscons.c revision 1.293.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-02 17:22:23 +00:00
Garrett Wollman 29db5d19e0 Merge revs. 1.28 and 1.29.
PR:		9729
1999-02-02 16:18:25 +00:00
Brian Somers d578d829d2 MFC: Don't allow root to specify non-existent labels on
the command line.
     Revise the error diagnostics so that invalid labels
     are reported immediately.
1999-02-02 09:41:03 +00:00
Brian Somers 7918d59eab MFC: Reimplement the previous fix (no response to PAP requests)
at the authentication layer rather than at the PAP layer
     so that it also applies to CHAP (no response to CHAP
     challenges).
1999-02-02 09:40:47 +00:00
John Hay 0b6040bfca Add the zh/FAQ directory. Make release needs it. 1999-02-02 06:05:13 +00:00
Jordan K. Hubbard f46dbcaa1e Yow, I somehow missed these in the last MFC. 1999-02-02 03:12:57 +00:00
Bill Paul 5b636ffde1 MFC: remember to initialize ifp->if_snd.ifq_maxlen. 1999-02-01 21:32:52 +00:00
Jordan K. Hubbard 027ae16555 MFC: smarter boot block copying.
Noticed by:	gpalmer
1999-02-01 18:08:44 +00:00
Jordan K. Hubbard e0015f1aa9 MFC: fix bogus free()s 1999-02-01 16:40:47 +00:00
Brian Somers 67e0ebfec4 MFC: If we receive no answer from the server when sending PAP
requests, give up (don't sit there indefinitely).
1999-02-01 13:48:24 +00:00
Jordan K. Hubbard 4dec1dc295 MFC: make directories unconditionally. 1999-02-01 12:45:26 +00:00
Greg Lehey 24a2d36d7e Move CFLAGS to God's Own Position
Remove white space between CFLAGS and +=
Remove unneeded options

Implied-by: bde
1999-02-01 00:52:51 +00:00
Greg Lehey 80a87b2320 Correct include paths
Remove unnecessary additional CFLAGS
Remove BINGRP and BINMODE
1999-01-31 23:25:22 +00:00
Robert Nordier b35722f899 MFC: Add -b option to rewrite mbr code. 1999-01-31 19:48:00 +00:00
Bill Fumerola eb3ef1aa13 MFC: usage() and SYNOPSIS sanity. 1999-01-31 15:36:01 +00:00
Julian Elischer 8e331b86af MFC: fix inconsistancy in accounting for stack sizes.
matches 1.144->1.145
1999-01-31 14:12:13 +00:00
Jordan K. Hubbard 5e1bad73ae Adjust for new boot.flp size. 1999-01-31 13:55:05 +00:00
Kazutaka YOKOTA 34c7122e0f MFC:
- Fix inconsistent key-function assignment.
- Added Finnish and Croatian keymaps.
1999-01-31 13:06:23 +00:00
Kazutaka YOKOTA c852a7b6a6 MFC: unload the splash decoder module before loading a screen saver module
(rev 1.38).
1999-01-31 12:59:09 +00:00
Kazutaka YOKOTA a59c0288ba MFC: keycode fixes (atkbd.c, rev 1.4, kbdtables.h, 1.43, 1.44). 1999-01-31 12:55:58 +00:00
Kazutaka YOKOTA 4e2a148719 MFC: pull down the splash screen when someone is about to read from
the keyboard (rev 1.294).
1999-01-31 12:52:18 +00:00
Kazutaka YOKOTA c89d9c1212 MFC: use VESA modes if available (rev 1.4, 1.5). 1999-01-31 12:47:38 +00:00
Kazutaka YOKOTA 4b6e86ecca MFC: remove obsolete syscons options. describe vga options (LINT 1.541). 1999-01-31 12:42:56 +00:00
Kazutaka YOKOTA 945d2da606 MFC: remove obsolete syscons options (rev 1.104). 1999-01-31 12:42:38 +00:00
Brian Somers 6c84c6e04e MFC: Mention the error when we fail to connect(). 1999-01-31 12:25:39 +00:00
Matthew Dillon 47e8272aec Backport from -4.x, fix bogus clearing of B_CACHE for NFS related bp's.
NFS tracks valid/dirty via the bp.  Clearing the B_CACHE here could
    cause NFS corruption.
1999-01-31 05:30:12 +00:00
Greg Lehey b098d058a0 Catch up with changes made in -CURRENT branch.
Egged-on-by:  jkh
1999-01-31 04:35:36 +00:00
Jordan K. Hubbard 7b34966127 MFC: be more selective in copying /boot contents. 1999-01-31 03:55:38 +00:00
Bill Fumerola fb39c71471 MFC: "devicename" consistancy. 1999-01-31 03:39:43 +00:00
Paul Richards 3735b044a5 Merge multicast support from current. 1999-01-31 00:57:46 +00:00
Jordan K. Hubbard d266f98199 MFC: also copy the loader. 1999-01-30 22:16:11 +00:00
Mike Smith fd5788e1c9 MFC, remove shutdown_timeout 1999-01-30 19:47:54 +00:00
Greg Lehey 306f21c0c8 Add MAINTAINER 1999-01-30 01:00:19 +00:00
Bill Paul e8a5229dd4 MFC: mention that Racore 8165 and 8148 ThunderLAN cards are supported 1999-01-29 16:32:46 +00:00
Matthew Dillon 4dcb005773 Backport from -4.x, Fix '|' that was supposed to be '||' 1999-01-29 06:41:33 +00:00
Matthew Dillon 6cca5d8683 Backport from -4.x, fix signed char array index by casting to unsigned
char.
1999-01-29 06:39:23 +00:00
Matthew Dillon 4bdb2ca180 Backport from -4.x. Fix an 'if (a = b)' conditional that should have
read 'if (a == b)'
1999-01-29 06:37:12 +00:00
Matthew Dillon 92a84dca9e Backport bug in devfs_strategy() from -4.x. switch case for VCHR
was falling through to VBLK.  Note however that the bug would not
    have caused abnormal operation in most cases.
1999-01-29 06:30:54 +00:00
Greg Lehey f371fa279e Add .gdbinit file for debugging 1999-01-29 02:50:20 +00:00
Greg Lehey cb59302f2d Add section on debugging configuration problems and panics. 1999-01-29 02:41:15 +00:00
Greg Lehey 5c0e9c7a96 Change multiline comments to start with a lone /* and end with a */,
apparently in accordance with style(9).

Complained-about-by: bde
1999-01-29 01:17:54 +00:00
Greg Lehey cadc0fdb69 Change multiline comments to start with a lone /* and end with a */,
apparently in accordance with style(9).

Complained-about-by: bde

vinumopen: Change check for root user to a call to suser(9)
vinumclose: Remove check for root user.

Nitpicked-by: phk
1999-01-29 01:09:41 +00:00
Bill Fumerola 6fd513aead MFC: new syslog(8) behavior 1999-01-28 23:02:23 +00:00
Jordan K. Hubbard 45c9d398bc Update to RELENG_3 tag. 1999-01-28 22:42:36 +00:00
Bill Fumerola 7190a4868f MFC: Return a sane value. 1999-01-28 20:48:03 +00:00
Bill Fumerola c663997e10 MFC: typo 1999-01-28 19:24:03 +00:00
Roger Hardiman be4824bc55 Support for MSP3410D / MSP3415D Stereo/Mono audio using the audio format
Auto Detection Mode. This leaves MSP3400C owners still unsupported.
Thanks to Gerd Knorr <[email protected]> for providing some early
assistance and sample code in the linux bttv driver.
Nicolas Souchu <[email protected]> ported the msp_read/write/reset
functions to smbus/iicbus.

METEOR_INPUT_DEV2 now selects a composite camera on the SVIDEO port.
For true SVIDEO, use METEOR_INPUT_DEV_SVIDEO.
If you get a monochrome image from the SVIDEO port, you have
seleted the wrong input type.

Tested by:	Johan Larsson<[email protected]>
1999-01-28 17:26:32 +00:00
KATO Takenori e91f2e7577 Sync with sys/i386/isa/wd.c revision 1.186.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-01-28 13:35:03 +00:00
KATO Takenori 23386ceb7c Sync with sys/i386/conf/Makefile.i386 revision 1.136.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-01-28 13:34:08 +00:00
cvs2svn 2a2926f758 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-01-28 10:48:30 +00:00
Greg Lehey eb2a83ac98 Retrofit revision 1.8: quieten warning messages, and conincidentally
fix broken code.

Submitted-by: dillon
1999-01-28 07:21:03 +00:00
Greg Lehey 723831a0c3 build_write_request: only fail if all plexes are down, instead of if
any of them are down.

Reported-by: dg
1999-01-28 07:19:50 +00:00
Greg Lehey bf9892011c Fix some format breakage before bde finds out
Retrofit revision 1.9

vinum_scandisk: check not only drive error, but also drive state,
  before accessing the drive.

drivecmp: Remove warning messages by backing out overly constant
  declarations in revision 1.9.

Partially-submitted-by: dillon
1999-01-28 07:18:05 +00:00
Greg Lehey 37794b1a30 Retrofit revision 1.9 1999-01-28 07:11:19 +00:00
Mike Smith e8c219f8db MFC: don't plaster evars without '=' 1999-01-28 06:16:11 +00:00
Mike Smith 2b7f8065b9 MFC: (a == b) conditional was (a = b) 1999-01-28 06:14:22 +00:00
Justin T. Gibbs 0a74e7aa19 MFC: Correct test for empty mailbox in ahbqueuembox(). 1999-01-28 03:46:50 +00:00
Bill Fumerola ef9353b82f MFC: wcarchive updates & typos 1999-01-27 22:18:43 +00:00
Julian Elischer f66e741959 MFC: compile the module the same way we compile the kernel.
(how do we do this differently for Alpha?)
1999-01-27 20:56:24 +00:00
Julian Elischer 5faed1c446 MFC: Linux threads support is now default, to match -current
Recompile the usual suspects!
1999-01-27 20:51:44 +00:00
Julian Elischer d89e5a9902 Bring in a patch from Soeren and BDE to fix a problem I introduced. 1999-01-27 20:39:08 +00:00
Roger Hardiman dce3c1d2e7 Updated iicbus_repeated_start() for bt848 MSP34xx audio chip support 1999-01-27 11:57:26 +00:00
Roger Hardiman c35d1f3744 Submitted by: Roger Hardiman
Updated iicbus_repeated_start() for bt848 MSP34xx audio chip support
1999-01-27 11:56:54 +00:00
KATO Takenori cfd196ada5 MFC: LD-BDN reset code. 1999-01-27 11:06:23 +00:00
KATO Takenori ea6cd43c41 Sync with sys/i386/isa/sio.c revision 1.224.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-01-27 08:27:36 +00:00
KATO Takenori 42b97a2110 MFC: initialize the member atr_buf (rev. 1.110). 1999-01-27 08:23:15 +00:00
Jordan K. Hubbard 81df23e2cb MFC: strip prefixes 1999-01-27 05:01:20 +00:00
Jordan K. Hubbard 26e208d296 Correct smashed tabs. 1999-01-27 04:37:03 +00:00
Jordan K. Hubbard 5483a6b484 argh! wrong version again. Sigh. THIS is the right file! 1999-01-27 03:39:59 +00:00
Jordan K. Hubbard 9ccf524429 Whoops, this was downrev at the MFC. 1999-01-27 03:38:46 +00:00
Jordan K. Hubbard 103eab87b0 MFC: install kernel more selectively. 1999-01-27 03:19:09 +00:00
Greg Lehey 098bc8d550 Get rid of tbl stuff, replace with .Bl
Take BUGS section from vinum.8
1999-01-27 03:14:28 +00:00
Greg Lehey 55b64a504f Fix broken command tables
Move the BUGS section to vinum.4: the only bug in vinum.8 was the man
page, fixed with this commit.
1999-01-27 03:02:55 +00:00
Jordan K. Hubbard d4b1043197 MFC: write changes to rc.conf.site 1999-01-27 02:51:30 +00:00
Jordan K. Hubbard 69f08ad4eb MFC: Allow rc_conf_files to be used. 1999-01-27 02:31:26 +00:00
Jordan K. Hubbard 3f4756b8e3 MFC: more changes necessary for a working release build. 1999-01-27 02:27:13 +00:00
Jordan K. Hubbard a16b645ee8 Support new upgrade target. 1999-01-27 02:24:45 +00:00
Roger Hardiman 120ce5fd04 Submitted by: Nicolas Souchu <[email protected]>
Updated to support bt848 driver and MSP3400 audio chip
1999-01-26 23:21:42 +00:00
Roger Hardiman 98d4473c22 Submitted by: Nicolas Souchu <[email protected]>
Updated to support bt848 driver MSP34xx audio chip
1999-01-26 23:21:01 +00:00
Roger Hardiman fc8439f3e6 Submitted by: Nicolas Souchu <[email protected]>
Added support required by bt848 driver for MSP34xx audio chip
1999-01-26 23:19:50 +00:00
Roger Hardiman 49815fee51 Added METEOR_DEV2 and METEOR_DEV3 1999-01-26 23:16:46 +00:00
cvs2svn 8deb6a4888 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-01-26 19:04:16 +00:00
Bill Paul 9d4813f707 MFC: remember to check for TI vendor ID when choosing the station address
EEPROM offset.
1999-01-26 15:20:30 +00:00
Jordan K. Hubbard bdb377d732 chflags before moving libs 1999-01-26 09:15:53 +00:00
David Greenman 465326b91b From -current: ripped out EDITOR=ee. 1999-01-26 07:29:43 +00:00
Steve Price 54e56b6be7 MFC: add support for the USR3031 PNP modem. 1999-01-26 04:04:01 +00:00
Satoshi Asami 1dec8d885b MFC: move bsd.port.*mk to ${PORTSDIR}/Mk. 1999-01-26 03:41:29 +00:00
Peter Wemm 1a068cc913 Argh, cut/paste braino. Things are installed with "install", not "depend".
Submitted by:	Ruslan Ermilov <[email protected]>
1999-01-25 23:25:59 +00:00
Robert Nordier 413ce514f5 MFC: Fix a couple of further bugs. 1999-01-25 23:11:34 +00:00
Archie Cobbs d0f62363a9 MFC: Move kernel-only declarations to within #ifdef KERNEL 1999-01-25 19:19:28 +00:00
Archie Cobbs 4b2007ffd2 MFC: Fix bug where 'ipfw list' would choke if there were a large number of rules 1999-01-25 19:17:07 +00:00
KATO Takenori c8dc438e05 Sync with sys/i386/conf/Makefile.i386 revision 1.136.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-01-25 13:30:05 +00:00
Robert Nordier 9fded642d1 MFC: Correctly record the end of the a.out symbol table. 1999-01-25 10:38:43 +00:00
Brian Somers ea77a612a0 MFC: Don't SEGV when ``set proctitle'' is used in the default
section.
1999-01-25 10:21:47 +00:00
Mark Murray c959b2edbb MFC: link everything against libcrypt and provide a dekerberise target for
the foot-shooters.
1999-01-25 06:59:43 +00:00
Peter Wemm e8f23881cc MFC: try and stop gensetdefs being run in multiple times, in parallel with
compiling the generated .c files.
1999-01-25 04:10:58 +00:00
David Greenman edfccf79cd Brought in fix from rev 1.196: Don't discard dirty buffers that had an
I/O error.
1999-01-25 01:59:26 +00:00
Peter Wemm 5626ae8aaa MFC: since we forced an ELF kernel, make sure it's also done during
the install or it'll abort since the default is ELF and it will abort
and complain about the bootblocks when it doesn't need to.
(This is what broke the freefall update)
1999-01-25 01:50:17 +00:00
David Greenman bfa8893b9e Brought in fix from rev 1.21: softdep_deallocate_dependencies() reduced to
a panic.
1999-01-25 01:44:59 +00:00
Mike Smith 102d1d8a38 From the PR:
There is no builtin facility in ficl for conditional compilation.
This is actually just a minor problem, since one can be easily written
by standard programs. Indeed, the one implemented here has come straight
out of ANS Forth draft proposal, plus minor case correction.

PR:		bin/9662
Submitted by:	"Daniel C. Sobral" <[email protected]>
1999-01-24 18:09:04 +00:00
Mike Smith 8f64982f69 Oops, forgot to MFC the fix to actually set the unit number. 1999-01-24 17:24:34 +00:00
Mark Murray a3960a92c8 MFC: Link against libcrypt. 1999-01-24 15:33:11 +00:00
Matthew Dillon fe4e21ce44 Backport from -4.x. PQ_CACHE pages can be busy, we have to deal with
it when trying to free cache pages.    This patch will probably be
    permanent in -3.x. ( PQ_CACHE operation will eventually be cleaned up
    in -4.x ).
1999-01-24 10:12:40 +00:00
Mark Murray 0d5c70c962 MFC: link against libcrypt. 1999-01-24 08:15:33 +00:00
Peter Wemm 870942e97b MFC: turn on MaxHeaderLines= option 1999-01-24 08:01:34 +00:00
Peter Wemm 0433731d97 Implement header Denial of service fix as in -current. These files are
not tracking the vendor branch so there is duplication (did I mention
that cvs branching sucks when doing this?)

Obtained from: sendmail.org
1999-01-24 07:58:16 +00:00
Robert Nordier 09e5a4cea9 MFC: Drop outdated FreeBSD version number from test script. 1999-01-24 07:13:35 +00:00
Bruce Evans 6f60454a6b MFC (rev.1.5: rev.1.4 was premature in claiming that revoke() works
on non-device files).
1999-01-24 06:54:13 +00:00
Bruce Evans 46aa9363de MFC (rev.1.113: unsupport revoke() for non-devices). 1999-01-24 06:36:04 +00:00
Matthew Dillon 9b0a6c1b5d Backport to -3.x from -4.x - do not leave dirty pages in PQ_CACHE.
If we dirty a PQ_CACHE page, we have to [de]activate it as well.
1999-01-24 06:20:12 +00:00
Greg Lehey a9fd505a6b Retrofit revision 1.193 to -STABLE:
Add vinumdaemon.c; sort vinum entries.

Prodded-by: peter
1999-01-24 05:11:31 +00:00
Greg Lehey 4aebc62043 Modify #include paths to make vinum compile statically
Correct #include in vinumioctl.c to compile correctly
  without VINUMDEBUG

Submitted-by: peter
1999-01-24 04:32:05 +00:00
Mike Smith 2175fb198b MFC: add root_disk_unit, error checking 1999-01-24 00:16:03 +00:00
Mike Smith 66fe8dbb99 MFC: set bi_bios_dev correctly. 1999-01-24 00:15:39 +00:00
Robert Nordier c2805f264a MFC: Fix wrong exit code. 1999-01-23 17:10:45 +00:00
Roger Hardiman a35ba761be copy version 1.24 from HEAD into the RELENG_3 tree 1999-01-23 12:00:20 +00:00
Roger Hardiman 19acb766a2 copy 1.62 from HEAD into to RELENG_3 tree.
Added detection of Hauppauge IR remote control.
and MSP34xx Audio chip. Fixed i2c read error.
Hauppauge supplied details of new Tuner Types.
Added tuner type 0x1a.
Danny Braniss <[email protected]> submitted Bt878
AverMedia detection with PCI subsystem vendor id.
1999-01-23 11:58:00 +00:00
Peter Wemm b0479e0263 MFC: typo fix; s/mdev/bdev/ in BDEV_MODULE() macro 1999-01-22 22:29:10 +00:00
Robert Nordier c2babb0d86 MFC: Fix extraneous free() on error. 1999-01-22 21:37:40 +00:00
John Polstra 5f0c731034 MFC: Fix PAM-related a.out breakage. 1999-01-22 18:41:00 +00:00
Robert Nordier 9dd11f0e2e Fix read error not being detected.
Reported by: Andreas Klemm <[email protected]>
1999-01-22 18:19:52 +00:00
Bill Paul ef4be48169 MFC: fix multicast receive code 1999-01-22 15:26:22 +00:00
Robert Nordier 745365c6b4 MFC: Push version numbers up to 1.00. 1999-01-22 13:12:30 +00:00
Eivind Eklund df7b618256 __FreeBSD_version -> 300007 to indicate 3.0-stable branch. 1999-01-22 08:49:02 +00:00
Matthew Dillon d85a4c4641 Backport from -4.x
Fix madvise().  We were only supposed to madvise() on default or swap
    store.  The old code was mostly broken and totally non-working, but
    even so there *were* some holes in the old code that let through things
1999-01-22 06:44:16 +00:00
Matthew Dillon 63e5831423 Backport from -4.x.
We cannot call vm_object_collapse() here because it could block and
    we are not holding any locks on our vm_object or vm_page_t.  If it
    were to block, the system might shred the objects that we assume remain
    consistent.

    John Dyson is not 100% sure that VM objects are collapsed properly
    in all cases ( i.e. 'garbage collected' ), and this code was originally
    put in to solve a related problem.  For now we assume that VM objects
    are collapsed properly.  If it turns out they are not, we will fix
    that problem.  The problem this patch fixes, however, could cause a crash
    and must be fixed now.
1999-01-22 06:05:08 +00:00
Matthew Dillon 09fbfd752c Backport from -4.x
I do not believe there is a bug here because we do check that no paging
    is in progress on the object.  However, the code is too fragile, we
    do not take any chances with PG_BUSY so we have a check for busy pages
    before we busy it ourself.
1999-01-22 06:00:21 +00:00
Matthew Dillon e50e6a6d0a Backport from -4.x
PG_BUSY was being tested without splvm() protection.  We have to test
    it again with splvm() protection before we can actually sleep.
1999-01-22 05:53:39 +00:00
Matthew Dillon 4bb6dc2a78 Backport from -4.x
We should never use vm_page_flag_clear() to clear PG_BUSY.  We need
    to use vm_page_wakeup() to handle side effects such as waking up waiters.
1999-01-22 05:51:41 +00:00
Matthew Dillon 6ee5313cca Backport from -4.x. We are supposed to wait while the page is busy before
messing with it, but the VM code was special-casing a m->busy page that
    was still valid ( i.e. usually a pageout ) and allowing it through.  The
    problem is that whatever m->busy'd the page is probably still depending on
    it not being messed with.  Specifically, I am thinking of the
    vm_pager_get_pages() code where the OBJT_VNODE pager converts PG_BUSY
    to m->busy for the read operation.    While this code may not be
    specifically broken for the case, it does initially set PG_BUSY and assume
    that it has the entire page to itself... but OBJT_VNODE converts it to
    m->busy.  It is just too dangerous to allow the special case optimization
    through.

    Removing the special optimization should have no discernable effect since
    pageout operates mark resident pmap pte's READ-ONLY rather then unmapping
    them, and so no fault normally occurs.
1999-01-22 05:49:39 +00:00
Matthew Dillon 7674d8210c vm_page_sleep() can't just be called once with the assumption that the
page will be unbusied, it doesn't work that way.   Fixed to call it in
    a loop until the page is truely unbusy.
1999-01-22 05:36:12 +00:00
Matthew Dillon d91d0a56b5 Backport from -4.x. Not really a bug, but cleanup manual clearing of
PG_BUSY to formal clearing using vm_page_wakeup().
1999-01-22 05:26:39 +00:00
Matthew Dillon 57a1042a8a Backport from -4.x. Move splmem() from after autoinit to before autoinit
to handle possible initialization race.
1999-01-22 05:17:56 +00:00
Brian Somers ea3b8ac6ef MFC: Typo police. 1999-01-22 01:45:37 +00:00
John Polstra 598d2c50e8 MFC: Revert renaming of globals that broke make world. 1999-01-21 22:04:26 +00:00
Mike Smith aadcf11806 MFC: extra help for kernel tunable overrides. 1999-01-21 22:04:01 +00:00
Mike Smith 4bdfe1c0a3 MFC: allow VM_KMEM_SIZE to be overriden from the kernel environment. 1999-01-21 21:55:24 +00:00
Archie Cobbs efac7312c3 MFC: rev 1.48 (PR docs/9603) 1999-01-21 19:52:31 +00:00
Jordan K. Hubbard 2919fc336a Now we're -STABLE 1999-01-21 05:33:18 +00:00
11204 changed files with 750173 additions and 380656 deletions

No files matched your search

+33 -1
View File
@@ -1,4 +1,4 @@
# $Id:$
# $FreeBSD$
# @(#)COPYRIGHT 8.2 (Berkeley) 3/21/94
All of the documentation and software included in the 4.4BSD and 4.4BSD-Lite
@@ -63,3 +63,35 @@ The views and conclusions contained in the software and documentation are
those of the authors and should not be interpreted as representing official
policies, either expressed or implied, of the Regents of the University
of California.
NOTE: The copyright of UC Berkeley's Berkeley Software Distribution ("BSD")
source has been updated. The copyright addendum may be found at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change and is
included below.
July 22, 1999
To All Licensees, Distributors of Any Version of BSD:
As you know, certain of the Berkeley Software Distribution ("BSD") source
code files require that further distributions of products containing all or
portions of the software, acknowledge within their advertising materials
that such products contain software developed by UC Berkeley and its
contributors.
Specifically, the provision reads:
" * 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors."
Effective immediately, licensees and distributors are no longer required to
include the acknowledgement within advertising materials. Accordingly, the
foregoing paragraph of those BSD Unix files containing it is hereby deleted
in its entirety.
William Hoskins
Director, Office of Technology Licensing
University of California, Berkeley
+14 -16
View File
@@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.221 1998/10/17 15:25:26 bde Exp $
# $FreeBSD$
#
# The user-driven targets are:
#
@@ -8,6 +8,7 @@
# installworld - Install everything built by "buildworld".
# world - buildworld + installworld.
# update - Convenient way to update your source tree (cvs).
# upgrade - Upgrade a.out (2.2.x/3.0) system to the new ELF way
# most - Build user commands, no libraries or include files.
# installmost - Install user commands, no libraries or include files.
# aout-to-elf - Upgrade an system from a.out to elf format (see below).
@@ -51,7 +52,7 @@
# or 3.0. If OBJFORMAT is set as an environment variable or in /etc/make.conf,
# this overrides /etc/objformat.
#
# Unless -DNOAOUT is specified, a `make world' with OBJFORMAT=elf will
# If -DWANT_AOUT is specified, a `make world' with OBJFORMAT=elf will
# update the legacy support for aout. This includes all libraries, ld.so
# and boot objects. This part of build should be regarded as
# deprecated and you should _not_ expect to be able to do this past the
@@ -63,25 +64,19 @@
# Upgrading an i386 system from a.out to elf format
#
#
# The aout->elf transition build is performed by doing a `make aout-to-elf'
# or a `make aout-to-elf-build' followed by a `make aout-to-elf-install'.
# The aout->elf transition build is performed by doing a `make upgrade' (or
# `make aout-to-elf') or in two steps by a `make aout-to-elf-build' followed
# by a `make aout-to-elf-install', depending on user preference.
# You need to have at least 320 Mb of free space for the object tree.
#
# The upgrade process checks the installed release. If this is 3.0-CURRENT,
# it is assumed that your kernel contains all the syscalls required by the
# current sources.
#
# For installed systems where `uname -r' reports something other than
# 3.0-CURRENT, the upgrade process expects to build a kernel using the
# kernel configuration file sys/i386/conf/GENERICupgrade. This file is
# defaulted to the GENERIC kernel configuration file on the assumption that
# it will be suitable for most systems. Before performing the upgrade,
# replace sys/i386/conf/GENERICupgrade with your own version if your
# hardware requires a different configuration.
#
# The upgrade procedure will stop and ask for confirmation to proceed
# several times. On each occasion, you can type Ctrl-C to abort the
# upgrade.
# upgrade. Optionally, you can also start it with NOCONFIRM=yes and skip
# the confirmation steps.
#
# At the end of the upgrade procedure, /etc/objformat is created or
# updated to contain OBJFORMAT=elf. From then on, you're elf by default.
@@ -102,7 +97,7 @@ TGTS = afterdistribute all buildworld checkdpadd clean cleandepend cleandir \
#
${TGTS} : upgrade_checks
@cd ${.CURDIR}; \
make -f Makefile.inc0 -m ${.CURDIR}/share/mk ${.TARGET}
${MAKE} -f Makefile.inc0 -m ${.CURDIR}/share/mk ${.TARGET}
# Set a reasonable default
.MAIN: all
@@ -116,7 +111,7 @@ ${TGTS} : upgrade_checks
# the system to current.
#
upgrade_checks :
@cd ${.CURDIR}; if `make -m ${.CURDIR}/share/mk test > /dev/null 2>&1`; then ok=1; else make -f Makefile.upgrade make; fi;
@cd ${.CURDIR}; if `make -m ${.CURDIR}/share/mk test > /dev/null 2>&1`; then ok=1; else ${MAKE} -f Makefile.upgrade make; fi;
#
# A simple test target used as part of the test to see if make supports
@@ -134,6 +129,9 @@ UPGRADE = aout-to-elf aout-to-elf-build aout-to-elf-install \
#
# Handle the upgrade targets, using the source relative mk files.
#
upgrade: aout-to-elf
${UPGRADE} : upgrade_checks
@cd ${.CURDIR}; \
make -f Makefile.upgrade -m ${.CURDIR}/share/mk ${.TARGET}
${MAKE} -f Makefile.upgrade -m ${.CURDIR}/share/mk ${.TARGET}
+8 -6
View File
@@ -1,5 +1,5 @@
#
# $Id: Makefile.inc0,v 1.13 1998/12/20 14:30:08 jhay Exp $
# $FreeBSD$
#
# This makefile ensures that the object directory is set according to the
# object format to avoid mixing aout and elf formatted files during the
@@ -59,6 +59,7 @@ LEGACY_ENV= PATH=${ELFTMPPATH} OBJFORMAT=aout NOTOOLS=1 TOOLROOT=${ELFTMP} \
MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout
XMAKE= ${ELFTMP}/usr/bin/${MAKE}
STARTTIME!= LC_TIME=C date
#
# world
#
@@ -68,7 +69,7 @@ XMAKE= ${ELFTMP}/usr/bin/${MAKE}
#
world:
@echo "--------------------------------------------------------------"
@echo ">>> ${OBJFORMAT} make world started on `LC_TIME=C date`"
@echo ">>> ${OBJFORMAT} make world started on ${STARTTIME}"
@echo "--------------------------------------------------------------"
.if target(pre-world)
@echo
@@ -78,11 +79,11 @@ world:
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} pre-world
.endif
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} buildworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && defined(WANT_AOUT)
@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-build
.endif
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} -B installworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && defined(WANT_AOUT)
@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-install
.endif
.if target(post-world)
@@ -94,6 +95,7 @@ world:
.endif
@echo
@echo "--------------------------------------------------------------"
@echo ">>> ${OBJFORMAT} make world started on ${STARTTIME}"
@echo ">>> ${OBJFORMAT} make world completed on `LC_TIME=C date`"
@echo "--------------------------------------------------------------"
@@ -105,7 +107,7 @@ world:
#
buildworld :
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} buildworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && defined(WANT_AOUT)
@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-build
.endif
@@ -117,6 +119,6 @@ buildworld :
#
installworld :
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} installworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && defined(WANT_AOUT)
@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} -DNOMAN -DNOINFO legacy-install
.endif
+13 -7
View File
@@ -1,5 +1,5 @@
#
# $Id: Makefile.inc1,v 1.58 1999/01/07 13:09:15 eivind Exp $
# $FreeBSD$
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@@ -183,13 +183,15 @@ TMPPATH= ${STRICTTMPPATH}:${PATH}
COMPILER_ENV= BISON_SIMPLE=${TOOLROOT}/usr/share/misc/bison.simple \
COMPILER_PATH=${TOOLROOT}/usr/libexec:${TOOLROOT}/usr/bin \
GCC_EXEC_PREFIX=${WORLDTMP}${SHLIBDIR}:${WORLDTMP}/usr/lib/ \
GROFF_FONT_PATH=${WORLDTMP}/usr/share/groff_font \
GROFF_TMAC_PATH=${WORLDTMP}/usr/share/tmac \
LD_LIBRARY_PATH=${TOOLROOT}${SHLIBDIR} \
LIBRARY_PATH=${WORLDTMP}${SHLIBDIR}:${WORLDTMP}/usr/lib
BMAKEENV= PATH=${TMPPATH} ${COMPILER_ENV} NOEXTRADEPEND=t \
OBJFORMAT_PATH=${TOOLROOT}/usr/libexec:/usr/libexec
XMAKEENV= PATH=${STRICTTMPPATH} ${COMPILER_ENV} \
PERL5LIB=${DESTDIR}/usr/libdata/perl/5.00502 \
PERL5LIB=${DESTDIR}/usr/libdata/perl/5.00503 \
OBJFORMAT_PATH=${TOOLROOT}/usr/libexec \
CFLAGS="-nostdinc ${CFLAGS}" # XXX -nostdlib
@@ -226,7 +228,7 @@ buildworld: check-objformat
@echo ">>> Cleaning up the temporary ${OBJFORMAT} build tree"
@echo "--------------------------------------------------------------"
mkdir -p ${WORLDTMP}
chflags -R noschg ${WORLDTMP}/
-chflags -R noschg ${WORLDTMP}/
rm -rf ${WORLDTMP}
.endif
.if !defined(NOTOOLS)
@@ -363,13 +365,15 @@ reinstall:
@echo "--------------------------------------------------------------"
@echo ">>> Re-scanning the shared libraries.."
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; /sbin/ldconfig -R
-cd ${.CURDIR}; /sbin/ldconfig -R
.endif
.if !defined(NOMAN)
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Rebuilding man page indexes"
@echo ">>> Rebuilding man page indices"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/share/man; ${MAKE} makedb
.endif
#
# update
@@ -394,7 +398,7 @@ update:
@echo "--------------------------------------------------------------"
@echo ">>> Updating /usr/src from cvs repository" ${CVSROOT}
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; cvs -q update -P -d
cd ${.CURDIR}; cvs -q update -rRELENG_3 -P -d
.endif
#
@@ -550,10 +554,11 @@ includes:
cd ${.CURDIR}/lib/libftpio; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libmd; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libmytinfo; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libncurses; ${MAKE} beforeinstall
.if !defined(WANT_CSRG_LIBM)
cd ${.CURDIR}/lib/msun; ${MAKE} beforeinstall
.endif
cd ${.CURDIR}/lib/libncurses; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libnetgraph; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libopie; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libpam/libpam; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libpcap; ${MAKE} beforeinstall
@@ -567,6 +572,7 @@ includes:
cd ${.CURDIR}/lib/libss; ${MAKE} -B hdrs beforeinstall
cd ${.CURDIR}/lib/libutil; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libvgl; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libwrap; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libz; ${MAKE} beforeinstall
cd ${.CURDIR}/usr.bin/f2c; ${MAKE} beforeinstall
cd ${.CURDIR}/usr.bin/lex; ${MAKE} beforeinstall
+39 -86
View File
@@ -1,10 +1,15 @@
#
# $Id: Makefile.upgrade,v 1.8 1999/01/07 06:30:14 peter Exp $
# $FreeBSD$
#
# This makefile contains rules for preforming upgrades that are outside
# the scope of the normal build world process.
#
#
# Make sure the PATH is set correctly
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
#
# Build things relative to the user's preferred object directory,
# defaulting to /usr/obj if not defined.
@@ -39,15 +44,23 @@ make :
# with them (in case the installed kernel is an older version), then
# install the elf world.
#
aout-to-elf aout-to-elf-install : \
aout-to-elf aout-to-elf-install : /var/db/update.cfg \
${MAKEOBJDIRPREFIX}/do_aout_buildworld \
${MAKEOBJDIRPREFIX}/do_elf_buildworld \
${MAKEOBJDIRPREFIX}/do_move_aout_libs \
${MAKEOBJDIRPREFIX}/do_aout_installworld \
${MAKEOBJDIRPREFIX}/do_aout_kernel \
${MAKEOBJDIRPREFIX}/do_elf_installworld \
${MAKEOBJDIRPREFIX}/do_elf_kernel \
${MAKEOBJDIRPREFIX}/do_set_objformat \
${MAKEOBJDIRPREFIX}/do_install_kernel_reboot
${MAKEOBJDIRPREFIX}/do_reboot
# front-load all the information we're going to need.
/var/db/update.cfg:
@if [ -f ${.CURDIR}/tools/tools/upgrade/doupgrade.sh ]; then \
env MACHINE=${MACHINE} CURDIR=${.CURDIR} sh ${.CURDIR}/tools/tools/upgrade/doupgrade.sh 1 /var/db/update.cfg; \
else \
echo "Your source tree must not be fully populated; unable to find upgrade script"; echo "in ${.CURDIR}/tools/tools/upgrade/doupgrade.sh."; exit 1; \
fi
#
# Just do the build parts of the transition build.
@@ -68,7 +81,7 @@ ${MAKEOBJDIRPREFIX}/do_aout_buildworld :
@echo "--------------------------------------------------------------"
@cd ${.CURDIR}; MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout \
OBJFORMAT=aout REALLY_WANT_DEPRECIATED_AOUT=yes \
make -f Makefile.inc1 -m ${.CURDIR}/share/mk buildworld
${MAKE} -f Makefile.inc1 -m ${.CURDIR}/share/mk buildworld
@touch ${MAKEOBJDIRPREFIX}/do_aout_buildworld
#
@@ -88,7 +101,8 @@ ${MAKEOBJDIRPREFIX}/do_elf_buildworld :
@cd ${.CURDIR}; MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/elf \
PATH=${AOUTTMPPATH} OBJFORMAT=elf NOTOOLS=1 \
TOOLROOT=${MAKEOBJDIRPREFIX}/aout${.CURDIR}/tmp \
make -f Makefile.inc1 -m ${.CURDIR}/share/mk buildworld
X11BASE=/nonexistent \
${MAKE} -f Makefile.inc1 -m ${.CURDIR}/share/mk buildworld
@touch ${MAKEOBJDIRPREFIX}/do_elf_buildworld
#
@@ -157,15 +171,6 @@ ${MAKEOBJDIRPREFIX}/do_move_aout_libs move-aout-libs :
# elf world will be updated.
#
${MAKEOBJDIRPREFIX}/do_aout_installworld :
.if !defined(NOCONFIRM)
@echo
@echo "--------------------------------------------------------------"
@echo " You are about to update the installed system (or the system"
@echo " that your DESTDIR points to). You can type Ctrl-C to abort"
@echo " now or press return to start the first phase of the update."
@echo "--------------------------------------------------------------"
@/bin/sh -c "read -p \"Return to continue or Ctrl-C to abort: \" _e"
.endif
.if ${INSTALLEDVERSION} < 300003
@echo
@echo "--------------------------------------------------------------"
@@ -174,51 +179,18 @@ ${MAKEOBJDIRPREFIX}/do_aout_installworld :
@cp /bin/sh ${MAKEOBJDIRPREFIX}
@cp /sbin/reboot ${MAKEOBJDIRPREFIX}
.endif
@echo
@echo "--------------------------------------------------------------"
@echo " Doing an aout installworld using the aout tools in the aout"
@echo " obj tree."
@echo "--------------------------------------------------------------"
@cd ${.CURDIR}; MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout \
PATH=${AOUTTMPPATH} OBJFORMAT=aout NOTOOLS=1 \
TOOLROOT=${MAKEOBJDIRPREFIX}/aout${.CURDIR}/tmp \
make -f Makefile.inc1 -m ${.CURDIR}/share/mk installworld
@touch ${MAKEOBJDIRPREFIX}/do_aout_installworld
#
# The installed kernel may not match the world that is installed, so build
# a generic kernel, but don't install it. The user can decide if the kernel
# needs to be installed. Perhaps we should install it in the root
# directory as an obscure name just in case a reboot is required?
# Build and install a new kernel, as well as the boot blocks necessary to
# boot it.
#
${MAKEOBJDIRPREFIX}/do_aout_kernel :
.if ${INSTALLEDVERSION} >= 300003
@echo
@echo "--------------------------------------------------------------"
@echo " You are already running 3.0, so a kernel build"
@echo " is probably not required."
@echo "--------------------------------------------------------------"
.else
@echo
@echo "--------------------------------------------------------------"
@echo " Building a generic kernel using the new aout tools"
@echo "--------------------------------------------------------------"
.if exists(${.CURDIR}/sys/compile/GENERICupgrade)
@rm -rf ${.CURDIR}/sys/compile/GENERICupgrade
.endif
.if !exists(${.CURDIR}/sys/${MACHINE}/conf/GENERICupgrade)
-cp ${.CURDIR}/sys/${MACHINE}/conf/GENERIC \
${.CURDIR}/sys/${MACHINE}/conf/GENERICupgrade
.endif
@cd ${.CURDIR}/sys/${MACHINE}/conf; config GENERICupgrade
@-cd ${.CURDIR}/sys/compile/GENERICupgrade; \
OBJFORMAT=aout make KERNFORMAT=aout depend && \
OBJFORMAT=aout make KERNFORMAT=aout all
@cd ${.CURDIR}/sys/compile/GENERICupgrade; \
OBJFORMAT=aout make KERNFORMAT=aout depend && \
OBJFORMAT=aout make KERNFORMAT=aout all
.endif
@touch ${MAKEOBJDIRPREFIX}/do_aout_kernel
${MAKEOBJDIRPREFIX}/do_elf_kernel :
@if [ -f /var/db/update.cfg -a -f ${.CURDIR}/tools/tools/upgrade/doupgrade.sh ]; then \
env MACHINE=${MACHINE} CURDIR=${.CURDIR} sh ${.CURDIR}/tools/tools/upgrade/doupgrade.sh 2 /var/db/update.cfg; \
fi
@touch ${MAKEOBJDIRPREFIX}/do_elf_kernel
@rm -f /var/db/update.cfg
#
# Install the elf world overwriting just about all the previously installed
@@ -245,7 +217,10 @@ ${MAKEOBJDIRPREFIX}/do_elf_installworld :
@cd ${.CURDIR}; MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/elf \
PATH=${AOUTTMPPATH} OBJFORMAT=elf NOTOOLS=1 \
TOOLROOT=${MAKEOBJDIRPREFIX}/aout${.CURDIR}/tmp \
make -f Makefile.inc1 -m ${.CURDIR}/share/mk installworld
${MAKE} -f Makefile.inc1 -m ${.CURDIR}/share/mk installworld
@if [ ! -f /etc/pam.conf ]; then cp ${.CURDIR}/etc/pam.conf /etc; fi
@if [ ! -f /etc/auth.conf ]; then cp ${.CURDIR}/etc/auth.conf /etc; fi
@if [ ! -f /etc/login.conf ]; then cp ${.CURDIR}/etc/login.conf /etc; fi
@touch ${MAKEOBJDIRPREFIX}/do_elf_installworld
#
@@ -261,42 +236,20 @@ ${MAKEOBJDIRPREFIX}/do_set_objformat :
@touch ${MAKEOBJDIRPREFIX}/do_set_objformat
#
# If not already running a current kernel, install the GENERICupgrade kernel
# and reboot.
#
${MAKEOBJDIRPREFIX}/do_install_kernel_reboot :
.if ${INSTALLEDVERSION} >= 300003
@echo
@echo "--------------------------------------------------------------"
@echo " Your system has been updated to run elf by default!"
@echo
@echo " You should reboot your system now."
@echo "--------------------------------------------------------------"
@touch ${MAKEOBJDIRPREFIX}/do_install_kernel_reboot
.else
# Time to reboot!
${MAKEOBJDIRPREFIX}/do_reboot :
.if !defined(NOCONFIRM)
@echo
@echo "--------------------------------------------------------------"
@echo " Your system has been updated to run elf by default!"
@echo " Your system has now been fully updated to elf!"
@echo
@echo " Since you are running ${INSTALLEDNAME}, the kernel must"
@echo " be installed before the system is rebooted. You can type"
@echo " Ctrl-C to abort the kernel installation (at your own risk),"
@echo " or press return for the kernel to be installed and the"
@echo " system rebooted."
@echo " It's now time to reboot from your new ELF kernel."
@echo " You can type Ctrl-C to abort this (at your own risk)"
@echo " or press return to reboot the system."
@echo "--------------------------------------------------------------"
@${MAKEOBJDIRPREFIX}/sh -c "read -p \"Return to continue or Ctrl-C to abort: \" _e"
.endif
@echo
@echo "--------------------------------------------------------------"
@echo " Installing a new GENERICupgrade kernel"
@echo "--------------------------------------------------------------"
@cd ${.CURDIR}/sys/compile/GENERICupgrade; make install
@echo
@echo "--------------------------------------------------------------"
@echo " Rebooting......."
@echo "--------------------------------------------------------------"
@touch ${MAKEOBJDIRPREFIX}/do_install_kernel_reboot
@touch ${MAKEOBJDIRPREFIX}/do_reboot
@-${MAKEOBJDIRPREFIX}/reboot
.endif
+3 -2
View File
@@ -1,5 +1,6 @@
This is the top level of the FreeBSD source directory. This file
was last revised on: $Id: README,v 1.13 1998/09/13 09:38:34 markm Exp $
was last revised on:
$FreeBSD$
For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
@@ -34,7 +35,7 @@ bin System/User commands.
contrib Packages contributed by 3rd parties.
crypto Export controlled stuff (see crypto/README).
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc
+4 -86
View File
@@ -1,88 +1,6 @@
Updating Information for FreeBSD current users
Updating Information for FreeBSD Stable users
This file is maintainted by [email protected]. Please send new entries
in it to him. It contains a list, in reverse chronologocal order, of
major breakages in tracking -current. Not all things will be listed
here, and it only starts on Novemeber 18, 1998. If you have an
earlier version of FreeBSD, you are on your own to get to November 18,
1998.
When updating to 4.x-stable from 3.x-stable, please read src/UPDATING
after updating to the new sources for important information.
19990119:
More work on the syscons driver has been committed. Since
files moved around, you will need to reconfigure your kernel,
and make clean; make depend before rebuilding the kernel. No
config file changes are needed.
19990111:
New keyboard and video card drivers are introduced as the first
stage of console driver reorganization. You are required to
update the kernel configuration file and rebuild the kernel.
kbdcontrol, vidcontrol, and screen savers also need recompilation.
The instruction can be found in
http://www.freebsd.org/~yokota/sc_update.txt
It has notes on splash screen too.
19990106:
Robert Nordier was kind enough to make this page to enable people to
install the new bootblocks:
http://www.freebsd.org/~rnordier/boot.txt
When updating to ELF, make sure that you have updated your
/etc/rc files which have different ldconfig invocations for
elf and aout. Otherwise things like X will stop working with
messages about being unable to find library files. The
mergemaster utility in ports/sysutils/mergemaster helps to
keep critical files like this in sync, and its use is
recommended.
19990104:
Information about ELF day (see 19981230) can be found in
http://www.freebsd.org/~peter/elfday.html
about the upcoming change, its motivations and instructions
for doing the upgrade.
19981230:
You should install new bootblocks now. The ELF kernel will
become default soon. In addition, you'll need to upgrade
your userland programs to ELF before then as well. Use
make aout-to-elf to upgrade your userland programs (old
a.out programs in, for example, /usr/local/bin will
continue to work, even after the upgrade). See src/Makefile
for more details.
19981224:
The old wcd driver has been deleted from the kernel. The
driver that replaces it is named acd. You'll need to change
this in your configuration files.
Failure to do this will result in "ATAPI CD-ROMs not
configured" at boot time.
The floppy tape driver (ft) has been removed from the kernel,
with no replacement driver.
19981202:
New groups from 19981201 commented out of mtree, so they
aren't strictly needed, but still a good idea to have.
19981201:
New user/group added: bind. From src/etc/master.passwd and
src/etc/group:
% grep <newstuff> /usr/src/etc/group
bind:*:53:
% grep <newstuff> /usr/src/etc/master.passwd
tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
19981118:
PAM integrated into the tree. Requires new /etc/pam.conf file
to silence warnings from authentication programs (login, etc).
See src/etc/pam.conf for a sample.
$Id: UPDATING,v 1.13 1999/01/17 17:39:32 imp Exp $
$FreeBSD$
+1 -1
View File
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.13 1998/08/15 12:27:23 jb Exp $
# $FreeBSD$
SUBDIR= cat \
chio \
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
# $Id: Makefile.inc,v 1.9 1997/02/22 14:01:23 peter Exp $
# $FreeBSD$
BINDIR?= /bin
CFLAGS+= -Wall -Wformat
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= cat
+2 -2
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cat.1 8.3 (Berkeley) 5/2/95
.\" $Id: cat.1,v 1.7 1998/05/06 06:49:13 charnier Exp $
.\" $FreeBSD$
.\"
.Dd May 2, 1995
.Dt CAT 1
@@ -91,7 +91,7 @@ characters (with the high bit set) are printed as
.Ql M-
(for meta) followed by the character for the low 7 bits.
.El
.Pp
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
+1 -1
View File
@@ -45,7 +45,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
#endif
static const char rcsid[] =
"$Id: cat.c,v 1.12 1998/09/11 05:48:06 imp Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1997/09/12 15:00:06 jkh Exp $
# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 6/6/93
CFLAGS+=-I${.CURDIR}/../../sys
+2 -2
View File
@@ -30,7 +30,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: chio.1,v 1.7 1998/09/15 07:48:51 gibbs Exp $
.\" $FreeBSD$
.\"
.Dd May 14, 1998
.Dt CHIO 1
@@ -135,7 +135,7 @@ respectively.
.Pp
Note that not all medium changers support the
.Ic exchange
operation; The changer must have multiple free pickers or emulate
operation; the changer must have multiple free pickers or emulate
multiple free pickers with transient storage.
.It Xo Nm position
.Ar <to ET> <to EU>
+101 -58
View File
@@ -34,11 +34,12 @@
* Additional Copyright (c) 1997, by Matthew Jacob, for NASA/Ames Research Ctr.
*/
#include <sys/cdefs.h>
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1996 Jason R. Thorpe. All rights reserved.");
__RCSID("$NetBSD: chio.c,v 1.6 1998/01/04 23:53:58 thorpej Exp $");
#endif
static const char copyright[] =
"@(#) Copyright (c) 1996 Jason R. Thorpe. All rights reserved.";
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
#include <sys/chio.h>
@@ -55,45 +56,44 @@ __RCSID("$NetBSD: chio.c,v 1.6 1998/01/04 23:53:58 thorpej Exp $");
extern char *__progname; /* from crt0.o */
extern int optreset; /* from getopt.o */
int main(int, char *[]);
static void usage(void);
static void cleanup(void);
static int parse_element_type(char *);
static int parse_element_unit(char *);
static const char * element_type_name(int et);
static int parse_special(char *);
static int is_special(char *);
static char *bits_to_string(int, const char *);
static void usage __P((void));
static void cleanup __P((void));
static int parse_element_type __P((char *));
static int parse_element_unit __P((char *));
static const char * element_type_name __P((int et));
static int parse_special __P((char *));
static int is_special __P((char *));
static const char *bits_to_string __P((int, const char *));
static int do_move(char *, int, char **);
static int do_exchange(char *, int, char **);
static int do_position(char *, int, char **);
static int do_params(char *, int, char **);
static int do_getpicker(char *, int, char **);
static int do_setpicker(char *, int, char **);
static int do_status(char *, int, char **);
static int do_ielem(char *, int, char **);
static int do_voltag(char *, int, char **);
static int do_move __P((char *, int, char **));
static int do_exchange __P((char *, int, char **));
static int do_position __P((char *, int, char **));
static int do_params __P((char *, int, char **));
static int do_getpicker __P((char *, int, char **));
static int do_setpicker __P((char *, int, char **));
static int do_status __P((char *, int, char **));
static int do_ielem __P((char *, int, char **));
static int do_voltag __P((char *, int, char **));
/* Valid changer element types. */
const struct element_type elements[] = {
{ "picker", CHET_MT },
{ "slot", CHET_ST },
{ "portal", CHET_IE },
{ "drive", CHET_DT },
{ "picker", CHET_MT },
{ "portal", CHET_IE },
{ "slot", CHET_ST },
{ NULL, 0 },
};
/* Valid commands. */
const struct changer_command commands[] = {
{ "move", do_move },
{ "exchange", do_exchange },
{ "position", do_position },
{ "params", do_params },
{ "getpicker", do_getpicker },
{ "ielem", do_ielem },
{ "move", do_move },
{ "params", do_params },
{ "position", do_position },
{ "setpicker", do_setpicker },
{ "status", do_status },
{ "ielem", do_ielem },
{ "voltag", do_voltag },
{ NULL, 0 },
};
@@ -107,10 +107,12 @@ const struct special_word specials[] = {
};
static int changer_fd;
static char *changer_name;
static const char *changer_name;
int
main(int argc, char *argv[])
main(argc, argv)
int argc;
char **argv;
{
int ch, i;
@@ -147,15 +149,26 @@ main(int argc, char *argv[])
for (i = 0; commands[i].cc_name != NULL; ++i)
if (strcmp(*argv, commands[i].cc_name) == 0)
break;
if (commands[i].cc_name == NULL) {
/* look for abbreviation */
for (i = 0; commands[i].cc_name != NULL; ++i)
if (strncmp(*argv, commands[i].cc_name,
strlen(*argv)) == 0)
break;
}
if (commands[i].cc_name == NULL)
errx(1, "unknown command: %s", *argv);
exit((*commands[i].cc_handler)(commands[i].cc_name, argc, argv));
exit ((*commands[i].cc_handler)(commands[i].cc_name, argc, argv));
/* NOTREACHED */
}
static int
do_move(char *cname, int argc, char **argv)
do_move(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_move cmd;
int val;
@@ -223,7 +236,10 @@ do_move(char *cname, int argc, char **argv)
}
static int
do_exchange(char *cname, int argc, char **argv)
do_exchange(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_exchange cmd;
int val;
@@ -318,7 +334,10 @@ do_exchange(char *cname, int argc, char **argv)
}
static int
do_position(char *cname, int argc, char **argv)
do_position(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_position cmd;
int val;
@@ -379,7 +398,10 @@ do_position(char *cname, int argc, char **argv)
/* ARGSUSED */
static int
do_params(char *cname, int argc, char **argv)
do_params(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_params data;
int picker;
@@ -422,7 +444,10 @@ do_params(char *cname, int argc, char **argv)
/* ARGSUSED */
static int
do_getpicker(char *cname, int argc, char **argv)
do_getpicker(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
int picker;
@@ -449,7 +474,10 @@ do_getpicker(char *cname, int argc, char **argv)
}
static int
do_setpicker(char *cname, int argc, char **argv)
do_setpicker(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
int picker;
@@ -477,7 +505,10 @@ do_setpicker(char *cname, int argc, char **argv)
}
static int
do_status(char *cname, int argc, char **argv)
do_status(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_params cp;
struct changer_element_status_request cesr;
@@ -496,7 +527,7 @@ do_status(char *cname, int argc, char **argv)
description = NULL;
optind = optreset = 1;
while ((c = getopt(argc, argv, "vVsSbaI")) != EOF) {
while ((c = getopt(argc, argv, "vVsSbaI")) != -1) {
switch (c) {
case 'v':
pvoltag = 1;
@@ -656,7 +687,7 @@ do_status(char *cname, int argc, char **argv)
printf(" avoltag: <%s:%d>",
ces->ces_avoltag.cv_volid,
ces->ces_avoltag.cv_serial);
if (source)
if (source) {
if (ces->ces_flags & CES_SOURCE_VALID)
printf(" source: <%s %d>",
element_type_name(
@@ -664,6 +695,7 @@ do_status(char *cname, int argc, char **argv)
ces->ces_source_addr);
else
printf(" source: <>");
}
if (intaddr)
printf(" intaddr: <%d>", ces->ces_int_addr);
if (scsi) {
@@ -695,7 +727,10 @@ do_status(char *cname, int argc, char **argv)
}
static int
do_ielem(char *cname, int argc, char **argv)
do_ielem(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
int timeout = 0;
@@ -718,7 +753,10 @@ do_ielem(char *cname, int argc, char **argv)
}
static int
do_voltag(char *cname, int argc, char **argv)
do_voltag(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
int force = 0;
int clear = 0;
@@ -729,7 +767,7 @@ do_voltag(char *cname, int argc, char **argv)
bzero(&csvr, sizeof(csvr));
optind = optreset = 1;
while ((c = getopt(argc, argv, "fca")) != EOF) {
while ((c = getopt(argc, argv, "fca")) != -1) {
switch (c) {
case 'f':
force = 1;
@@ -803,7 +841,8 @@ do_voltag(char *cname, int argc, char **argv)
}
static int
parse_element_type(char *cp)
parse_element_type(cp)
char *cp;
{
int i;
@@ -816,7 +855,8 @@ parse_element_type(char *cp)
}
static const char *
element_type_name(int et)
element_type_name(et)
int et;
{
int i;
@@ -828,7 +868,8 @@ element_type_name(int et)
}
static int
parse_element_unit(char *cp)
parse_element_unit(cp)
char *cp;
{
int i;
char *p;
@@ -841,7 +882,8 @@ parse_element_unit(char *cp)
}
static int
parse_special(char *cp)
parse_special(cp)
char *cp;
{
int val;
@@ -854,7 +896,8 @@ parse_special(char *cp)
}
static int
is_special(char *cp)
is_special(cp)
char *cp;
{
int i;
@@ -865,8 +908,10 @@ is_special(char *cp)
return (0);
}
static char *
bits_to_string(int v, const char *cp)
static const char *
bits_to_string(v, cp)
int v;
const char *cp;
{
const char *np;
char f, sep, *bp;
@@ -880,7 +925,9 @@ bits_to_string(int v, const char *cp)
np++;
if ((v & (1 << (f - 1))) == 0)
continue;
bp += sprintf(bp, "%c%.*s", sep, (int)(long)(np - cp), cp);
(void) snprintf(bp, sizeof(buf) - (bp - &buf[0]),
"%c%.*s", sep, (int)(long)(np - cp), cp);
bp += strlen(bp);
sep = ',';
}
if (sep != '<')
@@ -899,11 +946,7 @@ cleanup()
static void
usage()
{
(void) fprintf(stderr, "usage: %s command arg1 arg2 ...\n", __progname);
(void) fprintf(stderr, "Examples:\n");
(void) fprintf(stderr, "\tchio -f /dev/ch0 move slot 1 drive 0\n");
(void) fprintf(stderr, "\tchio ielem\n");
(void) fprintf(stderr, "\tchio -f /dev/ch1 status\n");
(void) fprintf(stderr, "usage: %s [-f changer] command [-<flags>] "
"arg1 arg2 [arg3 [...]]\n", __progname);
exit(1);
}
+1 -1
View File
@@ -1,4 +1,4 @@
/* $Id: $ */
/* $FreeBSD$ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
+1 -1
View File
@@ -1,4 +1,4 @@
/* $Id: $ */
/* $FreeBSD$ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= chmod
+22 -7
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
.\" $Id: chmod.1,v 1.9 1998/05/06 06:50:06 charnier Exp $
.\" $FreeBSD$
.\"
.Dd March 31, 1994
.Dt CHMOD 1
@@ -44,8 +44,10 @@
.Sh SYNOPSIS
.Nm chmod
.Oo
.Fl f
.Fl R
.Op Fl H | Fl L | Fl P
.Fl v
.Oc
.Ar mode
.Ar file ...
@@ -63,7 +65,8 @@ The options are as follows:
If the
.Fl R
option is specified, symbolic links on the command line are followed.
(Symbolic links encountered in the tree traversal are not followed.)
(Symbolic links encountered in the tree traversal are not followed by
default.)
.It Fl L
If the
.Fl R
@@ -75,6 +78,15 @@ option is specified, no symbolic links are followed.
.It Fl R
Change the modes of the file hierarchies rooted in the files
instead of just the files themselves.
.It Fl f
Do not display a diagnostic message if
.Nm
could not modify the mode for
.Va file .
.It Fl v
Cause
.Nm
to be verbose, showing files as the mode is modified.
.El
.Pp
Symbolic links do not have modes, so unless the
@@ -97,7 +109,7 @@ command's actions are determined by the last one specified.
.Pp
Only the owner of a file or the super-user is permitted to change
the mode of a file.
.Pp
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
@@ -118,7 +130,7 @@ system supports this feature: see
and the
.Ar suiddir
option to
.Xr mount 1 .
.Xr mount 8 .
.It Li 2000
(the set-group-ID-on-execution bit) Executable files with this bit set
will run with effective gid set to the gid of the file owner.
@@ -160,9 +172,8 @@ others, and no set-uid or set-gid behaviour is 755
The symbolic mode is described by the following grammar:
.Bd -literal -offset indent
mode ::= clause [, clause ...]
clause ::= [who ...] [action ...] last_action
clause ::= [who ...] [action ...] action
action ::= op [perm ...]
last_action ::= op [perm ...]
who ::= a | u | g | o
op ::= + | \- | =
perm ::= r | s | t | w | x | X | u | g | o
@@ -301,10 +312,13 @@ set the group bits equal to the user bits, but clear the group write bit.
There's no
.Ar perm
option for the naughty bits.
.Sh COMPATIBILITY
The
.Fl v
option is non-standard and its use in scripts is not recommended.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr install 1 ,
.Xr mount 1 ,
.Xr chmod 2 ,
.Xr stat 2 ,
.Xr umask 2 ,
@@ -312,6 +326,7 @@ option for the naughty bits.
.Xr setmode 3 ,
.Xr symlink 7 ,
.Xr chown 8 ,
.Xr mount 8 ,
.Xr sticky 8
.Sh STANDARDS
The
+12 -5
View File
@@ -42,7 +42,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
"$Id: chmod.c,v 1.11 1998/05/13 07:22:11 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/types.h>
@@ -70,12 +70,13 @@ main(argc, argv)
long val;
int oct, omode;
int Hflag, Lflag, Pflag, Rflag, ch, fflag, fts_options, hflag, rval;
int vflag;
char *ep, *mode;
set = NULL;
omode = 0;
Hflag = Lflag = Pflag = Rflag = fflag = hflag = 0;
while ((ch = getopt(argc, argv, "HLPRXfgorstuwx")) != -1)
Hflag = Lflag = Pflag = Rflag = fflag = hflag = vflag = 0;
while ((ch = getopt(argc, argv, "HLPRXfgorstuvwx")) != -1)
switch (ch) {
case 'H':
Hflag = 1;
@@ -92,7 +93,7 @@ main(argc, argv)
case 'R':
Rflag = 1;
break;
case 'f': /* XXX: undocumented. */
case 'f':
fflag = 1;
break;
case 'h':
@@ -118,6 +119,9 @@ main(argc, argv)
argv[optind - 1][2] == '\0')
--optind;
goto done;
case 'v':
vflag = 1;
break;
case '?':
default:
usage();
@@ -191,6 +195,9 @@ done: argv += optind;
getmode(set, p->fts_statp->st_mode)) && !fflag) {
warn(p->fts_path);
rval = 1;
} else {
if (vflag)
(void)printf("%s\n", p->fts_accpath);
}
}
if (errno)
@@ -203,6 +210,6 @@ void
usage()
{
(void)fprintf(stderr,
"usage: chmod [-R [-H | -L | -P]] mode file ...\n");
"usage: chmod [-fv] [-R [-H | -L | -P]] mode file ...\n");
exit(1);
}
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.4 1997/02/22 14:01:32 peter Exp $
# $FreeBSD$
PROG= cp
SRCS= cp.c utils.c
+15 -6
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
.\" $Id: cp.1,v 1.10 1998/05/06 06:50:19 charnier Exp $
.\" $FreeBSD$
.\"
.Dd April 18, 1994
.Dt CP 1
@@ -48,7 +48,7 @@
.Op Fl H | Fl L | Fl P
.Oc
.Op Fl f | i
.Op Fl p
.Op Fl pv
.Ar source_file target_file
.Nm cp
.Oo
@@ -56,7 +56,7 @@
.Op Fl H | Fl L | Fl P
.Oc
.Op Fl f | i
.Op Fl p
.Op Fl pv
.Ar source_file ... target_directory
.Sh DESCRIPTION
In the first synopsis form, the
@@ -145,6 +145,10 @@ If the source file has both its set user ID and set group ID bits on,
and either the user ID or group ID cannot be preserved, neither
the set user ID nor set group ID bits are preserved in the copy's
permissions.
.It Fl v
Cause
.Nm
to be verbose, showing files as they are copied.
.El
.Pp
For each destination file that already exists, its contents are
@@ -197,9 +201,10 @@ options are ignored unless the
option is specified.
In addition, these options override each other and the
command's actions are determined by the last one specified.
.Pp
.Nm Cp
exits 0 on success, >0 if an error occurred.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh COMPATIBILITY
Historic versions of the
.Nm
@@ -209,6 +214,10 @@ option.
This implementation supports that option, however, its use is strongly
discouraged, as it does not correctly copy special files, symbolic links
or fifo's.
.Pp
The
.Fl v
option is non-standard and its use in scripts is not recommended.
.Sh SEE ALSO
.Xr mv 1 ,
.Xr rcp 1 ,
+28 -21
View File
@@ -45,7 +45,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
"$Id: cp.c,v 1.16 1998/05/13 07:25:14 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
/*
@@ -69,6 +69,7 @@ static const char rcsid[] =
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -79,10 +80,10 @@ static const char rcsid[] =
*--(p).p_end = 0; \
}
PATH_T to = { to.p_path, "" };
PATH_T to = { to.p_path, "", "" };
uid_t myuid;
int Rflag, iflag, pflag, rflag, fflag;
int Rflag, iflag, pflag, rflag, fflag, vflag;
int myumask;
enum op { FILE_TO_FILE, FILE_TO_DIR, DIR_TO_DNE };
@@ -101,7 +102,7 @@ main(argc, argv)
char *target;
Hflag = Lflag = Pflag = 0;
while ((ch = getopt(argc, argv, "HLPRfipr")) != -1)
while ((ch = getopt(argc, argv, "HLPRfiprv")) != -1)
switch (ch) {
case 'H':
Hflag = 1;
@@ -132,6 +133,9 @@ main(argc, argv)
case 'r':
rflag = 1;
break;
case 'v':
vflag = 1;
break;
default:
usage();
break;
@@ -249,23 +253,23 @@ copy(argv, type, fts_options)
struct stat to_stat;
FTS *ftsp;
FTSENT *curr;
int base = 0, dne, nlen, rval;
int base = 0, dne, badcp, nlen, rval;
char *p, *target_mid;
if ((ftsp = fts_open(argv, fts_options, mastercmp)) == NULL)
err(1, NULL);
for (rval = 0; (curr = fts_read(ftsp)) != NULL;) {
for (badcp = rval = 0; (curr = fts_read(ftsp)) != NULL; badcp = 0) {
switch (curr->fts_info) {
case FTS_NS:
case FTS_DNR:
case FTS_ERR:
warnx("%s: %s",
curr->fts_path, strerror(curr->fts_errno));
rval = 1;
badcp = rval = 1;
continue;
case FTS_DC: /* Warn, continue. */
warnx("%s: directory causes a cycle", curr->fts_path);
rval = 1;
badcp = rval = 1;
continue;
case FTS_DP: /* Ignore, continue. */
continue;
@@ -286,7 +290,7 @@ copy(argv, type, fts_options)
* is the case where the target exists.
*
* Also, check for "..". This is for correct path
* concatentation for paths ending in "..", e.g.
* concatenation for paths ending in "..", e.g.
* cp -R .. /tmp
* Paths ending in ".." are changed to ".". This is
* tricky, but seems the easiest way to fix the problem.
@@ -295,7 +299,7 @@ copy(argv, type, fts_options)
* Since the first level MUST be FTS_ROOTLEVEL, base
* is always initialized.
*/
if (curr->fts_level == FTS_ROOTLEVEL)
if (curr->fts_level == FTS_ROOTLEVEL) {
if (type != DIR_TO_DNE) {
p = strrchr(curr->fts_path, '/');
base = (p == NULL) ? 0 :
@@ -306,6 +310,7 @@ copy(argv, type, fts_options)
base += 1;
} else
base = curr->fts_pathlen;
}
p = &curr->fts_path[base];
nlen = curr->fts_pathlen - base;
@@ -316,7 +321,7 @@ copy(argv, type, fts_options)
if (target_mid - to.p_path + nlen > MAXPATHLEN) {
warnx("%s%s: name too long (not copied)",
to.p_path, p);
rval = 1;
badcp = rval = 1;
continue;
}
(void)strncat(target_mid, p, nlen);
@@ -333,7 +338,7 @@ copy(argv, type, fts_options)
to_stat.st_ino == curr->fts_statp->st_ino) {
warnx("%s and %s are identical (not copied).",
to.p_path, curr->fts_path);
rval = 1;
badcp = rval = 1;
if (S_ISDIR(curr->fts_statp->st_mode))
(void)fts_set(ftsp, curr, FTS_SKIP);
continue;
@@ -342,7 +347,7 @@ copy(argv, type, fts_options)
S_ISDIR(to_stat.st_mode)) {
warnx("cannot overwrite directory %s with non-directory %s",
to.p_path, curr->fts_path);
rval = 1;
badcp = rval = 1;
continue;
}
dne = 0;
@@ -351,14 +356,14 @@ copy(argv, type, fts_options)
switch (curr->fts_statp->st_mode & S_IFMT) {
case S_IFLNK:
if (copy_link(curr, !dne))
rval = 1;
badcp = rval = 1;
break;
case S_IFDIR:
if (!Rflag && !rflag) {
warnx("%s is a directory (not copied).",
curr->fts_path);
(void)fts_set(ftsp, curr, FTS_SKIP);
rval = 1;
badcp = rval = 1;
break;
}
/*
@@ -384,7 +389,7 @@ copy(argv, type, fts_options)
* forever.
*/
if (pflag && setfile(curr->fts_statp, 0))
rval = 1;
badcp = rval = 1;
else if (dne)
(void)chmod(to.p_path,
curr->fts_statp->st_mode);
@@ -393,26 +398,28 @@ copy(argv, type, fts_options)
case S_IFCHR:
if (Rflag) {
if (copy_special(curr->fts_statp, !dne))
rval = 1;
badcp = rval = 1;
} else {
if (copy_file(curr, dne))
rval = 1;
badcp = rval = 1;
}
break;
case S_IFIFO:
if (Rflag) {
if (copy_fifo(curr->fts_statp, !dne))
rval = 1;
badcp = rval = 1;
} else {
if (copy_file(curr, dne))
rval = 1;
badcp = rval = 1;
}
break;
default:
if (copy_file(curr, dne))
rval = 1;
badcp = rval = 1;
break;
}
if (vflag && !badcp)
(void)printf("%s -> %s\n", curr->fts_path, to.p_path);
}
if (errno)
err(1, "fts_read");
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.2 (Berkeley) 4/1/94
* $Id$
* $FreeBSD$
*/
typedef struct {
+9 -6
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)utils.c 8.3 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
"$Id: utils.c,v 1.20 1998/06/10 06:29:23 peter Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
@@ -50,6 +50,7 @@ static const char rcsid[] =
#include <fcntl.h>
#include <fts.h>
#include <stdio.h>
#include <sysexits.h>
#include <unistd.h>
#include "extern.h"
@@ -171,7 +172,7 @@ copy_file(entp, dne)
/*
* Don't remove the target even after an error. The target might
* not be a regular file, or its attributes might be important,
* or its contents might be irreplacable. It would only be safe
* or its contents might be irreplaceable. It would only be safe
* to remove it if we created it and its length is 0.
*/
@@ -183,7 +184,7 @@ copy_file(entp, dne)
*/
#define RETAINBITS \
(S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)
else if (fs->st_mode & (S_ISUID | S_ISGID) && fs->st_uid == myuid)
else if (fs->st_mode & (S_ISUID | S_ISGID) && fs->st_uid == myuid) {
if (fstat(to_fd, &to_stat)) {
warn("%s", to.p_path);
rval = 1;
@@ -192,6 +193,7 @@ copy_file(entp, dne)
warn("%s", to.p_path);
rval = 1;
}
}
(void)close(from_fd);
if (close(to_fd)) {
warn("%s", to.p_path);
@@ -319,8 +321,9 @@ setfile(fs, fd)
void
usage()
{
(void)fprintf(stderr, "%s\n%s\n",
"usage: cp [-R [-H | -L | -P]] [-f | -i] [-p] src target",
" cp [-R [-H | -L | -P]] [-f | -i] [-p] src1 ... srcN directory");
exit(1);
"usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target",
" cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory");
exit(EX_USAGE);
}
+5 -5
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.8 1997/08/07 21:42:01 steve Exp $
# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 5/31/93
#
# C Shell with process control; VM/UNIX VAX Makefile
@@ -15,10 +15,10 @@ SRCS= alloc.c char.c const.c csh.c dir.c dol.c err.c exec.c exp.c file.c \
.PATH: ${.CURDIR}/../../usr.bin/printf
MAN1= csh.1
MLINKS= csh.1 limit.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \
csh.1 foreach.1 csh.1 history.1 csh.1 jobs.1 csh.1 popd.1 \
csh.1 pushd.1 csh.1 rehash.1 csh.1 repeat.1 csh.1 suspend.1 \
csh.1 stop.1 csh.1 source.1
# MLINKS for Shell built in commands for which there are no userland
# utilities of the same name are handled with the associated manpage,
# builtin.1 in share/man/man1/.
CLEANFILES+=const.h errnum.h
const.h: errnum.h
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 8/14/93
# $Id$
# $FreeBSD$
DIR= usd/04.csh
SRCS= tabs csh.1 csh.2 csh.3 csh.4 csh.a csh.g
+5 -3
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.1 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.EH 'USD:4-%''An Introduction to the C shell'
.OH 'An Introduction to the C shell''USD:4-%'
@@ -875,7 +875,8 @@ to remind you which command is being continued, and cause the command
to resume execution. Unless any input files in use by the suspended
command have been changed in the meantime, the suspension has no effect
whatsoever on the execution of the command. This feature can be very useful
during editing, when you need to look at another file before continuing. An
during editing, when you need to look at another file before continuing.
An
example of command suspension follows.
.DS
% mail harold
@@ -903,7 +904,8 @@ suspended, it typed `Stopped' and prompted for a new command. Then the
.I ls
command was typed to find out the name of the file. The
.I jobs
command was run to find out which command was suspended. At this time the
command was run to find out which command was suspended.
At this time the
.I fg
command was typed to continue execution of the mail program. Input
to the mail program was then continued and ended with a ^D
+3 -2
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.2 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.nr H1 1
.NH
@@ -678,7 +678,8 @@ the same until the job terminates and then are re-used.
.PP
When a job is started in the backgound using `&', its number, as well
as the process numbers of all its (top level) commands, is typed by the shell
before prompting you for another command. For example,
before prompting you for another command.
For example,
.DS
% ls \-s | sort \-n > usage &
[2] 2034 2035
+3 -2
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.3 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.nr H1 2
.NH
@@ -224,7 +224,8 @@ is quite special and is replaced by the next line of input read from
the shell's standard input (not the script it is reading). This is
useful for writing shell scripts that are interactive, reading
commands from the terminal, or even writing a shell script that
acts as a filter, reading lines from its input file. Thus the sequence
acts as a filter, reading lines from its input file.
Thus the sequence
.DS
echo 'yes or no?\ec'
set a=($<)
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.4 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.nr H1 3
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.a 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.SH
Appendix \- Special characters
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.g 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.SH
Glossary
+1 -1
View File
@@ -30,6 +30,6 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)tabs 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.ta 5n 10n 15n 20n 25n 30n 35n 40n 45n 50n 55n 60n 65n 70n 75n 80n
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)alloc.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: alloc.c,v 1.8 1998/05/06 06:50:37 charnier Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)char.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: char.c,v 1.4 1997/02/22 14:01:37 peter Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)char.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
#include <ctype.h>
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)const.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: const.c,v 1.6 1997/02/22 14:01:39 peter Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+35 -21
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.1 8.2 (Berkeley) 1/21/94
.\" $Id: csh.1,v 1.10 1998/05/06 06:50:38 charnier Exp $
.\" $FreeBSD$
.\"
.Dd January 21, 1994
.Dt CSH 1
@@ -55,10 +55,11 @@ job control facilities (see
interactive file name
and user name completion (see
.Sx File Name Completion ) ,
and a C-like syntax. It is used both as an interactive
login shell and a shell script command processor.
and a C-like syntax.
It is used both as an interactive login shell and
a shell script command processor.
.Ss Argument list processing
If the first argument (argument 0) to the shell is
If the shell is executed with a program name starting with
.Ql Fl \& ,
then this is a login shell.
A login shell also can be specified by invoking the shell with the
@@ -131,12 +132,11 @@ variable to be set even before
.Pa .cshrc
is executed.
.It Fl X
Is to
.Fl x
as
.Fl V
is to
.Fl v .
Cause the
.Ar echo
variable to be set even before
.Pa .cshrc
is executed.
.El
.Pp
After processing of flag arguments, if arguments remain but none of the
@@ -236,8 +236,9 @@ may be a component of a pipeline, etc.).
It is also possible to separate pipelines with `\&|\&|' or `&&' showing,
as in the C language,
that the second is to be executed only if the first fails or succeeds
respectively. (See
.Em Expressions . )
respectively.
See
.Sx Expressions .
.Ss Jobs
The shell associates a
.Ar job
@@ -317,12 +318,15 @@ The job control mechanism requires that the
.Xr stty 1
option
.Ic new
be set. It is an artifact from a
be set.
It is an artifact from a
.Em new
implementation
of the
tty driver that allows generation of interrupt characters from
the keyboard to tell jobs to stop. See stty(1) for details
the keyboard to tell jobs to stop. See
.Xr stty 1
for details
on setting options in the new tty driver.
.Ss Status reporting
This shell learns immediately whenever a process changes state.
@@ -566,8 +570,8 @@ Repeat the previous substitution.
Apply the change once on each word, prefixing the above, e.g., `g&'.
.It a
Apply the change as many times as possible on a single word, prefixing
the above. It can be used together with `g' to apply a substitution
globally.
the above.
It can be used together with `g' to apply a substitution globally.
.It p
Print the new command line but do not execute it.
.It q
@@ -1487,7 +1491,7 @@ entry in the stack.
The members of the directory stack are numbered from the top starting at 0.
.Pp
.It Ic printf Ar format-string values
Invokes a built-in version of
Invokes a builtin version of
.Ic printf
after evaluating the
.Ar format-string
@@ -2134,9 +2138,18 @@ To detect looping, the shell restricts the number of
.Ic alias
substitutions on a single line to 20.
.Sh SEE ALSO
.Xr builtin 1 ,
.Xr echo 1 ,
.Xr kill 1 ,
.Xr login 1 ,
.Xr nice 1 ,
.Xr nohup 1 ,
.Xr printenv 1 ,
.Xr printf 1 ,
.Xr sh 1 ,
.Xr su 1 ,
.Xr time 1 ,
.Xr which 1 ,
.Xr access 2 ,
.Xr execve 2 ,
.Xr fork 2 ,
@@ -2149,8 +2162,9 @@ substitutions on a single line to 20.
.Xr tty 4 ,
.Xr a.out 5 ,
.Xr environ 7
.br
.Em An introduction to the C shell
.Rs
.%T "An introduction to the C shell"
.Re
.Sh HISTORY
.Nm Csh
appeared in
@@ -2167,7 +2181,7 @@ and user name completion (see
and a C-like syntax.
There are now many shells that also have these mechanisms, plus
a few more (and maybe some bugs too), which are available through the
usenet.
Usenet.
.Sh BUGS
When a command is restarted from a stop,
the shell prints the directory it started in if this is different
@@ -2194,7 +2208,7 @@ shell procedures should be provided instead of aliases.
Commands within loops, prompted for by `?', are not placed on the
.Ic history
list.
Control structure should be parsed instead of being recognized as built-in
Control structure should be parsed instead of being recognized as builtin
commands. This would allow control commands to be placed anywhere,
to be combined with `\&|', and to be used with `&' and `;' metasyntax.
.Pp
+2 -2
View File
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93";
#else
static const char rcsid[] =
"$Id: csh.c,v 1.12 1997/12/10 22:18:21 eivind Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -1223,7 +1223,7 @@ gethdir(home)
/*
* When didfds is set, we do I/O from 0, 1, 2 otherwise from 15, 16, 17
* We also check if the shell has already changed the decriptor to point to
* We also check if the shell has already changed the descriptor to point to
* 0, 1, 2 when didfds is set.
*/
#define DESC(a) (*((int *) (a)) - (didfds && *((int *) a) >= FSHIN ? FSHIN : 0))
+3 -3
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)csh.h 8.1 (Berkeley) 5/31/93
* $Id: csh.h,v 1.5 1997/08/07 21:42:04 steve Exp $
* $FreeBSD$
*/
/*
@@ -306,7 +306,7 @@ Char *lap;
*
* Each command is parsed to a tree of command structures and
* flags are set bottom up during this process, to be propagated down
* as needed during the semantics/exeuction pass (sh.sem.c).
* as needed during the semantics/execution pass (sh.sem.c).
*/
struct command {
short t_dtyp; /* Type of node */
@@ -535,7 +535,7 @@ Char **evalvec;
Char *evalp;
/* word_chars is set by default to WORD_CHARS but can be overridden by
the worchars variable--if unset, reverts to WORD_CHARS */
the wordchars variable--if unset, reverts to WORD_CHARS */
Char *word_chars;
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)dir.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: dir.c,v 1.8 1998/06/09 03:38:37 imp Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)dir.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
/*
+14 -6
View File
@@ -36,10 +36,11 @@
static char sccsid[] = "@(#)dol.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: dol.c,v 1.7 1998/05/06 06:50:39 charnier Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
#include <sys/time.h>
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>
@@ -850,13 +851,20 @@ heredoc(term)
Char **vp;
bool quoted;
char *tmp;
struct timeval tv;
if (creat(tmp = short2str(shtemp), 0600) < 0)
stderror(ERR_SYSTEM, tmp, strerror(errno));
(void) close(0);
if (open(tmp, O_RDWR) < 0) {
again:
tmp = short2str(shtemp);
if (open(tmp, O_RDWR|O_CREAT|O_TRUNC|O_EXCL, 0600) < 0) {
int oerrno = errno;
if (errno == EEXIST) {
if (unlink(tmp) == -1) {
(void) gettimeofday(&tv, NULL);
shtemp = Strspl(STRtmpsh, putn((((int)tv.tv_sec) ^
((int)tv.tv_usec) ^ ((int)getpid())) & 0x00ffffff));
}
goto again;
}
(void) unlink(tmp);
errno = oerrno;
stderror(ERR_SYSTEM, tmp, strerror(errno));
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: err.c,v 1.7 1998/05/06 06:50:41 charnier Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -327,7 +327,7 @@ seterror(id, va_alist)
* in bname
*
* This routine always resets or exits. The flag haderr
* is set so the routine who catches the unwind can propogate
* is set so the routine who catches the unwind can propagate
* it if they want.
*
* Note that any open files at the point of error will eventually
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)exec.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: exec.c,v 1.9 1998/02/28 10:49:54 jraynard Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)exp.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: exp.c,v 1.6 1998/05/06 06:50:44 charnier Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.1 (Berkeley) 5/31/93
* $Id: extern.h,v 1.4 1997/02/22 14:01:53 peter Exp $
* $FreeBSD$
*/
#include <sys/cdefs.h>
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)file.c 8.2 (Berkeley) 3/19/94";
#else
static const char rcsid[] =
"$Id: file.c,v 1.8 1998/02/01 17:11:01 steve Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)func.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: func.c,v 1.10 1998/02/28 10:49:56 jraynard Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -1396,7 +1396,7 @@ dosuspend(v, t)
/* This is the dreaded EVAL built-in.
* If you don't fiddle with file descriptors, and reset didfds,
* this command will either ignore redirection inside or outside
* its aguments, e.g. eval "date >x" vs. eval "date" >x
* its arguments, e.g. eval "date >x" vs. eval "date" >x
* The stuff here seems to work, but I did it by trial and error rather
* than really knowing what was going on. If tpgrp is zero, we are
* probably a background eval, e.g. "eval date &", and we want to
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)glob.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: glob.c,v 1.10 1997/08/08 00:54:03 steve Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)hist.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: hist.c,v 1.7 1998/05/06 06:50:50 charnier Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: init.c,v 1.4 1997/02/22 14:02:00 peter Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)lex.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: lex.c,v 1.9 1998/05/06 06:50:52 charnier Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -1179,7 +1179,7 @@ gethent(sc)
case '-':
back = 1;
c = getC(0);
/* FALLSTHROUGH */
/* FALLTHROUGH */
default:
if (any("(=~", c)) {
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: misc.c,v 1.7 1998/05/06 06:50:53 charnier Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: parse.c,v 1.7 1998/05/06 06:50:56 charnier Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
* $Id: pathnames.h,v 1.4 1997/02/22 14:02:05 peter Exp $
* $FreeBSD$
*/
#define _PATH_BIN "/bin"
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)proc.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: proc.c,v 1.8 1998/02/28 10:49:59 jraynard Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -76,7 +76,7 @@ static void okpcntl __P((void));
* pchild - called at interrupt level by the SIGCHLD signal
* indicating that at least one child has terminated or stopped
* thus at least one wait system call will definitely return a
* childs status. Top level routines (like pwait) must be sure
* child's status. Top level routines (like pwait) must be sure
* to mask interrupts when playing with the proclist data structures!
*/
/* ARGUSED */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)proc.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
/*
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)sem.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: sem.c,v 1.7 1998/02/28 10:50:00 jraynard Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -471,7 +471,7 @@ int i;
* If more than one word is generated, then update the command vector.
*
* This is done differently in all the shells:
* 1. in the bourne shell and ksh globbing is not performed
* 1. in the Bourne shell and ksh globbing is not performed
* 2. Bash/csh say ambiguous
* 3. zsh does i/o to/from all the files
* 4. itcsh concatenates the words.
+4 -4
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)set.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: set.c,v 1.9 1998/05/06 06:51:04 charnier Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -163,7 +163,7 @@ doset(v, t)
cp = Strsave(value(vp)); /* get the old value back */
/*
* convert to cononical pathname (possibly resolving symlinks)
* convert to canonical pathname (possibly resolving symlinks)
*/
cp = dcanon(cp, cp);
@@ -745,7 +745,7 @@ balance(p, f, d)
break;
case 1: /* was already right heavy */
switch (p->v_right->v_bal) {
case 1: /* sigle rotate */
case 1: /* single rotate */
pp->v_link[ff] = rleft(p);
p->v_left->v_bal = 0;
p->v_bal = 0;
@@ -783,7 +783,7 @@ balance(p, f, d)
p->v_right->v_bal = 0;
p->v_bal = 0;
break;
case 0: /* signle rotate */
case 0: /* single rotate */
pp->v_link[ff] = rright(p);
p->v_right->v_bal = -1;
p->v_bal = 1;
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)str.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: str.c,v 1.5 1997/02/22 14:02:09 peter Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+3 -3
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)time.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: time.c,v 1.7 1997/02/22 14:02:09 peter Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -219,7 +219,7 @@ prusage(r0, r1, e, b)
(void) fprintf(cshout, "%ld", r1->ru_oublock - r0->ru_oublock);
break;
case 'r': /* socket messages recieved */
case 'r': /* socket messages received */
(void) fprintf(cshout, "%ld", r1->ru_msgrcv - r0->ru_msgrcv);
break;
@@ -227,7 +227,7 @@ prusage(r0, r1, e, b)
(void) fprintf(cshout, "%ld", r1->ru_msgsnd - r0->ru_msgsnd);
break;
case 'k': /* number of signals recieved */
case 'k': /* number of signals received */
(void) fprintf(cshout, "%ld", r1->ru_nsignals-r0->ru_nsignals);
break;
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.6 1997/08/09 22:34:01 brian Exp $
# $FreeBSD$
PROG= date
SRCS= date.c netdate.c vary.c
+48 -15
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\" $Id: date.1,v 1.25 1998/05/13 07:56:44 phk Exp $
.\" $FreeBSD$
.\"
.Dd November 17, 1993
.Dt DATE 1
@@ -47,9 +47,9 @@
.Op Fl d Ar dst
.Op Fl r Ar seconds
.Op Fl t Ar minutes_west
.Op Fl v Ns Ar [+|-]val Ns Op ymwdHM
.Op Fl v Ns Ar [+|-]val Ns Op ymwdHMS
.Ar ...
.Op Fl f Ar fmt Ar date | [[[[yy]mm]dd]HH]MM[\&.ss]
.Op Fl f Ar fmt Ar date | [[[[[cc]yy]mm]dd]HH]MM[\&.ss]
.Op Cm + Ns Ar format
.Sh DESCRIPTION
.Nm Date
@@ -74,7 +74,7 @@ Use
.Ar fmt
as the format string to parse the date provided rather than using
the default
.Ar [[[[yy]mm]dd]HH]MM[.ss]
.Ar [[[[[cc]yy]mm]dd]HH]MM[.ss]
format. Parsing is done using
.Xr strptime 3 .
.It Fl n
@@ -92,9 +92,14 @@ option stops
.Nm
from setting the time for other than the current machine.
.It Fl r
Print out the date and time in
Print out the date and time that is
.Ar seconds
from the Epoch.
from the Epoch
.Po
00:00:00 UTC, January 1, 1970;
see
.Xr time 3
.Pc .
.It Fl t
Set the kernel's value for minutes west of
.Tn GMT .
@@ -108,8 +113,8 @@ Display or set the date in
.Tn UCT
(universal) time.
.It Fl v
Adjust the minute, hour, month day, week day, month or year according to
.Ar val .
Adjust the second, minute, hour, month day, week day, month or year according to
.Ar val .
If
.Ar val
is preceded with a plus or minus sign, the date is adjusted forwards
@@ -117,10 +122,12 @@ or backwards according to the remaining string, otherwise the relevant
part of the date is set. The date can be adjusted as many times as
required using these flags. Flags are processed in the order given.
.Pp
Minutes are in the range 0-59, hours are in the range 1-12, month days
are in the range 1-31, week days are in the range 0-6 (Sun-Sat), months
are in the range 1-12 (Jan-Dec) and years are in the range 80-38 or
1980-2038.
When setting values
.Pq rather than adjusting them ,
seconds are in the range 0-59, minutes are in the range 0-59, hours are
in the range 1-12, month days are in the range 1-31, week days are in the
range 0-6 (Sun-Sat), months are in the range 1-12 (Jan-Dec) and years are
in the range 80-38 or 1980-2038.
.Pp
If
.Ar val
@@ -129,9 +136,10 @@ is numeric, one of either
.Ar m ,
.Ar w ,
.Ar d ,
.Ar H
or
.Ar H ,
.Ar M
or
.Ar S
must be used to specify which part of the date is to be adjusted.
.Pp
The week day or month may be specified using a name rather than a
@@ -140,6 +148,27 @@ will be put forwards (or backwards) to the next (previous) date that
matches the given week day or month. This will not adjust the date
if the given week day or month is the same as the current one.
.Pp
When a date is adjusted to a specific value or in units greater than hours,
daylight savings time considerations are ignored.
Adjustments in units of hours or less honour daylight savings time.
So, assuming the current date is March 26, 0:30 and that the DST adjustment
means that the clock goes forward at 01:00 to 02:00, using
.Fl v No +1H
will adjust the date to March 26, 2:30.
Likewise, if the date is October 29, 0:30 and the DST adjustment means that
the clock goes back at 02:00 to 01:00, using
.Fl v No +3H
will be necessary to reach October 20, 2:30.
.Pp
When the date is adjusted to a specific value that doesn't actually exist
.Pq for example March 26, 1:30 BST 2000 ,
the date will be silently adjusted forwards in units of one hour until it
reaches a valid time.
When the date is adjusted to a specific value that occurs twice
.Pq for example October 29, 1:30 2000 ,
the resulting timezone will be set so that the date matches the earlier of
the two times.
.Pp
Refer to the examples below for further details.
.El
.Pp
@@ -161,6 +190,8 @@ a value for setting the system's notion of the current date and time.
The canonical representation for setting the date and time is:
.Pp
.Bl -tag -width Ds -compact -offset indent
.It Ar cc
Century (either 19 or 20) prepended to the abbreviated year.
.It Ar yy
Year in abbreviated form (e.g. 89 for 1989, 06 for 2006).
.It Ar mm
@@ -277,7 +308,9 @@ a record of the user setting the time
.%A S. Zatti
.Re
.Sh DIAGNOSTICS
Exit status is 0 on success, 1 if unable to set the date, and 2
The
.Nm
utility exits 0 on success, 1 if unable to set the date, and 2
if able to set the local date, but unable to set it globally.
.Pp
Occasionally, when
+13 -6
View File
@@ -42,7 +42,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)date.c 8.2 (Berkeley) 4/28/95";
#endif
static const char rcsid[] =
"$Id: date.c,v 1.25 1998/05/13 07:31:39 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
@@ -170,6 +170,8 @@ main(argc, argv)
}
#define ATOI2(ar) ((ar)[0] - '0') * 10 + ((ar)[1] - '0'); (ar) += 2;
#define ATOI4(ar) ((ar)[0] - '0') * 1000 + ((ar)[1] - '0') * 100 + \
((ar)[2] - '0') * 10 + ((ar)[3] - '0'); (ar) += 4;
void
setthetime(fmt, p)
const char *fmt;
@@ -185,8 +187,7 @@ setthetime(fmt, p)
if (t == NULL) {
fprintf(stderr, "Failed conversion of ``%s''"
" using format ``%s''\n", p, fmt);
lt = localtime(&tval);
return;
badformat();
} else if (*t != '\0')
fprintf(stderr, "Warning: Ignoring %ld extraneous"
" characters in date string (%s)\n",
@@ -216,11 +217,16 @@ setthetime(fmt, p)
/* if p has a ".ss" field then let's pretend it's not there */
switch (strlen(p) - ((dot != NULL) ? 3 : 0)) {
case 12: /* cc */
lt->tm_year = -1900 + ATOI4(p);
if (lt->tm_year < 0)
badformat();
goto year_done;
case 10: /* yy */
lt->tm_year = ATOI2(p);
if (lt->tm_year < 69) /* hack for 2000 ;-} */
lt->tm_year += 100;
/* FALLTHROUGH */
year_done: /* FALLTHROUGH */
case 8: /* mm */
lt->tm_mon = ATOI2(p);
if (lt->tm_mon > 12)
@@ -278,7 +284,8 @@ usage()
{
(void)fprintf(stderr, "%s\n%s\n",
"usage: date [-nu] [-d dst] [-r seconds] [-t west] "
"[-v[+|-]val[ymwdHM]] ... ",
" [-f fmt date | [[[[yy]mm]dd]HH]MM[.ss]] [+format]");
"[-v[+|-]val[ymwdHMS]] ... ",
" "
"[-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]");
exit(1);
}
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
int netsettime __P((time_t));
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)netdate.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$Id: netdate.c,v 1.9 1998/05/06 06:51:18 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
+158 -74
View File
@@ -26,7 +26,7 @@
#ifndef lint
static const char rcsid[] =
"$Id$";
"$FreeBSD$";
#endif /* not lint */
#include <time.h>
@@ -41,8 +41,8 @@ struct trans {
static struct trans trans_mon[] = {
{ 1, "january" }, { 2, "february" }, { 3, "march" }, { 4, "april" },
{ 6, "june" }, { 7, "july" }, { 8, "august" }, { 9, "september" },
{ 10, "october" }, { 11, "november" }, { 12, "december" },
{ 5, "may"}, { 6, "june" }, { 7, "july" }, { 8, "august" },
{ 9, "september" }, { 10, "october" }, { 11, "november" }, { 12, "december" },
{ -1, NULL }
};
@@ -53,6 +53,19 @@ static struct trans trans_wday[] = {
};
static char digits[] = "0123456789";
static int adjhour(struct tm *, char, int, int);
static int
domktime(struct tm *t, char type)
{
time_t ret;
while ((ret = mktime(t)) == -1 && t->tm_year > 68 && t->tm_year < 138)
/* While mktime() fails, adjust by an hour */
adjhour(t, type == '-' ? type : '+', 1, 0);
return ret;
}
static int
trans(const struct trans t[], const char *arg)
@@ -112,7 +125,7 @@ daysinmonth(const struct tm *t)
static int
adjyear(struct tm *t, char type, int val)
adjyear(struct tm *t, char type, int val, int mk)
{
switch (type) {
case '+':
@@ -129,45 +142,51 @@ adjyear(struct tm *t, char type, int val)
t->tm_year -= 1900; /* struct tm holds years since 1900 */
break;
}
return mktime(t) != -1;
return !mk || domktime(t, type) != -1;
}
static int
adjmon(struct tm *t, char type, int val, int istext)
adjmon(struct tm *t, char type, int val, int istext, int mk)
{
if (val < 0)
return 0;
switch (type) {
case '+':
if (istext)
if (istext) {
if (val <= t->tm_mon)
val += 11 - t->tm_mon; /* early next year */
else
val -= t->tm_mon + 1; /* later this year */
if (!adjyear(t, '+', (t->tm_mon + val) / 12))
return 0;
val %= 12;
t->tm_mon += val;
if (t->tm_mon > 11)
t->tm_mon -= 12;
}
if (val) {
if (!adjyear(t, '+', (t->tm_mon + val) / 12, 0))
return 0;
val %= 12;
t->tm_mon += val;
if (t->tm_mon > 11)
t->tm_mon -= 12;
}
break;
case '-':
if (istext)
if (istext) {
if (val-1 > t->tm_mon)
val = 13 - val + t->tm_mon; /* later last year */
else
val = t->tm_mon - val + 1; /* early this year */
if (!adjyear(t, '-', val / 12))
return 0;
val %= 12;
if (val > t->tm_mon) {
if (!adjyear(t, '-', 1))
return 0;
val -= 12;
}
t->tm_mon -= val;
if (val) {
if (!adjyear(t, '-', val / 12, 0))
return 0;
val %= 12;
if (val > t->tm_mon) {
if (!adjyear(t, '-', 1, 0))
return 0;
val -= 12;
}
t->tm_mon -= val;
}
break;
default:
@@ -176,13 +195,14 @@ adjmon(struct tm *t, char type, int val, int istext)
t->tm_mon = --val;
}
return mktime(t) != -1;
return !mk || domktime(t, type) != -1;
}
static int
adjday(struct tm *t, char type, int val)
adjday(struct tm *t, char type, int val, int mk)
{
int mdays;
switch (type) {
case '+':
while (val) {
@@ -190,7 +210,7 @@ adjday(struct tm *t, char type, int val)
if (val > mdays - t->tm_mday) {
val -= mdays - t->tm_mday + 1;
t->tm_mday = 1;
if (!adjmon(t, '+', 1, 0))
if (!adjmon(t, '+', 1, 0, 0))
return 0;
} else {
t->tm_mday += val;
@@ -203,7 +223,7 @@ adjday(struct tm *t, char type, int val)
if (val >= t->tm_mday) {
val -= t->tm_mday;
t->tm_mday = 1;
if (!adjmon(t, '-', 1, 0))
if (!adjmon(t, '-', 1, 0, 0))
return 0;
t->tm_mday = daysinmonth(t);
} else {
@@ -219,11 +239,11 @@ adjday(struct tm *t, char type, int val)
break;
}
return mktime(t) != -1;
return !mk || domktime(t, type) != -1;
}
static int
adjwday(struct tm *t, char type, int val, int istext)
adjwday(struct tm *t, char type, int val, int istext, int mk)
{
if (val < 0)
return 0;
@@ -236,54 +256,62 @@ adjwday(struct tm *t, char type, int val, int istext)
else
val -= t->tm_wday; /* later this week */
else
val *= 7; /* "-W +5" == "5 weeks in the future" */
return adjday(t, '+', val);
val *= 7; /* "-v+5w" == "5 weeks in the future" */
return !val || adjday(t, '+', val, mk);
case '-':
if (istext)
if (istext) {
if (val > t->tm_wday)
val = 7 - val + t->tm_wday; /* later last week */
else
val = t->tm_wday - val; /* early this week */
else
val *= 7; /* "-W -5" == "5 weeks ago" */
return adjday(t, '-', val);
} else
val *= 7; /* "-v-5w" == "5 weeks ago" */
return !val || adjday(t, '-', val, mk);
default:
if (val < t->tm_wday)
return adjday(t, '-', t->tm_wday - val);
return adjday(t, '-', t->tm_wday - val, mk);
else if (val > 6)
return 0;
else if (val > t->tm_wday)
return adjday(t, '+', val - t->tm_wday);
return adjday(t, '+', val - t->tm_wday, mk);
}
return 1;
}
static int
adjhour(struct tm *t, char type, int val)
adjhour(struct tm *t, char type, int val, int mk)
{
if (val < 0)
return 0;
switch (type) {
case '+':
if (!adjday(t, '+', (t->tm_hour + val) / 24))
return 0;
val %= 24;
t->tm_hour += val;
if (t->tm_hour > 23)
t->tm_hour -= 24;
if (val) {
int days;
days = (t->tm_hour + val) / 24;
val %= 24;
t->tm_hour += val;
t->tm_hour %= 24;
if (!adjday(t, '+', days, 0))
return 0;
}
break;
case '-':
if (!adjday(t, '-', val / 24))
return 0;
val %= 24;
if (val > t->tm_hour) {
if (!adjday(t, '-', 1))
if (val) {
int days;
days = val / 24;
val %= 24;
if (val > t->tm_hour) {
days++;
val -= 24;
}
t->tm_hour -= val;
if (!adjday(t, '-', days, 0))
return 0;
val -= 24;
}
t->tm_hour -= val;
break;
default:
@@ -292,35 +320,39 @@ adjhour(struct tm *t, char type, int val)
t->tm_hour = val;
}
return mktime(t) != -1;
return !mk || domktime(t, type) != -1;
}
static int
adjmin(struct tm *t, char type, int val)
adjmin(struct tm *t, char type, int val, int mk)
{
if (val < 0)
return 0;
switch (type) {
case '+':
if (!adjhour(t, '+', (t->tm_min + val) / 60))
return 0;
val %= 60;
t->tm_min += val;
if (t->tm_min > 59)
t->tm_min -= 60;
if (val) {
if (!adjhour(t, '+', (t->tm_min + val) / 60, 0))
return 0;
val %= 60;
t->tm_min += val;
if (t->tm_min > 59)
t->tm_min -= 60;
}
break;
case '-':
if (!adjhour(t, '-', val / 60))
return 0;
val %= 60;
if (val > t->tm_min) {
if (!adjhour(t, '-', 1))
if (val) {
if (!adjhour(t, '-', val / 60, 0))
return 0;
val -= 60;
val %= 60;
if (val > t->tm_min) {
if (!adjhour(t, '-', 1, 0))
return 0;
val -= 60;
}
t->tm_min -= val;
}
t->tm_min -= val;
break;
default:
@@ -329,7 +361,48 @@ adjmin(struct tm *t, char type, int val)
t->tm_min = val;
}
return mktime(t) != -1;
return !mk || domktime(t, type) != -1;
}
static int
adjsec(struct tm *t, char type, int val, int mk)
{
if (val < 0)
return 0;
switch (type) {
case '+':
if (val) {
if (!adjmin(t, '+', (t->tm_sec + val) / 60, 0))
return 0;
val %= 60;
t->tm_sec += val;
if (t->tm_sec > 59)
t->tm_sec -= 60;
}
break;
case '-':
if (val) {
if (!adjmin(t, '-', val / 60, 0))
return 0;
val %= 60;
if (val > t->tm_sec) {
if (!adjmin(t, '-', 1, 0))
return 0;
val -= 60;
}
t->tm_sec -= val;
}
break;
default:
if (val > 59)
return 0;
t->tm_sec = val;
}
return !mk || domktime(t, type) != -1;
}
const struct vary *
@@ -352,15 +425,18 @@ vary_apply(const struct vary *v, struct tm *t)
if (len < 2)
return v;
if (type == '\0')
t->tm_isdst = -1;
if (strspn(arg, digits) != len-1) {
val = trans(trans_wday, arg);
if (val != -1) {
if (!adjwday(t, type, val, 1))
if (!adjwday(t, type, val, 1, 1))
return v;
} else {
val = trans(trans_mon, arg);
if (val != -1) {
if (!adjmon(t, type, val, 1))
if (!adjmon(t, type, val, 1, 1))
return v;
} else
return v;
@@ -370,28 +446,36 @@ vary_apply(const struct vary *v, struct tm *t)
which = arg[len-1];
switch (which) {
case 'S':
if (!adjsec(t, type, val, 1))
return v;
break;
case 'M':
if (!adjmin(t, type, val))
if (!adjmin(t, type, val, 1))
return v;
break;
case 'H':
if (!adjhour(t, type, val))
if (!adjhour(t, type, val, 1))
return v;
break;
case 'd':
if (!adjday(t, type, val))
t->tm_isdst = -1;
if (!adjday(t, type, val, 1))
return v;
break;
case 'w':
if (!adjwday(t, type, val, 0))
t->tm_isdst = -1;
if (!adjwday(t, type, val, 0, 1))
return v;
break;
case 'm':
if (!adjmon(t, type, val, 0))
t->tm_isdst = -1;
if (!adjmon(t, type, val, 0, 1))
return v;
break;
case 'y':
if (!adjyear(t, type, val))
t->tm_isdst = -1;
if (!adjyear(t, type, val, 1))
return v;
break;
default:
+1 -1
View File
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
struct vary {
+3 -1
View File
@@ -1,7 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.5 1998/01/07 22:31:17 joerg Exp $
# $FreeBSD$
PROG= dd
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
MAINTAINER= [email protected]
.include <bsd.prog.mk>
+98 -59
View File
@@ -40,7 +40,7 @@
static char sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: args.c,v 1.12 1998/05/06 06:51:29 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/types.h>
@@ -67,10 +67,11 @@ static void f_obs __P((char *));
static void f_of __P((char *));
static void f_seek __P((char *));
static void f_skip __P((char *));
static u_long get_bsz __P((char *));
static quad_t get_num __P((char *));
static off_t get_offset __P((char *));
static struct arg {
char *name;
static const struct arg {
const char *name;
void (*f) __P((char *));
u_int set, noset;
} args[] = {
@@ -141,14 +142,14 @@ jcl(argv)
* Ascii/ebcdic and cbs implies block/unblock.
* Block/unblock requires cbs and vice-versa.
*/
if (ddflags & (C_BLOCK|C_UNBLOCK)) {
if (ddflags & (C_BLOCK | C_UNBLOCK)) {
if (!(ddflags & C_CBS))
errx(1, "record operations require cbs");
if (cbsz == 0)
errx(1, "cbs cannot be zero");
cfunc = ddflags & C_BLOCK ? block : unblock;
} else if (ddflags & C_CBS) {
if (ddflags & (C_ASCII|C_EBCDIC)) {
if (ddflags & (C_ASCII | C_EBCDIC)) {
if (ddflags & C_ASCII) {
ddflags |= C_UNBLOCK;
cfunc = unblock;
@@ -158,23 +159,14 @@ jcl(argv)
}
} else
errx(1, "cbs meaningless if not doing record operations");
if (cbsz == 0)
errx(1, "cbs cannot be zero");
} else
cfunc = def;
if (in.dbsz == 0 || out.dbsz == 0)
errx(1, "buffer sizes cannot be zero");
/*
* Read, write and seek calls take ints as arguments. Seek sizes
* could be larger if we wanted to do it in stages or check only
* regular files, but it's probably not worth it.
* Bail out if the calculation of a file offset would overflow.
*/
if (in.dbsz > INT_MAX || out.dbsz > INT_MAX)
errx(1, "buffer sizes cannot be greater than %d", INT_MAX);
if (in.offset > INT_MAX / in.dbsz || out.offset > INT_MAX / out.dbsz)
errx(1, "seek offsets cannot be larger than %d", INT_MAX);
if (in.offset > QUAD_MAX / in.dbsz || out.offset > QUAD_MAX / out.dbsz)
errx(1, "seek offsets cannot be larger than %qd", QUAD_MAX);
}
static int
@@ -182,23 +174,32 @@ c_arg(a, b)
const void *a, *b;
{
return (strcmp(((struct arg *)a)->name, ((struct arg *)b)->name));
return (strcmp(((const struct arg *)a)->name,
((const struct arg *)b)->name));
}
static void
f_bs(arg)
char *arg;
{
quad_t res;
in.dbsz = out.dbsz = (int)get_bsz(arg);
res = get_num(arg);
if (res < 1 || res > SSIZE_MAX)
errx(1, "bs must be between 1 and %d", SSIZE_MAX);
in.dbsz = out.dbsz = (size_t)res;
}
static void
f_cbs(arg)
char *arg;
{
quad_t res;
cbsz = (int)get_bsz(arg);
res = get_num(arg);
if (res < 1 || res > SSIZE_MAX)
errx(1, "cbs must be between 1 and %d", SSIZE_MAX);
cbsz = (size_t)res;
}
static void
@@ -206,9 +207,11 @@ f_count(arg)
char *arg;
{
cpy_cnt = (u_int)get_bsz(arg);
if (!cpy_cnt)
terminate(0);
cpy_cnt = get_num(arg);
if (cpy_cnt < 0)
errx(1, "count cannot be negative");
if (cpy_cnt == 0)
cpy_cnt = -1;
}
static void
@@ -216,16 +219,23 @@ f_files(arg)
char *arg;
{
files_cnt = (int)get_bsz(arg);
files_cnt = get_num(arg);
if (files_cnt < 1)
errx(1, "files must be between 1 and %qd", QUAD_MAX);
}
static void
f_ibs(arg)
char *arg;
{
quad_t res;
if (!(ddflags & C_BS))
in.dbsz = (int)get_bsz(arg);
if (!(ddflags & C_BS)) {
res = get_num(arg);
if (res < 1 || res > SSIZE_MAX)
errx(1, "ibs must be between 1 and %d", SSIZE_MAX);
in.dbsz = (size_t)res;
}
}
static void
@@ -240,9 +250,14 @@ static void
f_obs(arg)
char *arg;
{
quad_t res;
if (!(ddflags & C_BS))
out.dbsz = (int)get_bsz(arg);
if (!(ddflags & C_BS)) {
res = get_num(arg);
if (res < 1 || res > SSIZE_MAX)
errx(1, "obs must be between 1 and %d", SSIZE_MAX);
out.dbsz = (size_t)res;
}
}
static void
@@ -258,7 +273,7 @@ f_seek(arg)
char *arg;
{
out.offset = (u_int)get_bsz(arg);
out.offset = get_offset(arg);
}
static void
@@ -266,13 +281,13 @@ f_skip(arg)
char *arg;
{
in.offset = (u_int)get_bsz(arg);
in.offset = get_offset(arg);
}
static struct conv {
char *name;
static const struct conv {
const char *name;
u_int set, noset;
u_char *ctab;
const u_char *ctab;
} clist[] = {
{ "ascii", C_ASCII, C_EBCDIC, e2a_POSIX },
{ "block", C_BLOCK, C_UNBLOCK, NULL },
@@ -300,9 +315,9 @@ f_conv(arg)
while (arg != NULL) {
tmp.name = strsep(&arg, ",");
if (!(cp = (struct conv *)bsearch(&tmp, clist,
sizeof(clist)/sizeof(struct conv), sizeof(struct conv),
c_conv)))
cp = bsearch(&tmp, clist, sizeof(clist) / sizeof(struct conv),
sizeof(struct conv), c_conv);
if (cp == NULL)
errx(1, "unknown conversion %s", tmp.name);
if (ddflags & cp->noset)
errx(1, "%s: illegal conversion combination", tmp.name);
@@ -317,34 +332,38 @@ c_conv(a, b)
const void *a, *b;
{
return (strcmp(((struct conv *)a)->name, ((struct conv *)b)->name));
return (strcmp(((const struct conv *)a)->name,
((const struct conv *)b)->name));
}
/*
* Convert an expression of the following forms to an unsigned long.
* Convert an expression of the following forms to a quad_t.
* 1) A positive decimal number.
* 2) A positive decimal number followed by a b (mult by 512).
* 3) A positive decimal number followed by a k (mult by 1024).
* 4) A positive decimal number followed by a m (mult by 512).
* 5) A positive decimal number followed by a w (mult by sizeof int)
* 6) Two or more positive decimal numbers (with/without k,b or w).
* seperated by x (also * for backwards compatibility), specifying
* 2) A positive decimal number followed by a b (mult by 512.)
* 3) A positive decimal number followed by a k (mult by 1 << 10.)
* 4) A positive decimal number followed by a m (mult by 1 << 20.)
* 5) A positive decimal number followed by a g (mult by 1 << 30.)
* 5) A positive decimal number followed by a w (mult by sizeof int.)
* 6) Two or more positive decimal numbers (with/without [bkmgw])
* separated by x (also * for backwards compatibility), specifying
* the product of the indicated values.
*/
static u_long
get_bsz(val)
static quad_t
get_num(val)
char *val;
{
u_long num, t;
quad_t num, t;
char *expr;
num = strtoul(val, &expr, 0);
if (num == ULONG_MAX) /* Overflow. */
errno = 0;
num = strtoq(val, &expr, 0);
if (errno != 0) /* Overflow or underflow. */
err(1, "%s", oper);
if (expr == val) /* No digits. */
if (expr == val) /* No valid digits. */
errx(1, "%s: illegal numeric value", oper);
switch(*expr) {
switch (*expr) {
case 'b':
t = num;
num *= 512;
@@ -354,14 +373,21 @@ get_bsz(val)
break;
case 'k':
t = num;
num *= 1024;
num *= 1 << 10;
if (t > num)
goto erange;
++expr;
break;
case 'm':
t = num;
num *= 1048576;
num *= 1 << 20;
if (t > num)
goto erange;
++expr;
break;
case 'g':
t = num;
num *= 1 << 30;
if (t > num)
goto erange;
++expr;
@@ -375,18 +401,31 @@ get_bsz(val)
break;
}
switch(*expr) {
switch (*expr) {
case '\0':
break;
case '*': /* Backward compatible. */
case 'x':
t = num;
num *= get_bsz(expr + 1);
if (t > num)
erange: errx(1, "%s: %s", oper, strerror(ERANGE));
break;
num *= get_num(expr + 1);
if (t <= num)
break;
erange:
errx(1, "%s: %s", oper, strerror(ERANGE));
default:
errx(1, "%s: illegal numeric value", oper);
}
return (num);
}
static off_t
get_offset(val)
char *val;
{
quad_t num;
num = get_num(val);
if (num > QUAD_MAX || num < 0) /* XXX quad_t != off_t */
errx(1, "%s: illegal offset", oper); /* Too big/negative. */
return ((off_t)num);
}
+30 -25
View File
@@ -40,7 +40,7 @@
static char sccsid[] = "@(#)conv.c 8.3 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: conv.c,v 1.9 1998/05/06 06:51:30 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
@@ -60,8 +60,9 @@ static const char rcsid[] =
void
def()
{
int cnt;
u_char *inp, *t;
u_char *inp;
const u_char *t;
size_t cnt;
if ((t = ctab) != NULL)
for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp)
@@ -103,9 +104,11 @@ def_close()
void
block()
{
u_char *inp, *outp;
const u_char *t;
size_t cnt, maxlen;
static int intrunc;
int ch, cnt, maxlen;
u_char *inp, *outp, *t;
int ch;
/*
* Record truncation can cross block boundaries. If currently in a
@@ -114,8 +117,8 @@ block()
* left empty.
*/
if (intrunc) {
for (inp = in.db, cnt = in.dbrcnt;
cnt && *inp++ != '\n'; --cnt);
for (inp = in.db, cnt = in.dbrcnt; cnt && *inp++ != '\n'; --cnt)
;
if (!cnt) {
in.dbcnt = 0;
in.dbp = in.db;
@@ -135,19 +138,19 @@ block()
for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) {
maxlen = MIN(cbsz, in.dbcnt);
if ((t = ctab) != NULL)
for (cnt = 0;
cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
for (cnt = 0; cnt < maxlen && (ch = *inp++) != '\n';
++cnt)
*outp++ = t[ch];
else
for (cnt = 0;
cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
for (cnt = 0; cnt < maxlen && (ch = *inp++) != '\n';
++cnt)
*outp++ = ch;
/*
* Check for short record without a newline. Reassemble the
* input block.
*/
if (ch != '\n' && in.dbcnt < cbsz) {
memmove(in.db, in.dbp - in.dbcnt, in.dbcnt);
(void)memmove(in.db, in.dbp - in.dbcnt, in.dbcnt);
break;
}
@@ -197,9 +200,9 @@ block_close()
*/
if (in.dbcnt) {
++st.trunc;
memmove(out.dbp, in.dbp - in.dbcnt, in.dbcnt);
(void)memset(out.dbp + in.dbcnt,
ctab ? ctab[' '] : ' ', cbsz - in.dbcnt);
(void)memmove(out.dbp, in.dbp - in.dbcnt, in.dbcnt);
(void)memset(out.dbp + in.dbcnt, ctab ? ctab[' '] : ' ',
cbsz - in.dbcnt);
out.dbcnt += cbsz;
}
}
@@ -214,8 +217,9 @@ block_close()
void
unblock()
{
int cnt;
u_char *inp, *t;
u_char *inp;
const u_char *t;
size_t cnt;
/* Translation and case conversion. */
if ((t = ctab) != NULL)
@@ -227,35 +231,36 @@ unblock()
* spaces.
*/
for (inp = in.db; in.dbcnt >= cbsz; inp += cbsz, in.dbcnt -= cbsz) {
for (t = inp + cbsz - 1; t >= inp && *t == ' '; --t);
for (t = inp + cbsz - 1; t >= inp && *t == ' '; --t)
;
if (t >= inp) {
cnt = t - inp + 1;
memmove(out.dbp, inp, cnt);
(void)memmove(out.dbp, inp, cnt);
out.dbp += cnt;
out.dbcnt += cnt;
}
++out.dbcnt;
*out.dbp++ = '\n';
if (out.dbcnt >= out.dbsz)
if (++out.dbcnt >= out.dbsz)
dd_out(0);
}
if (in.dbcnt)
memmove(in.db, in.dbp - in.dbcnt, in.dbcnt);
(void)memmove(in.db, in.dbp - in.dbcnt, in.dbcnt);
in.dbp = in.db + in.dbcnt;
}
void
unblock_close()
{
int cnt;
u_char *t;
size_t cnt;
if (in.dbcnt) {
warnx("%s: short input record", in.name);
for (t = in.db + in.dbcnt - 1; t >= in.db && *t == ' '; --t);
for (t = in.db + in.dbcnt - 1; t >= in.db && *t == ' '; --t)
;
if (t >= in.db) {
cnt = t - in.db + 1;
memmove(out.dbp, in.db, cnt);
(void)memmove(out.dbp, in.db, cnt);
out.dbp += cnt;
out.dbcnt += cnt;
}
+9 -16
View File
@@ -40,16 +40,13 @@
static char sccsid[] = "@(#)conv_tab.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$Id: conv_tab.c,v 1.7 1998/05/06 06:51:32 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/types.h>
/*
* There are currently eight tables:
*
* lower-case -> upper-case conv=upper
* upper-case -> lower-case conv=lower
* There are currently six tables:
*
* ebcdic -> ascii 32V conv=oldascii
* ascii -> ebcdic 32V conv=oldebcdic
@@ -72,14 +69,10 @@ static const char rcsid[] =
* ACM, Volume 11, Number 11, November 1968, pp. 783-789.
*/
/* Lower-case to upper-case */
u_char l2u[256];
/* Upper-case to lower-case */
u_char u2l[256];
u_char casetab[256];
/* EBCDIC to ASCII -- 32V compatible. */
u_char e2a_32V[] = {
const u_char e2a_32V[] = {
0000, 0001, 0002, 0003, 0234, 0011, 0206, 0177, /* 0000 */
0227, 0215, 0216, 0013, 0014, 0015, 0016, 0017, /* 0010 */
0020, 0021, 0022, 0023, 0235, 0205, 0010, 0207, /* 0020 */
@@ -115,7 +108,7 @@ u_char e2a_32V[] = {
};
/* ASCII to EBCDIC -- 32V compatible. */
u_char a2e_32V[] = {
const u_char a2e_32V[] = {
0000, 0001, 0002, 0003, 0067, 0055, 0056, 0057, /* 0000 */
0026, 0005, 0045, 0013, 0014, 0015, 0016, 0017, /* 0010 */
0020, 0021, 0022, 0023, 0074, 0075, 0062, 0046, /* 0020 */
@@ -151,7 +144,7 @@ u_char a2e_32V[] = {
};
/* ASCII to IBM EBCDIC -- 32V compatible. */
u_char a2ibm_32V[] = {
const u_char a2ibm_32V[] = {
0000, 0001, 0002, 0003, 0067, 0055, 0056, 0057, /* 0000 */
0026, 0005, 0045, 0013, 0014, 0015, 0016, 0017, /* 0010 */
0020, 0021, 0022, 0023, 0074, 0075, 0062, 0046, /* 0020 */
@@ -187,7 +180,7 @@ u_char a2ibm_32V[] = {
};
/* EBCDIC to ASCII -- POSIX and System V compatible. */
u_char e2a_POSIX[] = {
const u_char e2a_POSIX[] = {
0000, 0001, 0002, 0003, 0234, 0011, 0206, 0177, /* 0000 */
0227, 0215, 0216, 0013, 0014, 0015, 0016, 0017, /* 0010 */
0020, 0021, 0022, 0023, 0235, 0205, 0010, 0207, /* 0020 */
@@ -223,7 +216,7 @@ u_char e2a_POSIX[] = {
};
/* ASCII to EBCDIC -- POSIX and System V compatible. */
u_char a2e_POSIX[] = {
const u_char a2e_POSIX[] = {
0000, 0001, 0002, 0003, 0067, 0055, 0056, 0057, /* 0000 */
0026, 0005, 0045, 0013, 0014, 0015, 0016, 0017, /* 0010 */
0020, 0021, 0022, 0023, 0074, 0075, 0062, 0046, /* 0020 */
@@ -259,7 +252,7 @@ u_char a2e_POSIX[] = {
};
/* ASCII to IBM EBCDIC -- POSIX and System V compatible. */
u_char a2ibm_POSIX[] = {
const u_char a2ibm_POSIX[] = {
0000, 0001, 0002, 0003, 0067, 0055, 0056, 0057, /* 0000 */
0026, 0005, 0045, 0013, 0014, 0015, 0016, 0017, /* 0010 */
0020, 0021, 0022, 0023, 0074, 0075, 0062, 0046, /* 0020 */
+8 -7
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)dd.1 8.2 (Berkeley) 1/13/94
.\" $Id: dd.1,v 1.7 1998/05/06 06:51:35 charnier Exp $
.\" $FreeBSD$
.\"
.Dd January 13, 1994
.Dt DD 1
@@ -282,10 +282,11 @@ appended.
.El
.El
.Pp
Where sizes are specified, a decimal number of bytes is expected.
If the number ends with a ``b'', ``k'', ``m'' or ``w'', the number
is multiplied by 512, 1024 (1K), 1048576 (1M) or the number of bytes
in an integer, respectively.
Where sizes are specified, a decimal, octal, or hexadecimal number of
bytes is expected.
If the number ends with a ``b'', ``k'', ``m'', ``g'', or ``w'', the
number is multiplied by 512, 1024 (1K), 1048576 (1M), 1073741824 (1G)
or the number of bytes in an integer, respectively.
Two or more numbers may be separated by an ``x'' to indicate a product.
.Pp
When finished,
@@ -329,10 +330,10 @@ be written to the standard error output
in the same format as the standard completion message and
.Nm
will exit.
.Pp
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success or >0 if an error occurred.
utility exits 0 on success or >0 if an error occurs.
.Sh SEE ALSO
.Xr cp 1 ,
.Xr mt 1 ,
+77 -64
View File
@@ -46,11 +46,13 @@ static char const copyright[] =
static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: dd.c,v 1.14 1998/05/06 06:51:39 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/device.h>
#include <sys/disklabel.h>
#include <sys/mtio.h>
#include <ctype.h>
@@ -74,12 +76,12 @@ static void setup __P((void));
IO in, out; /* input/output state */
STAT st; /* statistics */
void (*cfunc) __P((void)); /* conversion function */
u_long cpy_cnt; /* # of blocks to copy */
u_long pending = 0; /* pending seek if sparse */
quad_t cpy_cnt; /* # of blocks to copy */
off_t pending = 0; /* pending seek if sparse */
u_int ddflags; /* conversion options */
u_int cbsz; /* conversion block size */
u_int files_cnt = 1; /* # of files to copy */
u_char *ctab; /* conversion table */
size_t cbsz; /* conversion block size */
quad_t files_cnt = 1; /* # of files to copy */
const u_char *ctab; /* conversion table */
int
main(argc, argv)
@@ -113,7 +115,7 @@ setup()
in.fd = STDIN_FILENO;
} else {
in.fd = open(in.name, O_RDONLY, 0);
if (in.fd < 0)
if (in.fd == -1)
err(1, "%s", in.name);
}
@@ -135,11 +137,11 @@ setup()
* Without read we may have a problem if output also does
* not support seeks.
*/
if (out.fd < 0) {
if (out.fd == -1) {
out.fd = open(out.name, O_WRONLY | OFLAGS, DEFFILEMODE);
out.flags |= NOREAD;
}
if (out.fd < 0)
if (out.fd == -1)
err(1, "%s", out.name);
}
@@ -149,14 +151,13 @@ setup()
* Allocate space for the input and output buffers. If not doing
* record oriented I/O, only need a single buffer.
*/
if (!(ddflags & (C_BLOCK|C_UNBLOCK))) {
if (!(ddflags & (C_BLOCK | C_UNBLOCK))) {
if ((in.db = malloc(out.dbsz + in.dbsz - 1)) == NULL)
err(1, NULL);
err(1, "input buffer");
out.db = in.db;
} else if ((in.db =
malloc((u_int)(MAX(in.dbsz, cbsz) + cbsz))) == NULL ||
(out.db = malloc((u_int)(out.dbsz + cbsz))) == NULL)
err(1, NULL);
} else if ((in.db = malloc(MAX(in.dbsz, cbsz) + cbsz)) == NULL ||
(out.db = malloc(out.dbsz + cbsz)) == NULL)
err(1, "output buffer");
in.dbp = in.db;
out.dbp = out.db;
@@ -171,50 +172,34 @@ setup()
* kinds of output files, tapes, for example.
*/
if ((ddflags & (C_OF | C_SEEK | C_NOTRUNC)) == (C_OF | C_SEEK))
(void)ftruncate(out.fd, (off_t)out.offset * out.dbsz);
(void)ftruncate(out.fd, out.offset * out.dbsz);
/*
* If converting case at the same time as another conversion, build a
* table that does both at once. If just converting case, use the
* built-in tables.
*/
if (ddflags & (C_LCASE|C_UCASE))
if (ddflags & C_ASCII)
if (ddflags & (C_LCASE | C_UCASE)) {
if (ddflags & (C_ASCII | C_EBCDIC)) {
if (ddflags & C_LCASE) {
for (cnt = 0; cnt <= 0377; ++cnt)
if (isupper(ctab[cnt]))
ctab[cnt] = tolower(ctab[cnt]);
casetab[cnt] = tolower(ctab[cnt]);
} else {
for (cnt = 0; cnt <= 0377; ++cnt)
if (islower(ctab[cnt]))
ctab[cnt] = toupper(ctab[cnt]);
casetab[cnt] = toupper(ctab[cnt]);
}
else if (ddflags & C_EBCDIC)
} else {
if (ddflags & C_LCASE) {
for (cnt = 0; cnt <= 0377; ++cnt)
if (isupper(cnt))
ctab[cnt] = ctab[tolower(cnt)];
casetab[cnt] = tolower(cnt);
} else {
for (cnt = 0; cnt <= 0377; ++cnt)
if (islower(cnt))
ctab[cnt] = ctab[toupper(cnt)];
}
else {
ctab = ddflags & C_LCASE ? u2l : l2u;
if (ddflags & C_LCASE) {
for (cnt = 0; cnt <= 0377; ++cnt)
if (isupper(cnt))
ctab[cnt] = tolower(cnt);
else
ctab[cnt] = cnt;
} else {
for (cnt = 0; cnt <= 0377; ++cnt)
if (islower(cnt))
ctab[cnt] = toupper(cnt);
else
ctab[cnt] = cnt;
casetab[cnt] = toupper(cnt);
}
}
ctab = casetab;
}
(void)gettimeofday(&tv, (struct timezone *)NULL);
st.start = tv.tv_sec + tv.tv_usec * 1e-6;
}
@@ -223,35 +208,59 @@ static void
getfdtype(io)
IO *io;
{
struct mtget mt;
struct stat sb;
struct disklabel dkl;
struct mtget mt;
int type;
if (fstat(io->fd, &sb))
if (fstat(io->fd, &sb) == -1)
err(1, "%s", io->name);
if (S_ISCHR(sb.st_mode))
io->flags |= ioctl(io->fd, MTIOCGET, &mt) ? ISCHR : ISTAPE;
else if (lseek(io->fd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE)
io->flags |= ISPIPE; /* XXX fixed in 4.4BSD */
if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
if (ioctl(io->fd, DIOCGDINFO, &dkl) == 0 ||
/* XXX {,k}mem hack: This sucks. */
(major(sb.st_rdev) == 2 &&
(minor(sb.st_rdev) == 0 || minor(sb.st_rdev) == 1)))
io->flags |= ISSEEK;
else if (ioctl(io->fd, MTIOCGET, &mt) == 0)
io->flags |= ISTAPE;
if (S_ISCHR(sb.st_mode) && (io->flags & ISTAPE) == 0)
io->flags |= ISCHR;
return;
}
errno = 0;
if (lseek(io->fd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE)
io->flags |= ISPIPE;
else
io->flags |= ISSEEK;
}
static void
dd_in()
{
int n;
ssize_t n;
for (;;) {
if (cpy_cnt && (st.in_full + st.in_part) >= cpy_cnt)
switch (cpy_cnt) {
case -1: /* count=0 was specified */
return;
case 0:
break;
default:
if (st.in_full + st.in_part >= cpy_cnt)
return;
break;
}
/*
* Zero the buffer first if sync; If doing block operations
* Zero the buffer first if sync; if doing block operations,
* use spaces.
*/
if (ddflags & C_SYNC)
if (ddflags & (C_BLOCK|C_UNBLOCK))
if (ddflags & C_SYNC) {
if (ddflags & (C_BLOCK | C_UNBLOCK))
memset(in.dbp, ' ', in.dbsz);
else
memset(in.dbp, 0, in.dbsz);
}
n = read(in.fd, in.dbp, in.dbsz);
if (n == 0) {
@@ -260,7 +269,7 @@ dd_in()
}
/* Read error. */
if (n < 0) {
if (n == -1) {
/*
* If noerror not specified, die. POSIX requires that
* the warning message be followed by an I/O display.
@@ -271,12 +280,12 @@ dd_in()
summary();
/*
* If it's not a tape drive or a pipe, seek past the
* If it's a seekable file descriptor, seek past the
* error. If your OS doesn't do the right thing for
* raw disks this section should be modified to re-read
* in sector size chunks.
*/
if (!(in.flags & (ISPIPE|ISTAPE)) &&
if (in.flags & ISSEEK &&
lseek(in.fd, (off_t)in.dbsz, SEEK_CUR))
warn("%s", in.name);
@@ -329,7 +338,7 @@ dd_in()
}
/*
* Cleanup any remaining I/O and flush output. If necesssary, output file
* Clean up any remaining I/O and flush output. If necessary, the output file
* is truncated.
*/
static void
@@ -342,7 +351,7 @@ dd_close()
else if (cfunc == unblock)
unblock_close();
if (ddflags & C_OSYNC && out.dbcnt && out.dbcnt < out.dbsz) {
if (ddflags & (C_BLOCK|C_UNBLOCK))
if (ddflags & (C_BLOCK | C_UNBLOCK))
memset(out.dbp, ' ', out.dbsz - out.dbcnt);
else
memset(out.dbp, 0, out.dbsz - out.dbcnt);
@@ -356,9 +365,11 @@ void
dd_out(force)
int force;
{
static int warned;
int cnt, n, nw, i, sparse;
u_char *outp;
size_t cnt, i, n;
ssize_t nw;
static int warned;
int sparse;
/*
* Write one or more blocks out. The common case is writing a full
@@ -395,7 +406,8 @@ dd_out(force)
if (pending != 0) {
if (force)
pending--;
if (lseek (out.fd, pending, SEEK_CUR) == -1)
if (lseek(out.fd, pending, SEEK_CUR) ==
-1)
err(2, "%s: seek error creating sparse file",
out.name);
if (force)
@@ -427,13 +439,14 @@ dd_out(force)
++st.out_part;
if (nw == cnt)
break;
if (out.flags & ISTAPE)
errx(1, "%s: short write on tape device",
out.name);
if (out.flags & ISCHR && !warned) {
warned = 1;
warnx("%s: short write on character device",
out.name);
}
if (out.flags & ISTAPE)
errx(1, "%s: short write on tape device", out.name);
}
if ((out.dbcnt -= n) < out.dbsz)
break;
@@ -441,6 +454,6 @@ dd_out(force)
/* Reassemble the output block. */
if (out.dbcnt)
memmove(out.db, out.dbp - out.dbcnt, out.dbcnt);
(void)memmove(out.db, out.dbp - out.dbcnt, out.dbcnt);
out.dbp = out.db + out.dbcnt;
}
+27 -25
View File
@@ -35,42 +35,44 @@
* SUCH DAMAGE.
*
* @(#)dd.h 8.3 (Berkeley) 4/2/94
* $Id: dd.h,v 1.7 1997/10/11 20:09:05 joerg Exp $
* $FreeBSD$
*/
/* Input/output stream state. */
typedef struct {
u_char *db; /* buffer address */
u_char *dbp; /* current buffer I/O address */
u_long dbcnt; /* current buffer byte count */
int dbrcnt; /* last read byte count */
u_long dbsz; /* buffer size */
u_char *db; /* buffer address */
u_char *dbp; /* current buffer I/O address */
/* XXX ssize_t? */
size_t dbcnt; /* current buffer byte count */
size_t dbrcnt; /* last read byte count */
size_t dbsz; /* buffer size */
#define ISCHR 0x01 /* character device (warn on short) */
#define ISPIPE 0x02 /* pipe (not truncatable) */
#define ISTAPE 0x04 /* tape (not seekable) */
#define NOREAD 0x08 /* not readable */
u_int flags;
#define ISPIPE 0x02 /* pipe-like (not truncatable) */
#define ISTAPE 0x04 /* tape */
#define ISSEEK 0x08 /* valid to seek on */
#define NOREAD 0x10 /* not readable */
u_int flags;
char *name; /* name */
int fd; /* file descriptor */
u_long offset; /* # of blocks to skip */
char *name; /* name */
int fd; /* file descriptor */
off_t offset; /* # of blocks to skip */
u_long f_stats; /* # of full blocks processed */
u_long p_stats; /* # of partial blocks processed */
u_long s_stats; /* # of odd swab blocks */
u_long t_stats; /* # of truncations */
u_quad_t f_stats; /* # of full blocks processed */
u_quad_t p_stats; /* # of partial blocks processed */
u_quad_t s_stats; /* # of odd swab blocks */
u_quad_t t_stats; /* # of truncations */
} IO;
typedef struct {
u_long in_full; /* # of full input blocks */
u_long in_part; /* # of partial input blocks */
u_long out_full; /* # of full output blocks */
u_long out_part; /* # of partial output blocks */
u_long trunc; /* # of truncated records */
u_long swab; /* # of odd-length swab blocks */
u_int64_t bytes; /* # of bytes written */
double start; /* start time of dd */
u_quad_t in_full; /* # of full input blocks */
u_quad_t in_part; /* # of partial input blocks */
u_quad_t out_full; /* # of full output blocks */
u_quad_t out_part; /* # of partial output blocks */
u_quad_t trunc; /* # of truncated records */
u_quad_t swab; /* # of odd-length swab blocks */
u_quad_t bytes; /* # of bytes written */
double start; /* start time of dd */
} STAT;
/* Flags (in ddflags). */
+9 -7
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.3 (Berkeley) 4/2/94
* $Id$
* $FreeBSD$
*/
#include <sys/cdefs.h>
@@ -57,10 +57,12 @@ void unblock_close __P((void));
extern IO in, out;
extern STAT st;
extern void (*cfunc)();
extern u_long cpy_cnt;
extern u_int cbsz;
extern quad_t cpy_cnt;
extern size_t cbsz;
extern u_int ddflags;
extern u_int files_cnt;
extern u_char *ctab;
extern u_char a2e_32V[], a2e_POSIX[], a2ibm_32V[], a2ibm_POSIX[], e2a_32V[];
extern u_char e2a_POSIX[], l2u[], u2l[];
extern quad_t files_cnt;
extern const u_char *ctab;
extern const u_char a2e_32V[], a2e_POSIX[];
extern const u_char e2a_32V[], e2a_POSIX[];
extern const u_char a2ibm_32V[], a2ibm_POSIX[];
extern u_char casetab[];
+4 -4
View File
@@ -40,7 +40,7 @@
static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: misc.c,v 1.14 1998/05/13 07:33:50 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/types.h>
@@ -66,16 +66,16 @@ summary()
secs = 1e-6;
/* Use snprintf(3) so that we don't reenter stdio(3). */
(void)snprintf(buf, sizeof(buf),
"%lu+%lu records in\n%lu+%lu records out\n",
"%qu+%qu records in\n%qu+%qu records out\n",
st.in_full, st.in_part, st.out_full, st.out_part);
(void)write(STDERR_FILENO, buf, strlen(buf));
if (st.swab) {
(void)snprintf(buf, sizeof(buf), "%lu odd length swab %s\n",
(void)snprintf(buf, sizeof(buf), "%qu odd length swab %s\n",
st.swab, (st.swab == 1) ? "block" : "blocks");
(void)write(STDERR_FILENO, buf, strlen(buf));
}
if (st.trunc) {
(void)snprintf(buf, sizeof(buf), "%lu truncated %s\n",
(void)snprintf(buf, sizeof(buf), "%qu truncated %s\n",
st.trunc, (st.trunc == 1) ? "block" : "blocks");
(void)write(STDERR_FILENO, buf, strlen(buf));
}
+18 -10
View File
@@ -40,13 +40,14 @@
static char sccsid[] = "@(#)position.c 8.3 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: position.c,v 1.7 1998/05/06 06:51:42 charnier Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/types.h>
#include <sys/mtio.h>
#include <err.h>
#include <errno.h>
#include <unistd.h>
#include "dd.h"
@@ -61,11 +62,16 @@ static const char rcsid[] =
void
pos_in()
{
int bcnt, cnt, nr, warned;
off_t cnt;
int warned;
ssize_t nr;
size_t bcnt;
/* If not a character, pipe or tape device, try to seek on it. */
if (!(in.flags & (ISCHR|ISPIPE|ISTAPE))) {
if (lseek(in.fd, (off_t)in.offset * in.dbsz, SEEK_CUR) == -1)
/* If known to be seekable, try to seek on it. */
if (in.flags & ISSEEK) {
errno = 0;
if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1 &&
errno != 0)
err(1, "%s", in.name);
return;
}
@@ -116,7 +122,8 @@ void
pos_out()
{
struct mtop t_op;
int cnt, n;
off_t cnt;
ssize_t n;
/*
* If not a tape, try seeking on the file. Seeking on a pipe is
@@ -124,8 +131,9 @@ pos_out()
* have specified the seek operand.
*/
if (!(out.flags & ISTAPE)) {
if (lseek(out.fd,
(off_t)out.offset * out.dbsz, SEEK_SET) == -1)
errno = 0;
if (lseek(out.fd, out.offset * out.dbsz, SEEK_CUR) == -1 &&
errno != 0)
err(1, "%s", out.name);
return;
}
@@ -135,7 +143,7 @@ pos_out()
t_op.mt_op = MTFSR;
t_op.mt_count = out.offset;
if (ioctl(out.fd, MTIOCTOP, &t_op) < 0)
if (ioctl(out.fd, MTIOCTOP, &t_op) == -1)
err(1, "%s", out.name);
return;
}
@@ -145,7 +153,7 @@ pos_out()
if ((n = read(out.fd, out.db, out.dbsz)) > 0)
continue;
if (n < 0)
if (n == -1)
err(1, "%s", out.name);
/*
+3 -1
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.6 1997/08/07 21:30:59 steve Exp $
# $FreeBSD$
# @(#)Makefile 8.3 (Berkeley) 5/8/95
PROG= df
@@ -8,6 +8,8 @@ BINMODE=2555
MOUNT= ${.CURDIR}/../../sbin/mount
CFLAGS+= -I${MOUNT}
LDADD+= ${LIBM}
DPADD+= ${LIBM}
.PATH: ${MOUNT}
.include <bsd.prog.mk>
+34 -10
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)df.1 8.3 (Berkeley) 5/8/95
.\" $Id: df.1,v 1.12 1998/05/13 07:35:44 charnier Exp $
.\" $FreeBSD$
.\"
.Dd May 8, 1995
.Dt DF 1
@@ -40,7 +40,11 @@
.Nd display free disk space
.Sh SYNOPSIS
.Nm df
.Op Fl ikn
.Oo
.Fl b | h | H | k |
.Fl m | P
.Oc
.Op Fl in
.Op Fl t Ar type
.Op Ar file | Ar filesystem ...
.Sh DESCRIPTION
@@ -50,7 +54,7 @@ displays statistics about the amount of free disk space on the specified
or on the filesystem of which
.Ar file
is a part.
Values are displayed in 512-byte per block block counts.
Values are displayed in 512-byte per block counts.
If neither a file or a filesystem operand is specified,
statistics for all mounted filesystems are displayed
(subject to the
@@ -59,6 +63,19 @@ option below).
.Pp
The following options are available:
.Bl -tag -width Ds
.It Fl b
Use 512-byte blocks rather than the default. Note that
this overrides the
.Ev BLOCKSIZE
specification from the environment.
.It Fl H
"Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte,
Gigabyte, Terabyte and Petabyte in order to reduce the number of
digits to three or less using base 10 for sizes.
.It Fl h
"Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte,
Gigabyte, Terabyte and Petabyte in order to reduce the number of
digits to three or less using base 2 for sizes.
.It Fl i
Include statistics on the number of free inodes.
.It Fl k
@@ -66,6 +83,11 @@ Use 1024-byte (1-Kbyte) blocks rather than the default. Note that
this overrides the
.Ev BLOCKSIZE
specification from the environment.
.It Fl m
Use 1048576-byte (1-Mbyte) blocks rather than the default. Note that
this overrides the
.Ev BLOCKSIZE
specification from the environment.
.It Fl n
Print out the previously obtained statistics from the filesystems.
This option should be used if it is possible that one or more
@@ -75,6 +97,11 @@ When this option is specified,
.Nm
will not request new statistics from the filesystems, but will respond
with the possibly stale statistics that were previously obtained.
.It Fl P
Use POSIX compliant output of 512-byte blocks rather than the default.
Note that this overrides the
.Ev BLOCKSIZE
specification from the environment.
.It Fl t
Only print out statistics for filesystems of the specified types.
More than one type may be specified in a comma separated list.
@@ -95,12 +122,9 @@ lists all filesystems except those of type
and
.Tn MFS .
The
.Xr sysctl 8
.Xr lsvfs 1
command can be used to find out the types of filesystems
that are available on the system:
.Bd -literal -offset indent
sysctl vfs
.Ed
that are available on the system.
.El
.Sh ENVIRONMENT
.Bl -tag -width BLOCKSIZE
@@ -116,6 +140,7 @@ and
.Fl t
flags are ignored if a file or filesystem is specified.
.Sh SEE ALSO
.Xr lsvfs 1 ,
.Xr quota 1 ,
.Xr fstatfs 2 ,
.Xr getfsstat 2 ,
@@ -123,8 +148,7 @@ flags are ignored if a file or filesystem is specified.
.Xr getmntinfo 3 ,
.Xr fstab 5 ,
.Xr mount 8 ,
.Xr quot 8 ,
.Xr sysctl 8
.Xr quot 8
.Sh HISTORY
A
.Nm
+134 -13
View File
@@ -47,7 +47,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)df.c 8.9 (Berkeley) 5/8/95";
#else
static const char rcsid[] =
"$Id: df.c,v 1.19 1997/10/13 09:36:05 joerg Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -59,21 +59,55 @@ static const char rcsid[] =
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
#define UNITS_SI 1
#define UNITS_2 2
#define KILO_SZ(n) (n)
#define MEGA_SZ(n) ((n) * (n))
#define GIGA_SZ(n) ((n) * (n) * (n))
#define TERA_SZ(n) ((n) * (n) * (n) * (n))
#define PETA_SZ(n) ((n) * (n) * (n) * (n) * (n))
#define KILO_2_SZ (KILO_SZ(1024ULL))
#define MEGA_2_SZ (MEGA_SZ(1024ULL))
#define GIGA_2_SZ (GIGA_SZ(1024ULL))
#define TERA_2_SZ (TERA_SZ(1024ULL))
#define PETA_2_SZ (PETA_SZ(1024ULL))
#define KILO_SI_SZ (KILO_SZ(1000ULL))
#define MEGA_SI_SZ (MEGA_SZ(1000ULL))
#define GIGA_SI_SZ (GIGA_SZ(1000ULL))
#define TERA_SI_SZ (TERA_SZ(1000ULL))
#define PETA_SI_SZ (PETA_SZ(1000ULL))
unsigned long long vals_si [] = {1, KILO_SI_SZ, MEGA_SI_SZ, GIGA_SI_SZ, TERA_SI_SZ, PETA_SI_SZ};
unsigned long long vals_base2[] = {1, KILO_2_SZ, MEGA_2_SZ, GIGA_2_SZ, TERA_2_SZ, PETA_2_SZ};
unsigned long long *valp;
typedef enum { NONE, KILO, MEGA, GIGA, TERA, PETA, UNIT_MAX } unit_t;
int unitp [] = { NONE, KILO, MEGA, GIGA, TERA, PETA };
int checkvfsname __P((const char *, char **));
char **makevfslist __P((char *));
long regetmntinfo __P((struct statfs **, long, char **));
int bread __P((off_t, void *, int));
char *getmntpt __P((char *));
void prthuman __P((struct statfs *, long));
void prthumanval __P((double));
void prtstat __P((struct statfs *, int));
int ufs_df __P((char *, int));
unit_t unit_adjust __P((double *));
void usage __P((void));
int iflag, nflag;
int hflag, iflag, nflag;
struct ufs_args mdev;
int
@@ -88,13 +122,32 @@ main(argc, argv)
char *mntpt, *mntpath, **vfslist;
vfslist = NULL;
while ((ch = getopt(argc, argv, "iknt:")) != -1)
while ((ch = getopt(argc, argv, "bHhikmnPt:")) != -1)
switch (ch) {
case 'b':
/* FALLTHROUGH */
case 'P':
putenv("BLOCKSIZE=512");
hflag = 0;
break;
case 'H':
hflag = UNITS_SI;
valp = vals_si;
break;
case 'h':
hflag = UNITS_2;
valp = vals_base2;
break;
case 'i':
iflag = 1;
break;
case 'k':
putenv("BLOCKSIZE=1k");
hflag = 0;
break;
case 'm':
putenv("BLOCKSIZE=1m");
hflag = 0;
break;
case 'n':
nflag = 1;
@@ -130,8 +183,9 @@ main(argc, argv)
maxwidth = width;
}
}
for (i = 0; i < mntsize; i++)
for (i = 0; i < mntsize; i++) {
prtstat(&mntbuf[i], maxwidth);
}
exit(rv);
}
@@ -243,6 +297,61 @@ regetmntinfo(mntbufp, mntsize, vfslist)
return (j);
}
/*
* Output in "human-readable" format. Uses 3 digits max and puts
* unit suffixes at the end. Makes output compact and easy to read,
* especially on huge disks.
*
*/
unit_t
unit_adjust(val)
double *val;
{
double abval;
unit_t unit;
unsigned int unit_sz;
abval = fabs(*val);
unit_sz = abval ? ilogb(abval) / 10 : 0;
if (unit_sz >= UNIT_MAX) {
unit = NONE;
} else {
unit = unitp[unit_sz];
*val /= (double)valp[unit_sz];
}
return (unit);
}
void
prthuman(sfsp, used)
struct statfs *sfsp;
long used;
{
prthumanval((double)sfsp->f_blocks * (double)sfsp->f_bsize);
prthumanval((double)used * (double)sfsp->f_bsize);
prthumanval((double)sfsp->f_bavail * (double)sfsp->f_bsize);
}
void
prthumanval(bytes)
double bytes;
{
unit_t unit;
unit = unit_adjust(&bytes);
if (bytes == 0)
(void)printf(" 0B");
else if (bytes > 10)
(void)printf(" %5.0f%c", bytes, "BKMGTPE"[unit]);
else
(void)printf(" %5.1f%c", bytes, "BKMGTPE"[unit]);
}
/*
* Convert statfs returned filesystem size into BLOCKSIZE units.
* Attempts to avoid overflow for large filesystems.
@@ -267,9 +376,16 @@ prtstat(sfsp, maxwidth)
if (maxwidth < 11)
maxwidth = 11;
if (++timesthrough == 1) {
header = getbsize(&headerlen, &blocksize);
(void)printf("%-*.*s %s Used Avail Capacity",
maxwidth, maxwidth, "Filesystem", header);
if (hflag) {
header = " Size";
headerlen = strlen(header);
(void)printf("%-*.*s %-s Used Avail Capacity",
maxwidth, maxwidth, "Filesystem", header);
} else {
header = getbsize(&headerlen, &blocksize);
(void)printf("%-*.*s %-s Used Avail Capacity",
maxwidth, maxwidth, "Filesystem", header);
}
if (iflag)
(void)printf(" iused ifree %%iused");
(void)printf(" Mounted on\n");
@@ -277,10 +393,14 @@ prtstat(sfsp, maxwidth)
(void)printf("%-*.*s", maxwidth, maxwidth, sfsp->f_mntfromname);
used = sfsp->f_blocks - sfsp->f_bfree;
availblks = sfsp->f_bavail + used;
(void)printf(" %*ld %8ld %8ld", headerlen,
fsbtoblk(sfsp->f_blocks, sfsp->f_bsize, blocksize),
fsbtoblk(used, sfsp->f_bsize, blocksize),
fsbtoblk(sfsp->f_bavail, sfsp->f_bsize, blocksize));
if (hflag) {
prthuman(sfsp, used);
} else {
(void)printf(" %*ld %8ld %8ld", headerlen,
fsbtoblk(sfsp->f_blocks, sfsp->f_bsize, blocksize),
fsbtoblk(used, sfsp->f_bsize, blocksize),
fsbtoblk(sfsp->f_bavail, sfsp->f_bsize, blocksize));
}
(void)printf(" %5.0f%%",
availblks == 0 ? 100.0 : (double)used / (double)availblks * 100.0);
if (iflag) {
@@ -376,7 +496,8 @@ bread(off, buf, cnt)
void
usage()
{
(void)fprintf(stderr,
"usage: df [-ikn] [-t type] [file | filesystem ...]\n");
exit(1);
"usage: df [-b | -H | -h | -k | -m | -P] [-ain] [-t type] [file | filesystem ...]\n");
exit(EX_USAGE);
}
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id$
# $FreeBSD$
PROG= domainname
+2 -2
View File
@@ -30,11 +30,11 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)hostname.1 8.1 (Berkeley) 5/31/93
.\" $Id: domainname.1,v 1.5 1997/06/03 06:19:04 charnier Exp $
.\" $FreeBSD$
.\"
.Dd September 18, 1994
.Dt DOMAINNAME 1
.Os "FreeBSD 2.0"
.Os FreeBSD 2.0
.Sh NAME
.Nm domainname
.Nd set or print name of current YP/NIS domain
+1 -1
View File
@@ -42,7 +42,7 @@ static char const copyright[] =
static char const sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$Id$";
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= echo
+12 -2
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)echo.1 8.1 (Berkeley) 7/22/93
.\" $Id: echo.1,v 1.5 1997/02/22 14:03:05 peter Exp $
.\" $FreeBSD$
.\"
.Dd July 22, 1993
.Dt ECHO 1
@@ -60,11 +60,21 @@ achieved by appending `\ec' to the end of the string, as is done
by iBCS2 compatible systems.
.El
.Pp
Some shells may provide a builtin
.Nm
command which is similar or identical to this utility.
Consult the
.Xr builtin 1
manual page.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr printf 1
.Xr builtin 1 ,
.Xr csh 1 ,
.Xr printf 1 ,
.Xr sh 1
.Sh STANDARDS
The
.Nm
+1 -1
View File
@@ -42,7 +42,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$Id$";
"$FreeBSD$";
#endif /* not lint */
#include <stdio.h>
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.15 1997/02/22 14:03:08 peter Exp $
# $FreeBSD$
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
+1 -1
View File
@@ -1,4 +1,4 @@
$Id$
$FreeBSD$
This version of ed(1) is not strictly POSIX compliant, as described in
the POSIX 1003.2 document. The following is a summary of the omissions,
+1 -1
View File
@@ -1,4 +1,4 @@
$Id$
$FreeBSD$
ed is an 8-bit-clean, POSIX-compliant line editor. It should work with
any regular expression package that conforms to the POSIX interface
+2 -2
View File
@@ -1,4 +1,4 @@
/* buf.c: This file contains the scratch-file buffer rountines for the
/* buf.c: This file contains the scratch-file buffer routines for the
ed line editor. */
/*-
* Copyright (c) 1993 Andrew Moore, Talke Studio.
@@ -31,7 +31,7 @@
static char * const rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp";
#else
static char * const rcsid =
"$Id: buf.c,v 1.14 1997/10/09 11:05:16 eivind Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+2 -2
View File
@@ -42,7 +42,7 @@
static char * const rcsid = "@(#)cbc.c,v 1.2 1994/02/01 00:34:36 alm Exp";
#else
static char * const rcsid =
"$Id: cbc.c,v 1.9 1997/02/22 14:03:12 peter Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -124,7 +124,7 @@ init_des_cipher()
/* initialize the initialization vector */
MEMZERO(ivec, 8);
/* intialize the padding vector */
/* initialize the padding vector */
srand((unsigned) time((time_t *) 0));
for (i = 0; i < 8; i++)
CHAR(pvec, i) = (char) (rand()/RAND_DIV);
+13 -7
View File
@@ -1,10 +1,11 @@
.\" $Id: ed.1,v 1.13 1998/05/13 07:41:13 charnier Exp $
.\" $FreeBSD$
.Dd May 21, 1993
.Dt ED 1
.Os
.Sh NAME
.\" ed, red \- text editor
.Nm ed
.Nm ed ,
.Nm red
.Nd text editor
.Sh SYNOPSIS
.Nm ed
@@ -115,7 +116,8 @@ default addresses are supplied.
The following options are available:
.Bl -tag -width indent
.It Fl s
Suppress diagnostics. This should be used if
Suppress diagnostics.
This should be used if
.Nm Ns 's
standard input is from a script.
.It Fl x
@@ -174,7 +176,8 @@ This means "before the first line,"
and is legal wherever it makes sense.
.Pp
An address range is two addresses separated either by a comma or
semi-colon. The value of the first address in a range cannot exceed the
semi-colon.
The value of the first address in a range cannot exceed the
value of the second. If only one address is given in a range, then
the second address is set to the given address. If an
.Em n Ns -tuple
@@ -452,7 +455,8 @@ The current address is set to last line entered.
.It (.,.)d
Delete the addressed lines from the buffer.
If there is a line after the deleted range, then the current address is set
to this line. Otherwise the current address is set to the line
to this line.
Otherwise the current address is set to the line
before the deleted range.
.It e Ar file
Edit
@@ -587,7 +591,8 @@ Print the addressed lines along with
their line numbers. The current address is set to the last line
printed.
.It (.,.)p
Print the addressed lines. The current address is set to the last line
Print the addressed lines.
The current address is set to the last line
printed.
.It P
Toggle the command prompt on and off.
@@ -830,7 +835,8 @@ attempts to write the buffer if the terminal hangs up
USD:12-13
.Rs
.%A B. W. Kernighan and P. J. Plauger
.%A B. W. Kernighan
.%A P. J. Plauger
.%B Software Tools in Pascal
.%O Addison-Wesley
.%D 1981
+1 -1
View File
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*
* @(#)ed.h,v 1.5 1994/02/01 00:34:39 alm Exp
* $Id: ed.h,v 1.11 1997/12/10 22:18:23 eivind Exp $
* $FreeBSD$
*/
#include <sys/param.h> /* for MAXPATHLEN */
+1 -1
View File
@@ -31,7 +31,7 @@
static char * const rcsid = "@(#)glob.c,v 1.1 1994/02/01 00:34:40 alm Exp";
#else
static char * const rcsid =
"$Id: glbl.c,v 1.7 1997/02/22 14:03:15 peter Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+1 -1
View File
@@ -30,7 +30,7 @@
static char * const rcsid = "@(#)io.c,v 1.1 1994/02/01 00:34:41 alm Exp";
#else
static char * const rcsid =
"$Id: io.c,v 1.8 1997/02/22 14:03:16 peter Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
+6 -4
View File
@@ -37,7 +37,7 @@ static char * const copyright =
static char * const rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp";
#else
static char * const rcsid =
"$Id: main.c,v 1.12 1997/10/08 14:47:56 eivind Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
@@ -175,7 +175,9 @@ top:
if (read_file(*argv, 0) < 0 && !isatty(0))
quit(2);
else if (**argv != '!')
strcpy(old_filename, *argv);
if (strlcpy(old_filename, *argv, sizeof(old_filename))
>= sizeof(old_filename))
quit(2);
} else if (argc) {
fputs("?\n", stderr);
if (**argv == '\0')
@@ -1345,8 +1347,8 @@ strip_escapes(s)
int i = 0;
REALLOC(file, filesz, MAXPATHLEN + 1, NULL);
/* assert: no trailing escape */
while ((file[i++] = (*s == '\\') ? *++s : *s))
while (i < filesz - 1 /* Worry about a possible trailing escape */
&& (file[i++] = (*s == '\\') ? *++s : *s))
s++;
return file;
}
+1 -1
View File
@@ -31,7 +31,7 @@
static char * const rcsid = "@(#)re.c,v 1.6 1994/02/01 00:34:43 alm Exp";
#else
static char * const rcsid =
"$Id: re.c,v 1.13 1997/02/22 14:03:18 peter Exp $";
"$FreeBSD$";
#endif
#endif /* not lint */
Loaded 100 of 11204 files, more files were not shown because too many files have changed in this diff. Show more