Compare commits

...
Author SHA1 Message Date
cvs2svn 95b66175a3 This commit was manufactured by cvs2svn to create tag
'RELENG_2_2_7_RELEASE'.
1998-07-24 04:57:32 +00:00
Jordan K. Hubbard 21a9168142 11th hour fixes to XF86Setup handling and the XF86 dist bit. Gack.
I'll slide the tags forward on these files and update the boot floppy
for 2.2.7.  Nothing catastrophic, but irritating enough to fix floppies
over.
1998-07-23 19:21:41 +00:00
KATO Takenori f79b5d7b4e Sync with sys/i386/i386/userconfig.c revisions 1.63.2.28.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-07-23 10:33:44 +00:00
Jordan K. Hubbard d2ac0794b6 Bump reldate by 1 to denote that it's now past the release.
Suggested by:	asami
1998-07-21 13:56:32 +00:00
Jordan K. Hubbard f679ee58a1 Whoops! Commit the new errata for 2.2.7 - I'll slide the tag forward
for this file.
1998-07-21 13:54:48 +00:00
Jordan K. Hubbard d146ffcd70 Now that the tree is tagged, set to 2.2.7-STABLE 1998-07-21 13:49:50 +00:00
KATO Takenori 50dd249ff2 Sync with sys/i386/i386/userconfig.c and sys/i386/conf/files.i386
revisions 1.63.2.27 and 1.141.2.23, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-07-21 12:12:50 +00:00
Jordan K. Hubbard ce070a231e Get ready for tree tagging in 3 hours (I always forget this, so I'm
doing it now while it's fresh in my mind. :)
1998-07-21 12:06:10 +00:00
Jordan K. Hubbard f08c57b743 Update release notes, XFree86 docs and README in preparation for
2.2.7's release.
1998-07-21 12:00:34 +00:00
Jordan K. Hubbard 806b696bda Spell "adapters" correctly. 1998-07-21 11:50:56 +00:00
Philippe Charnier 88669d7e76 Comment is .\" not .|'. Do not dot terminate .Nd string. Typos. 1998-07-21 06:50:20 +00:00
Joseph Koshy 45a32c826e MFC: {rev 1.14} Fix use of -man macro, correct description of the
behaviour of the `+n' command to match whats there in the source.
1998-07-21 06:48:51 +00:00
Jordan K. Hubbard 1538bd7196 Shorten name of XFree86 contrib sources to be 8.3 compliant. 1998-07-21 06:09:39 +00:00
Jordan K. Hubbard b94c2a8456 Fix several bogus with XF86 distribution handling and display. 1998-07-21 05:42:34 +00:00
Jordan K. Hubbard 24819dfae6 Prevent mislabelled CDs from spitting out more than the necessary
number of "are you sure?" messages.
1998-07-21 05:15:05 +00:00
Jordan K. Hubbard fa82ebeccf Whoops! My mistake - XFree86 is now 3.3.2.3, not 3.3.2.1. 1998-07-21 04:03:25 +00:00
Jordan K. Hubbard bd708d5e35 Update the motd roughly as per PR#6537
Reminded by:	Doug White <[email protected]>
1998-07-21 01:43:36 +00:00
Mike Smith ed58a67988 Patch for the non-PnP case; this killed GENERIC. 1998-07-20 21:00:02 +00:00
Mike Smith 0bad08ed98 MFC: section 4 manpage for 'cs' 1998-07-20 20:13:58 +00:00
Mike Smith 8f97227182 MFC: the 'cs' driver for Crystal Semi CS89x0 adapters. Note that this
is marked as 'disabled' in GENERIC as a safety measure only.

Submitted by:	Maxim Bolotin <[email protected]>
1998-07-20 20:11:11 +00:00
cvs2svn e9073a0a1d This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-07-20 20:02:33 +00:00
Andreas Klemm e85bfb7c5d MFC: use full pathname of makemap command, so it's possible to use
"make all install" from cron ...
1998-07-20 17:43:14 +00:00
Mike Smith 2275791a58 MFC: work with PCNet PCI chips that only behave for us in ISA mode.
Submitted by:	Ted Faber <[email protected]>
1998-07-20 17:41:42 +00:00
Jordan K. Hubbard f885fadf09 Back out one small portion of my previous commit until/unless
the proper infrastructure support for it is brought in.
1998-07-20 11:42:47 +00:00
Jordan K. Hubbard 37c577255c Update to indicate that we'll actually be using XFree86 3.3.2.1 1998-07-20 11:33:08 +00:00
Kazutaka YOKOTA 5dab24749c Fix typo in a keymap file name: latin-amer.iso -> latin-amer. 1998-07-20 10:45:53 +00:00
Jordan K. Hubbard fd5392c48d make /usr/libdata/msdosfs for the koi2dos translation properly.
Submitted by:		Hideki Yamamoto <[email protected]>
1998-07-20 03:09:21 +00:00
Joseph Koshy 84b06bc81a MFC: {rev 1.23} Add CAVEAT on minimum permissions for mount point to be
traversable.
1998-07-20 02:33:46 +00:00
Joseph Koshy 5ee29c69ba MFC: {rev 1.16} fix description of the `-C' option. 1998-07-20 02:30:06 +00:00
Stefan Eßer db9a0a9613 Merge from -current: Add US master site for KDE. 1998-07-19 18:02:39 +00:00
Jordan K. Hubbard 6cf72244e5 -Wall cleanup. 1998-07-19 11:02:20 +00:00
Jordan K. Hubbard 5ba0739a24 Whoops - looks like patch flubbed this one; fix. 1998-07-19 10:56:06 +00:00
Jordan K. Hubbard f093f64e1b MFC: import new data and a few bug fixes. 1998-07-19 06:53:21 +00:00
Jordan K. Hubbard 7d26afd360 MFC: doc fixes, enhancements to bootp. 1998-07-19 06:53:05 +00:00
Jordan K. Hubbard fe9ab80f3c MFC: doc fixes, remove old dreck. 1998-07-19 06:52:13 +00:00
Jordan K. Hubbard 24797bfa88 MFC: doc fixes, casts, cosmetic. 1998-07-19 06:51:50 +00:00
Jordan K. Hubbard ee79220c87 Nuke broken LFS code. 1998-07-19 06:20:27 +00:00
Alexander Langer 938f42a690 MFC (rev 1.93): don't log ICMP type and subtype for non-zero offset
packet fragments.
1998-07-18 23:30:51 +00:00
Tim Vanderhoek 4a3e619048 sample qmail entry 1998-07-18 20:01:08 +00:00
Jordan K. Hubbard 911b2b4e6f MFC: finish usr.sbin 1998-07-18 11:38:12 +00:00
Jordan K. Hubbard cfbe635f8e MFC: doc changes, new rate-limiting inetd(8), lots of minor cosmetic tweaks. 1998-07-18 11:12:47 +00:00
Jordan K. Hubbard 71be27409e MFC: nuke an outdated file I missed. 1998-07-18 09:46:09 +00:00
Jordan K. Hubbard b708943b22 - Handle installation using a wfd as a floppy TOO!
- Handle network installs over fpa, sr, en, cc3i devices if available in kernel
- More scripting goodness, including:
	confirmation dialog box from scripts
	load floppy config file (works recursively for config files)
	dump all sysinstall variables to disk for post install
	    state setup
	handle recursive config file loading (config file loads another)
- Fix some interactive issues
- Fix handling of root chunks (didn't include the altroot bits this time)
- Allow fixit floppy on any floppy device, not just fd0 (needed for wfd!)
- Handle unifed root /usr and /var if desired and scripted, otherwise do
  the normal stuff.

Submitted by:	pst
1998-07-18 09:35:29 +00:00
Jordan K. Hubbard 20a7a90213 Nuke tl0 entry which erroneously got in here. 1998-07-17 23:05:21 +00:00
Jordan K. Hubbard b81d7f330a XFRee86 is now version 3.3.2.
PR:		7308
Submitted by:	Sascha Blank <[email protected]>
1998-07-17 21:55:39 +00:00
Jordan K. Hubbard 4fc19a7cc3 MFC: gack. That's the doc fixes merged, many utilities converted over
to err(), and a few assorted buffer overflow fixes.  Also nuked the
now-useless LFS stuff.
1998-07-17 20:13:53 +00:00
Jordan K. Hubbard b0e6f7baa8 MFC: final round of merges for /usr/src/usr.bin 1998-07-17 08:19:45 +00:00
Jordan K. Hubbard 72f777784d MFC: fix. 1998-07-17 08:07:40 +00:00
Jordan K. Hubbard 4aa4038e99 MFC: update talk, tip and telnet. Usual doc merges and whatnot. 1998-07-17 07:26:31 +00:00
Joerg Wunsch de43ac3c73 MFC: fat warning from rev 1.111 1998-07-17 06:46:12 +00:00
Jordan K. Hubbard 3d2b5d3d9b MFC: doc fixes, enhancements to locate & more, new tail functionality. 1998-07-17 04:21:57 +00:00
Joseph Koshy e3c0ee2101 MFC: {rev 1.12} Correct wording on range of addresses examined by
`msync(2)'.
1998-07-17 04:02:33 +00:00
Joseph Koshy 8857668bd3 MFC: {rev 1.22} Document use of lines beginning with a '#' as comments. 1998-07-17 04:00:02 +00:00
Joseph Koshy a5f91f98bd MFC: {rev 1.26 "pkg_add.1", rev 1.18 "pkg_info.1"} Add $Id$. 1998-07-17 03:55:03 +00:00
Joseph Koshy 18b61ffcf4 MFC: {rev 1.15} Fix inconsistent port numbering in man page. 1998-07-17 03:51:00 +00:00
Jordan K. Hubbard 66c958c770 MFC doc fixes, proper printf() casts, bugfixes for fetch, updated file(1)
command.  Remove dreck.
1998-07-16 23:52:19 +00:00
Justin T. Gibbs 483f113534 MFC: Correct checksum calculation in the case where we loop. 1998-07-16 19:34:38 +00:00
Nate Williams d27a27016a MFC: Fix race condition in pw caused by multiple instances of pwd_mkdb
being run at the same time.

PR:             bin/6787
Submitted by:   Craig Spannring <[email protected]>
1998-07-16 17:20:18 +00:00
Dmitrij Tejblum d9188b3909 This file is an ancient junk. Now Makefile will pick up newer version in
contrib/gcc.
1998-07-16 13:32:46 +00:00
Jordan K. Hubbard 4514d3cda2 MFC: Some of these files, like the relnotes, are due for revisiting. 1998-07-16 10:35:29 +00:00
Jordan K. Hubbard b3e2ee6ec4 MFC: New floppy creation stuff. 1998-07-16 10:27:05 +00:00
Jordan K. Hubbard d97fd2c1e7 MFC: Remove moved files. 1998-07-16 10:21:27 +00:00
Jordan K. Hubbard 6d93c26728 MFC: nuke this file. 1998-07-16 10:16:04 +00:00
Jordan K. Hubbard 4ebd34b205 MFC: new rune functions. 1998-07-16 09:57:02 +00:00
Jordan K. Hubbard 8fbfdc72cb MFC: man page fixes, printf args cast to u_long where appropriate, etc. 1998-07-16 09:35:53 +00:00
Jordan K. Hubbard b7d4f10dad MFC: Bring in FAT32 support from -current.
Merged by:      Hideki Yamamoto <[email protected]>
1998-07-16 02:03:43 +00:00
Jordan K. Hubbard 5a8de2aec5 MFC: Bring in FAT32 support from -current.
Merged by:	Hideki Yamamoto <[email protected]>
1998-07-16 02:01:48 +00:00
Jordan K. Hubbard 132278444b Make prototype match implementation.
Submitted by: Graham Wheeler <[email protected]>
1998-07-16 00:09:29 +00:00
Jordan K. Hubbard ee721a09d3 MFC: PR#6528 - CHIOGSTATUS broken. 1998-07-15 23:33:31 +00:00
Dag-Erling Smørgrav 9117dd171b MFC: allow blank lines in /var/yp/securenets. 1998-07-15 12:16:38 +00:00
Jordan K. Hubbard 5f3015c3bd MFC: man page fixes, octal char support for ls, misc fixes to cp, etc.
Sorry Bruce, that's the best description you're going to get considering
the number of merges I still have to make. :)
1998-07-15 02:01:36 +00:00
Jordan K. Hubbard 4bb2b94267 MFC: new directories. 1998-07-15 01:12:53 +00:00
Andrey A. Chernov cf6ead55c8 MFC: errno 1998-07-14 18:29:20 +00:00
Julian Elischer 0ab55dfca2 MFC: fix braino also merged in from current. (the old cut'n'paste error) 1998-07-13 06:37:11 +00:00
Steve Price 604f2003e4 MFC: cosmetic changes to Spanish LC_TIME strings 1998-07-12 22:36:10 +00:00
Brian Somers f60d177fcf MFC: set local ppp phase logging by default. 1998-07-12 17:23:21 +00:00
Alexander Langer 4b94c4d561 MFC (rev 1.22): removed no longer valid comment. 1998-07-10 21:59:53 +00:00
John Polstra 60152fd230 MFC 1.5 -> 1.6: Bug fix for hard links to files marked immutable. 1998-07-10 16:55:34 +00:00
Joseph Koshy bd2b22f9da MFC: {rev 1.8} "/etc/magic" --> "/usr/share/misc/magic".
PR: 7231 (and 4872)
1998-07-10 11:34:14 +00:00
Julian Elischer 88f3f68f0b MFC: match 1.11
Don't calculate the next hop twice.
1998-07-09 02:02:52 +00:00
Alexander Langer d8d9fcb67c MFC (rev 1.25): detect uid 0 correctly. 1998-07-08 22:44:08 +00:00
Jordan K. Hubbard 3eaae8e498 Remove all traces of BINFORMAT here. It is not meaningful in 2.2 nor will
it ever be meaningful in 2.2.
1998-07-08 13:03:06 +00:00
KATO Takenori 49d747cacc asm->__asm
inline->__inline

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-07-08 09:10:11 +00:00
David Greenman 438c3db78c Brought in changes from rev 1.96: silently discard source routed packets
that aren't for us.
1998-07-08 08:51:38 +00:00
Jordan K. Hubbard 2cb24c3c00 Ack! Don't set ALLLANG in here. The Japanese docs can be built but aren't
installable on a standard system anyway since /usr/share/doc/ja/handbook doesn't
exist.  Found by: Doing a make release on a 2.2-stable system.
1998-07-08 08:50:42 +00:00
John Polstra 3f73857adf Sync with main branch. 1998-07-08 05:33:46 +00:00
John Polstra a91679b9f3 MFC 1.2 -> 1.3: define PT_{LO,HI}PROC. 1998-07-07 23:36:23 +00:00
Jordan K. Hubbard 110bbbb972 MFC: Bruceification. 1998-07-07 22:21:12 +00:00
Jordan K. Hubbard 2b364efe54 MFC: check for non-existant bounds. 1998-07-07 12:09:52 +00:00
Justin T. Gibbs 8be19deb4c asm->__asm
inline->__inline
1998-07-07 05:24:41 +00:00
Joseph Koshy 8a59cbfe07 MFC: {rev 1.17 "pkg_info.1"} fix for PR 7155. 1998-07-07 05:13:36 +00:00
Joseph Koshy 527b07d556 MFC: {rev 1.13 "mount_nfs.8"} fix for PR 6905. 1998-07-07 04:52:54 +00:00
Joseph Koshy e8cc66a626 MFC: {rev 1.5 "atrun.man"} fixes for PR 7109. 1998-07-07 04:49:55 +00:00
Justin T. Gibbs 3874d671e0 MFC: Attempt to read SEEPROM contents in both 93c46 and 93c56/66 modes. 1998-07-06 18:39:56 +00:00
Joseph Koshy adc76b8895 MFC: fixes for PR docs/7064
{rev 1.25 "pkg_add.1"; rev 1.26 "pkg_create.1"; rev 1.16 "pkg_info.1"}
1998-07-06 12:15:22 +00:00
Joseph Koshy 73dc329806 MFC: {rev 1.11} fixes for PR 2850. 1998-07-06 12:01:34 +00:00
Dag-Erling Smørgrav 0e9f19d8aa MFC: force conversion of unit count from string to integer to avoid
endless loop.

PR:		misc/7124
Reviewed by:	Well, bde bickered a little :)
1998-07-06 10:59:17 +00:00
Julian Elischer 472b621990 I now understand one minor detail better, so fix a bad fix. 1998-07-06 09:05:32 +00:00
Julian Elischer 6e2c102ae1 Spotted and fixed a few more bogons not relevant to -current. 1998-07-06 08:48:38 +00:00
Julian Elischer 539c8db0d8 clean up some oversights on the last commits
hopefully catches the corner cases
1998-07-06 08:29:48 +00:00
Brian Somers a97c61f7a2 Version 1.65 -> 1.7 1998-07-06 02:07:29 +00:00
John Polstra 1f8807d283 MFC: Fix spelling error. 1998-07-04 22:13:30 +00:00
Steve Price 53b6bdd138 MFC: remove trigraph (PR#7123) 1998-07-04 19:01:56 +00:00
Alexander Langer 4fa6606d60 MFC (rev 1.12): Permit double digit year values to be used in the next
millenium.
1998-07-04 17:03:36 +00:00
Jordan K. Hubbard ba39198138 Whoops, commit the right version. 1998-07-04 14:12:19 +00:00
Jordan K. Hubbard c073ac0841 Check for null pointer bogosity in PUSHOUT().
Noticed by:	Robert Baron <[email protected]>
1998-07-04 14:10:56 +00:00
Brian Somers b6732eede4 MFC: Make things clearer.
Submitted (some time ago) by: Ted Mittelstaedt <[email protected]>
1998-07-04 12:07:45 +00:00
Brian Somers bf4ee2f0fc MFC: 6668/divert -> 8668/divert. IRC uses 6668. 1998-07-04 01:58:14 +00:00
Brian Somers 618547e832 MFC: Suggest port 8668 rather than 6668 for natd. 1998-07-04 01:54:51 +00:00
Brian Somers a78977ec5d MFC: Fix assorted problems with the history edit functions. 1998-07-03 17:30:30 +00:00
Jordan K. Hubbard 4d01971996 MFC: Check for missing keyboard (PR#7108). 1998-07-03 14:35:25 +00:00
Jordan K. Hubbard f11780d654 MFC: Add ALLLANG 1998-07-03 14:29:09 +00:00
Jordan K. Hubbard fef49ae1b8 MFC: remove ALLLANG 1998-07-03 14:28:32 +00:00
Jordan K. Hubbard fb53305b39 lpd tries to be clever and checks if RM == my_hostname.
However, it doesn't check if the remote printer name it
is sending it to is the same as the local printer name.

Submitted by:	David Malone <[email protected]>
PR:		7081
1998-07-03 14:21:49 +00:00
Jordan K. Hubbard 4f72061603 MFC: entry for Dell. 1998-07-03 14:06:17 +00:00
Jordan K. Hubbard da991c5bb8 MFC: Byte count statistics of multicast vifs are invalid.
PR:	7115
1998-07-03 07:48:14 +00:00
David Greenman 0395b10b55 Brought in changes from rev 1.104: preserve MNT_ASYNC across failed
unmount()s.
1998-07-03 03:50:31 +00:00
Bill Paul 04ac22c254 MFC: add workaround to allow FreeBSD boot block to load and run on
brain-damaged Taiwanese notebook machine.
1998-07-02 15:45:24 +00:00
Julian Elischer 66efb86d51 MFC: merge in some minor cleanups for IP divert 1998-07-01 01:38:38 +00:00
Jun Kuriyama 670f74bf0c MFC: Sync PATH variable with 'dot.login'. 1998-06-30 14:38:05 +00:00
Philippe Charnier 7da55eded9 Various changes obtained from current. 1998-06-30 06:43:23 +00:00
Dmitrij Tejblum 202eb0eeb1 MFC: Provide __error() in libc, to allow linking _THREAD_SAFE objects in
non-threaded programs.
1998-06-29 19:18:17 +00:00
Jordan K. Hubbard ec50325e25 Restore a clobbered tab.
Dedicated to:	bde
1998-06-29 10:15:32 +00:00
Jordan K. Hubbard 3cfee405f8 MFC: crank max disks/slices way down. 1998-06-29 09:28:21 +00:00
Tim Vanderhoek 078c68c47f MFC: .Ar usage, .Xr as appropriate, AUTHOR->AUTHORS 1998-06-29 07:04:36 +00:00
Tim Vanderhoek ec5296f4f0 MFC: a typos and grammer 1998-06-29 06:57:18 +00:00
Tim Vanderhoek 7509804433 CFC: SEE ALSO www.freebsd.org/ports 1998-06-29 06:55:59 +00:00
Tim Vanderhoek 5dd54e5e91 mfc, misc. spelling and grammar gnits. 1998-06-28 21:34:27 +00:00
Brian Somers f7c35593a8 Cosmetic: u_long -> u_int32_t 1998-06-28 10:39:39 +00:00
John Polstra cf572da1fe MFC: Move ftok() from libcompat to libc.
PR:		misc/6763
1998-06-28 05:22:39 +00:00
Justin T. Gibbs 34f937162f MFC: Workaround for aic7880 Rev. B dma hardware bug. 1998-06-28 02:59:53 +00:00
Steve Price c609e0c8df MFC: revision 1.9 1998-06-27 21:30:44 +00:00
Steve Price 8b34ac9cfa MFC: natd support 1998-06-27 21:23:28 +00:00
Steve Price aab4673db2 MFC: revision 1.2 1998-06-27 20:43:02 +00:00
Steve Price 84637f89f2 MFC: typos fixed in revision 1.3 1998-06-27 20:34:11 +00:00
Brian Somers a6446f386b Cosmetic (under FreeBSD):
Even more u_long -> u_int32_t
1998-06-27 16:32:07 +00:00
Brian Somers 42487bdd21 Cosmetic MFC:
OpenBSD struct tunnel_header -> u_int32_t
  Fix ``sizeof(u_long) == 4'' errors.
  Suggested by: theo
1998-06-27 12:05:28 +00:00
Andreas Klemm 491a4a3d96 merged from ­current,
new security warnings (login failures and tcp_wrappers messages)
PR:	closes misc/7050
1998-06-27 11:20:34 +00:00
John Hay 8b4d9bd896 MFC: r 1.18 Hide printf.
PR:		6875
1998-06-27 07:42:00 +00:00
Brian Somers 5c4936cf92 MFC: Don't depend on sizeof(u_long) == 4.
Pointed out by Theo
1998-06-26 19:04:31 +00:00
Brian Somers 89a195026f MFC: Build a des & non-des version of ppp in the same way as
init and ed.
1998-06-26 18:55:07 +00:00
Brian Somers 14fa10a9f7 MFC: DISTRIBUTION=des 1998-06-26 18:52:44 +00:00
Dmitrij Tejblum cc99ed2cf0 Make it setuid root again, as it always has been.
PR:		7070
1998-06-26 14:45:17 +00:00
Pierre Beyssac 69c57b185c MFC: patch rarpd use of the routing socket.
PR: bin/5669
1998-06-26 13:13:53 +00:00
KATO Takenori efcf2affbe Sync with sys/i386/i386/machdep.c revision 1.209.2.24.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-06-26 02:49:25 +00:00
Jordan K. Hubbard 0f5268be8e Reference CVSup documentation URL for those who don't even quite know
what it is.
1998-06-26 01:47:43 +00:00
Jordan K. Hubbard 5584981aa0 Remove completely obsolete sup lines (we don't support sup from freebsd.org)
and better document the CVSup config stuff.
1998-06-26 01:44:08 +00:00
Bill Paul dbe7a5bde1 MFC: don't treat multiple instances of the same IP address in export
access lists as an error. (2.2.x needs this too.)
1998-06-25 21:27:24 +00:00
Peter Wemm 3ffea809b1 Whoops. :-( Update the if_ppp build glue to deal with 2.3.5 from -current.
(All my systems have lkm's disabled for safety, I ususally forget them.)
1998-06-25 09:02:51 +00:00
Jordan K. Hubbard 337dc04a90 MFC: make boot message buffer size configurable.
PR:     6962
1998-06-25 00:47:48 +00:00
Jordan K. Hubbard 4c2f91dcc4 MFC: make boot message buffer size configurable.
PR:	6962
1998-06-25 00:45:59 +00:00
Jordan K. Hubbard 2ceaee9419 irqs are now passed in as linked list. Update this code accordingly.
Found by:	LINT
1998-06-24 09:21:53 +00:00
Jordan K. Hubbard ede95f98ce Make this build again - at_ifawithnet() takes only one arg. 1998-06-24 08:59:36 +00:00
Jordan K. Hubbard 5e9be4258e Don't enable vcfs by default - it prevents LINT from building. 1998-06-24 08:45:20 +00:00
Jordan K. Hubbard 2855e0437a MFC: Don't pull in compat bits we don't need to. 1998-06-24 06:14:01 +00:00
Peter Wemm 87ca7569fb Update chat with changes from ppp 2.2.0 -> 2.3.5 1998-06-23 22:12:41 +00:00
Peter Wemm 5447f18ee2 Update from ppp 2.2.0 -> 2.3.5, from -current. (actually this is 2.3.3,
as in -current.  the only 2.3.3 -> 2.3.5 changes were a couple of new
#ifdefs for GLIBC on linux)
1998-06-23 21:48:50 +00:00
Peter Wemm 80f3543fbf Update pppd from 2.2.0 -> 2.3.5.
NOTE:  There were a lot of hacks done to pppd along the way that were
never submitted back to the pppd folks and many required extensive
reworking to get them to fit into 2.3.x.  If you've made hacks in the
past that are important, please re-check them to make sure they still work.

OK'ed by: jkh
1998-06-23 21:41:51 +00:00
Peter Wemm a9267e9cc5 Update from ppp-2.2.0 -> 2.3.5, from -current.
New features:  deflate/gzip compression, demand dial, bringup/keepup/pass
filtering using bpf, Idle timeout.  (This version uses the correct
protocol number for deflate BTW).

OK'ed by: jkh
1998-06-23 21:33:24 +00:00
KATO Takenori 743780d418 Sync with sys/i386/conf/Makefile.i386 revision 1.89.2.5.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-06-23 16:27:45 +00:00
Tim Vanderhoek 9d63bf5fb8 Merge in the last two Revs of typo-fixes. 1998-06-23 05:31:20 +00:00
Tim Vanderhoek d60b22bb8d Copy From Current 1998-06-23 04:41:04 +00:00
Tim Vanderhoek e4653f2aee Cross-ref login.conf(5). 1998-06-23 04:39:35 +00:00
Jordan K. Hubbard 261b828a18 MFC: use blanktime 1998-06-23 03:09:45 +00:00
Jordan K. Hubbard a3e8860c3f MFC: kernel version number to go with config(8) change. 1998-06-22 02:48:23 +00:00
Jordan K. Hubbard c958734edc MFC: bring in kernel versioning feature, though with a slightly more
informative error message (which I'll bring forward into -current).
1998-06-22 02:47:35 +00:00
Jordan K. Hubbard 2ed0c8b014 MFC: Bye, airport. 1998-06-21 04:47:40 +00:00
Matthew Hunt e1dafa5619 MFC: Punctuation and style fixes. 1998-06-21 04:44:52 +00:00
cvs2svn c67e0c3e21 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-06-20 18:02:17 +00:00
Tim Vanderhoek 3026b81692 MFC: Rev 1.19, always -HUP syslog, etc. (PR: docs/6385) 1998-06-20 14:41:00 +00:00
Andrey A. Chernov 83cb6761a1 MFC: fix ^Z keypad on/off 1998-06-19 16:16:13 +00:00
Andrey A. Chernov 87c7af1eb5 MFC: #pragma weak, NULL check 1998-06-19 16:14:30 +00:00
KATO Takenori c9168f59f0 Sync with sys/i386/isa/isa.c and sio.c revisions 1.74.2.7 and
1.147.2.16, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-06-18 07:55:14 +00:00
KATO Takenori ad3059481c MFC (revision 1.65 and 1.66; Add NEC PC-98 chipsets).
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-06-17 15:29:09 +00:00
Joseph Koshy 8b3fc09d69 MFC: {rev 1.6} Added mention of Intel EE16 to man page. 1998-06-17 08:39:24 +00:00
Bruce Evans 28b17a7357 MFC (sio.c revs.1.203-1.205 and 1.207 and infrastructure: made
tests 3, 5 and 8 non-fatal, etc).  This may fix failing probes for
builtin ports on IWill motherboards.

PR:		6201
1998-06-16 12:51:24 +00:00
Joerg Wunsch e9ed2d9e58 MFC: rev 1.29/1.30, prevent mountd from dumping core for null hostnames
in netgroups.
1998-06-15 15:44:35 +00:00
Justin T. Gibbs afe640f62a MFC - Add support for the Storage Dimensions SDC3222F. 1998-06-14 16:42:29 +00:00
Steve Price 1edf6e57fe MFC: Allow .cpp extension for C++ files.
PR:		6913
Submitted by:	Greg Moncreaff <[email protected]>
1998-06-14 16:10:49 +00:00
Steve Price 303999599a MFC: 'They They' -> 'They' 1998-06-14 16:07:12 +00:00
Bruce Evans bd345a6847 MFC (1.37: various fixes for fdesc_readdir()). 1998-06-14 09:16:28 +00:00
Steve Price 16c46ddeb1 MFC: Add a Swiss-French keymap. 1998-06-13 22:50:10 +00:00
Steve Price 4aa75d8e89 MFC: part of Peter's recent commit that fixed the problem
regarding not being able to use the bnc connector.
1998-06-13 22:43:58 +00:00
Steve Price f9ac6ce951 MFC: add SI_ISJET macro. 1998-06-13 19:37:36 +00:00
Steve Price 1abbc7e638 MFC: mention all device environment variables 1998-06-13 19:30:22 +00:00
Steve Price 06081ff9aa MFC: miserable -> miserably 1998-06-13 19:08:40 +00:00
cvs2svn ffc3058832 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-06-13 18:39:23 +00:00
John Birrell 4e4527d08f MFC. Update file descriptor masks when no file descriptors are ready. 1998-06-12 22:56:49 +00:00
Brian Somers da293e2616 MFC: Correct arg hack
Submitted by: David Leonard <[email protected]>
1998-06-12 17:47:37 +00:00
Julian Elischer ad8ae08198 MFC: 1.29->1.30
There is never a case when a diverted packet shouldn't know about
it's receive interface, so make the supplying of that information
unconditional (unless it's not known).
1998-06-12 03:02:08 +00:00
Guido van Rooij 68381a26cc Install motd mode 644 only (it makes no sens in first installing it
mode 0644 and then 0666)
1998-06-11 20:22:14 +00:00
Peter Hawkins 4a9109434d Submitted by: Peter Hawkins ([email protected])
merge from current: Small man page fix (missing ']' in [:alpha:] example)
1998-06-11 02:18:40 +00:00
Jordan K. Hubbard c86bc6f8f0 Update to Luigi's latest sound driver for -stable (snd980419). 1998-06-10 17:37:02 +00:00
Daniel O'Callaghan d205a6a83f Reviewed by: thepish
MFC: fix grammar, "null" -> "NUL"
1998-06-10 12:39:47 +00:00
Dmitrij Tejblum ba64e486f6 MFC (rev. 1.16): remove stray semicolon. 1998-06-09 14:15:05 +00:00
Julian Elischer e223cc395d MFC:
Don't let ifunit() modify the string passed as an argument.
it may be in the text segment and write protected.
    matches 1.59 -> 1.60
1998-06-08 20:37:30 +00:00
Peter Hawkins 6f34a5269f bin/5730 commit backed out of -stable after advice from Eivind. 1998-06-08 10:55:26 +00:00
Joseph Koshy 3f8ecc006e MFC: {r1.12} Fix typo in printf(). 1998-06-08 06:45:24 +00:00
Joseph Koshy ac2598c6c4 MFC: Spelling fixes from PR 6880. 1998-06-08 06:39:32 +00:00
Joseph Koshy 09a510cb6c MFC: {r1.14} Clarify usage of -c, add example. 1998-06-08 05:44:03 +00:00
Daniel O'Callaghan 48f5fdffe2 MFC: typo: exit -> exist 1998-06-08 02:02:31 +00:00
Brian Somers a6b889c518 Use a width of 0 rather than 32 when HISADDR is 0.0.0.0.
Reported by:      many
Narrowed down by: Lutz Albers <[email protected]>
1998-06-07 17:10:53 +00:00
Brian Somers 4795697b3e MFC: Fix previous commit. bit 1 is the execute bit, not the read bit *blush*
ie, BINMODE=4551 -> BINMODE=4554
     Pointed out by: Bruce Evans <[email protected]>
1998-06-07 17:10:22 +00:00
Peter Hawkins 24527a9225 PR: docs/3636
merge from current
1998-06-07 15:10:27 +00:00
Peter Hawkins 6c1428b383 PR: bin/5730 1998-06-07 14:50:11 +00:00
Peter Hawkins 68d980cbc6 PR: bin/5730
Submitted by:	James Raynard [email protected]
Make config's invalid option warning messages more informative. Corrected by
adding the improved error report from -current. Thanks!
1998-06-07 13:38:16 +00:00
Brian Somers a57994cc66 MFC: Make ppp world-readable so that root can get at it over
NFS when nobody isn't in group network :-)

     Pointed out by: Bruce Evans <[email protected]>
1998-06-07 00:18:30 +00:00
Steve Price 9a19552514 MFC: keymap -> key_map 1998-06-06 17:46:28 +00:00
Peter Hawkins 4beeaece61 PR: docs/5986
Submitted by:	MITSUNAGA Noriaki [email protected]
merge from current
1998-06-06 15:41:11 +00:00
Peter Hawkins a03a3dfac9 PR: docs/5628
Submitted by:	 MITSUNAGA Noriaki [email protected]
Merge from current
1998-06-06 15:19:37 +00:00
Joseph Koshy 058bfe4aa5 MFC: Spelling corrections from PR 6868. 1998-06-06 06:09:26 +00:00
Joseph Koshy 9cb36cbaac MFC: Spelling nits. {r1.14 madvise.2; r1.12 mincore.2} 1998-06-06 05:03:43 +00:00
Bruce Evans 1d33142eed MFC (rev.1.46: don't attempt to copy the whole slices "struct" for
DIOCGSLICEINFO).
1998-06-06 03:13:54 +00:00
Julian Elischer b7c5bc5cb6 MFC: add option to fix divert infinite loop 1998-06-05 21:38:12 +00:00
Joseph Koshy 6b82e09364 MFC: {r1.4} tftpd also uses LOG_FTP. 1998-06-05 11:30:59 +00:00
Joseph Koshy 33c196c2f5 MFC: {r1.5} Mention that logging of messages with -l requires syslog.conf(5) changes. 1998-06-05 11:23:26 +00:00
Andrey A. Chernov 448679fc3a MFC: v1.9 1998-06-05 09:53:52 +00:00
Julian Elischer 3b699a595c Obtained from: NetBSD user David Brownlee <[email protected]>
via the Netatalk lists.
1998-06-05 06:58:59 +00:00
Steve Price d31de57f41 MFC: /nonexistent to /sbin/nologin 1998-06-04 22:38:12 +00:00
Steve Price 4822dd837c MFC: add .error directive. 1998-06-04 22:33:22 +00:00
Steve Price 540077bd30 MFC: allow user in group 0 to su to root. 1998-06-04 22:30:53 +00:00
Steve Price 635c19efb6 MFC: honor default group settings. 1998-06-04 22:28:14 +00:00
Steve Price cde646b3a7 MFC: allow setting idle/realtime priorities per login class. 1998-06-04 22:24:55 +00:00
Steve Price 163ff400ce MFC: set empty login name to '-'. 1998-06-04 22:20:33 +00:00
Steve Price f458046329 MFC: give correct times with old wtmp files. 1998-06-04 21:44:32 +00:00
Steve Price 069bcbca98 #include <errno.h> and avoid whitespce diffs from -current. 1998-06-04 20:47:11 +00:00
Steve Price ecba379d49 MFC: remove obsolete FDSEEKWAIT option.
PR:		6841
Submitted by:	Stefan Eggers <[email protected]>
1998-06-04 20:39:05 +00:00
Bill Paul 452cdb93be MFC: protect errno in signal handlers. 1998-06-04 15:41:45 +00:00
Bill Paul 2295a53329 Protect errno in signal handlers, like in portmap. 1998-06-04 15:11:32 +00:00
Matthew Hunt 552ca95fd8 MFC: Nuke directories in /var/run.
PR:		4138 5619 6793
1998-06-04 00:20:34 +00:00
Joseph Koshy ef99e83ff3 MFC: {r1.4} correct misleading statement on lifetimes of cookies returned
by `telldir()'.
1998-06-03 07:03:28 +00:00
Joseph Koshy 4983422dcd MFC: Spelling typos from Josh Gilliam, PR 6829.
{r1.9 bootpd.8; r1.11 chat.8; r1.2 cvsbug.8; r1.7 dset.8}
1998-06-03 04:35:19 +00:00
Joseph Koshy 9ecccba5c2 MFC: {r1.10} correct description of -crtscts 1998-06-03 04:12:26 +00:00
Joseph Koshy a973ad2c65 MFC: {r1.17} correct typo. 1998-06-03 04:02:20 +00:00
Eivind Eklund 7b861157e5 MFC: Return error when controller time out, and be less chatty during
boot (unless bootverbose).
1998-06-02 23:28:23 +00:00
Daniel O'Callaghan ee7b601efd PR: 6831
Submitted by:	[email protected]
Submitter retracts his PR 6749 which added a '.' after the weekday name.
Weekday name abreviations are supposed to be 3 characters exactly
(some languages pad with <space>)
1998-06-02 22:59:32 +00:00
John Hay a3f35d15db Shuffle the order around a little. This make -stable snaps work again
on our snap building machine. Hopefully also the FreeBSD one.
1998-06-02 18:55:17 +00:00
John Hay a5a00036aa MFC: Don't build perl in build-tools: if NOPERL is defined. 1998-06-02 18:41:21 +00:00
Joseph Koshy e29c1ac30c MFC: {r1.48} correct port# for RADIUS. 1998-06-01 03:58:44 +00:00
Justin T. Gibbs cf59f0d227 Convert to using the bufq macros.
Added sctargattach to initialize the bufq.
1998-06-01 03:42:56 +00:00
Steve Price 6146d4e99b MFC: clarify example 1998-05-31 22:44:52 +00:00
Steve Price 27444a8131 MFC: ${.OBJDIR} and ${.CURDIR} aware 1998-05-31 22:41:43 +00:00
Steve Price 58e0851411 MFC: allow inclusion from C++. 1998-05-31 20:12:58 +00:00
KATO Takenori 0a3be3af1f - Sync with sys/i386/isa/wd.c.
- Cosmetic changes.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:33:32 +00:00
KATO Takenori 7bb87ebe36 Sync with sys/i386/isa/syscons.c revision 1.182.2.33.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:32:32 +00:00
KATO Takenori 20fa32b5ea Cosmetic changes.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:31:49 +00:00
KATO Takenori cafb0fd054 Undeleted dpt driver's entry.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:31:07 +00:00
KATO Takenori 7042dffb4a Sync with sys/i386/i386/trap.c revision 1.83.2.8.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:29:53 +00:00
KATO Takenori ac724a2473 Sync with sys/i386/conf/files.i386 revision 1.141.2.22.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:29:13 +00:00
KATO Takenori 15c11a8df4 Sync with sys/i386/conf/GENERIC revision 1.77.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-05-31 17:28:22 +00:00
Jordan K. Hubbard f73a632628 MFC: 1.22 1998-05-31 15:48:19 +00:00
Andreas Klemm 6f500b940f Merge in port numbers for zebra (multithreaded RIP/OSPF/BGP4 router)
from -current.
1998-05-31 09:38:01 +00:00
Peter Hawkins 5464a1398e PR: conf/2284
Submitted by:	[email protected]
Correct arrow keys in termcap entry for ibm3163 in releng_2_2
1998-05-31 06:54:38 +00:00
Peter Hawkins 04aee08aff PR: bin/2133
apply change in -current to 2.2. corrects potential overflow in
netstat -s output.
1998-05-31 06:36:12 +00:00
Peter Hawkins f1e8b33bc8 Reviewed by: Daniel O'Callaghan([email protected])
Submitted by:	Joseph Koshy <[email protected]>

Merge diffs from 1.6 to 1.7 into releng_2_2 - corrects man page based on
feedback from Bruce Evans.
1998-05-31 05:56:11 +00:00
Matthew Hunt f3f5841b4a MFC: Correct spacing error. Also, NetBSD -> .Bx Net. 1998-05-31 04:56:39 +00:00
Peter Wemm 04f2f25097 Back out of a cross device link a little better.
Remove a #ifdef __NetBSD__ that was in the way.
1998-05-31 00:07:29 +00:00
Jordan K. Hubbard 41b11ee998 Back out the bsd.local.mk changes in 2.2 as well.
Reminded by:	max
1998-05-30 22:40:59 +00:00
Steve Price fb07674849 MFC: Tile -> Title 1998-05-30 22:11:22 +00:00
David E. O'Brien 3cb3366ab9 MFC: us.unix.kbd 1998-05-30 19:54:55 +00:00
John Hay 76c86094de MFC: Don't use absolute path. 1998-05-30 16:22:24 +00:00
David E. O'Brien 77ddaa5b36 Turn on opie* 1998-05-29 22:53:33 +00:00
Daniel O'Callaghan e3d9ec204a PR: 6780
Reviewed by:	jkoshy
Submitted by:	Yoshishige Arai <[email protected]>
MFC: Macro fix and HISTORY removal.
1998-05-29 11:20:50 +00:00
Jordan K. Hubbard 9d09e08b3c MFC: ifdef cleanup. 1998-05-29 06:17:00 +00:00
Jordan K. Hubbard 794d65904a MFC: add to build-tools in order to fix new dependency problems. 1998-05-29 06:06:08 +00:00
Joseph Koshy 2d71c76d2c MFC: Add TERMCAP entry for Linux consoles contributed by Christian Weisgerber,
<[email protected]>.
1998-05-28 06:47:08 +00:00
Julian Elischer d5ee4959a7 MFC: rev 1.25
Stash more state into the diversion routing information.
Allow the user agent to specify a "receive" interface by name as well as
by address. Use this in the default case. This is because more than one
interface can have the same address in the case of P2P links. Should be
compatible with old clients.
1998-05-28 06:28:49 +00:00
Julian Elischer 344d037068 MFC: Take the loop avoidance factor from where the user put it and not
from the PCB (though it was sometimes correct).
from rev 1.24
1998-05-28 06:17:57 +00:00
Daniel O'Callaghan b37764d749 Reviewed by: thepish
MFC: add s and w flags.
1998-05-28 01:01:10 +00:00
Daniel O'Callaghan fde09f3999 PR: 6063
Reviewed by:	jkoshy
Submitted by:	Doug <[email protected]>
MFC: activate installation of boot.help during 'make distribution'
1998-05-28 00:04:48 +00:00
Daniel O'Callaghan 18276eff25 PR: 6063
Reviewed by:	 jkoshy
Submitted by:	Doug <[email protected]>
MFC: Install boot.help during 'make distribution'
1998-05-27 23:46:03 +00:00
KATO Takenori aefeaa1173 MFC: revision 1.2 (fixed syntax error).
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-27 16:52:10 +00:00
KATO Takenori 539896c96e Sync with sys/i386/isa/isa.c revision 1.74.2.6.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-27 16:49:14 +00:00
KATO Takenori 65b3eb750b Sync with sys/i386/conf/files.i386 revision 1.141.2.21.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-27 16:48:34 +00:00
David E. O'Brien bf15b94ee6 + Check args to the howman() and roundup() macros to prevent divide by zero
+ MFC rev 1.12 - fix overflow in chkrange()
1998-05-27 05:16:08 +00:00
David E. O'Brien a7b98b79a3 + Check args to the howman() and roundup() macros to prevent divide by zero
+ MFC rev 1.9 - prevent divide by zero
+ MFC rev 1.8 - guard against a block size of 0 in the label
1998-05-27 05:13:16 +00:00
Jonathan M. Bresler 25b046d76e accidently omitted two file declarations.
so i added them.

Submitted by:	Scot Elliott ([email protected])
1998-05-27 01:26:33 +00:00
John Birrell e291a8bf9a Remove the error test from the call to set the file descriptor to
non-blocking. Devices are written inconsistently so it is not practical
to test for specific errors to ignore. The most common case when this
is a problem is with devices which don't block anyway so failing the
open is the wrong thing to do.
1998-05-26 22:11:30 +00:00
John Birrell eb9ca9b92c When doing a blocking write to a pipe, handle the case where the write
or writev syscall needs to be repeated until all the bytes are written.
1998-05-26 22:07:28 +00:00
KATO Takenori 6da37b7c99 MFC: rev. 1.13 (disable local APIC). 1998-05-26 16:05:33 +00:00
David Greenman e2c2af9a8c brought in fix from rev 1.30: fix net.inet.icmp.bmcastecho = 0. 1998-05-26 11:38:48 +00:00
Daniel O'Callaghan f77c73b170 PR: 1904
Abort if username given is > MAXLOGNAME.
1998-05-26 06:28:30 +00:00
Steve Price a7d111f4db Remove style nits introduced with last commit.
Submitted by:	bde
1998-05-26 02:54:54 +00:00
Steve Price 9a646f2063 MFC: shorter file is noted on stderr. 1998-05-26 00:40:10 +00:00
Steve Price 283ffdcfac MFC: don't append a '/' if already there 1998-05-25 22:45:42 +00:00
Steve Price d4d195bb16 Update code example to reflect new usage.
PR:		6753
Submitted by:	Stefan Eggers <[email protected]>
1998-05-25 21:32:47 +00:00
Bill Fenner 241ade09d5 MFC: rev 1.37: use select(), SO_TIMESTAMP and fix IP options generation. 1998-05-25 20:21:34 +00:00
Steve Price 87887d5259 MFC: dot after day of month. 1998-05-25 18:53:03 +00:00
Steve Price caab4d70db Sync manpage updates too.
Submitted by:	Ruslan Ermilov <[email protected]>
1998-05-25 18:06:39 +00:00
Daniel O'Callaghan 2217c68da0 PR: 6117
Reviewed by:	jkoshy
Submitted by:	Mark Mayo <[email protected]>
MFC: add cross-refs, note ``dumpdev'' in rc.conf.
1998-05-25 12:07:25 +00:00
David Greenman f78845da53 Changed type of nd_procnum to unsigned to protect against negative values
causing system crashes.
PR:		6747
1998-05-25 09:16:00 +00:00
Steve Price 4310cfca49 MFC: merge changes from revision 1.17. 1998-05-25 07:30:04 +00:00
Steve Price e2e66a17d2 MFC: be stricter about commandline arguments 1998-05-25 07:21:49 +00:00
Joseph Koshy 7b8db215fb MFC: {r1.13} Fix example in manual page. 1998-05-25 07:18:13 +00:00
Steve Price 958e50a67a MFC: allow spaces in the filename. 1998-05-25 06:28:02 +00:00
David Greenman c359b67cbf Brought in changes from rev 1.84: fix for timestamp processing. 1998-05-25 05:26:43 +00:00
Steve Price ec688f4a08 MFC: don't clobber 'newsyslog.conf' on upgrade. 1998-05-24 19:50:18 +00:00
Steve Price 5ad7146f13 Fix Anders Email address. 1998-05-24 19:48:38 +00:00
Guido van Rooij 342ef5b9c8 MFC: Plug hole reported on Bugtraq: do not allow mmap with WRITE privs for
append-only and immutable files.
Obtained from: NetBSD (partly)
1998-05-24 19:47:02 +00:00
Steve Price 902d99e95f MFC: new Norwegian keycap entry. 1998-05-24 19:39:02 +00:00
Bill Fenner f7eee400b0 Merge rev 1.30: take IP options into account when calculating length 1998-05-24 19:02:31 +00:00
Steve Price 8faa3f1dea MFC: remove debug message 1998-05-24 03:26:32 +00:00
Steve Price 3e4fc7e650 MFC: document the '-s' commandline option. 1998-05-24 03:13:00 +00:00
Daniel O'Callaghan d5586588a8 PR: 6721
Submitted by:	[email protected]
De-capitalise day/month names.
1998-05-23 11:36:55 +00:00
Dag-Erling Smørgrav a2fbc4d7b8 MFC: precise identification of models within the 586 and 686 families. 1998-05-22 22:18:45 +00:00
Joseph Koshy e84e0e513d MFC: {r1.15 find.1; r1.11 locate.1; r1.5 whereis.1; r1.11 which.1} Add
cross references for find(1), locate(1), whereis(1), which(1).
1998-05-22 11:03:39 +00:00
Joseph Koshy 23aed28a31 MFC: {r1.8} Replace reference to obsolete sigvec(2) with sigaction(2). 1998-05-22 10:50:26 +00:00
Joseph Koshy 1f05bcd029 MFC: {r1.17} Remove self-reference to sigaction(2). 1998-05-22 10:47:41 +00:00
Joseph Koshy f794d7b72e MFC: {r1.10} Improve description of absolute modes. 1998-05-22 10:41:45 +00:00
Joseph Koshy a19f80c311 MFC: {r1.5} Remove reference to obsolete file "README.iBCS2". 1998-05-22 10:29:39 +00:00
Joseph Koshy 61dbde6cd1 MFC: Remove `sigmask()' reference from synopsis. {from r1.6} 1998-05-22 10:01:46 +00:00
Joseph Koshy 2abaeea173 MFC: remove claim about login.conf not being used, reference pw(8)
{from r1.19}
1998-05-22 09:46:17 +00:00
Joseph Koshy b610f0484c MFC: use correct login.conf(5) capability (from r1.20) 1998-05-22 09:38:23 +00:00
Joseph Koshy 13bb7b9673 MFC: warn about interaction of S/Key and login(1) for users without
S/Key passwords.
1998-05-22 09:23:31 +00:00
Joseph Koshy 712a73e5eb MFC: allow `w' to treat a corrupted "utmp" as a non-fatal error. 1998-05-22 09:09:29 +00:00
Joseph Koshy b140eb280d .if defined(cleandepend) -> .if target(cleandepend)
Already fixed in -current where "bsd.dep.mk" handles dependencies.

PR: 6132
1998-05-21 12:34:08 +00:00
James Raynard 0d6d26445e Fix typo in prompt. 1998-05-20 22:23:16 +00:00
Justin T. Gibbs de334427d2 Fix bogus test that prevented NFS roots from working.
Submitted by:	Werner Griessl <[email protected]>
1998-05-20 19:32:10 +00:00
Bill Paul 9e4e7b6054 Merge from current: check only for zero-length record sizes. 1998-05-20 16:00:33 +00:00
Peter Wemm a6d2b31c56 MFC: rev 1.61; selectively enforce file owner permissions rather than
always ignore them.
1998-05-20 11:36:37 +00:00
Peter Wemm e819e61bd4 MFC: rev 1.43, 1.60-1.62 - sanity check flags at mount time 1998-05-20 08:12:14 +00:00
Matthew Hunt e67cead019 MFC: Default to USA to prevent syntax errors. Add rcsid. 1998-05-20 05:44:14 +00:00
Matthew Hunt 1a6d720884 MFC: Add bsd.locale.mk to un-break (or at least break differently)
ports-building.
1998-05-20 04:58:08 +00:00
Jordan K. Hubbard 641b786f0a MFC: nuke distfiles before packing ports. 1998-05-20 01:08:41 +00:00
Brian Somers 2d039c6cc8 MFC: Close forgotten descriptor.
PR: 6690
     Submitted by: Ruslan Ermilov <[email protected]>
1998-05-19 21:50:47 +00:00
Peter Hawkins 6bb8f59ee3 PR: misc/6031
Patch applied as per PR - enables preferential fetch from local mirrors
1998-05-19 13:48:39 +00:00
cvs2svn 28585dd79d This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-05-19 13:14:12 +00:00
Daniel O'Callaghan 929aae7785 MFC: document -q when zeroing. 1998-05-19 12:56:10 +00:00
David E. O'Brien 6cb66086a5 MFC rev 1.35 1998-05-19 11:16:41 +00:00
Kazutaka YOKOTA 52316cb669 MFC: merge fix from syscons.c 1.258.
PR: bin/5899, bin/5907, i386/6542, kern/6566
1998-05-19 09:30:42 +00:00
Guido van Rooij dcfa7b888e MFC: mental disease correction 1998-05-18 17:12:44 +00:00
Guido van Rooij 33cda32e1c MFH: parenthesis and a bug fix 1998-05-18 17:08:29 +00:00
Bill Paul 2172e2dd1e Merge RPC DoS attack fixes from current. 1998-05-18 16:15:26 +00:00
Andrey A. Chernov e425bd5ea4 MFC: 1) back out UTC fix, 2) fix INTERNAL_LS to sense /etc/localtime 1998-05-18 00:07:15 +00:00
Jonathan M. Bresler 8d59e16612 replaced check_rcpt ruleset with one
recommended by Gary Palmer <[email protected]>
Obtained from: http://www.informatik.uni-kiel.de/%7Eca/email/check.html#check_rcpt
1998-05-17 23:14:05 +00:00
Jonathan M. Bresler 8ba2edb1db replaced check_rcpt ruleset with one
recommended by Gary Palmer <[email protected]>
Obtained from: http://www.informatik.uni-kiel.de/%7Eca/email/check.html#check_rcpt
1998-05-17 22:58:51 +00:00
Justin T. Gibbs db89da9393 MFC - Only include if NEISA > 0. 1998-05-17 21:07:37 +00:00
Bill Fenner a133c12535 MFC: set TCP_NODELAY to improve throughput.
PR:		bin/6646
1998-05-17 06:41:36 +00:00
Andrey A. Chernov c3d9cb0e86 MFC: return back initial tzset() 1998-05-16 21:29:20 +00:00
KATO Takenori 2308e29ba2 MFC: revision 1.106 (reboot mode setting). 1998-05-16 14:47:46 +00:00
Justin T. Gibbs 7672e8959a MFC - convert to new bufq functions. 1998-05-15 22:21:31 +00:00
Andrey A. Chernov 8d3f9906c5 MFC: NULL pointer in vidattr 1998-05-15 21:38:12 +00:00
David E. O'Brien 408c25a375 MFC rev 1.34 1998-05-15 21:18:59 +00:00
Andrey A. Chernov 64374b70af MFC: return vfork back + array range termination 1998-05-15 16:53:45 +00:00
Andrey A. Chernov cb277ac3c8 MFC: use fork vs. vfork 1998-05-15 16:30:46 +00:00
Andrey A. Chernov dafa9879c0 MFC: move TZ="" before exec 1998-05-15 16:09:38 +00:00
Andrey A. Chernov a7e1dce45e MFC:
Do TZ= as first thing, since FTP protocol is unable to tell zone offset in
any case.

It makes no difference for anon account (since chroot already makes it GMT),
but if you do mirror with special non-anon login, in old variant
your mirror will be wholy retransmitted twice in the year due to
time zone changes (/etc/localtime plays bad role here)
1998-05-15 15:08:05 +00:00
Daniel O'Callaghan adeccdae56 PR: 6641
Submitted by:	Andre Albsmeier <[email protected]>
Fix -q flag when zeroing a specific rule.
1998-05-15 12:33:37 +00:00
Bruce Evans 23ebbd6970 MFC (1.176: removed share/info from build-tools).
PR:		6138
Tested by:	Andre Albsmeier <[email protected]>
1998-05-15 10:16:20 +00:00
Justin T. Gibbs 72cd9b52e1 Fix EISA interrupt registration and release. 1998-05-15 03:13:50 +00:00
Julian Elischer 50c7e17a79 Tree repair:
This file was not on the RELENG_2_2 branch because RELENG_2_2
was a REVISION tag and not a branch tag.
This happenned at 1.3 consequently, 2.2.5 and 2.2.6
were both released with shar.sh stuck at 1.3 from the mainline.
1.3 was the HEAD so that was ok I guess.
I've made a RELENG_2_2 branch again
and done a merge from current on it,
so nothing should change, except that
cvs update -rRELENG_2_2 -D"May 1" should now produce the right result again.
This was teh only thing stopping cvs update -rRELENG_2_2 -D"May 1"
from checking out a whole historical freebsd 2.2.x tree as of
some specific date.
1998-05-14 00:37:30 +00:00
Justin T. Gibbs 412643fd6d MFC - Fix bogus "cleanup" of bufq_remove(). 1998-05-13 16:06:09 +00:00
Daniel O'Callaghan 0646dedea9 PR: 6466
Submitted by:	Ruslan Ermilov
MFC: Add SIOIFFLAGS handler.
1998-05-13 11:19:05 +00:00
Thomas Gellekum 645f328369 MFC: Translate some traps to SIGSEGV instead of SIGBUS when running under
Linux emulation.
1998-05-13 07:04:54 +00:00
Peter Wemm d1639eab00 MFC: rev 1.25; re-aquire vnode during sillyrename cleanup since we can
block and something else might malloc the same space.

PR: 6611
Submitted by: Stephen Clawson <[email protected]>
1998-05-13 06:15:36 +00:00
Peter Wemm 6e7ee0c1b0 MFC: rev 1.85; initialize *vpp earlier for -o ro nfs mounts.
PR: 1856
Submitted by: [email protected]
1998-05-13 05:48:45 +00:00
Justin T. Gibbs 35e9f60480 MFC - DPT driver from current. 1998-05-12 19:59:31 +00:00
Justin T. Gibbs cceaff95bb Add entries for dpt_eisa.c. Upgrading to the current version of
the DPT driver gave us EISA support.

dpt_eisa.[ch] have been branch tagged into RELENG_2_2.
1998-05-12 19:59:07 +00:00
Justin T. Gibbs 5a6cc9f5b8 MFC - Upgrade to -current's DPT driver. This seems to clear up the problems
reported with the older driver using the CAM SWI mechanism.

      Tested on a PM3224.

      Remove last vestige of the DPT SWI code.
1998-05-12 19:57:31 +00:00
Guido van Rooij 4f671d7bcd MFC: disables TAO for those services that do not know about T/TCP 1998-05-12 19:33:23 +00:00
Bruce Evans ac1a1af858 Fixed merge error in previous commit. 1998-05-12 16:35:25 +00:00
Wolfram Schneider 96e16e6318 MFC: add NetBSD 1.3.2 1998-05-12 14:34:54 +00:00
Masafumi Max NAKANE aa3eed96a7 MFC: Give default value to xntpd_flags. 1998-05-12 10:53:51 +00:00
Wolfram Schneider df0364737a MFC: Add FreeBSD 2.2.7, FreeBSD 2.2.8, NetBSD-1.3.1. 1998-05-12 08:06:16 +00:00
Justin T. Gibbs 7cbb9e7329 MFC - Fix termination test in CIRCLEQ_FOREACH. 1998-05-12 03:57:26 +00:00
Julian Elischer b35e3fd591 Oops wrong branch 1998-05-11 19:21:47 +00:00
Julian Elischer 966bc22633 Submitted by: Andrzej Bialecki <[email protected]>
Minor fix to support SLICE in MFS..
1998-05-11 19:18:44 +00:00
Jordan K. Hubbard c7e75e4336 MFC: add -u (unlink) flag. 1998-05-11 13:03:28 +00:00
Steve Price 763e66fe44 MFC: spelling error 1998-05-11 03:45:52 +00:00
Steve Price 652358464f MFC: NBPG -> PAGE_SIZE 1998-05-11 03:42:44 +00:00
Jordan K. Hubbard 490ad6c767 MFC: update scd and mcd drivers as well in accordance with PR#6567 1998-05-11 00:50:12 +00:00
Jordan K. Hubbard 2808685fc2 MFC: use `a' device for matcd.
Submitted by:   Dave Marquardt <[email protected]>
1998-05-11 00:45:38 +00:00
Tim Vanderhoek e5afe1bbd6 Remove stray line from the manpage.
Fix usage().
Fix someone's fix to comment typo I just fixed in -current (s/time/trim/).
1998-05-10 19:00:46 +00:00
Steve Price f18e98762e MFC: typo fix 1998-05-10 16:36:47 +00:00
Dag-Erling Smørgrav 78878b5fb8 MFC (small bug in previous fix) 1998-05-09 08:56:41 +00:00
Dag-Erling Smørgrav 5a151dc465 MFC (translate leading / in -c argument to %2f)
PR:		bin/6558
1998-05-09 08:50:03 +00:00
Bill Fenner aefa67d3f6 Merge FTP URL documentation from current. (The code change
was merged a long time ago.)
1998-05-09 07:35:13 +00:00
Justin T. Gibbs 4b1b5f0c80 MFC - Use new buf queue macros. 1998-05-08 15:54:10 +00:00
Masafumi Max NAKANE 6ee19db093 MFC: Typo fix.
Pointed out by:	Brian Reichert <[email protected]>
PR:		6480
1998-05-08 14:49:24 +00:00
John-Mark Gurney 2601736e6d MFC: rev1.9 for log 1998-05-07 23:46:37 +00:00
Justin T. Gibbs 83a78fed8e MFC - Convert to new buf queue macros. 1998-05-07 22:47:08 +00:00
Justin T. Gibbs f33c2f1179 MFS - Convert to using new buf queue functions. 1998-05-07 19:04:15 +00:00
Thomas Gellekum a215beeb4a MFC: clean up in the child, not the parent. 1998-05-07 07:25:43 +00:00
Julian Elischer 3bcff1d67d Reviewed by: phk
Submitted by:	[email protected]
MFC:	bring up to 1.30
1998-05-06 22:46:54 +00:00
Justin T. Gibbs 842e8a5143 MFC - buf queue changes for PC98. 1998-05-06 20:12:33 +00:00
Justin T. Gibbs 68d5aaad30 The dpt driver is now standard equipment. 1998-05-06 20:07:25 +00:00
Justin T. Gibbs 491263fec4 Clean up some compile warnings. The diff looks much worse than what I did.
Some inline function definitions were moved so they would be in scope when
called (so they could be inlined), and some code was rearranged to ensure
that variables where initialized before being used.
1998-05-06 20:07:07 +00:00
Justin T. Gibbs 7dfc9a6c3c MFC - subr_autoconf.c is now mandatory (for config hooks). 1998-05-06 20:05:49 +00:00
Justin T. Gibbs 766e63f64b Add CAM interrupt support. 1998-05-06 19:32:16 +00:00
Justin T. Gibbs d43907184d Small change in DDB function code to deal with new definition of TAILQ_PREV. 1998-05-06 19:16:42 +00:00
Justin T. Gibbs 951224d030 MFC - bufqdisksort replaces tqdisksort. 1998-05-06 19:16:03 +00:00
Justin T. Gibbs acb1b3e7e7 buf.h:
MFC - Add new buf queue routines.

device.h:
kernel.h:
param.h:
systm.h:
	MFC - Interrupt driven config hook support.

disklabel.h
	MFC - bufqdisksort replaces tqdisksort.

queue.h:
	MFC.
1998-05-06 19:15:49 +00:00
Justin T. Gibbs b062f88fb6 Convert to new buf queue routines. 1998-05-06 19:12:45 +00:00
Justin T. Gibbs 2541c81d15 Add support for extracting the bus, device, and function from a pcici_t. 1998-05-06 19:12:28 +00:00
Justin T. Gibbs 0ad1b36eac Remove bogus DPTOPT code. 1998-05-06 19:12:03 +00:00
Justin T. Gibbs 21f0ce2d9e Remove DPT SWI code. unifdef DPTOPT. 1998-05-06 19:11:46 +00:00
Justin T. Gibbs 15c7e8bf52 init_main.c:
kern_shutdown.c:
subr_autoconf.c:
	MFC - Add interrupt driven config hook mechanism and split out
	      mountroot and dumpconf.

vfs_bio.c:
	Cleanup B_ORDERED buffer handling.
1998-05-06 19:10:59 +00:00
Justin T. Gibbs 186af8fda4 MFC - Convert to using new buf queue fucntions. 1998-05-06 19:09:34 +00:00
Justin T. Gibbs 46c8a44a4c MFC
fd.c:
mcd.c:
scd.c:
wcd.c:
wd.c:
wfd.c:
	Convert to using new buf queue fucntions.

icu.s:
isa.c:
isa_device.h:
vector.s:
	Remove DPT SWI code.  Add CAM SWI code.

sio.c:
	Remove bogus DPTOPT code.

pcibus.c:
	Add functions for extracting the bus, device, and function
	from old style pcici_ts.
1998-05-06 19:09:16 +00:00
Justin T. Gibbs c41baf82a2 MFC
cpufunc.h:
	const poisening.

md_var.h:
	Add definitions of busdma_swi() and swi_vm().
	Remove DPT SWI code.

trap.c:
	Add CAM SWI mechanism, remove DPT SWI mechanism.

spl.h:
	Remove DPT SWI mechanism - add cam SWI mechanism.

bus.h:
bus_memeio.h:
bus_pio.h:
	Add bus space and bus dma code.
1998-05-06 19:06:41 +00:00
Justin T. Gibbs 4064fa406c MFC
autoconf.c:
	Add interrupt driven config hook mechanism.
	Split out mountroot and dumpconf code so it occurs after
	config hooks run.

machdep.c:
	Clean out old DPT SWI mechanism.

trap.c:
	Add CAM SWI mechanism, remove DPT SWI mechanism.

userconfig.c:
	Remove DPTOPT.  The dpt driver is now standard.

vm_machdep.c:
	Add the VM SWI with hooks to call the bus dma code.

busdma_machdep.c:
	Add bus dma functionality.

Interrupt specification and attach changed to allow shared interrupts.
Shared EISA interrupts don't work in -stable though because we need the
new interrupt code from current.

Match routines now deal with const strings.
1998-05-06 19:04:14 +00:00
Justin T. Gibbs 2af84c38f6 MFC - Eisaconf interface changes.
Interrupt specification and attach changed to allow shared interrupts.
Shared EISA interrupts don't work in -stable though because we need the
new interrupt code from current.

Match routines now deal with const strings.
1998-05-06 18:58:53 +00:00
Justin T. Gibbs c5f92dcd0b Add busdma interfaces to -stable. 1998-05-06 18:55:52 +00:00
Justin T. Gibbs 014691e9da Switch to using the CAM SWI interface. 1998-05-06 18:55:27 +00:00
Andreas Klemm 4c616886db MFC: xxx_prog -> xxx_program, overlooked this new style of var names.
backout last change "named_prog"
1998-05-06 17:43:01 +00:00
Andreas Klemm 7925bd10e5 MFC: document ntpdate_prog and xntpd_prog
fix: named_program -> named_prog
1998-05-06 17:30:34 +00:00
Dag-Erling Smørgrav 218fcb2a12 MFC (submitter says the patch to current is working fine)
PR:		bin/6522
Submitted by:	Rudolf Cejka
1998-05-06 11:09:54 +00:00
Mike Smith ea685a9504 MFC - updates to handle files outside i386/
Submitted by:	Daniel O'Connor <[email protected]>
1998-05-06 05:46:16 +00:00
cvs2svn c880d1c3fb This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-05-06 01:45:56 +00:00
Andreas Klemm cecdd31889 Merged in changes from current
config option to specify the path for ntpdate and xntpd program
1998-05-05 21:39:44 +00:00
Steve Price 11a7f3f908 MFC: make -> ${MAKE}
Ok'd by:	Satoshi
1998-05-04 09:15:06 +00:00
KATO Takenori 05946bf5d1 MFC: Added amd controller. 1998-05-04 08:49:48 +00:00
Martin Cracauer 3a411d362a MFC: When calling a shell function, remember whether exit status is tested.
This is needed for the '-e' option. See the PR for more details.
PR:		6047
1998-05-04 07:25:58 +00:00
Steve Price d6ee2c7ee0 MFC: clarify use of 'if' capability. 1998-05-04 02:41:38 +00:00
KATO Takenori 721471916a Sync with sys/i386/isa/wd.c revision 1.119.2.11.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-04 00:59:32 +00:00
KATO Takenori 4dacc0a232 Sync with sys/i386/conf/majors.i386 revision 1.9.2.10.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-05-04 00:58:33 +00:00
Steve Price 5353beeaf1 MFC: be picky about commandline and coverup a compiler warning. 1998-05-03 23:24:09 +00:00
Steve Price 06dd32898a MFC: remove invalid .Xr trsp 8 1998-05-03 21:36:05 +00:00
Jean-Marc Zucconi 7d05e404d9 MFC: restore exit.c 1998-05-03 20:25:07 +00:00
Steve Price 22d60b9d4d MFC: typo fixes. 1998-05-03 17:59:52 +00:00
Steve Price fbb7ff7788 MFC: Support for reading 'if' file from /etc/gettytab.
PR:		6492
Submitted by:	Doug White <[email protected]>
1998-05-03 16:33:34 +00:00
Peter Wemm b879286ad4 Update 2.2 from bind 4.9.6 to 4.9.7-t1b 1998-05-02 15:56:49 +00:00
Peter Wemm 0dfaae48fe Merge 4.9.7-t1b changes from current. 1998-05-02 15:54:12 +00:00
Jordan K. Hubbard 8289d13071 MFC: PR#5704
The logic in tape.c:getfile() doesn't allow for a filesystem
        with a blocksize smaller than the tape block size. The problem
        seems to be most easily fixed by changeing where fssize is set.
1998-05-02 09:19:51 +00:00
KATO Takenori 5850744002 MFC: 1.44MB floppy support. 1998-05-02 02:06:53 +00:00
Alexander Langer d27e66afe9 MFC (rev 1.19): strengthen rules for the 127.0.0.0/8 subnet & guarantee
that the lo0 rules appear first.
1998-05-01 16:28:03 +00:00
Dag-Erling Smørgrav 2f7ed923c1 MFC: don't delete man pages with colons in their name
PR:		bin/5439
Submitted by:	Martin Kammerhofer [email protected]
1998-05-01 13:30:14 +00:00
John Birrell 2d8951a051 MFC: Fix incremental priority increment.
PR: bin/6467 Marino Ladavac <[email protected]>
1998-04-30 22:26:30 +00:00
Peter Wemm 7208f7da58 MFC: euid flip while accessing home directory early to get to .login_cap
and to be able to chdir() on NFS served homes without root read access.
1998-04-30 16:52:31 +00:00
Andrey A. Chernov fa41e8ecbe MFC: LC_MESSAGES 1998-04-30 16:50:34 +00:00
Andrey A. Chernov 2135867696 MFC: LC_MESSAGES, fixes 1998-04-30 16:49:02 +00:00
Thomas Gellekum 64824728db MFC part 5: Fix recursion problem which occurs when a signal is received
during a malloc. The signal handler creates a thread which requires a malloc...
For now, the only thing to do is to block signals.
1998-04-30 07:53:36 +00:00
Thomas Gellekum 52a33963d4 MFC part 4: pthread_yield() was renamed to sched_yield() in the
POSIX thread standard.

sched.h is John's version, needed for the prototype.
1998-04-30 06:59:27 +00:00
Andreas Klemm 562dd54075 MFC: correct spelling of UltraStor and ULTRA SCSI hostadapters
PR:		6447
1998-04-29 22:47:11 +00:00
KATO Takenori 591bb8b4b1 MFC: sync with NetBSD/pc98 based on NetBSD/i386 version 1.3G
patchlevel 117.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-29 15:39:47 +00:00
Dag-Erling Smørgrav 298ca8e363 Remove keyboard droppings 1998-04-28 17:26:32 +00:00
Daniel O'Callaghan 07aff0ee33 Spelling police. 1998-04-28 13:49:50 +00:00
Dag-Erling Smørgrav 0603e2d515 Fixed erroneous spelling of "fictitious" in diagnostics and comments.
PR:		kern/6429
1998-04-27 11:39:05 +00:00
Jordan K. Hubbard a2bf7e60fb MFC: retire sup just a wee bit more. 1998-04-26 08:40:48 +00:00
Jordan K. Hubbard 922bdb6089 Add the whatis database to catpages too 1998-04-26 08:34:26 +00:00
Brian Somers 9c3bdda794 MFC: Quieten gcc-2.8.1 1998-04-25 09:17:50 +00:00
Brian Somers 27cf02b4cf MFC: Fix diagnostic. 1998-04-25 00:21:52 +00:00
David E. O'Brien b1ce4b344f MFC rev 1.44/45 (MAXPARTITIONS) 1998-04-24 11:52:31 +00:00
David Greenman e321b3e873 MFC: tcp_var.h/1.43 & tcp_timer.c/1.28: bugfix for PR#6068 - connections
timing out too quickly.
1998-04-24 09:32:43 +00:00
John Birrell 53beafafc2 (Almost) MFC: -pthread argument links against libc_r instead of libc. 1998-04-24 07:46:30 +00:00
Thomas Gellekum 6cef80226a MFC part 3: After fork(), only the calling thread survives in the child. 1998-04-24 07:09:57 +00:00
Dag-Erling Smørgrav c5820a69f3 There is no "rwho" service, it's "who"
PR:		bin/6396
Submitted by:	Ruslan Ermilov <[email protected]>
1998-04-23 19:12:41 +00:00
Thomas Gellekum 327f2d0a90 MFC part 2: Static initializers for mutexes and condition variables. 1998-04-23 08:21:56 +00:00
Paul Traina ca455cf9d7 Back out last commit. 1998-04-23 04:43:26 +00:00
Eivind Eklund b3f7f293ee Fix buffer overflow (that was supposedly previously fixed). This
problem is not present in -current.

Submitted by:	Niall Smart <[email protected]>
1998-04-22 23:00:59 +00:00
Thomas Gellekum b5d1606c18 MFC part 1: Safety belts for code written for older drafts of
the POSIX threads standard.
1998-04-22 09:11:53 +00:00
Paul Traina 2a15cb9a8f MFC: Convert cabs/cabsf definitions to proper prototypes.
[make world soon to follow]
1998-04-22 06:27:52 +00:00
Brian Somers d93e123f62 Back out the removal of psignal() and sys_siglist as
it's not appropriate in this branch.
Suggested by:	bde
1998-04-22 01:48:34 +00:00
Eivind Eklund 67028271f1 MFC: Fix flag spec. 1998-04-21 23:26:21 +00:00
John Polstra 871334506e Merge from main branch 1.5 -> 1.6: Fix forward referenced linker sets. 1998-04-21 04:40:44 +00:00
John Birrell 754bfb6067 MFC: Add entry for gnats-supfile. 1998-04-21 01:39:24 +00:00
Brian Somers d7509ec6d4 MFC: Remove psignal & sys_signlist decls. 1998-04-21 01:04:18 +00:00
Dima Ruban b35f2c2f9a MFC: indent 1998-04-20 22:15:19 +00:00
Bruce Evans 03ffc533f0 MFC (1.8 plus conflicting cosmetic changes from Lite2: don't check
multiple slices on the same drive concurrently for `fsck -p', etc.).

PR:		6129
1998-04-20 16:28:07 +00:00
Bruce Evans 477a48941c YAMFC (don't build files at install time). This should finish fixing
installing from readonly object trees in 2.2 and -current.

Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-20 15:40:58 +00:00
Bruce Evans b4196747f4 Don't build files at install time.
Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-20 15:38:54 +00:00
Nate Williams 6c35d1f02a MFC:
- gcc -ansi cleanups
- Don't clear registers
- misc. white-space cleanups
- Made the fake interrupt routine into a real routine

The latter shouldn't be necessary, since interrupts are disabled the entire
time the fake interrupt routine is active, but is provided until we can
figure out what's going on.
1998-04-20 15:05:09 +00:00
Bruce Evans 0732efb715 YAMFC (1.10-1.11: don't generate neqn at install time, etc.)
Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-20 15:04:36 +00:00
Jordan K. Hubbard b3af28516a MFC: using linux plip. 1998-04-20 06:18:47 +00:00
Nate Williams 92d33529c7 - Whoops, my previous fix was incomplete. Finish up the 'looping' bug.
Obtained from:	PAO
1998-04-20 05:41:30 +00:00
John Polstra 2e167ceaa6 Eliminate compiler warnings. I modified the submitted patch a
little, primarily by changing the white space.  This aligns the
fix with changes that have already been made in -current, and will
simplify future merges from the main branch.

PR:		bin/6328
Reviewed by:	jdp
Submitted by:	[email protected] (Chia-liang Kao)
1998-04-19 23:01:27 +00:00
Nate Williams ad14096ab5 MFC: Don't spin forever with invalid/unexpected tuples. 1998-04-19 18:42:44 +00:00
Bruce Evans 3baeebae3c MFC (1.55: don't generate osreldate.h at install time).
Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-19 13:34:48 +00:00
Bruce Evans 26f8db6806 YAMFC (1.15: don't generate files at install time, etc.).
Submitted by:	Arne Henrik Juul <[email protected]>
PR:		6330
1998-04-19 13:06:43 +00:00
David E. O'Brien 1b1c081827 NO_LIBC_R --> NOLIBC_R to match -CURRENT. 1998-04-19 09:11:23 +00:00
David E. O'Brien 1bee748688 MFC rev 1.6
(everything but the -pthreads option applies, and I hope that will be fixed
RSN)
1998-04-19 09:04:18 +00:00
David E. O'Brien f25ab3f571 [2nd's a charm]
MFC (reduce diff w/-CUR, with hopes of getting DMA support into -STABLE)
1.128   (FUNCTIONAL: better sleep handling)
1.131   (STYLE: labels w/o stmt)
1.132   (STYLE: remove unused #includes)
1.141   (FUNCTIONAL: devfs bug, 2nd controler not showing)
1.144   (STYLE: dont shadow other vars)
1.150   (FUNCTIONAL: fix search bug)
1998-04-19 08:47:42 +00:00
Nate Williams a0683e0cdd MFC: rdattr function added. 1998-04-18 23:35:32 +00:00
Nate Williams d2c864a65a MFC:
- pccard/card.h -> pccard/cardinfo.h
- Addition of rdattr to pccardc
- cleanups
- Breakout cardd.c into pccardd.c and cardd.c
1998-04-18 23:28:52 +00:00
Nate Williams 6d742d26b6 [ Whoops, forgot about non-x86 stuff]
MFC: pccard/card.h -> pccard/cardinfo.h
1998-04-18 23:27:06 +00:00
Nate Williams 7408e84fc6 MFC: pccard/card.h -> pccard/cardinfo.h 1998-04-18 23:25:14 +00:00
KATO Takenori c97edb527a Sync with sys/i386/isa/syscons.c revision 1.182.2.32.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-18 15:46:25 +00:00
KATO Takenori e30252b5ca Sync with sys/i386/i386/userconfig.c revision 1.48.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-18 15:45:27 +00:00
Gene Stark 55e902f9e2 PR: misc/4679
Submitted by:	Glen Foster ([email protected])
Merge from -current.
1998-04-18 13:43:09 +00:00
David E. O'Brien 20aea8afdc Add mktemp(1) from current. 1998-04-18 10:56:48 +00:00
David E. O'Brien 4a3285b44e Make bulding libc_r the default. This is useful for ports like mysql. 1998-04-18 09:34:05 +00:00
Julian Elischer 6e340edf00 hold a number (that matches -current) for ALTQ
remove duplicate DPT entry
1998-04-17 20:30:58 +00:00
Thomas Gellekum eb69720b0c MFC: when in PS_SIGWAIT state, still call signal handlers
and set errno to EINTR.
1998-04-17 11:22:26 +00:00
Dag-Erling Smørgrav 428c4cf8bf Merged in changes from current (comments about LC_ALL) 1998-04-17 10:54:04 +00:00
Andrey A. Chernov 3932765b29 MFC: add ftp4.ru 1998-04-16 13:58:18 +00:00
Andrey A. Chernov 736908cd90 MFC: XSI macros including attr_get 1998-04-15 23:14:35 +00:00
cvs2svn cd4cc56df0 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-04-15 17:47:41 +00:00
Dag-Erling Smørgrav 6af47c09ec Swapped "should we just return" and "should we stop the screensaver"
in scrn_timer() to prevent deadlock when screensaver sets UNKNOWN_MODE.
1998-04-15 12:00:14 +00:00
Peter Wemm cdd7c9a25d MFC: don't generate potential shell or interpreter metacharacters when
doing character rotation while searching for unique names.
1998-04-15 03:11:37 +00:00
Jonathan M. Bresler 014865a885 rotate sendmail statistics file weekly.
keep the last ten weeks of data.
Submitted by:	jmb
1998-04-14 23:08:29 +00:00
Daniel O'Callaghan bf3ac0df12 PR: 4866
Submitted by:	fenner
Make manpage reflect reality.
1998-04-14 22:10:40 +00:00
KATO Takenori e736e9c249 MFC: Fix panic by probing NE2000 compatible PCI card. 1998-04-14 13:52:28 +00:00
Jonathan M. Bresler 3d7caa8c6a use extended error codes as noted in rfc1893.
retain additional message in check_relay ruleset,
	the message is written into the maillog.
	this is useful to a site's postmaster.
PR:		conf/6226
Reviewed by:	jmb
Submitted by:	Ruslan Ermilov [email protected]
1998-04-14 02:12:20 +00:00
Steve Price 8df3b5fcbf MFC: document use of sendmail options. 1998-04-14 01:00:35 +00:00
Steve Price 622a6a4113 MFC: don't let secs variable wrap. 1998-04-14 00:25:32 +00:00
Steve Price 21a695e665 Add MLINK for mkdtemp.3.
PR:		6291
Submitted by:	Niall Smart <rotel.indigo.ie>
1998-04-13 23:20:52 +00:00
Mike Smith ca35880b03 MFC - don't use INTR mixed with ACCEL.
Submitted by:	Satoh Junichi <[email protected]>
1998-04-13 17:49:30 +00:00
Bruce Evans 013feb26d2 Backed out previous commit. 07.lpd should be in 2.2, at least until
someone merges lpr/SMM.doc.
1998-04-13 14:57:40 +00:00
Bruce Evans 2c449f0911 Backed out previous commit again. 07.lpd should be in 2.2, at least
until someone merges lpr/SMM.doc.
1998-04-13 14:12:37 +00:00
Doug Rabson 4d1c414403 MFC: Fixes for using amd with non-NFSv3 servers and for choosing the right
address for a multihomed server.

PR:		bin/6231, bin/4678
1998-04-13 12:13:17 +00:00
Jordan K. Hubbard 1f3e0bf4cb remove bogus bugs section.
Submitted by:	Niall Smart <[email protected]>
1998-04-13 05:43:45 +00:00
John Polstra d7729627d4 Merge from main branch 1.8 -> 1.9: Add "fildll" and "fistpll" mnemonics. 1998-04-12 18:12:38 +00:00
Jordan K. Hubbard 5ac4756cd7 MFC: fix dependent loading by URL 1998-04-12 16:01:28 +00:00
KATO Takenori 75c4c34b81 Sync with sys/i386/conf/GENERIC revision 1.77.2.22.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-12 15:06:06 +00:00
KATO Takenori 28d3934047 Sync with sys/i386/conf/files.i386 revision 1.141.2.20.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-12 15:05:28 +00:00
KATO Takenori 920282a631 Sync with sys/i386/i386/machdep.c revision 1.209.2.22.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-12 15:04:45 +00:00
KATO Takenori 701ac83834 Sync with sys/i386/conf/GENERIC revision 1.77.2.21.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-04-12 15:04:03 +00:00
Jordan K. Hubbard 162d7e2418 Just totally nuke 07.lpd - it shouldn't even be here.
Shown-the-error-of-my-ways-by:	bde
1998-04-12 06:24:38 +00:00
KATO Takenori 313b05c498 MFC (fix the problem when SCSI ID is not contiguous). 1998-04-12 04:49:12 +00:00
Peter Wemm 01b75c0024 Merge from HEAD; 'cvs update -j' cleanup mistake that probably caused the
stray /tmp files.
1998-04-11 16:15:12 +00:00
Peter Wemm 727ebe49ba YIKES!!!! I accidently committed experimental patches with the 2.2 cvs
update!  I don't think this would cause the stray /tmp file problem, but
this is not meant to be here yet.
1998-04-11 16:03:38 +00:00
Jordan K. Hubbard 1466d87eda Reenable lpd docs - they seem to build fine.
Prodded into action by:	Ruslan Ermilov <[email protected]>
1998-04-11 15:10:08 +00:00
Nate Williams 0b2b15452a - Whoops, better have the structure created before trying to use it in
the patch I just submitted.

Noticed by:	phk
1998-04-09 14:00:36 +00:00
Nate Williams b74bc82a00 MFC: Correctly unregister the interrupt from the system when probes fail. 1998-04-08 15:01:08 +00:00
Peter Wemm ce3cf99c46 Merge cvs from HEAD. 1998-04-05 03:29:11 +00:00
Peter Wemm 3aa7c0b523 Merge cvs from HEAD (contrib/cvs is in a seperate commit) 1998-04-05 03:22:30 +00:00
Daniel O'Callaghan f4061e06a4 Spelling police 1998-04-02 09:30:11 +00:00
Daniel O'Callaghan 6480260e65 PR: bin/6193
Submitted by:	Max Euston <[email protected]>
MFC: Make times 000-0059 and 1200-1259 display as 12:xx instead of 0:xx
1998-04-01 21:38:57 +00:00
Dima Ruban 065d7a1c62 MFC: new variable NOSUIDPERL 1998-04-01 21:09:31 +00:00
Dima Ruban 3b1dc8dc11 MFC: don't compile sperl in NOSUIDPERL defined 1998-04-01 21:08:11 +00:00
Jordan K. Hubbard 97a8168533 Set NOSHARED - if we do a make install from here, we want the
version in /stand to be static.
1998-04-01 15:18:24 +00:00
Mike Smith 63ea0e74a4 Fix misleading "changing root device to" typo. 'st' becomes 'sd' 1998-03-31 02:09:29 +00:00
Jordan K. Hubbard 2e9e189c7c PR#6135 1998-03-30 08:28:48 +00:00
David E. O'Brien f05810df70 MFC rev 1.20 1998-03-29 23:42:23 +00:00
Alexander Langer 6601a957c2 MFC (rev 1.79): Allow ICMP unreachable messages to be sent in response
to ICMP query packets.
1998-03-29 15:01:13 +00:00
Mark Murray 01269919af MFC: fix nasty typo/bug 1998-03-29 08:16:48 +00:00
Jordan K. Hubbard 734c0c19ef Adjust to note that we're back on the branch. 1998-03-28 03:00:50 +00:00
Kazutaka YOKOTA beb00ced8e - The PS/2 mouse driver, psm, is not disabled in the GENERIC
kernel anymore.  Oh, well, I thought I had updated all relevant
  docs regarding this point; I was wrong, apparently ;-<
- While I am here, brush up the description on the mse driver as well.
1998-03-27 03:10:20 +00:00
Stefan Eßer 6cb9e33bbb Add support for Compaq ProLiant 1200 host to PCI bridge 1998-03-26 22:28:42 +00:00
Peter Wemm a320c4932b Sigh. Restore additions spammed in previous commit. :-( Thanks guys! 1998-03-26 15:24:52 +00:00
Jordan K. Hubbard 0aac22672f Tree is now tagged so change branch to STABLE 1998-03-24 18:07:21 +00:00
Jordan K. Hubbard c07eac88c8 Copy up some additional files. 1998-03-24 11:00:03 +00:00
Jordan K. Hubbard 72c7c6df77 One last pass by the spelling police. 1998-03-24 10:51:49 +00:00
Jordan K. Hubbard 6cf06919a0 Fix minor spelling error. 1998-03-24 10:34:52 +00:00
Jordan K. Hubbard 0d4be6ca72 2.2.6-RELEASE! 1998-03-24 10:33:30 +00:00
Jordan K. Hubbard 733cfb9bb8 Hmmmm. Either I'm hallucinating or the previous commit didn't "take" 1998-03-24 10:22:16 +00:00
Jordan K. Hubbard cb460d650f Major updates to this file's layout.
Submitted by:	Doug <[email protected]>
1998-03-24 09:57:39 +00:00
Jordan K. Hubbard 6367fe8072 Tab elimination. 1998-03-24 09:55:47 +00:00
Jordan K. Hubbard c3424cd871 Major updates to the layout and content of the distribution docs.
Submitted by:	Doug <[email protected]> and msmith
1998-03-24 09:54:27 +00:00
cvs2svn 5a24da17a7 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-03-24 09:52:26 +00:00
Jordan K. Hubbard 1c2b24e948 Add extra categories I missed. 1998-03-24 08:38:59 +00:00
Jordan K. Hubbard 1324ef9143 Remove MNT_NOATIME option; it makes the atime predate the ctime which
is a worisome side-effect.  Sorry, Bruce.
1998-03-24 05:15:32 +00:00
Jordan K. Hubbard 70d839b759 Use proper variable nfs_client_enable.
PR:	6118
Submitted by:	Mark Mayo <[email protected]>
1998-03-24 05:14:07 +00:00
Satoshi Asami 291ce9d9a3 Merge 1.273. 1998-03-24 03:35:54 +00:00
Kazutaka YOKOTA 36f99fcc36 - Describe the SC_DISABLE_REBOOT option.
- Delete redundant comments on syscons flags.
1998-03-24 02:57:24 +00:00
Jordan K. Hubbard 6d6434e793 Fixes for properly determining slice name.
Submitted by:	msmith
1998-03-24 02:38:00 +00:00
Jordan K. Hubbard dc76fc7f98 cosmetic. 1998-03-24 01:20:14 +00:00
Jordan K. Hubbard 5b0cfa351d 1. Add more rc files to resurrection list. We can get into trouble
now if we don't completely resurrect the old /etc environment after
   an upgrade.

2. Adjust post-installation instructions to be (hopefully) less confusing
   and note 2.2.6 specific upgrade issues.
1998-03-23 23:41:13 +00:00
Jonathan M. Bresler a0bc9f84c4 grr....forgot a bug fix in rewrite rules on hub
Reviewed by:	jmb
Submitted by:	Ruslan Ermilov <[email protected]>
1998-03-23 21:32:10 +00:00
Jonathan M. Bresler e0289248f1 update to match configuration currently in use
on hub.freebsd.org
1998-03-23 20:58:22 +00:00
Peter Wemm 9f674266a7 MFC: si driver doc update 1998-03-23 20:55:25 +00:00
Jordan K. Hubbard 66c6293482 Update package names to match 2.2.6 versions. 1998-03-23 20:27:37 +00:00
Peter Wemm d2e84f2808 Mention specialix changes.
OK'ed by: jkh
1998-03-23 19:55:15 +00:00
Peter Wemm 43b4ceb226 MFC: list new si driver modules
OK'ed by: jkh
1998-03-23 19:40:12 +00:00
Peter Wemm 51cddf2d26 MFC: new Specialix driver
OK'ed by: jkh
1998-03-23 19:37:48 +00:00
Peter Wemm 993fbaf726 MFC: new rev of si Z280 microcode
OK'ed by: jkh
1998-03-23 19:36:25 +00:00
Peter Wemm 5b17c66859 MFC: new rev of si Z280 microcode
OK'ed by: jkh
1998-03-23 19:33:46 +00:00
Jordan K. Hubbard 73ac47a262 Here's a simple RELENG_2_2 patch to keep msdosfs from trying to mount
FAT32 filesystems.

Submitted by:	Robert Nordier
1998-03-23 18:28:14 +00:00
cvs2svn fd0aafd577 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-03-23 16:12:54 +00:00
Jordan K. Hubbard afcd9d9b16 small cleanup 1998-03-23 09:18:30 +00:00
Jordan K. Hubbard 62f9114960 o Put back check for written disk case - it was necessary after all.
o If we're upgrading, try and get old system information.
1998-03-23 08:33:34 +00:00
Daniel O'Callaghan e298b4a9c2 PR: 6104
Submitted by:	Anatoly Vorobey <[email protected]>
MFC typo fix.
1998-03-23 08:14:06 +00:00
Jordan K. Hubbard 16253f541d dpt stuff will be left disabled for now but at least better documented. 1998-03-23 08:04:00 +00:00
Jordan K. Hubbard 3653eb467c MFC: update copyrights.
Approved by:	Simon Shapiro <[email protected]>
1998-03-23 07:57:34 +00:00
Jordan K. Hubbard 6c3e83d3ae MFC: use correct copyrights.
Approved by:	Simon Shapiro <[email protected]>
1998-03-23 07:53:52 +00:00
Kazutaka YOKOTA dec2349be0 YAMFC:
- Remove the notice that psm0 must be enabled before using the PS/2 mouse;
  the device is enabled by default in the GENERIC kernel.
- Kill the mouse daemon, if any, when the user wants to disable it.
- Minor update on mouse menus.
1998-03-23 06:13:02 +00:00
Jordan K. Hubbard 12f2852b67 Don't forget to link /dev/mouse for backwards compat. 1998-03-23 05:58:10 +00:00
Kazutaka YOKOTA a2483209ea Enabel psm0 by default. 1998-03-23 05:53:57 +00:00
Jordan K. Hubbard 46de6f9b51 Add new ports categories. 1998-03-23 05:49:45 +00:00
Jordan K. Hubbard 1a0a467b2b MFC: don't set bouncepages as a function of total memory size or you will
lose on large memory machines.
1998-03-23 05:30:29 +00:00
Jordan K. Hubbard cef7a77d87 1. Cosmetic tweaks to menus.
2. Go through docs and generally clean them up / reorganize in preparation
   for 2.2.6
1998-03-23 05:24:34 +00:00
Jordan K. Hubbard 632da78512 Shorten names, add freebsd alias for a tweaked freebsd partition ID (some
popular boot manager likes to OR in 16).

Submitted by:	Drew Derbyshire <[email protected]>
1998-03-23 03:28:04 +00:00
Steve Price fbd2533d62 MFC: Add -F option to synopsis.
OK'd by:	jkh
1998-03-22 22:58:21 +00:00
Steve Price b9f1e07817 MFC: better wording
OK'd by:	jkh
1998-03-22 19:17:50 +00:00
Jordan K. Hubbard b908a7017e MFC: PR#6092 1998-03-22 07:41:49 +00:00
Jordan K. Hubbard e6989a19cf Add additional check for don't-spam-the-MBR-in-dedicated-disk case.
Submitted by:	eivind
1998-03-21 21:20:40 +00:00
Peter Wemm f2e45911e4 Take out vector siintr from example, it's set internally in all cases now.
(this series of si changes OK'ed by jhk)
1998-03-21 19:25:48 +00:00
Peter Wemm bc7aba4d8b merge from head: use a static interrupt handler rather than depending
on the user specifying it in config..  The pci (and soon eisa) config
routines specify it directly and need a prototype.  If an isa device
is configured, ioconf.h would supply an extra prototype which caused
a warning.
1998-03-21 19:23:28 +00:00
Jordan K. Hubbard a0af358cab An overly conservative choice prevented the new kernel from landing in
the right place after an upgrade.  Fix that.
1998-03-21 02:08:33 +00:00
Jordan K. Hubbard 6fb3275346 Don't ask for a boot manager if the last time we came through was with
a dedicated disk.  That's fatal.  Eivind:  You may now be happy. :)

Submitted by:	msmith
1998-03-21 01:36:42 +00:00
Jordan K. Hubbard 9f918aee67 Deal with device names > 2 chars in length. 1998-03-21 00:32:20 +00:00
Jordan K. Hubbard f21b767cf0 create raw slices correctly. 1998-03-20 23:40:17 +00:00
Jordan K. Hubbard 534868f7e8 Teach libdisk about wfd drives. 1998-03-20 23:27:20 +00:00
Mike Smith dace61020a MFC - remove ENXIO printf 1998-03-20 23:15:30 +00:00
Jordan K. Hubbard 01af8b9c01 Change major number for wfd device. 1998-03-20 22:01:01 +00:00
Jordan K. Hubbard 0c55543a21 MFC: I suck. Fix typo. 1998-03-20 18:26:23 +00:00
Jordan K. Hubbard 76d702ac87 MFC: fix slice entries. 1998-03-20 18:07:23 +00:00
Joerg Wunsch f015efc65b Partial merge of rev 1.52: bump the timeout in scsi_start_unit() to 30
seconds since some drives are slow enough to come up.

Requested by: Leif Neland
1998-03-20 18:00:03 +00:00
Jordan K. Hubbard fd94d842e3 2.2.5 -> 2.2.6 1998-03-20 17:17:55 +00:00
Jun-ichiro itojun Hagino 59ce00d12b /usr/local/man/ja_JP.EUC -> /usr/local/man/ja
PR:		5251
1998-03-20 16:54:34 +00:00
Jordan K. Hubbard 8bac3c358e MFC: fix a compatibility slice aliasing bug
Requested by:	bde
1998-03-20 16:35:48 +00:00
Jordan K. Hubbard 029dcaf2e5 MFC: DTRT when writing twice. 1998-03-19 15:07:47 +00:00
Jordan K. Hubbard 550be9779a MFC: Use noatime 1998-03-19 15:02:55 +00:00
David Greenman 792c207aa2 Brought in fix from rev 1.62: fix for panic when count of chars is 0. 1998-03-18 21:05:19 +00:00
Tim Vanderhoek 1e8398d0df Trim username examples to <= 8 characters (in -STABLE only).
This strikes me as a somewhat hypocritical mistake given that
the document includes a 1/2-page paragraph explaining why usernames
should not be in excess of 8 characters...  What would Freud say? ;)

PR:		docs/5874
1998-03-18 16:14:48 +00:00
Tim Vanderhoek ed4c88b1d5 MFC: Fix over-zealous .Nm trimming
PR:		docs/5968
1998-03-18 15:45:00 +00:00
David E. O'Brien 243fd3e79a MFC rev 1.9 1998-03-18 12:29:08 +00:00
David E. O'Brien 71d0614efb Document WANT_LIBC_R.
Ok'ed by:	JKH
1998-03-18 11:07:27 +00:00
Jordan K. Hubbard d869e46220 MFC: NOPERL 1998-03-18 08:00:13 +00:00
Jordan K. Hubbard 0575a75788 MFC: NOPERL 1998-03-18 07:59:13 +00:00
Jordan K. Hubbard 6929275e82 Document NOPERL
Submitted entirely incorrectly in -hackers by:	<[email protected]>
1998-03-18 07:58:13 +00:00
Daniel O'Callaghan 1cea839607 PR: i386/6040
Approved by: jkh
MFC.  Add VIA NE2000 clone.
1998-03-17 21:12:13 +00:00
James Raynard 190a915090 MFC - Merge rev 1.16 (prevent output columns from merging into one another). 1998-03-16 23:55:08 +00:00
Tim Vanderhoek 90638faa1f MFC: this is uulog.1, not uuname.1 1998-03-16 15:11:49 +00:00
Jordan K. Hubbard 03bcc3402c MFC: 1.72 1998-03-16 14:33:36 +00:00
Jordan K. Hubbard 6af7e6d637 MFC: El Bruce Fernando Maximillian Ernesto Supremo Evan's fixes in r1.9. 1998-03-16 09:21:59 +00:00
Steve Price 6de777acf5 Typo fix.
PR:		6016
Submitted by:	Kazuo Horikawa <[email protected]>
OK'd by:	jkh
1998-03-16 07:11:27 +00:00
Steve Price feb65cb027 MFC: fix an ethernet framesize mismatch
OK'd by:	jkh
1998-03-16 01:32:51 +00:00
Mark Murray 407b54fd05 MFC: linking breakage fixed. 1998-03-15 20:22:54 +00:00
Jordan K. Hubbard 2fa4719ed4 MFC: variable bogon fixes. 1998-03-15 19:31:11 +00:00
Jordan K. Hubbard 1e359daeb4 MFC: cleanup / frobbing. 1998-03-15 17:11:01 +00:00
Jordan K. Hubbard c235c061fb Fix minor typo. 1998-03-15 16:39:41 +00:00
Jordan K. Hubbard 9feb160f29 MFC: make slice entries. 1998-03-15 16:16:29 +00:00
KATO Takenori cb20acb3b8 Sync with sys/i386/isa/npx.c revision 1.31.2.7.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-15 15:23:04 +00:00
KATO Takenori 7521aec722 Sync with sys/i386/confi/GENRIC revision 1.77.2.19.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-15 15:22:06 +00:00
KATO Takenori 9408676622 Sync with sys/i386/conf/files.i386 revision 1.141.2.19.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-15 15:21:15 +00:00
KATO Takenori a1fde92e0c Sync with sys/i386/i386/userconfig.c revision 1.63.2.25.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-15 15:20:17 +00:00
KATO Takenori 3a39895236 Sync with sys/i386/i386/machdep.c revision 1.209.2.21.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-15 15:19:18 +00:00
Jordan K. Hubbard 4e97723090 MFC: -F flag
Requested by:	pst
1998-03-15 05:47:08 +00:00
KATO Takenori 1ed5167061 Sync with sys/i386/conf/Makefile.i386 revision 1.89.2.4.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-15 02:39:43 +00:00
KATO Takenori 7143f5f3f2 Sync with sys/i386/isa/sio.c revision up to 1.147.2.13.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-15 02:39:00 +00:00
KATO Takenori cd6b1bf7af Sync with sys/i386/i386/machdep.c revision 1.209.2.20.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-15 02:38:03 +00:00
Jordan K. Hubbard 74efa25380 MFC: idprio is privileged. 1998-03-15 00:07:09 +00:00
Andrey A. Chernov 9a41f0e081 MFC: more partition types 1998-03-14 21:23:07 +00:00
Andrey A. Chernov 085c0b8eca MFC: more partition types 1998-03-14 21:15:52 +00:00
Mike Smith 5770110f26 Merge from -current: if the root filesystem mount fails because the
device being mounted doesn't exist, and the device might have been
within a slice, try mounting via the compatability slice instead.
1998-03-14 10:19:49 +00:00
Daniel O'Callaghan db7e1c2a6c Obtained from: bde
Back out last brain blip
1998-03-13 22:01:26 +00:00
Daniel O'Callaghan d3263cd569 Reviewed by: jkh
MFC - Cyclades examples c -> c0
1998-03-13 14:01:57 +00:00
Jordan K. Hubbard a3a781424a |Here are a few patches to my audio driver (from a recently cvsupped
|2.2.6-BETA). The first two were already submitted some time ago
|but probably were applied to the wrong line. The last one fixes a
|problem that has been there for ages.

Submitted by:	Luigi Rizzo <[email protected]>
1998-03-13 12:21:51 +00:00
Jordan K. Hubbard 74c1d25376 MFC: Danish mirrors. 1998-03-13 12:12:30 +00:00
Kazutaka YOKOTA 161d9c3e34 YAMFC: Update man page and the usage message to include the -I option. 1998-03-13 11:21:18 +00:00
Jordan K. Hubbard f19047ea50 MFC: don't spam ld.so.hints 1998-03-13 11:13:28 +00:00
Jordan K. Hubbard 233785b9b9 MFC: occluded variable fix. 1998-03-13 11:08:06 +00:00
Brian Somers aafeb4047a MFC: Correct #ifdef for __FreeBSD__ < 3
It'll compile now *blush*
1998-03-13 03:25:16 +00:00
Brian Somers 9f00e664c0 MFC:
o Fix a few comment typos.
    o Fix ``set timeout'' usage message and documentation.
    o Change ifOutPackets, ifOutOctets and ifOutLQRs to `u_int32_t's
      so that they wrap correctly.
    o Put the LQR in network byte order using the correct struct size
      (sizeof u_int32_t, not sizeof u_long).
    o Wrap LQR ECHO counters correctly.
    o Don't increment OutLQR count if the last LQR hasn't been replied
      to.
    o Initialise HisLqrData (last received LQR) in StartLqm.
    o Don't start the LQR timer if we're `disabled' and `accepted'.
    o Generate LQR responses when both sides are using a timer and
      we're not going to send our next LQR before the peers max timeout.
    o Don't send LQRs when the peer has LCP REJ'd them.  Send
      ECHO LQRs instead.

Ok'd by: jkh
1998-03-13 00:58:09 +00:00
Guido van Rooij 2f340cec8e MFC: mmap for char device patch 1998-03-12 19:36:50 +00:00
Guido van Rooij cc36f4f11f MFC: mktemp -> mkstemp 1998-03-12 19:27:47 +00:00
Eivind Eklund f27bc428c5 Remove warning from f00f_hack.
Approved by:	jkh
1998-03-12 13:06:42 +00:00
Jordan K. Hubbard e62e0a9cd5 Shrink the header back down. I'd like to make it dynamic, but
the code is just too evilly static in its layout.  w need a rewrite.
1998-03-12 02:00:38 +00:00
KATO Takenori cdac4fc88d Sync with followings:
>  Revision  Changes    Path
 >  1.77.2.17 +8 -1      src/sys/i386/conf/GENERIC
 >  1.9.2.9   +2 -1      src/sys/i386/conf/majors.i386
 >  1.209.2.19 +42 -2     src/sys/i386/i386/machdep.c
 >  1.83.2.6  +5 -1      src/sys/i386/i386/trap.c
 >  1.63.2.24 +6 -2      src/sys/i386/i386/userconfig.c
 >  1.147.2.11 +5 -1      src/sys/i386/isa/sio.c

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-11 15:29:14 +00:00
Jordan K. Hubbard 46f18e0a84 Don't snip out SYSVSHM option - we have room for it in the boot kernel
and it just makes X complain noisily when it's gone.
1998-03-10 17:29:23 +00:00
Jordan K. Hubbard 506507f08d MFC: correct misfeatureness. 1998-03-10 17:24:29 +00:00
Jordan K. Hubbard dd4fe77199 Fix bug where vidcontrol was being run on debug screen (resulting in
no change in mouse cursor behavior for ttyv0, as expected instead).
1998-03-10 13:41:21 +00:00
cvs2svn 885366f8ef This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-03-10 13:40:59 +00:00
Jordan K. Hubbard d8acbb659c Neaten debugging output.
Fix installEnvironment() call in stand-alone case.
Reshuffle configuration menu into what is hopefully less confusing shape.
1998-03-10 13:32:30 +00:00
Jordan K. Hubbard 3ba684834e MFC: new entries, doc fix. 1998-03-10 08:04:34 +00:00
Jordan K. Hubbard 910d07b46f We are now in 2.2.6 beta.
Requested by:	asami
1998-03-10 02:59:33 +00:00
Jordan K. Hubbard 7ce4840b98 MFC: update to XFree86 3.3.2 1998-03-10 02:38:11 +00:00
Andreas Klemm 21a88d2aca MFC: 4 hours timeout for preformatting a large SCSI disk 1998-03-09 21:59:32 +00:00
Jordan K. Hubbard 3d0513eb64 MFC: elminate dead XIG #ifdefs. 1998-03-09 15:04:05 +00:00
Jordan K. Hubbard c4d84e573b MFC: last of the cosmetic changes. Modulo updating sysinstall
for XFree86 3.3.2 and a few other fixes, that's it!  I'm done merging.
1998-03-09 14:46:31 +00:00
Andrey A. Chernov a86a6e2ee9 MFC: fix RFC number 1998-03-09 14:25:12 +00:00
Jordan K. Hubbard 02a575f96d Better solution for the dir dependency problem (the "ugly hack" can
now go away for good).

Submitted by:	jhay
1998-03-09 14:18:02 +00:00
Jordan K. Hubbard 33b8b7d63a MFC: much general cleanup. 1998-03-09 14:14:33 +00:00
Jordan K. Hubbard ad351aa0fa MFC: much better docs. 1998-03-09 14:12:23 +00:00
Jordan K. Hubbard b936d091ae MFC: Whoops! My -current tree was out of date. re-merge. 1998-03-09 14:11:44 +00:00
Jordan K. Hubbard 454941b570 MFC: update docs, cosmetic. 1998-03-09 13:56:07 +00:00
Jordan K. Hubbard cb577245cb MFC: purely cosmetic changes grouped in one commit. 1998-03-09 13:52:39 +00:00
Steve Price e4591b2fa9 Add si_jet.c to the list of dependencies for si.
PR:		5947
1998-03-09 13:01:28 +00:00
Andrey A. Chernov ad8f2c5634 MFC: FTS_PHYSICAL -> FTS_LOGICAL
MFC: cosmetique
1998-03-09 12:32:09 +00:00
Jordan K. Hubbard ec72e8eac1 MFC: extra sanity, eliminate dead routines. 1998-03-09 12:31:15 +00:00
Jordan K. Hubbard 15aa8bbf6e MFC: strcmp -> strncmp 1998-03-09 12:22:56 +00:00
Jordan K. Hubbard e349036c87 MFC: use errx, get pid differently. 1998-03-09 12:20:44 +00:00
Jordan K. Hubbard 412c4bd52a MFC: mostly rewritten with support for other mixer devices and more. 1998-03-09 12:06:02 +00:00
Jordan K. Hubbard 740f4fdd92 MFC: login class support. 1998-03-09 11:48:27 +00:00
Jordan K. Hubbard b432275ccc MFC: login class support, *lots* of sanity checks, build sanification. 1998-03-09 11:42:10 +00:00
Jordan K. Hubbard 1e136bb59b MFC: bag dups. 1998-03-09 11:13:33 +00:00
Jordan K. Hubbard 7d33adacfc MFC: add bktr(4) 1998-03-09 10:56:55 +00:00
Jordan K. Hubbard 49b674e404 MFC: strengthen check 1998-03-09 10:45:25 +00:00
Jordan K. Hubbard 2f846027d7 MFC: cosmetic, update doc. 1998-03-09 10:40:28 +00:00
Jordan K. Hubbard 55dfa970e9 Nuke extraneous line. 1998-03-09 10:36:32 +00:00
Jordan K. Hubbard eb147da479 MFC: cosmetic tweaks, use DPSRCS to generate nfs_prot.h properly. 1998-03-09 10:08:50 +00:00
Jordan K. Hubbard 055eefe377 MFC: make /var/run 1998-03-09 08:57:37 +00:00
Jordan K. Hubbard 9961cc24c4 MFC: relax overly strict checking of -h and -R 1998-03-09 08:54:51 +00:00
Jordan K. Hubbard da926b324c MFC: rarpd flags. 1998-03-09 08:52:01 +00:00
Jordan K. Hubbard b6c0616c29 MFC: allow starting rarpd. 1998-03-09 08:51:20 +00:00
Mike Smith fc2381faa1 Merge from -current: more correct handling of the WHOLE_DISK_SLICE case. 1998-03-09 08:36:43 +00:00
Jordan K. Hubbard 3744cb12b8 Evil compat slice hacks are gone - use canonical names for everything
in fstab.  Hurrah!
1998-03-09 08:21:03 +00:00
Mike Smith 7c7601318f The bootblock passes the slice value in as 1 (WHOLE_DISK_SLICE) when booting
a dedicated disk, not 0.  Deal with this by range-checking for a sane
slice number.
1998-03-09 08:04:13 +00:00
Mike Smith c58546b6e8 Merge from -current: use the slice number passed in from the bootloader
to correctly locate the FreeBSD slice we are booting from.

Also make more use of the macros in reboot.h, and add an extra one to
obtain the slice number.
1998-03-09 04:48:54 +00:00
Steve Price bca25aca16 MFC: remove extraneous \'s. 1998-03-09 03:03:23 +00:00
Steve Price d654db57fd MFC: tcp -> udp to remove duplicate entries. 1998-03-09 02:59:21 +00:00
Jordan K. Hubbard 8c789ce6f1 MFC: fix typos. 1998-03-09 02:21:31 +00:00
Jordan K. Hubbard dead352686 MFC: remove contraversial ircd entries. 1998-03-09 02:17:45 +00:00
Mike Smith 487f5e8626 Merge from -current: search for the right slice entry to match the one
mounted on / when supplied with a possible compatability-slice devicename.
1998-03-09 02:06:27 +00:00
Brian Somers 4af5a7d002 MFC: Explicitly call caused' an int'.
Sugested by: gcc-2.8
1998-03-08 23:44:48 +00:00
David E. O'Brien 0f73cb6fbc Add /usr/bin/CC for C++.
2.2.6 commit OK'ed by:	jkh
1998-03-08 22:53:50 +00:00
Andrey A. Chernov 7a86eaebc6 MFC: include reordering
MFC: localize
1998-03-08 20:59:33 +00:00
Stephen McKay 5ff2fc8acc MFC rev 1.7: typos, new functions, changed abort() behaviour. 1998-03-08 15:20:02 +00:00
Jordan K. Hubbard 87fef19de6 MFC: describe full behavior. 1998-03-08 14:59:56 +00:00
Jordan K. Hubbard b3f0d6573d MFC: last round of cosmetic diffs in usr.bin 1998-03-08 14:55:12 +00:00
Jordan K. Hubbard d5c1447353 MFC: staticize the world, allow for dynamic parser stack growth. 1998-03-08 14:53:21 +00:00
Jordan K. Hubbard d5778a710e MFC: cosmetic, disallow ctrl char spamming. 1998-03-08 14:42:56 +00:00
Jordan K. Hubbard 7d82445973 MFC: cosmetic, translate app keypad sequences. 1998-03-08 14:41:42 +00:00
Jordan K. Hubbard f710e88f14 MFC: strengthen check for "executables" 1998-03-08 14:33:16 +00:00
Jordan K. Hubbard 80f51f71d5 MFC: prepare for longer usernames, add -d flag. 1998-03-08 14:31:56 +00:00
Jordan K. Hubbard d8b0e6145c MFC: cosmetic. 1998-03-08 14:29:25 +00:00
Jordan K. Hubbard 2f74839692 MFC: add polish messages. 1998-03-08 14:28:08 +00:00
Jordan K. Hubbard 8c16e00393 MFC: cosmetic 1998-03-08 14:26:21 +00:00
Jordan K. Hubbard ef602f288b MFC: Use proper character constant. 1998-03-08 14:23:47 +00:00
Jordan K. Hubbard 739cc4994b MFC: add -i and -s flags. 1998-03-08 14:16:32 +00:00
Jordan K. Hubbard 45c6141c08 MFC: tabify. 1998-03-08 14:11:29 +00:00
Jordan K. Hubbard a1fd592756 MFC: add -i (ignore case) flag. 1998-03-08 14:08:00 +00:00
Jordan K. Hubbard 58d8819dad MFC: general cosmetics. 1998-03-08 14:05:43 +00:00
Jordan K. Hubbard a6248a578b MFC: update man page, cosmetic tweak. 1998-03-08 13:48:34 +00:00
Jordan K. Hubbard c7d1714833 MFC: cosmetic 1998-03-08 13:40:27 +00:00
Jordan K. Hubbard f4c3a13a6e MFC: cosmetic. 1998-03-08 13:36:24 +00:00
Jordan K. Hubbard fa130747f5 MFC: typo 1998-03-08 13:35:30 +00:00
Jordan K. Hubbard d7a2ce56b3 MFC: MAP_SHARED, cosmetic tweaks. 1998-03-08 13:29:51 +00:00
Jordan K. Hubbard 9f508664ec MFC: cosmetic. 1998-03-08 12:28:54 +00:00
Jordan K. Hubbard 79642eb1d5 MFC: cosmetic. 1998-03-08 12:19:06 +00:00
Jordan K. Hubbard fb70d80533 MFC: try tcp connection first for long replies. 1998-03-08 12:17:03 +00:00
Jordan K. Hubbard 9527403b34 MFC: cosmetic + respect ${BINDIR} 1998-03-08 12:13:51 +00:00
Jordan K. Hubbard c1224d2453 MFC: cosmetic. 1998-03-08 12:13:06 +00:00
Jordan K. Hubbard 4cb6b0566a MFC: add quiet flag. 1998-03-08 12:12:16 +00:00
Jordan K. Hubbard 88efa09f14 MFC: remove hardcoded constants. 1998-03-08 12:09:53 +00:00
Jordan K. Hubbard 8fb558fe22 MFC: docs 1998-03-08 12:07:38 +00:00
Jordan K. Hubbard 9dbcc22226 MFC: order xrefs. 1998-03-08 12:05:28 +00:00
Jordan K. Hubbard 991e337734 MFC: purely cosmetic. 1998-03-08 12:04:57 +00:00
Jordan K. Hubbard d7e6040dd6 MFC: correct comment 1998-03-08 12:04:25 +00:00
Jordan K. Hubbard 0439300080 MFC: better randomness, update manpage 1998-03-08 12:04:11 +00:00
Jordan K. Hubbard 2e5860ca13 MFC: eliminate gratuitous -I 1998-03-08 11:55:50 +00:00
Julian Elischer 23e43883f9 correct the DPT configuration options 1998-03-08 11:06:56 +00:00
Julian Elischer d3ba7f2755 Change a definition to configure the dpt driver to live without
the CAM SWI code.
1998-03-08 10:58:11 +00:00
Jordan K. Hubbard 80a7328e64 Undocument flags which were punted in revert. 1998-03-08 09:59:08 +00:00
Jordan K. Hubbard 2de062a5d6 MFC: revert changes bde doesn't like and just go with PNP support since
that's all I actually care about.
1998-03-08 09:57:35 +00:00
Jordan K. Hubbard c4564a0846 MFC: new locale data 1998-03-08 09:48:21 +00:00
Jordan K. Hubbard b555909025 MFC: add support for REPLYTO. 1998-03-08 09:47:20 +00:00
Jordan K. Hubbard 12a0106037 MFC: typo 1998-03-08 09:31:57 +00:00
Jordan K. Hubbard cc0baf1126 Update table to match reality. 1998-03-08 09:26:19 +00:00
Jordan K. Hubbard 2086e2380b MFC: alphabetise xrefs. 1998-03-08 09:22:01 +00:00
Jordan K. Hubbard eac5ae87c9 MFC: suicide prevention and other fixes. 1998-03-08 09:21:10 +00:00
Jordan K. Hubbard 2caa3c7ec7 MFC: update docs and randomness. 1998-03-08 09:18:33 +00:00
Jordan K. Hubbard 6a93dd96e2 MFC: setlocale, style. 1998-03-08 09:16:54 +00:00
Jordan K. Hubbard 43c2f5b8b9 MFC: simplify 1998-03-08 09:14:38 +00:00
Jordan K. Hubbard 612784615f MFC: assorted cleanups. 1998-03-08 09:08:20 +00:00
Jordan K. Hubbard 07a6122da8 MFC: user friendly suggestion. 1998-03-08 08:57:19 +00:00
Jordan K. Hubbard c2556ef3bb MFC: appropriate type in compare. Elimiate warning. 1998-03-08 08:36:11 +00:00
Jordan K. Hubbard 66a7bbebff MFC: update to version 1.3. Add polish msg catalog. 1998-03-08 08:09:04 +00:00
Jordan K. Hubbard cab3b1cc45 MFC: parenify. 1998-03-08 07:56:48 +00:00
Jordan K. Hubbard 0731ee16d2 MFC: proper parens 1998-03-08 07:56:02 +00:00
Jordan K. Hubbard 93282a50b8 MFC: new links 1998-03-08 07:54:22 +00:00
Jordan K. Hubbard 4e0902ecb1 MFC: cleanup 1998-03-08 07:40:09 +00:00
Jordan K. Hubbard f59ac23959 MFC: cruft patrol 1998-03-08 07:38:39 +00:00
Jordan K. Hubbard 6bfb7c23f6 MFC: PR#5942 1998-03-08 06:53:13 +00:00
Jordan K. Hubbard 14294751ca MFC: new historical items. 1998-03-08 06:27:31 +00:00
Jordan K. Hubbard 41bc14717a MFC: use proper character contants, correct typo 1998-03-08 06:18:11 +00:00
Jordan K. Hubbard dbfbe0991b MFC: be fuzzier on the date of the Gregorian Reformation :-) 1998-03-08 06:13:06 +00:00
Jordan K. Hubbard 987d42d1d9 MFC: cosmetic - return rather than exit 1998-03-08 06:12:15 +00:00
Jordan K. Hubbard de503836d7 MFC: better verbiage. 1998-03-08 05:02:54 +00:00
Bruce Evans c16dffe008 YAMFC (rev.1.57: removed superstitious fnop()). 1998-03-08 04:11:05 +00:00
Bruce Evans 190d09596b YAMFC (rev.1.191: fix breakage of late calls to setidt()). 1998-03-08 04:04:58 +00:00
Jordan K. Hubbard 975ecd4e44 MFC: make sure MFS is set R/W. 1998-03-08 02:12:32 +00:00
Jordan K. Hubbard 75215af3a4 MFC: proper definition for CSTATUS 1998-03-08 02:09:04 +00:00
Jordan K. Hubbard 63a0d06723 MFC: proper structure initializers. 1998-03-08 02:06:52 +00:00
Jordan K. Hubbard 6ba9a03def MFC: don't clobber flags. 1998-03-08 01:52:31 +00:00
Jordan K. Hubbard 42099f1985 MFC: spell my name right. :-) 1998-03-08 01:46:26 +00:00
Jordan K. Hubbard 1a7da473da MFC: (style bugs and all - if they're not critical enough to fix in -current
then they must not be that critical :).  Support for PNP serial ports,
     extra flags to match man page which soften probe checking, check
     for Startech uarts, etc.
1998-03-08 01:40:29 +00:00
Jordan K. Hubbard ce4f6eab05 MFC: update copyright notice. 1998-03-08 01:14:36 +00:00
Jordan K. Hubbard 0dcd847817 MFC: whoops - I thought I'd done these files already (with locale updates). 1998-03-07 22:58:01 +00:00
James Raynard 2d53fa24bc MFC: Revert last commit. Despite the names, these files contain
troff input, not C source.
1998-03-07 22:37:01 +00:00
Andrey A. Chernov 8185204e06 MFC: add "da" device to devices list
MFC: add primary fat-32
1998-03-07 22:04:12 +00:00
Andrey A. Chernov c84686f2fe MFC: prevent locking forever waiting for user input
Submitted by: Antti Kaipila <[email protected]>
1998-03-07 21:44:00 +00:00
Jordan K. Hubbard e4589052b7 MFC: move #endif to end. 1998-03-07 16:47:01 +00:00
Jordan K. Hubbard e77642a7d4 MFC: respect ${DESTDIR} 1998-03-07 16:31:20 +00:00
Jordan K. Hubbard 7215b3e587 MFC: use more sensible defaults. 1998-03-07 14:53:21 +00:00
Jordan K. Hubbard b49a589fbd MFC 1998-03-07 14:33:50 +00:00
Jordan K. Hubbard 25e5aa7122 YAMFC 1998-03-07 13:18:04 +00:00
Jordan K. Hubbard ba8f5a28fc MFC: update information on our usage of the sticky bit. 1998-03-07 12:17:29 +00:00
Jordan K. Hubbard 2686524e26 YAMFC 1998-03-07 12:15:34 +00:00
Jordan K. Hubbard 16124dd4d8 MFC: new entries 1998-03-07 12:11:34 +00:00
Jordan K. Hubbard fae58f29bf MFC: cosmetic 1998-03-07 12:08:12 +00:00
Jordan K. Hubbard 73fa0bd618 MFC: new entries and cosmetic tweaks 1998-03-07 11:51:40 +00:00
Jordan K. Hubbard 2cdd42ccc0 MFC: install map3270, merge termcap 1998-03-07 11:50:01 +00:00
Jordan K. Hubbard b513302589 YAMFC 1998-03-07 11:46:30 +00:00
Jordan K. Hubbard a49c296607 MFC: correct font name, add new polish fonts, etc. 1998-03-07 11:45:54 +00:00
Jordan K. Hubbard 36f098b747 MFC: new skeleton files. 1998-03-07 11:42:06 +00:00
Stefan Eßer 3ff1999702 Add -a option to tell whether a device got a driver attached.
(Its a candidate for a PCI LKM driver, else ...)
1998-03-07 11:35:49 +00:00
Stefan Eßer e5a7e22bf0 Add PCI LKM support. Drivers that want to be loadable need to call the new
function "pci_register_lkm(&pci_device, 0)" from their "load" entry point.
The new PCIOCATTACHED ioctl on /dev/pci allows user-land programs to find
out, whether a PCI device got a driver attached. The "pciconf" function has
been extended to return that information for automatic PCI driver loading
from /etc/rc.
1998-03-07 11:33:25 +00:00
Jordan K. Hubbard c7efd09df3 MFC: update various phone numbers. 1998-03-07 10:26:14 +00:00
Jordan K. Hubbard b5a190847f MFC: update family tree. 1998-03-07 10:13:57 +00:00
Jordan K. Hubbard 05e0e2a035 MFC: nuke outdated zipcodes. 1998-03-07 10:13:08 +00:00
Jordan K. Hubbard 9b63e77d39 MFC: better installation method 1998-03-07 10:05:26 +00:00
Jordan K. Hubbard d91b51a381 MFC: add diskless man page and assorted tweaks. 1998-03-07 10:04:24 +00:00
Jordan K. Hubbard 9b43fd1d20 MFC: mouse menu. 1998-03-07 09:09:23 +00:00
Jordan K. Hubbard ca431b5b3f MFC: misc mergification. 1998-03-07 09:07:07 +00:00
Jordan K. Hubbard 849c9a9907 MFC: moused flags 1998-03-07 09:06:19 +00:00
Jordan K. Hubbard 2e7e860033 MFC: -I flag 1998-03-07 09:05:56 +00:00
Satoshi Asami c493950755 Merge 1.272. 1998-03-07 04:41:14 +00:00
Julian Elischer 46aa4c86cb Added support for the DPT driver.
All non cosmettic changes are conditionalised on the #define  DPTOPT
so this should produce no functional changes if this is not defined.
All changed files have previously been tagged with PRE_DPT.
1998-03-06 23:45:13 +00:00
Julian Elischer 37456e2c56 MFC: bring in TAILQ_HEAD_INITIALIZER 1998-03-06 23:10:12 +00:00
Julian Elischer 5629e5d986 MFC: use the capacity command rather than the geometry page to
get the blocksize of a disk.
1998-03-06 23:07:07 +00:00
Jordan K. Hubbard 1a7c7795ae Revert some of the inode sizes. 1998-03-06 23:06:20 +00:00
Jordan K. Hubbard 2763415aa7 MFC: use srandomdev() 1998-03-06 22:36:40 +00:00
Guido van Rooij 240ac5a208 MFC: open tempfiles with O_EXCL 1998-03-06 19:03:35 +00:00
Jordan K. Hubbard 3d90a70e17 MFC: last updates in section 4. 1998-03-06 14:32:29 +00:00
Jordan K. Hubbard b0c3f4c6ae MFC: Add sb(4) manpage and update pcvt man page. 1998-03-06 14:27:13 +00:00
Jordan K. Hubbard a2e9dbda21 MFC: more playing catch-up. 1998-03-06 14:23:13 +00:00
Jordan K. Hubbard 717c94ce15 MFC: more updates. 1998-03-06 14:12:27 +00:00
Jordan K. Hubbard 1a58ada4d0 MFC: more reality checks. 1998-03-06 14:09:29 +00:00
Jordan K. Hubbard d265b9ab3e MFC: to match reality.. 1998-03-06 14:05:57 +00:00
Jordan K. Hubbard be526c8cd4 MFC: proper perms 1998-03-06 13:59:35 +00:00
Jordan K. Hubbard 1e3cb17908 MFC: don't select drive model by default. 1998-03-06 13:49:36 +00:00
Jordan K. Hubbard 722f695479 MFC: sync with latest 1998-03-06 13:48:32 +00:00
Jordan K. Hubbard 3ef85769b6 MFC: update example code. 1998-03-06 13:39:55 +00:00
Jordan K. Hubbard b4e1904a54 MFC: typo fix 1998-03-06 13:38:40 +00:00
Jordan K. Hubbard a686be61fc MFC: Add ports-german 1998-03-06 13:36:33 +00:00
Jordan K. Hubbard 34f27258c4 MFC: install with -C 1998-03-06 13:34:18 +00:00
Jordan K. Hubbard a22e146e91 MFC: simplify 1998-03-06 13:33:41 +00:00
Jordan K. Hubbard 9f9121a48a MFC: simplify. 1998-03-06 13:33:25 +00:00
Jordan K. Hubbard 6664127189 Whoops, put this back - it's less confusing (IMO) to have it present. 1998-03-06 13:32:26 +00:00
Jordan K. Hubbard e50f132dab MFC: build fixes 1998-03-06 13:31:43 +00:00
Jordan K. Hubbard 9c14b9d60f MFC: fix typos. 1998-03-06 13:30:15 +00:00
Jordan K. Hubbard 1c0ab20825 MFC: new words 1998-03-06 13:27:10 +00:00
Jordan K. Hubbard dee399a6f9 MFC: fix typo 1998-03-06 13:25:58 +00:00
Jordan K. Hubbard fcce2c9c3b MFC: use proper modes 1998-03-06 13:22:46 +00:00
Jordan K. Hubbard 5bd0d24864 MFC: use proper ownership macros 1998-03-06 13:22:13 +00:00
Jordan K. Hubbard ab5b89e884 MFC: RIP EBONES 1998-03-06 13:21:14 +00:00
Jordan K. Hubbard 4d10866172 MFC: style nits & missing DPADD 1998-03-06 13:07:12 +00:00
Jordan K. Hubbard b3d60a9e86 MFC: sync 1998-03-06 08:15:33 +00:00
Jordan K. Hubbard d29fd12d7d MFC: better prompting. 1998-03-06 08:12:26 +00:00
Jordan K. Hubbard 09b1aa831d MFC: Don't be suid root. That's dangerous.
BTW, why in the heck is there /usr/src/sbin/i386 directory in the first
place?  People don't want to read DOS floppies on their ALPHAs?  This
organizational scheme is EVIL! :)
1998-03-06 08:06:39 +00:00
Jordan K. Hubbard f1e6abb452 MFC: pnp support 1998-03-06 07:42:19 +00:00
Jordan K. Hubbard b781c00d72 MFC: ... and into here, where it belongs as the only consumer. 1998-03-06 07:29:45 +00:00
Jordan K. Hubbard a8b6c5dc10 MFC: move selective crypto linking cruft out of here... 1998-03-06 07:29:27 +00:00
Jordan K. Hubbard a004a3217f MFC: new hardware entries. 1998-03-06 07:19:40 +00:00
Jordan K. Hubbard 04042f8a99 MFC: catch up with kerberos 1998-03-06 07:17:50 +00:00
Jordan K. Hubbard 67035a68d5 MFC: add -f flag 1998-03-06 07:17:27 +00:00
Jordan K. Hubbard 551c64f766 MFC: sync purely gratuitous differences from current. 1998-03-06 06:48:02 +00:00
Jordan K. Hubbard ef33836f21 MFC: primarily do-nothing commits just to facilitate future merging. 1998-03-06 05:27:04 +00:00
Kazutaka YOKOTA a8ca7e86be - Add Genius PnP mouse support (MFC v1.15).
- Add 4th button support for "MouseMan" protocol (MFC v1.16).
- Remove timeradd() timersub() macros; they are now in sys/time.h.
1998-03-06 03:12:22 +00:00
Brian Somers c8d3b74023 MFC: Nul terminate sockaddr_un::sun_path
Suggested by: Theo de Raadt <[email protected]>
1998-03-06 02:12:55 +00:00
Jordan K. Hubbard 85ed071988 MFC: update to latest. 1998-03-06 01:50:00 +00:00
Jordan K. Hubbard 6c4df54e91 MFC: sanify password check. 1998-03-06 01:49:10 +00:00
Jordan K. Hubbard 8ee67de88d MFC: alphabetize xrefs 1998-03-06 01:48:36 +00:00
Jordan K. Hubbard fb82164a44 MFC: use linemode by default. 1998-03-06 01:47:55 +00:00
Jordan K. Hubbard 2ec296b2f4 MFC: overflow protection. 1998-03-06 01:46:27 +00:00
Jordan K. Hubbard e70043e74a MFC: minor error message change. 1998-03-06 01:46:10 +00:00
Brian Somers e326ccd99e MFC: Use the correct device name in -direct mode. 1998-03-06 00:36:08 +00:00
Brian Somers 985c94d740 MFC: Make SyslogAddr a sockaddr_un rather than a sockaddr.
This wasn't a problem in practice as PATH_LOG and PATH_OLDLOG
     are both < sizeof sockaddr::sa_data.
1998-03-05 22:19:54 +00:00
Jonathan M. Bresler e97ee948df fix a typo in the rulesets
PR:		misc/5924
Reviewed by:	jmb
Submitted by:	Ruslan Ermilov <[email protected]>
1998-03-05 18:33:20 +00:00
Jordan K. Hubbard 4806c3b763 MFC: quite a few improvements - this is a full merge. 1998-03-05 13:01:40 +00:00
Jordan K. Hubbard d93a6ba8b3 MFC: add sanity check 1998-03-05 12:57:12 +00:00
Jordan K. Hubbard 04cdd79934 MFC: various minor style nits and one doc bogon. 1998-03-05 12:24:20 +00:00
Jordan K. Hubbard 985f4cbc11 MFC: update for new kerberos flags. 1998-03-05 12:21:16 +00:00
David Greenman e145ffa4ba Brought in fix from rev 1.153: fix rounding error. 1998-03-05 12:20:08 +00:00
Jordan K. Hubbard fe874e21b6 MFC: simplify/correct .if 1998-03-05 12:00:55 +00:00
Jordan K. Hubbard d06b1bfae6 MFC: install docs. 1998-03-05 11:55:01 +00:00
Jordan K. Hubbard cc1922f9c8 MFC: more doc bogons. 1998-03-05 09:41:40 +00:00
Jordan K. Hubbard e682184fae MFC: fix bogons in doc. 1998-03-05 09:40:44 +00:00
KATO Takenori 0330ff20d9 MFC: defined CCR6 and CCR7 (revision 1.15). 1998-03-05 03:40:55 +00:00
KATO Takenori 85fe572bcd Sync with sys/i386/boot/biosboot/asm.S, boot.c and boot.h revisions
1.9.4.1, 1.60.2.3 and 1.14.2.2, respectively.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-05 03:37:22 +00:00
KATO Takenori c1273ab0d2 Sync with sys/i386/conf/majors.i386 revision 1.9.2.8.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-05 03:35:29 +00:00
KATO Takenori e1d0e58079 - Sync with sys/i386/isa/lpt.c revision 1.55.2.2.
- #ifndef PC98'ed lpt_port_test function.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-05 03:34:36 +00:00
KATO Takenori 53624e94f1 - Sync with sys/i386/isa/syscons.c revision 1.182.2.31.
- #ifndef PC98'ed unused ioctl.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-05 03:33:08 +00:00
David E. O'Brien 56f0dfd16e MFC rev 1.29. 1998-03-05 03:08:57 +00:00
KATO Takenori 4a04b7e53c Sync with sys/i386/conf/options.i386 revision 1.26.2.17.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-05 02:57:03 +00:00
KATO Takenori fb5974780c MFC: Support C-NET(98)S ethernet card.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-03-05 02:50:27 +00:00
Jordan K. Hubbard 9c51dc33c2 Whoops! This commit should not have made it in.
Noted by: Chris Timmons
1998-03-04 09:52:20 +00:00
Chris Timmons 1c0b99dade PR: 3371
Conferred-with: pst, fenner

MFC: print-udp v1.3 including LBL 3.3 repairs for dumping small packets.
     interface.h v1.1.1.2 (only the macros needed by print-udp.c)
1998-03-04 07:57:53 +00:00
Jordan K. Hubbard af5ad159ff MFC: more miscellaneous cleanups and the new mktmp() functions from OpenBSD 1998-03-04 07:26:37 +00:00
David Greenman e14ae26bdb Brought in changes from rev 1.50/1.12: additional PHY support. 1998-03-03 14:20:54 +00:00
Jordan K. Hubbard f6f16d1894 MFC: doc & security fixes. 1998-03-03 13:27:38 +00:00
Jordan K. Hubbard bcbbf719a8 MFC: doc fix, bring in security fixes to fts.c.
fts.c changes also include whiteout support, which isn't applicable to 2.2,
but it's #ifdef'd out and harmless.
1998-03-03 08:24:43 +00:00
Jordan K. Hubbard e3e6bbd6c1 MFC: correct casts. 1998-03-03 07:13:40 +00:00
Jordan K. Hubbard 129ec01ab6 MFC: style nits. 1998-03-03 07:00:20 +00:00
Jordan K. Hubbard cf65d7238e MFC: install new man pages and use canonical permissions. 1998-03-03 06:37:09 +00:00
Jordan K. Hubbard 8e5b4b7228 MFC: style nits. 1998-03-03 06:15:50 +00:00
Jordan K. Hubbard 10a0a6c691 MFC: add man pages. 1998-03-03 06:12:57 +00:00
Jordan K. Hubbard 2158e8d2ac MFC: add man page. 1998-03-03 06:10:44 +00:00
Jordan K. Hubbard 67dacb093c MFC: c++-ification and updated regex sets. 1998-03-03 06:06:14 +00:00
Jordan K. Hubbard b2fb2490bf MFC: FAT32/VFAT support. 1998-03-03 04:29:23 +00:00
Jordan K. Hubbard 7374211ae1 MFC: merge r1.12. I was too conservative to merge this before.
Requested by: bde
1998-03-02 21:34:41 +00:00
Guido van Rooij 24c252656d Another misused bit_* function 1998-03-02 20:49:31 +00:00
Guido van Rooij b1b992e40d MFC: correct bit_nclear usage. 1998-03-02 19:01:21 +00:00
Jordan K. Hubbard 70d3135c69 MFC: Tested by Eivind Eklund and will be further tested by FTL. 1998-03-02 10:46:44 +00:00
Jordan K. Hubbard b4d39651f8 Yikes, I thought I committed this already. More support for CODA
filesystems - does nothing if you don't have CFS defined.

Approved by:	davidg
1998-03-02 08:54:56 +00:00
Jordan K. Hubbard 07e798e8a3 MFC: latest bt848 driver (now that I have one of these boards to test with) 1998-03-02 08:42:24 +00:00
Jordan K. Hubbard 2261fa0be1 MFC: latest bt848 driver. 1998-03-02 08:41:32 +00:00
Guido van Rooij a4cc7f4b09 MFC: add uid's to struct socket. 1998-03-02 07:58:17 +00:00
Jordan K. Hubbard 91a42e4408 MFC: update to proper major number and correct style. 1998-03-02 07:36:17 +00:00
Jordan K. Hubbard b4ae091bf1 Add entry for bktr driver since we appear to have it in 2.2. 1998-03-02 07:26:16 +00:00
Peter Wemm 00445d9a5b MFC: PCI and enhanced specialix host card support.
Also: clean out some cruft
      make multiple host cards actually work..
      try and recover from isa and pci unit collisions.
1998-03-02 05:54:12 +00:00
Peter Wemm 310895245a MFC: enhanced specialix host card firmware 1998-03-02 05:50:22 +00:00
Jordan K. Hubbard e970871785 Eliminate:
ufs/ifs/ifs_isyscalls.c optional vcfs
		ufs/ifs/ifs_subr.c      optional vcfs
CMU says they're no longer necessary.
1998-03-02 02:58:52 +00:00
Jordan K. Hubbard 61c67a1217 MFC: PR#5873 1998-03-02 02:53:12 +00:00
Jordan K. Hubbard 7744cb4ebd Add VT_CFS type for CODA filesystem. 1998-03-02 02:50:54 +00:00
Jordan K. Hubbard fb43d43394 Add entries for CODA filesystem. 1998-03-02 02:47:33 +00:00
Steve Price d1763d119d MFC: Allow NULL cookie verifiers for non-NULL offsets. 1998-03-01 22:33:27 +00:00
Steve Price 4cfa33f038 MFC: create the cuaiA* and cualA* devices. 1998-03-01 22:20:11 +00:00
Jordan K. Hubbard 8d9622c3c9 Adjust initstate() prototype. 1998-03-01 20:24:23 +00:00
Joerg Wunsch 66e34790dc MFC: rev 1.6, bump the timeout to 3 hours. 1998-03-01 20:16:01 +00:00
Steve Price 1d9738f844 MFC: fix a few nits. 1998-03-01 18:59:42 +00:00
Steve Price 92f4c0ce84 MFC: revised fix for PR 5345 and 5610. 1998-03-01 18:53:09 +00:00
Jordan K. Hubbard 1e5009096a MFC: why not? 1998-03-01 17:50:19 +00:00
Jordan K. Hubbard 935b3a313c MRC: arc4random prototypes. 1998-03-01 17:44:00 +00:00
Jordan K. Hubbard 04be3b2317 MFC: bring in arc4random code. 1998-03-01 17:43:20 +00:00
Jordan K. Hubbard 377ebd813c MFC: major merge - bring all the arc4random support in now that it's
in 2.2.
1998-03-01 17:42:05 +00:00
James Raynard 1805b0603c MFC: Get sigprocmask args the right way round. 1998-03-01 11:09:02 +00:00
Satoshi Asami 1321af36c3 Merge 1.60. 1998-03-01 10:12:00 +00:00
Alexander Langer b0c14abb8e MFC (rev 1.4): use .Nm id' instead of .Nm' in synopsis. 1998-02-28 22:11:14 +00:00
James Raynard 0d86498d34 MFC: Strings are terminated by NUL, not NULL. 1998-02-28 18:09:44 +00:00
James Raynard 9cdc1be394 MFC: Strings are terminated by NUL, not NULL. 1998-02-28 15:49:29 +00:00
Steve Price 71c1288a19 Really remove the config_* files this time.
Noticed by:	jkh
1998-02-28 12:47:23 +00:00
John Hay ca4d247b09 MFC: Mention the WANic 400/405 PCI card support and some cleanups. 1998-02-28 07:13:14 +00:00
Steve Price 5af0a1725f MFC: CLEANFILES+= foo.gz 1998-02-28 06:32:14 +00:00
Steve Price 21a9ec614a Add a couple of files I missed in the update to zlib-1.1.1. 1998-02-28 06:30:54 +00:00
Steve Price 74f2655fd9 MFC: algorithm.doc -> algorithm.txt 1998-02-28 06:20:45 +00:00
Steve Price 57ba83dfce MFC: update to zlib-1.1.1 1998-02-28 06:19:11 +00:00
cvs2svn 2dead96ff3 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-02-28 06:04:28 +00:00
Kazutaka YOKOTA f64f13befd MFC: added SC_DISABLE_REBOOT. 1998-02-28 05:17:25 +00:00
Kazutaka YOKOTA 1c77f6284f YAMFC: merge following fixes: various small fixes (1.248), screen update
fix (1.249), font loading fix (1.250) and mouse cursor fix (1.251, 1.252).
1998-02-28 05:16:14 +00:00
Steve Price 44425c8879 MFC: cleanup the lpt port probe code. 1998-02-28 04:18:12 +00:00
Steve Price 65be1f35bf MFC: Remove the config_* routines. 1998-02-28 04:02:58 +00:00
Brian Somers 7b63e34bea MFC: Don't nullify entry in linkTableOut, set the aliasing
address even when PKT_ALIAS_RESET_ON_ADDR_CHANGE is in
     effect.
1998-02-27 23:09:57 +00:00
Mike Smith 2631f8007f Merge changes from r1.61 - remove pbzero(), as everything we load clears
its own BSS.
1998-02-27 22:56:15 +00:00
Paul Traina fec1ddfe5d MFC: fix API and compile with warnings enabled. 1998-02-27 22:37:38 +00:00
Stefan Eßer 854e5b87a4 Add PCI device ID of Surecom NE-34 1998-02-27 22:30:36 +00:00
Jordan K. Hubbard 8b140cc754 MFC: increase retry time. 1998-02-27 21:32:55 +00:00
Jordan K. Hubbard e24dccc870 MFC: opielocks dir. 1998-02-27 21:32:32 +00:00
Jordan K. Hubbard a2d1368129 MFC: /etc/skel doesn't seem to be used in the -current branch either,
but it doesn't hurt.
1998-02-27 21:03:13 +00:00
Jordan K. Hubbard 9cc691db5c MFC: msdosfs / cd9660 includes. 1998-02-27 21:01:42 +00:00
Jordan K. Hubbard fb3dfe55f8 MFC: rocketport entries. As Bruce notes, this rule needs a complete
rewrite so I'm going to sync it first with -current and then decide
how to rip it to bits.
1998-02-27 20:59:44 +00:00
Jordan K. Hubbard 0c3900b51c MFC: sync services. 1998-02-27 20:58:18 +00:00
Jordan K. Hubbard 5c65c476da MFC: cosmetic tweaks, merge in new kerberos vars for rc.conf. 1998-02-27 20:49:15 +00:00
Guido van Rooij dd1b601f5a MFC: Fix potential DOS. 1998-02-27 20:01:21 +00:00
Bill Fenner 0e9b5b4dee Merge %SUBDIR% change from 1.56 1998-02-27 18:37:03 +00:00
Satoshi Asami d009bf39da Merge 1.55. 1998-02-27 15:46:43 +00:00
Jordan K. Hubbard 173160ff04 Merge this with -current even though we don't have half these devices
in 2.2-stable and probably never will; it prevents us from inadvertantly
recycling a major number in one branch to conflict with another.
1998-02-27 06:16:35 +00:00
Steve Price cd8a873ba8 MFC: allow a negative number without a core dump 1998-02-26 21:14:45 +00:00
Dima Ruban c86f973ea7 MFC: NetBSD PR# 2772
Reviewed by:	David Greenman
1998-02-26 17:17:09 +00:00
Steve Price 6f51dd62b2 Show the noatime flag if set.
PR:		5843
Submitted by:	Jukka A. Ukkonen <[email protected]>
1998-02-26 05:08:24 +00:00
Jordan K. Hubbard 0bd789315d MFC: modulo rc.shutdown reference which doesn't exist in 2.2 and was elided. 1998-02-26 02:45:22 +00:00
Jordan K. Hubbard c5e964b9c5 MFC: PR#5849 1998-02-26 02:18:05 +00:00
Jonathan M. Bresler 62a0144f81 added two new files: allowed_domains.txt and allowed_ips.txt.
domains/ips listed in these files are *NOT* filtered,
        even if listed in domains.txt or ips.txt.

        someone added netcom.com to the domains.txt file,
        resulting in all mail from netcom.com being blocked.
1998-02-25 22:21:33 +00:00
Andrey A. Chernov 1dd5073864 MFC: minimize clock drift 1998-02-25 09:43:47 +00:00
Hiroyuki Hanai 364287184c To commit japanese online manuals into doc/ja/man.
Submitted by: Kazuo Horikawa <[email protected]>
1998-02-25 04:19:09 +00:00
Julian Elischer 8fa950ecaf MFC: fix typo in last commit 1998-02-25 02:34:30 +00:00
Julian Elischer e80901d631 MFC: 1.28->1.29 define more IP protocols as defined in the new list. (rfc1700) 1998-02-25 02:18:12 +00:00
Daniel O'Callaghan f89ede28f4 PR: 5812
Put in the right direction by: Mike Smith and Steve Price

Close syslogging to remove unwanted messages in ftpd's INTERNAL_LS.
1998-02-24 22:18:18 +00:00
Andrey A. Chernov ad423c383c MFC: DESTDIR tweaks 1998-02-24 10:25:42 +00:00
Bruce Evans 88e3d55425 NQYAMFC. Move #include of <sys/cdefs.h> earlier and clean up some
formatting.

PR:	5785
1998-02-24 00:22:28 +00:00
Guido van Rooij 881ad77662 MFC: Addition of forward_sourceroute and accept_sourceroute variables
in rc.conf and the implementation of the latter.
1998-02-23 20:21:37 +00:00
Steve Price 3c0f3c1ee9 MFC: use port 0x110 to avoid PNP conflicts. 1998-02-23 15:05:12 +00:00
Andrey A. Chernov eb6bde4037 Add missing DESTDIR 1998-02-23 09:15:01 +00:00
David Greenman 4ac0bf5406 Brought in changes from rev 1.31: support more than 32 units in
dkmakeminor().
1998-02-22 10:12:50 +00:00
Jordan K. Hubbard 16639c2c16 MFC: bzero new ccdbufs. 1998-02-22 10:02:08 +00:00
Jordan K. Hubbard 167855d31d MFC: fix message 1998-02-22 09:54:39 +00:00
Mark Murray 46691eb9d8 MFC: eBones --> kerberosIV upgrade. 1998-02-22 07:17:42 +00:00
KATO Takenori 8592baea6d Sync with sys/i386/conf/majors.i386 revision 1.9.2.7.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-22 07:02:37 +00:00
Julian Elischer baa0a2e1ce MFC: add entries for pptp and radius 1998-02-22 06:31:15 +00:00
Jordan K. Hubbard aaf4de8255 Correct comments for new CFS. Whoops!
Pointed-out-by-the-usual-eagle-eye-of:	bde
1998-02-22 01:17:20 +00:00
Jordan K. Hubbard 03a4ce00c3 ircd doesn't use udp - eliminate useless entries for same. Also
change name of 6667 assignment to be unique.

Suggested by:	Bill Fenner <[email protected]>
1998-02-22 00:50:14 +00:00
Bill Fenner e77f4eacc9 Merge from 1.15: correctly document tty-related capability names. 1998-02-21 23:36:10 +00:00
Jordan K. Hubbard ae94e14fdd MFC: add ircd entries. 1998-02-21 19:38:10 +00:00
Jordan K. Hubbard 5e7d2837f9 Add entries for CODA filesystem.
Submitted by: "Robert.V.Baron" <[email protected]>
1998-02-21 19:23:58 +00:00
Jordan K. Hubbard 50b12e912f Add entries for CODA filesystem. Not to worry, we're not bringing
this into 2.2 at the last minute, these are just here to make it easier
for folks to drop it in as an add-on.
1998-02-21 19:22:14 +00:00
Bill Paul 0af28e9283 YAMFC. Just shoot me now, okay? 1998-02-21 18:15:30 +00:00
Nate Williams e588909218 - MFC: 'hang' and 16-bit ESS support bugs. 1998-02-21 17:54:56 +00:00
Gary Palmer f7705ac1e9 MFC: fix kernel panic caused by bad printf 1998-02-21 04:55:00 +00:00
Mike Smith 482892fcb4 MFC, use the correct field for the no-tags attribute, avoid spamming probe
messages.
Submitted by:	bde
1998-02-20 21:04:35 +00:00
Jordan K. Hubbard a098ebeaf9 MFC: update to stable-167. Note to FTL: please regression test. 1998-02-20 18:10:44 +00:00
Jordan K. Hubbard f03e8f3e57 MFC: stable-167 update. 1998-02-20 18:09:55 +00:00
Jordan K. Hubbard 0e1d9fe707 MFC: minor cleanups and doc updates. 1998-02-20 17:32:28 +00:00
Brian Somers 38d94ef317 Update to version 1.11:
PR:		5802
1998-02-20 15:42:06 +00:00
Mark Murray cb81b9e53f [More nasty sailor language] - I hate "cvs update -jHEAD". It does not
work. Despam the last commit.
1998-02-20 14:50:31 +00:00
Brian Somers 660422417d MFC: Remove useless argument to ``. start_if.$ifn''
Pointed out by: Tim Tsai <[email protected]>
1998-02-20 14:46:12 +00:00
Mark Murray 8b6cbc8e12 MFC: Use major 92 for the bktr driver 1998-02-20 10:36:18 +00:00
Mark Murray d9db2132d0 MFC: Added IOCTL's and repair to damage. 1998-02-20 10:19:34 +00:00
Eivind Eklund 8d1b11d33c mtree changes for setgid games. Matches jkh's merge. 1998-02-20 06:35:37 +00:00
Steve Price ab44076735 MFC: -DMAKE_EBONES -> -DMAKE_KERBEROS4
Reminded by:	Matthew Hunt <[email protected]>
1998-02-20 05:19:40 +00:00
Bill Paul f30c2d09c4 MFC: another (and hopefully last) missing backslash 1998-02-20 04:02:05 +00:00
Steve Price 2c555e4f1a MFC: set Tbl.str_numstr before do_order or randomize are called.
PR:		5791
1998-02-20 00:49:43 +00:00
Stephen McKay 84cb66dcae MFC rev 1.15: Prevent corruption of errno. 1998-02-20 00:49:32 +00:00
Garrett Wollman 6b81d495cc getopt(3) is declared in stdlib.h under 2.2. 1998-02-19 21:49:20 +00:00
Bill Fenner 65c146f937 Merge rev 1.37: clear so_error after reporting it in sosend(). 1998-02-19 20:20:27 +00:00
Garrett Wollman 2740d93865 MFC: rev. 1.5 of whois.c, 1.4 of whois.1. 1998-02-19 19:10:26 +00:00
Mark Murray 63db378a26 [Nasty sailor language censored] - Another typo. 1998-02-19 17:21:05 +00:00
Mike Smith 4cf5702563 MFC: move 'sw' device away from being trampled by 'wfd'. 1998-02-19 12:19:48 +00:00
Mark Murray 6dcf27befc Dammit. I committed an incomplete merge and a typo. Fix these. 1998-02-19 11:30:47 +00:00
Mark Murray 6204e88d2a More eBones --> kerberosIV merging 1998-02-19 09:55:25 +00:00
Mark Murray ff2d4a6612 More eBones --> kerberosIV merges 1998-02-19 09:32:59 +00:00
Mark Murray 547a90c0d5 More eBones --> KerberosIV merges 1998-02-19 09:12:26 +00:00
Guido van Rooij 62b482e8da Argh: fix an if statement that caused the old passwd not be rebuild.
Pointed out by: "Julie M. Juracich" <[email protected]>
1998-02-19 08:10:31 +00:00
Satoshi Asami 79beccb985 Merge 1.271. 1998-02-19 06:51:32 +00:00
Jordan K. Hubbard 5693556bca Note that KerberosIV now merged. 1998-02-19 02:32:16 +00:00
Jordan K. Hubbard 8de10f6d18 MFC: changes to support crypto/kerberos dists and dispense with
the aged eBones stuff.  Doc fixes also as necessary.
1998-02-19 02:22:17 +00:00
Brian Somers 45984731dd MFC: Allow 8 character login names.
Do the login()/logwtmp()/logout() as id 0.
1998-02-19 02:11:05 +00:00
Jordan K. Hubbard 7b9a62ea21 MFC: FTPD_INTERNAL_LS -> INTERNAL_LS 1998-02-19 01:07:49 +00:00
Jordan K. Hubbard 02acb6c49c MFC: merge just enough of our linux emulator changes to successfully
run the Linux RealAudio 5.0 client.  I wish my kernel hacking skills were
up to merging *all* the nifty new features, like linux_iopl(), but this
merge already taught me more than enough about the code to know that I don't
really understand it well enough to do that. ;-)
1998-02-19 00:37:34 +00:00
Nate Williams ae38c4b199 - After the install has been done, but before makedb is run, run
'ldconfig -R' to pick up new shlib dependencies.

Suggested by:	Amancio and a whole lot of other folks
1998-02-19 00:23:43 +00:00
Dima Ruban d428a4b284 MFC: add -f flag. 1998-02-18 22:55:00 +00:00
Brian Somers f287ca6aaa MFC: LogWARN rather than LogERROR when we can't create
our diagnostic socket.
1998-02-18 20:41:35 +00:00
Dima Ruban fc7807d266 MFC: NO_LKM option 1998-02-18 20:15:49 +00:00
Brian Somers 395a4bcf59 MFC: Don't leak memory when the peer sends PROTO_COMPD packets
without negotiating compression first.
1998-02-18 19:39:28 +00:00
Steve Price f2bdedc432 MFC: #include <unistd.h> for nice(3). 1998-02-18 18:35:42 +00:00
Steve Price fdca560121 MFC: missing newline when euid != ruid. 1998-02-18 17:36:08 +00:00
Jordan K. Hubbard 02a1f33dd3 Heh - somebody merged this Makefile and brought config -n in with
it.  Since config doesn't have a -n option in -stable, that caused
the release builds to fall over.  Whoops.
1998-02-18 17:25:20 +00:00
Mark Murray f29096316f Punt this into the attic. KerberosIV (KTH eBones) has been tagged into
the tree and the userland changes have been merged.
1998-02-18 13:23:23 +00:00
Mark Murray 9bc63d5d71 Replace eBones with kerberosIV (Actually KTH eBones from current)
sysinstall is going to need some work to sync with this.
1998-02-18 12:45:09 +00:00
Jordan K. Hubbard e2e273a558 MFC: very minor style tweak. 1998-02-18 12:30:56 +00:00
Jordan K. Hubbard 1f4a4cf7e4 MFC: deal properly with 8-bit characters. 1998-02-18 12:25:43 +00:00
Mark Murray ad79c5fdaa Replace eBones with kerberosIV (Actually KTH eBones from current) 1998-02-18 12:16:03 +00:00
Mark Murray 52bc0f17f0 Replace eBones with kerberosIV (Actually KTH eBones from current) 1998-02-18 11:52:20 +00:00
Mark Murray 3c50b19b46 Replace eBones with kerberosIV (Actually KTH-eBones from current) 1998-02-18 11:48:08 +00:00
Mark Murray c83ec7c18c Replace eBones with kerberosIV (Actually KTH-eBones from current) 1998-02-18 11:41:29 +00:00
Mark Murray 93294191b5 Replace eBones with kerberosIV (Actually just the new KTH-eBones) 1998-02-18 11:38:37 +00:00
Mark Murray b8cb053796 Replace eBones with kerberosIV 1998-02-18 11:36:46 +00:00
Mark Murray d9391d60a9 2.2 does not have if_var.h. Unset HAVE_NET_IF_VAR_H 1998-02-18 11:34:22 +00:00
David E. O'Brien 73a0bfddbb Proper var to get internal `ls' is "FTPD_INTERNAL_LS". 1998-02-18 11:03:48 +00:00
David E. O'Brien 767c375f9c Add /etc/ftphosts to the FILES section.
Note that ftpmotd is relative to the user's view of /etc.
1998-02-18 10:48:29 +00:00
Jordan K. Hubbard 27c55448ae MFC: A few bits I missed on my 1st pass. 1998-02-18 09:09:06 +00:00
Philippe Charnier 6819f91559 Typos. 1998-02-18 07:26:03 +00:00
Jordan K. Hubbard 38ca348910 MFC: mondo merge of bootpd. I really hope someone can test this since
I've never even *seen* a netbooted FreeBSD system.  Mike: Maybe that's
one scenario needed for the test lab.
1998-02-18 05:55:37 +00:00
Jordan K. Hubbard b3dce7919c MFC: correct prototype (missed in last commit). 1998-02-18 05:37:31 +00:00
Jordan K. Hubbard 3b1e46d52d MFC: overflow fixes and better understanding of UT_NAMESIZE. 1998-02-18 05:36:39 +00:00
Jordan K. Hubbard 0445a11d70 MFC: bug fix and doc tweaks. 1998-02-18 05:35:27 +00:00
Jordan K. Hubbard 5444c305a6 MFC: add mskanji 1998-02-18 05:33:31 +00:00
Jordan K. Hubbard 5d236b351a MFC: add new login_auth(3) man page and merge various fixes from current 1998-02-18 05:30:08 +00:00
Bill Paul 73a7bd0fad MFC: put back missing backslash 1998-02-18 04:12:52 +00:00
Jordan K. Hubbard 0517605bd8 MFC: /sys relativity. 1998-02-18 02:59:02 +00:00
Jordan K. Hubbard 1b7a8ba9fb MFC: relative paths to /sys, doc fixes. 1998-02-18 02:51:16 +00:00
Jordan K. Hubbard 4d2b8b0cb7 MFC: better yacc handling. 1998-02-18 02:46:31 +00:00
Jordan K. Hubbard c9907737be MFC: misc cleanup. 1998-02-18 02:31:37 +00:00
Jordan K. Hubbard 52d420ba99 MFC: constify 1998-02-18 02:28:14 +00:00
Jordan K. Hubbard 44f1f16583 MFC: doc fixes, better prototypes, misc. 1998-02-18 02:24:07 +00:00
Julian Elischer 2c32415aa5 Submitted by: [email protected]
MFC: fix version confusion in pthreads support.
1998-02-18 01:27:27 +00:00
Jordan K. Hubbard b910f9f584 MFC: relative paths to /sys, doc tweak. 1998-02-17 20:05:06 +00:00
Jordan K. Hubbard e0f44d8ea6 MFC: separate error and errno reporting. 1998-02-17 20:04:34 +00:00
Jordan K. Hubbard efcc214848 MFC: declare the correct arg types. 1998-02-17 20:03:20 +00:00
Jordan K. Hubbard e954be3560 MFC: style points. 1998-02-17 20:02:54 +00:00
Jordan K. Hubbard 124be570c8 MFC: Add a soelim befoer nroff. This entire Makefile is broken in the
presence of obj dirs, both in -current and in -stable.
1998-02-17 19:59:14 +00:00
Jordan K. Hubbard 4acbacbf19 MFC: doc fixes. 1998-02-17 19:54:26 +00:00
Jordan K. Hubbard cb15545a43 MFC: more doc fixes. 1998-02-17 19:52:29 +00:00
Jordan K. Hubbard 302c9157a9 MFC: I am a merging machine. Let's just hope I don't die of boredom before
I finish this.
1998-02-17 19:48:19 +00:00
Jordan K. Hubbard 20021e11c7 MFC: more doc tweaks. 1998-02-17 19:46:20 +00:00
Jordan K. Hubbard f243c7fc5d MFC: more doc fixes. 1998-02-17 19:36:26 +00:00
Jordan K. Hubbard 66eeac3dea MFC: more conservative doc updates. 1998-02-17 19:18:15 +00:00
Jordan K. Hubbard 6e3e4e0955 MFC: purely cosmetic. 1998-02-17 19:13:44 +00:00
Jordan K. Hubbard efd9ff49c0 MFC: various docs tweaks to reflect modern reality. 1998-02-17 19:13:23 +00:00
Jordan K. Hubbard 361c3b4198 MFC: minor doc tweaks. 1998-02-17 19:09:44 +00:00
Jordan K. Hubbard 57cc2adeb7 MFC: minor doc tweaks. 1998-02-17 18:59:56 +00:00
Jordan K. Hubbard 683bc49e47 MFC: constify. 1998-02-17 18:56:45 +00:00
Jordan K. Hubbard fd3374a739 MFC: symlink loop checking in realpath(). 1998-02-17 18:56:30 +00:00
Jordan K. Hubbard ff755ca072 MFC: minor improvements to radixsort. 1998-02-17 18:55:22 +00:00
Jordan K. Hubbard 4e82845941 MFC: getopt() wants to use -1 instead of EOF now. 1998-02-17 18:24:39 +00:00
Jordan K. Hubbard 84f7f79739 MFC: various improvements to printf() family, among them support for
long double.
1998-02-17 17:33:57 +00:00
Jordan K. Hubbard 6eb78d60c2 MFC: check for 0-length writes. 1998-02-17 17:29:50 +00:00
Jordan K. Hubbard e3fb95be71 MFC: constify. 1998-02-17 17:29:17 +00:00
Jordan K. Hubbard 556ee612e5 MFC: constify 1998-02-17 17:28:44 +00:00
Jordan K. Hubbard 95ae1807d9 MFC: extra security. 1998-02-17 17:25:30 +00:00
Jordan K. Hubbard 1db99c554d Add mskanji.c, which I tagged in. 1998-02-17 17:19:41 +00:00
Jordan K. Hubbard 525c53b3ec MFC: Add Kanji runes and more security checks. 1998-02-17 17:18:30 +00:00
Jordan K. Hubbard 9c97b85b3c MFC: doc tweaks, extra security check to setlocale(), minor tweak to
isctype.c
1998-02-17 16:49:19 +00:00
Jordan K. Hubbard 23a8527027 MFC: doc fix. 1998-02-17 16:43:34 +00:00
Jordan K. Hubbard 30b2cc2b1b MFC: doc fix 1998-02-17 16:43:18 +00:00
Jordan K. Hubbard c66f09b6a3 MFC: doc cleanups and one potential overflow. 1998-02-17 16:40:17 +00:00
Jordan K. Hubbard b267deb4c5 MFC: doc cleanups. 1998-02-17 16:38:15 +00:00
Jordan K. Hubbard 8471da2f8f MFC: history. 1998-02-17 16:37:04 +00:00
Jordan K. Hubbard adfc96dfd5 Boast of new features. 1998-02-17 14:54:32 +00:00
Jordan K. Hubbard 23ceeef060 MFC: Since we have bidirectional pipes, allow bidirectional popen()s. 1998-02-17 14:51:47 +00:00
Jordan K. Hubbard b3582060b0 MFC: cleanup. 1998-02-17 14:40:02 +00:00
Jordan K. Hubbard 814cb5b910 MFC: more fascist signal blocking. 1998-02-17 14:36:14 +00:00
Jordan K. Hubbard 88a5eacca9 MFC: doc cleanup, various cosmetic adjustments. 1998-02-17 14:33:20 +00:00
Jordan K. Hubbard 99504fb4e4 MFC: doc fixes. 1998-02-17 10:30:02 +00:00
Jordan K. Hubbard 27763d6d8a MFC: much more extensive error checking. 1998-02-17 10:05:29 +00:00
Jordan K. Hubbard 76ea369c73 MFC: more doc cleanups. 1998-02-17 09:58:49 +00:00
Jordan K. Hubbard 404ec9caa3 MFC: misc doc fixes. 1998-02-17 09:57:18 +00:00
Jordan K. Hubbard 447695c26b MFC: return MAP_FAILED instead of -1. 1998-02-17 09:52:59 +00:00
Jordan K. Hubbard 1d62962b11 MFC: int function returns 0, not NULL. 1998-02-17 09:51:33 +00:00
Jordan K. Hubbard 7e2b49dd8d MFC: this returns int, say so. 1998-02-17 09:50:22 +00:00
Jordan K. Hubbard 1af88191c0 MFC: correct prototypes 1998-02-17 09:49:13 +00:00
Philippe Charnier b88c111087 Typos. 1998-02-17 07:29:31 +00:00
Alexander Langer da3e600964 Partial unmerge from -current: don't use <sysexits.h>. While this
would work fine for 2.2.6-RELEASE and beyond, many 2.2.5-stable
installations will still be using the broken version of rc.network
which expects to see a return value of 1 as the failure exit code.
1998-02-17 05:04:56 +00:00
Justin M. Seger 9515cf0b15 MFC: Fix saver line to use tabs instead of spaces. 1998-02-17 03:26:03 +00:00
KATO Takenori f1e7747dd5 Disable Luigi's sound driver.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-02-17 03:19:00 +00:00
KATO Takenori 65869d0828 MFC: revision 1.24 (NEC 86 card).
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-02-17 03:17:10 +00:00
Jordan K. Hubbard e35b6d2d67 MFC: convert to unsigned 1998-02-17 01:38:25 +00:00
Jordan K. Hubbard c1c5295bb2 MFC: spelling fix 1998-02-17 01:34:50 +00:00
Jordan K. Hubbard 12d7c718f2 MFC: POSIXification. 1998-02-17 00:51:56 +00:00
Jordan K. Hubbard 2e866bdb54 MFC: very small - just bring in fix for fpos_t typedef. 1998-02-17 00:48:17 +00:00
Guido van Rooij 57a15a2aa7 MFC: check return value from db close and fprintf(). 1998-02-16 19:13:43 +00:00
Jordan K. Hubbard fd9c6ac960 MFC: don't say "obsoleted" 1998-02-16 18:32:02 +00:00
Jordan K. Hubbard 8af71c651f MFC: FNM_IGNORECASE compat macro. 1998-02-16 18:29:08 +00:00
Jordan K. Hubbard 5336463792 MFC: cast ctype macro args to unsigned char. 1998-02-16 18:25:44 +00:00
Jordan K. Hubbard 1e09e5bdbf MFC: eliminate support category, use proper email addrs. 1998-02-16 18:24:53 +00:00
Jordan K. Hubbard 0b56e0673e MFC: misc doc tweaks with very little visual effect (but I'm sure
they're there for a reason! :).
1998-02-16 18:22:13 +00:00
Jordan K. Hubbard d35bc7e328 MFC: nuke them nested playpens. 1998-02-16 17:41:57 +00:00
Mike Smith d81830504d Merge from -current; disable tagged command queueing for all Jaz drives.
Submitted by:	Steve Logue <[email protected]>
1998-02-16 11:16:42 +00:00
Nate Williams 334a8b8c19 - Removed these files as they are no longer necessary. (The soundcard.h
file is exactly the same as the version in i386/include/soundcard.h, which
  is now shared by both luigi's and the Voxware drivers.)

Submitted by:	luigi
1998-02-16 06:14:46 +00:00
Jordan K. Hubbard 2548e94bf7 Update to luigi's latest.
Compiles OK for me under 2.2 (of course, so did the previous version).
1998-02-15 23:29:16 +00:00
Steve Price d7ae2737b6 MFC: bring in Bruce's fixes from revision 1.6. 1998-02-15 21:37:54 +00:00
Guido van Rooij 085c2f151e MFC: Only forward source routed packets when ipforwarding is set to 1.
(including Andrews fix for my typo, thanks)
Obtained from: Thomas Ptacek
1998-02-15 18:41:57 +00:00
Kazutaka YOKOTA 2767e2eeea YAMFC: Reword description of Brazilian keyboard.
Submitted by: Daniel C. Sobral
1998-02-15 18:23:16 +00:00
Steve Price 934cf4eeb4 MFC: ' is a special character when the first character on a line.
PR:		5754
Submitted by:	Kazuo Horikawa <[email protected]>
1998-02-15 17:05:30 +00:00
Alexander Langer cf4724914d MFC: ability to list/show a single rule by specifying its number. 1998-02-15 16:32:01 +00:00
Jordan K. Hubbard e336171dc1 MFC: security tweak, support for -T and -B flags. 1998-02-15 16:30:09 +00:00
Jordan K. Hubbard 1140eaf333 MFC: spelling corrections, deobfuscation. 1998-02-15 16:05:27 +00:00
Jordan K. Hubbard 46923adada MFC: selected security fixes. 1998-02-15 15:34:20 +00:00
Jordan K. Hubbard 71a3f8f1bd MFC: doc tweak. 1998-02-15 15:26:35 +00:00
Jordan K. Hubbard 8a7b85eafe MFC: Add extended opcodes for a variety of x86 processors. 1998-02-15 15:20:01 +00:00
Jordan K. Hubbard 418f30eb6d MFC: allow perl compilation to be conditionalized. 1998-02-15 15:18:36 +00:00
Jordan K. Hubbard 5c0822d911 MFC: Selected security fixes and bogosity rectification. Couldn't
bring the srandomdev() changes in since we don't have that in 2.2.
     Pity.
1998-02-15 15:12:08 +00:00
Jordan K. Hubbard 2e5559a9ee MFC: saner dotfiles for root. 1998-02-15 14:31:55 +00:00
Jordan K. Hubbard 221b016f86 MFC: selected improvements for etc files *not* including periodic changes,
security tweaks or other kerberbos related stuff.  I expect that
     stuff to occur as a side-effect of what others will be doing in etc,
     if at all.
1998-02-15 14:24:59 +00:00
Jordan K. Hubbard f51d972eda MFC: very minor error handling fixes. 1998-02-15 13:53:03 +00:00
Jordan K. Hubbard 5315cd21e3 MFC: more selective verbosity. 1998-02-15 13:51:08 +00:00
Jordan K. Hubbard a078966dee MFC: add a bit of missing functionality. 1998-02-15 13:43:06 +00:00
KATO Takenori ce7a7394ee Sync with sys/i386/conf/majors.i386 revision 1.9.2.6.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-15 13:35:32 +00:00
Jordan K. Hubbard ab20a5df0b MFC: eliminate redundant includes. 1998-02-15 13:32:21 +00:00
Jordan K. Hubbard 46f43ee8a4 MFC: minor doc cleanup, minor tweak to call _exit(), include
/usr/libdata/gcc in prefixes even though currently empty.
1998-02-15 13:08:13 +00:00
Jordan K. Hubbard 1c005bf789 MFC: correctly list deleted files. 1998-02-15 11:51:17 +00:00
Jordan K. Hubbard f7f588cbec MFC: cite correct paths. 1998-02-15 11:48:03 +00:00
Jordan K. Hubbard 71383a1a73 MFC: prevent potential overflow in sprintf(). 1998-02-15 11:34:02 +00:00
Jordan K. Hubbard 2232ea795e MFC: timeout support, fixes to signal handling. If there's more
contraversy over the latter, I can either continue to track it
in -current or back it out.
1998-02-15 11:32:27 +00:00
Jordan K. Hubbard b9572e1d0c MFC: remove include pollution. 1998-02-15 11:18:33 +00:00
Jordan K. Hubbard 76c92e50b7 MFC: correct manpage, don't move mountpoints. 1998-02-15 11:16:28 +00:00
Jordan K. Hubbard b07152c2b0 MFC: save/restore errno, cosmetic include reduction. 1998-02-15 11:10:07 +00:00
Jordan K. Hubbard 1442749f62 MFC: cosmetic. Some VFS hacker will have to investigate an actual
real MFC for this code - it doesn't look like something to be undertaken
lightly.
1998-02-15 11:06:23 +00:00
Jordan K. Hubbard bbab5af811 MFC: support for sparse files. 1998-02-15 11:04:30 +00:00
Jordan K. Hubbard a021374b82 MFC: miscellany.. 1998-02-15 11:01:40 +00:00
Jordan K. Hubbard 480d43780d MFC: purely cosmetic "let's eliminate divergence" commit. 1998-02-15 10:58:17 +00:00
Jordan K. Hubbard 4f0d5513ca MFC: handle residual writes properly. 1998-02-15 10:53:17 +00:00
Jordan K. Hubbard fe0e3377f5 MFC: proper cite for chmod(2) 1998-02-15 10:51:43 +00:00
Jordan K. Hubbard 47bd995ad7 MFC: spelling error. 1998-02-15 10:49:26 +00:00
Jordan K. Hubbard 9c875d9f49 MFC: correct citation for config(8). 1998-02-15 10:47:57 +00:00
Jordan K. Hubbard 0bbc124081 MFC: remove extra splbio(). I will read through diffs more carefully
before committing.  I will read through diffs more carefully before committing.
I will read through diffs more carefully before committing. :-)
1998-02-15 08:29:27 +00:00
Jordan K. Hubbard b508227023 MFC: Chris Csanady's OpenBSD fixes. 1998-02-15 08:15:08 +00:00
Steve Price a74632b4e0 MFC: clarify the -batch arguments.
PR:		5677
1998-02-14 22:56:25 +00:00
Steve Price 57750d9b19 MFC: '+' and '?' are ordinary characters but can be simulated using bounds.
PR:		5708
1998-02-14 18:28:25 +00:00
Nate Williams 5e7e17f1ee - Rip out the (unused and un-working) DEVFS code out of here, since DEVFS
dooesn't (and will never) work in -stable.

Noted by:	NAGAO -abtk- Tadaaki <[email protected]>
1998-02-14 16:19:22 +00:00
Steve Price 0e2e931499 MFC: correctly document the h and m modifiers of the time format. 1998-02-14 16:14:24 +00:00
Nate Williams 7dc2f8b338 - MFC:
revision 1.85
  date: 1998/02/03 00:50:36;  author: dyson;  state: Exp;  lines: +65 -36
  This fix should help the panic problems in -current.  There
  were some errors in "interval" management.  Due to the
  clustering mechanism, the code is necessarily complex and
  error prone.

Reviewed by:	a number of folks on -stable

[
The same code exists in both branches, and the patch seems to give no
ill effects to testers.
]
1998-02-14 16:13:27 +00:00
Steve Price 93e116a75d MFC: Don't truncate long lines to be quoted.
PR:		5679
1998-02-14 15:42:58 +00:00
Jordan K. Hubbard 48ffbb042b MFC: fixes to xenix ftime & extra sanity.
PR:	5734
1998-02-14 14:31:26 +00:00
KATO Takenori a7ace46a44 MFC: revision 1.43 (use rdmsr instead of wrmsr). 1998-02-14 13:44:42 +00:00
Peter Wemm af0ef8eea2 YAMFC: rev 1.9; adjust idle process sorting 1998-02-14 13:37:25 +00:00
Paul Traina a7e03f4755 Merge from -current: Block device of wfd changed from 24 to 1 1998-02-13 22:50:12 +00:00
Andrey A. Chernov 74e75f855c MFC: fix rare bug with empty DES passwords 1998-02-13 21:05:48 +00:00
Julian Elischer 0ed832a5a5 Add RFC 1702 (GRE)
MCF: matches version 1.10
1998-02-13 20:25:42 +00:00
Jordan K. Hubbard ef5d0da3b9 Add a no-cost optimization for DOC bootstrap. Get from local release
building machine if available.
1998-02-13 20:18:54 +00:00
Kazutaka YOKOTA 6e7e1e81eb MFC: list Brazilian keymap with accent keys in the keymap menu. 1998-02-13 09:00:03 +00:00
Jordan K. Hubbard c821eb485c Change a bogus failure return to the more proper success return. 1998-02-13 07:58:45 +00:00
Kazutaka YOKOTA 2ba3a677f9 MFC: Brazilian keymap with accent keys. 1998-02-13 03:48:16 +00:00
Bill Paul 3b78646819 Merge fix for PR #2206 from -current.
PR: 2206
1998-02-13 03:39:46 +00:00
Alexander Langer c080068bf4 MFC: correct handling of fragmented packets. 1998-02-13 01:58:13 +00:00
Julian Elischer c6b074e9c0 Submitted by: Jeremy Allison(Samba maintainer) and Terry Lambert
Obtained from:	Whistle Communications FreeBSD tree.
YAMFC:

Pthreads now works well enough to run the LDAP and ACAPD(with the gcc 2.8 fix)
sample implementations. (even with C++)
1998-02-13 01:35:57 +00:00
Bill Paul 6af9aa044c Merge in fix for PR #5610 from -current.
PR:		5610
1998-02-13 00:22:11 +00:00
Nate Williams 9b0287d02f - Removed the 'poll' code from the -stable files and replaced it with the
'select' code from Luigi's original release.

Reviewed by:		luigi
Pointy Hat donated to:	jkh
1998-02-12 22:48:52 +00:00
cvs2svn 645d8a83e6 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-02-12 17:06:48 +00:00
Bill Paul f07ebb62ea Merge in fix for DB handle caching bug from -current. Also remove
bogus global 'int debug;' from yp_main.c
1998-02-12 16:55:28 +00:00
Tim Vanderhoek b34ff0f84d Sync comment with reality and current. 1998-02-12 04:30:58 +00:00
KATO Takenori cfa6e9077d MFC: cosmetic change (revisions 1.51 and 1.51).
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-12 03:08:11 +00:00
KATO Takenori 3ad0fccd05 Sync with sys/i386/i386/userconfig.c revision 1.63.2.23.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-12 03:06:22 +00:00
KATO Takenori ec225d7313 Sync with sys/i386/conf/files.i386 revision 1.141.2.18.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-12 03:05:34 +00:00
Nate Williams c19360290d - MFC: Minor number bump due to addition of stringlist functions (which
were brought into -stable as well.)
1998-02-12 01:45:58 +00:00
John Polstra b108a0bd5d Merge from main branch 1.18 -> 1.19: describe "." command search
rules.
1998-02-12 01:25:29 +00:00
John Polstra fa8055d766 MFC: Boggle is gone. 1998-02-11 20:05:05 +00:00
John Polstra 5c0b3a8493 MFC: Nuke boggle. 1998-02-11 20:01:10 +00:00
Guido van Rooij a1f7e01e87 MFC (rev 1.67 and 1.69): Do not sourceroute ever when dosourceroute
is set to 0.
1998-02-11 18:35:46 +00:00
Jordan K. Hubbard f87930345e MFC: create devices only as needed. Gosh I sure wish those "extra" 56
bytes in the boot blocks could be used to TEACH THE BOOT BLOCKS ABOUT SLICES
SO WE COULD GET RID OF THE %$#@*!! ROOT COMPATABILITY HACK.  While I'm wishing,
I'd like world peace too.
1998-02-11 15:43:19 +00:00
Jordan K. Hubbard 9b3cc4d8a9 Add comments for Luigi's audio driver now that it's been tagged into
2.2 (it works fine with the existing audio driver).
1998-02-11 15:37:32 +00:00
Satoshi Asami 08ca3972f3 Merge dd.h rev 1.8 and misc.c rev 1.11 from -current. 1998-02-11 02:24:41 +00:00
Brian Somers 05c94159a6 MFC: Move handle_signals() to before the FD_SETs. handle_signals()
may result in a our modem closing after it's made its way into
     the fd_set, resulting in a program exit (with select(): bad file
     descriptor) rather than a dropped link.
1998-02-10 22:35:01 +00:00
Andrey A. Chernov 8841389ba9 MFC: fix n == 0 case, fix argument check 1998-02-10 20:44:40 +00:00
Andrey A. Chernov 029cb871c6 MFC: add INT_MAX length overflow check 1998-02-10 20:40:20 +00:00
Jordan K. Hubbard 159c47d6bb Totally change the way that devices are made in the MFS and subsequently
probed in sysinstall.  Rather than make template devices and use up lots
of inodes, also restricting the number of devices that can be dealt with,
mknod all necessary devices as necessary using built-in information.
This removes a number of constraints on the number and type of devices
that sysinstall can see.
1998-02-10 18:31:27 +00:00
Jordan K. Hubbard 9b14c24177 MFC: verbose major/minor check. 1998-02-10 17:19:52 +00:00
Jordan K. Hubbard be225210cf Add entries for Luigi's sound driver.
Submitted by:	luigi
1998-02-10 16:03:11 +00:00
Jordan K. Hubbard 353d376929 Merge of old and new soundcard files to support both Luigi's sound
driver and older VOXWARE driver.

Submitted by:	luigi
1998-02-10 16:02:11 +00:00
Jordan K. Hubbard a060cf8674 MFC: PR#5691 1998-02-10 07:02:11 +00:00
Adam David af20c42255 get default firewall type from rc.conf 1998-02-10 01:45:57 +00:00
Mike Smith 285aec4be4 MFC, Eiger modem entry. 1998-02-10 01:02:06 +00:00
Mike Smith f8c1ca120d Merge from -current: document extended -c behaviour. 1998-02-10 00:18:25 +00:00
Mike Smith 98e3c339d5 Merge from -current: USERCONFIG_BOOT escape mechanism. 1998-02-10 00:11:20 +00:00
KATO Takenori 1822af0b19 MFC: revision 1.403. 1998-02-09 15:06:51 +00:00
Daniel O'Callaghan c66dddb0b1 PR: 1708, 5448
Reviewed by:	Alex Nash, Steve Price
More sensible wtmp rollover and login accounting.
1998-02-09 11:44:22 +00:00
Jordan K. Hubbard c499c3953a Don't need this for anything that I can see. 1998-02-09 10:37:24 +00:00
Jordan K. Hubbard 3d8719929d MFC: dead code elimination. 1998-02-09 10:36:48 +00:00
Steve Price a76093b068 MFC: update to reflect current Jewish calendar.
PR:		5683
Submitted by:	[email protected]
1998-02-08 23:06:34 +00:00
Jordan K. Hubbard ecd4e6393a Better description for moused changes.
Submitted by: (I think) yokota
1998-02-08 12:55:54 +00:00
Steve Price fbdfe6cfbf MFC: Don't pint garbage when user enters EOF at name prompt. 1998-02-07 22:09:29 +00:00
Tim Vanderhoek afaba402ee CFC -- Doc. make readmes' and delta make package'. 1998-02-07 21:08:44 +00:00
Nate Williams d25af4c96e - Added Id. 1998-02-07 20:42:29 +00:00
Nate Williams 027e33e1f7 MFC:
- Bring in PCMCIA emulation mode for the PD6832 PCI/CardBus controller.

Submitted by:	Ted Faber <[email protected]>
1998-02-07 20:38:58 +00:00
Nate Williams 6edbf2a534 MFC: V1.24
Work around race condition where the kernel's 'wakeup' call to pccardd
gets lost when the machine is suspended, and when the machine is awoken
'wakeup' call over-writes the previous state before it has been
processed.

Submitted by:	guido
1998-02-07 20:33:06 +00:00
Andrey A. Chernov 045ade9166 MFC: banner supressed & Russian filters 1998-02-07 19:17:32 +00:00
Andrey A. Chernov db905d03f0 MFC: add directory for Russian filters 1998-02-07 19:04:36 +00:00
Andrey A. Chernov e7acc121a2 MFC: Add Russian filters 1998-02-07 18:59:56 +00:00
Andrey A. Chernov b56b6f1294 Add Russian filters 1998-02-07 18:59:41 +00:00
KATO Takenori 4474bc8244 MFC: revision 1.20 (number of entries in gid-mapfile). 1998-02-07 01:38:04 +00:00
Alexander Langer cda3c22ce5 MFC (rev 1.75): suppress display of TCP/UDP port numbers for fragmented
packets when IP offset != 0.
1998-02-07 00:28:25 +00:00
Julian Elischer 2fc56184a7 MFC:
change the return values to those specified in posix and presently
imlemented that way in -current.
1998-02-06 23:43:16 +00:00
Julian Elischer 5a3e30a66b YAMFC: bring in the fix for the handling of NODELAY sockets correctly. 1998-02-06 23:33:46 +00:00
KATO Takenori 3d22e6a7cf MFC: revision 1.19 (declare the variable `i'). 1998-02-06 14:34:03 +00:00
Adam David c62a6476fb -DNOTOOLS to not rebuild any tools during buildworld 1998-02-06 09:52:34 +00:00
Jordan K. Hubbard 26b656890c Properly reset CHUNK_IS_ROOT flag for non-root partitions.
Submitted-By: "Brian Dean" <[email protected]>
1998-02-06 04:11:24 +00:00
Chris Timmons 815cd824bf Finish the upgrade and hope for no pointy hats on the eve of 2.2.6-beta! 1998-02-05 04:53:30 +00:00
Chris Timmons 33d0449485 A new addition in v2 1998-02-05 04:51:10 +00:00
Chris Timmons 94df5a8d5b Contribification of global along with upgrade to v2.24 from -current 1998-02-05 04:48:07 +00:00
Chris Timmons 7ce8a424e8 global v2.24 from -current 1998-02-05 04:42:26 +00:00
David Greenman b76ad9ff28 Brought in change from rev 1.31: restrict idprio to superuser.
PR: 5639
1998-02-04 18:47:42 +00:00
Bill Paul f741481677 Sync Makefile.yp with -current. Picks up fixes for PR #5571 and
a few other things.

PR:	5571
1998-02-04 16:22:15 +00:00
Jordan K. Hubbard e78cbdfa07 Update to version 1.66 1998-02-04 15:01:32 +00:00
Jordan K. Hubbard 9a2bf9599e Update to version 1.66 - support autoselection better. 1998-02-04 15:00:15 +00:00
KATO Takenori 7925c9901c MFC: revision 1.42 (cpuid probelm of M2 CPU). 1998-02-04 14:35:55 +00:00
cvs2svn 085f0c8a53 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-02-04 13:03:58 +00:00
Satoshi Asami e658b9c185 Merge 1.270. 1998-02-04 10:37:30 +00:00
KATO Takenori ca4b414c7b Sync with sys/i386/isa/syscons.c revision 1.182.2.30.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-04 10:32:28 +00:00
KATO Takenori 24b298fe9a Define NO_ACCENTCHARS when PC98 is defined.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-04 10:31:59 +00:00
KATO Takenori 06b816a9d8 Sync with sys/i386/boot/biosboot/boot.c revision 1.60.2.2.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-04 10:24:23 +00:00
KATO Takenori 8683d822f8 Sync with sys/i386/boot/rawboot/Makefile revision 1.3.2.3.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-04 10:23:26 +00:00
Daniel O'Callaghan df05d108e3 PR: 4385, 5283
Reviewed by:	Alex Nash
Submitted by:	Peter Hawkins and Robert Eckardt
Merge from HEAD - fix --norecurse, document time formats, as CEST
1998-02-04 06:54:00 +00:00
Paul Traina 93ba63597f Fix the SB16's IRQ too, Jordan had just fixed the 8bit SB 1998-02-04 06:17:18 +00:00
Brian Somers 352827a8ea Merge from MP branch:
Correct magic number format string
1998-02-04 01:06:23 +00:00
Paul Traina ca13ea54b3 Change SB16's MIDI address to 0x330 like everything else (and match LINT).
PR:		5542
1998-02-03 20:23:20 +00:00
Philippe Charnier 443b7ee41b MFC: Typo and incorrect reference. 1998-02-03 07:37:45 +00:00
Daniel O'Callaghan f913a59011 Back out last commit. It needs more testing in -current. 1998-02-02 22:04:26 +00:00
John Hay cc64368d73 Make "make release" work again... I hope. 1998-02-02 17:37:05 +00:00
Wolfram Schneider 27516d4c8b Merge rev 1.23 1998-02-02 15:48:15 +00:00
Daniel O'Callaghan 84cb365772 Reviewed by: Archie Cobbs
Submitted by:	Alex Le Heux <[email protected]>
Add '-n' option to suppress command action.
1998-02-02 11:48:05 +00:00
KATO Takenori 9d9e357c5e MFC (revision 1.51).
Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-02-02 08:00:16 +00:00
Chris Timmons eaf1b7be8f PR: bin/5529
Submitted by: Shigio Yamaguchi <[email protected]>

MFC: Do not misinterpret file names with a digit in the 2nd column as
     a tab stop specification.
1998-02-02 07:18:41 +00:00
Brian Somers bb20c765b8 ${.OBJDIR}\osreldate.h -> ${.OBJDIR}/osreldate.h
This is not MSDOS :-)
1998-02-01 16:21:52 +00:00
Brian Somers 5b5cd0d201 ppp.secrect.sample -> ppp.secret.sample 1998-02-01 13:28:38 +00:00
KATO Takenori 129b306d00 Sync with sys/i386/conf/GENERIC revision 1.77.2.16.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-01 11:55:32 +00:00
KATO Takenori 6595512435 Sync with sys/i386/i386/userconfig.s revision 1.63.2.22.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-02-01 11:54:24 +00:00
KATO Takenori 23ce36f885 Sync with following changes:
Revision  Changes    Path
      1.26.2.16 +1 -4      src/sys/i386/conf/options.i386
      1.28.2.2  +204 -19   src/sys/i386/isa/mse.c
      1.182.2.29 +484 -48   src/sys/i386/isa/syscons.c

Reviewed by:	NOKUBI Hirotaka <[email protected]>
Submitted by:	Michio "Karl" Jinbo <[email protected]> and
             	Takahashi Yoshihiro <[email protected]>
1998-02-01 11:52:37 +00:00
Steve Price 453eff22bc MFC: all single character options are extensions to Posix.
PR:		4701
1998-02-01 07:36:15 +00:00
Steve Price 7bdfdec9c0 MFC: minor formatting nits
PR:		5373
1998-02-01 07:30:45 +00:00
Steve Price 4b30cf18ce MFC: minor formatting bugs.
PR:		5216
1998-02-01 07:25:19 +00:00
Steve Price a09226bba3 MFC: install osreldate.h from ${.OBJDIR}. 1998-02-01 07:18:38 +00:00
Steve Price b2e059338f MFC: typo fixes
PR:		5561
1998-02-01 07:14:00 +00:00
Steve Price cf3e1daa3d MFC: use -literal for a more pleasing list.
PR:		5547
1998-02-01 07:12:00 +00:00
Steve Price d17d950b3b MFC: spelling correction
PR:		5614
1998-02-01 07:05:02 +00:00
Paul Traina 01c7d0f68b Remove INTCVSROOT, it's obsolete. 1998-02-01 06:36:24 +00:00
Steve Price cb4d28ad2a MFC: ulimit doesn't have its own manpage.
PR:		5582
Submitted by:	Craig Leres <[email protected]>
1998-02-01 06:21:47 +00:00
Steve Price d3d40d6aae MFC: Don't try to install nonexistant etc/ppp/*.sample files.
PR:		5612
1998-02-01 06:10:09 +00:00
Steve Price c414bef8bb MFC: add msmith's prototypes for isa_dmastatus and isa_dmastop.
PR:		5613
1998-02-01 06:05:20 +00:00
Steve Price 7f7d250b5f MFC: type: PAT -> FAT
PR:		5593
1998-02-01 06:01:00 +00:00
Kazutaka YOKOTA a1e60e042a MFC: fix RAWBOOT; don't read boot.config' and boot.help'
if RAWBOOT is defined.
1998-02-01 05:28:36 +00:00
Jean-Marc Zucconi d7134afc47 MFC: optional arguments to the status command. 1998-02-01 04:55:49 +00:00
Garrett Wollman 141f4393fe MFC: allow an alternate named to be specified.
Revs: rc.conf 1.37, rc.network 1.15
1998-02-01 00:24:02 +00:00
David E. O'Brien 7800e53de7 MFC rev 1.269 1998-01-31 21:00:38 +00:00
Joerg Wunsch 3c353147a1 MFC: rev 1.14, switch UIDs so quotas will be honored. 1998-01-31 17:06:48 +00:00
Joerg Wunsch 1b909317e8 MFC: proc.c rev 1.7, err.c rev 1.6, csh.c rev 1.11.
Save errno (proc.c); security paranoia.
1998-01-31 17:06:15 +00:00
KATO Takenori 502d1984bf MFC (deleted unused file). 1998-01-31 11:41:17 +00:00
KATO Takenori bc0ea602a4 Sync with following changes:
Revision  Changes    Path
    1.77.2.15 +3 -2      src/sys/i386/conf/GENERIC
    1.9.4.1   +2 -1      src/sys/i386/conf/devices.i386
    1.141.2.17 +2 -1      src/sys/i386/conf/files.i386
    1.9.2.5   +3 -1      src/sys/i386/conf/majors.i386
    1.119.2.10 +2 -2      src/sys/i386/isa/wd.c

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-31 11:38:43 +00:00
KATO Takenori 1609559230 Sync with sys/i386/boot/netboot/ns8390.c revision 1.7.2.4.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-31 11:36:28 +00:00
KATO Takenori 870010a55d Sync with sys/i386/boot/netboot/main.c and netboot.h revisions
1.18.2.3 and 1.9.2.3, respectively.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-31 11:35:37 +00:00
KATO Takenori 324c6add0e MFC (delted unused files). 1998-01-31 11:33:35 +00:00
Tim Vanderhoek f173e370fa CFC (Copy From Current) 1998-01-31 02:58:18 +00:00
Kazutaka YOKOTA e9e5d16b88 MFC: Synchronize with ../biosboot/Makefile.
- Remove reference to the obsolete options: BOOT_PROBE_KEYBOARD,
  BOOT_PROBE_KEYBOARD_LOCK and BOOT_FORCE_COMCONSOLE.
- Add reference to BOOT_COMCONSOLE_SPEED.

No functional change is introduced in this merge.
1998-01-31 01:30:05 +00:00
Brian Somers 9234d22cc3 Mention things that'll break the spam filters.
Quote all comments to protect them from m4.
Change FreeBSD.ORG -> $m.
Make the spamsites.db lookup recursive.
Add `xlat' to xlat example.
1998-01-30 20:58:42 +00:00
Brian Somers 88aa7456e2 MFC: Use the new subclean target before building the crunch
stuff and define RELEASE_CRUNCH.
1998-01-30 20:54:27 +00:00
Brian Somers 1d935d7bc3 MFC: Support realclean and subclean targets
Use `/bin/pwd` instead of `pwd`.
1998-01-30 20:53:32 +00:00
John Hay bbe3b23726 MFC: Don't clobber pp_flags when PP_KEEPALIVE must be set. 1998-01-30 19:54:46 +00:00
Brian Somers 33a5a01f1b MFC: Bring in examples to compliment the current sources.
Remembered by:	Leif Neland <[email protected]>
1998-01-30 19:54:38 +00:00
Bill Fenner 26ccfeff7a Merge rev 1.68 from -current (more complete fix for "land" attack)
PR:		kern/5103
1998-01-30 19:13:55 +00:00
KATO Takenori 8c9d8ce4b8 Sync with sys/i386/conf/GENERIC.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-30 15:57:37 +00:00
KATO Takenori d8c231517a Sync with sys/i386/boot/biosboot/README.serail revision up to 1.5.2.2.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-30 15:56:07 +00:00
Kazutaka YOKOTA 0568ea0d2a YAMFC: update the keymap menu and built-in keymaps. 1998-01-30 11:02:33 +00:00
Kazutaka YOKOTA 33a5f2e68e YAMFC:
- Add new keymaps: Icelandic, Latin American, Polish and Slovenian.
- Define `debug' (CTL-ALT-ESC), `susp' (CTL-ALT-SPACE), NUL (CTL-SPACE)
  in all keymaps.
- Fix Japanese keymaps.
- Add keymaps with accent key definitions for French, Icelandic and
  Spanish keymaps (fr.iso.acc.kbd, icelandic.iso.acc.kbd, spanish.iso.acc.kbd)
- Update INDEX.keymaps for kbdmap(1).
- Update Makefile.
1998-01-30 10:57:30 +00:00
Kazutaka YOKOTA 8bd133c816 YAMFC: merge accent (dead) key support from -current: kbdcontrol.c (1.12,
1.23), lex.h (1.5), lex.l (1.6).
1998-01-30 10:49:07 +00:00
Kazutaka YOKOTA 09afa73f83 YAMFC: merge accent (dead) key support from -current: syscons.c (1.243, 1.244)
kbdtables.h (1.37, 1.38, 1.39) console.h (1.34)
1998-01-30 10:47:24 +00:00
Jordan K. Hubbard bfebe9e467 Add tx.4 to build list - whoops! 1998-01-30 00:42:50 +00:00
Paul Traina 268cf3d588 Merge with -current (ZIP changes) 1998-01-29 20:42:12 +00:00
Paul Traina dd38ad52d1 YAMFC: Remove obsolete block mapping code. 1998-01-29 19:05:55 +00:00
Andrey A. Chernov a892a02aed MFC: localization 1998-01-29 12:36:07 +00:00
David E. O'Brien dc84c70cb8 Remove useless test that I added. 1998-01-29 11:17:44 +00:00
David E. O'Brien befa68afd3 Change my $ldconfig_extra_libdirs to $ldconfig_paths to match the name
used in -CURRENT.  Note the semantics are still 2.2.x's in that /usr/compat,
/usr/local, and /usr/X11R6 are still in rc and not rc.conf.  (thus making
$ldconfig_paths entirely optional.

Bring in $clear_tmp_enable from -STABLE while I'm here.
1998-01-29 11:01:29 +00:00
David E. O'Brien de1d9be7d0 Adds new configuration variable "ldconfig_extra_libdirs", whose contents
is appended to _LDC.  Useful for Motif or a truly local dir tree.

(Tested on my 2.2.5-S box for a month.)
1998-01-29 10:50:22 +00:00
Jordan K. Hubbard a5e8bedc5a MFC: update to stable-165 version. 1998-01-29 10:28:03 +00:00
Jordan K. Hubbard 4707ded303 MFC: tx.4 man page. 1998-01-29 10:27:00 +00:00
Mike Smith b13951d29e Merge timeradd()/timersub() from current. This fixes the build issue with
ftp(1) and improves NetBSD/OpenBSD source compatability.
1998-01-29 03:14:20 +00:00
Brian Somers 5c6c3376c6 MFC: Talk about ongoing development. 1998-01-29 00:45:08 +00:00
Brian Somers 6c830cc7f9 Don't moan about not creating tunX.pid and ttyX.if if RELEASE_CRUNCH
is defined.
1998-01-29 00:44:15 +00:00
cvs2svn 05276d135a This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-01-29 00:42:53 +00:00
Brian Somers 140a9c19a0 MFC: Make it clear that aliasing is done on the public interface, not
the private one.
1998-01-29 00:41:21 +00:00
Jordan K. Hubbard 843724d3d0 MFC: better range checking to prevent attack. 1998-01-28 23:32:26 +00:00
John Polstra dec4b7aef6 Merge from main branch 1.11 -> 1.12: bug fix for "#pragma weak foo=bar". 1998-01-28 16:34:14 +00:00
Jordan K. Hubbard c8f119883f Since stringlist.h is now in this branch, it might be a good idea to mention
it in the Makefile. :-)
1998-01-28 13:35:09 +00:00
Jordan K. Hubbard dd29bd4fb0 MFC: Just set PATH once. 1998-01-28 04:05:26 +00:00
Mike Smith 2fa6f14da1 Merge ftp(1) updates from -current (command history, command/filename
completion, commandline fetching, etc.)
1998-01-28 02:27:59 +00:00
Mike Smith 0064e6b3b6 Add the stringlist functions. (the files were tagged back onto the 2.2
branch from -current)
Required for the new ftp(1)
1998-01-28 02:24:28 +00:00
Mike Smith cb916c1f38 MFC: Libedit updates from NetBSD, local fixes, etc.
Required by new ftp(1).
1998-01-28 02:13:13 +00:00
David E. O'Brien 65d6800f17 MFC, Y2k fixes. 1998-01-28 02:01:29 +00:00
David E. O'Brien 33a5d9d948 MFC. 1998-01-28 01:11:03 +00:00
Tor Egge 896f45b4ed MFC: Choose filesync write when writing a cluster.
PR:		3438
Reviewed by:	Ian Dowse <[email protected]>
1998-01-28 00:26:54 +00:00
Brian Somers b7b37d2099 MFC: Cosmetic copyright changes. 1998-01-27 23:16:24 +00:00
Jordan K. Hubbard 7da863dc25 MFC: set path explicitly. 1998-01-27 23:09:44 +00:00
Garrett Wollman 32e09a111e Merge Zaire/Congo changes from -current (needed for new timezone database). 1998-01-27 16:51:07 +00:00
Garrett Wollman 578a086c41 Merge 1997i release of timezone data from -current.
Requested by: markm
1998-01-27 16:49:28 +00:00
John Polstra 55e4da0b7d Merge from main branch: add ELF header files and fix a misspelled
identifier in brandelf.c.

Files merged from main branch:
    src/usr.bin/brandelf/brandelf.c	1.5  -> 1.6
    src/include/Makefile		1.55 -> 1.56
    src/sys/sys/imgact_elf.h		1.4  -> 1.5

Files added from main branch:
    src/include/elf.h			1.1
    src/sys/i386/include/elf.h		1.2
    src/sys/sys/elf32.h			1.2
1998-01-27 16:24:00 +00:00
Daniel O'Callaghan 4cc7a0f0c3 PR: 5573
Submitted by:	<[email protected]>
Add strncasecmp, strncmp to NAME section.
1998-01-27 07:07:07 +00:00
Jordan K. Hubbard 9bf57627ee MFC: bogus work-around. 1998-01-27 01:07:06 +00:00
Brian Somers 8f13751bcc Remove __libalias_version. ppp no longer needs it. 1998-01-26 21:58:00 +00:00
Brian Somers 7026d8da48 MFC: Bring the -current ppp into RELENG_2_2 1998-01-26 20:05:34 +00:00
Brian Somers 5f5939e751 MFC: Bring the -current pppctl into RELENG_2_2 1998-01-26 20:00:50 +00:00
Brian Somers 79dd6b9dc0 MFC: Move softc stuff into if_tunvar.h 1998-01-26 19:58:22 +00:00
cvs2svn ce41fbb4b9 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-01-26 06:26:42 +00:00
Alexander Langer 1830995bf9 MFC (rev 1.9): year 2000 fix. 1998-01-26 01:01:39 +00:00
Adam David 1248da34d4 -I/sys --> -I${.CURDIR}/../../sys
so this compiles under other versions such as 3.0.
Suggested by: bde
1998-01-25 18:23:42 +00:00
Kazutaka YOKOTA 420fee292a MFC: fix typo.
PR: docs/5562
1998-01-25 15:49:50 +00:00
KATO Takenori bdef1d1965 MFC: fix general protection fault by wrmsr. 1998-01-25 15:40:40 +00:00
KATO Takenori da9be79356 Sync with sys/i386/i386/userconfig.c revision 1.63.2.21.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-25 01:45:47 +00:00
KATO Takenori 493d6a0dec Sync with sys/i386/i386/machdep.c and trac.c revisions 1.209.2.17 and
1.83.2.5, respectively.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-25 01:44:42 +00:00
KATO Takenori df09afe043 Sync with sys/i386/isa/isa.c revision 1.74.2.5.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-25 01:42:53 +00:00
Wolfgang Helbig 15e3a583fd MFC: r1.4: Don't swap carriage return and new line in quoted mode. 1998-01-24 22:37:54 +00:00
Wolfgang Helbig 462fac9c68 MFC: Add -u to force unbuffered output. 1998-01-24 14:53:12 +00:00
Wolfgang Helbig 6486e9db80 Merge revision 1.3 from current.
PR:		5395
1998-01-24 14:30:01 +00:00
Wolfgang Helbig 143a8a7fe1 MFC: Ensure stdout is line buffered. "pat"->"re" in ed.1 . 1998-01-24 14:07:29 +00:00
Wolfgang Helbig c8a978d1f3 MFC: Don't ignore empty $PATH components. 1998-01-24 13:40:18 +00:00
Wolfgang Helbig 5bdb3c8b56 MFC: Add LC_TIME files. 1998-01-24 13:11:42 +00:00
Kazutaka YOKOTA c5ed7cd9fa YAMFC: add brief note on error message from the driver (v1.11). 1998-01-24 12:14:54 +00:00
Kazutaka YOKOTA 712d120ca9 YAMFC: small adjustment in sync check code (v1.50). 1998-01-24 12:13:13 +00:00
Jordan K. Hubbard 8512dd1f60 MFC: clean up ports 1998-01-24 07:31:20 +00:00
Jordan K. Hubbard 000de18dad DISTRIBUTION=bin 1998-01-23 20:36:09 +00:00
Jordan K. Hubbard 03db2997c3 MFC: Bring back docs, do better dist subselection. 1998-01-23 20:16:45 +00:00
Jordan K. Hubbard 0a88588e3e MFC: handbook and FAQ are back. 1998-01-23 20:12:37 +00:00
Jordan K. Hubbard b09d5dbb8f MFC: various descriptions of new things. 1998-01-23 07:49:23 +00:00
Jordan K. Hubbard 63308da72a MFC: reorder all target. 1998-01-22 21:30:01 +00:00
Jordan K. Hubbard 5e8f9ce585 Recognise ATAPI floppies. 1998-01-22 21:12:58 +00:00
Jordan K. Hubbard 796bd8bf6e Start catching up on what we've changed lately. 1998-01-22 18:01:48 +00:00
Thomas Gellekum e4a091227f MFC: Fix ``Integer overflow in expression''. 1998-01-22 08:05:55 +00:00
Andrey A. Chernov 6168b728f5 MFC: PATCH_INDEX_FIRST environment variable 1998-01-22 07:45:54 +00:00
KATO Takenori 45bf2f08fa MFC: revision 1.48 (added dealy). 1998-01-22 03:53:54 +00:00
Jordan K. Hubbard 8358267a40 MFC: Add entry for SMC 9432TX cards (tx driver). 1998-01-21 19:28:11 +00:00
Andrey A. Chernov d3c17c74e2 MFC: back out my -L change in favour of patch -I 1998-01-21 19:05:09 +00:00
Andrey A. Chernov 12d367dd29 MFC: -I, --index-first option to emulate FreeBSD hack 1998-01-21 19:01:54 +00:00
Jordan K. Hubbard 174689d853 Add entries for tx driver. 1998-01-21 18:41:45 +00:00
Jordan K. Hubbard a6c0065435 Add entry for tx driver. 1998-01-21 18:06:27 +00:00
Andrey A. Chernov d738bdb73a MFC: SCSI-SCSI RAID from Infotrand 1998-01-21 08:04:47 +00:00
Jordan K. Hubbard 963c4e4a4f MFC: Now that the drugs have worn off, revert this change. 1998-01-21 06:08:58 +00:00
Jordan K. Hubbard 5b259a5e08 Add pnpinfo to Makefile
PR:		5533
1998-01-21 06:03:59 +00:00
Warner Losh 3c56d9fa6d MFC: better quoting 1998-01-21 00:15:10 +00:00
Tor Egge b49116e407 MFC: Mark page as not free while zeroing it. 1998-01-20 12:47:33 +00:00
Kazutaka YOKOTA bbf0f0c73f - Update man pages for new mouse support merged from -current. 1998-01-20 04:01:31 +00:00
Kazutaka YOKOTA d693f65c2f - Merge new mouse support from -current. 1998-01-20 03:52:44 +00:00
Kazutaka YOKOTA 67a5262989 - Merge new mouse support from -current.
- Add compatibility support to the merged code in syscons and psm
  so that existing programs which use old console/mouse ioctls will
  run unmodified.
1998-01-20 03:51:30 +00:00
Jonathan M. Bresler d024026477 update hub's master configuraton file
limit sendmail to 500 messages per run
keeps the process from growing too large
sort the queue by host, not numeric priority
connecting to a host is too expensive,
once we got the connection, ram all the mail down his throat ;>
1998-01-20 01:48:12 +00:00
Tor Egge 3694001918 MFC: Don't drop legal bootp reply packets.
PR:		5512
1998-01-18 20:17:49 +00:00
Tor Egge 05108e5cb6 MFC: Remove unused init parameters, use ETHER_ADDR_LEN, not ETHER_ADDR_SIZE. 1998-01-18 20:15:25 +00:00
Tor Egge 561a7318e2 MFC: Increase the minimum size limit of bootp reply packet. 1998-01-18 20:10:22 +00:00
KATO Takenori 75609b5b87 Sync with sys/i386/i386/machdep.c and trap.c revisions 1.209.2.16 and
1.83.2.4, respectively.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-18 15:11:53 +00:00
KATO Takenori 215c2c6dda Sync with sys/i386/i386/machdep.c revision 1.209.2.15.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-17 15:59:42 +00:00
Jordan K. Hubbard 1f96f1b269 Fix bug I recently introduced with running install scripts. Whoops! :)
Submitted by: Kazuhiko Kiriyama(System administrator) <[email protected]>
1998-01-17 12:24:48 +00:00
Paul Traina cbd9fd89ef Install wfd.4 (which was also tagged into RELENG_2_2) 1998-01-17 05:16:59 +00:00
Paul Traina 829e66ff5f WFD v1.0 for RELENG_2_2 branch 1998-01-16 22:42:17 +00:00
Paul Traina 45517834bd Bring in v1.0 of Junichi's ATAPI floppy driver (LS-120 floppy support).
NOTE: The major device numbers have been changed to avoid conflicts with
      devices present in 2.2 and later kernel releases.
Submitted by:	[email protected]
1998-01-16 22:28:44 +00:00
cvs2svn c3cf4947ba This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-01-16 22:13:08 +00:00
Andrey A. Chernov 9873a7e9bc MFC: add -L option to diff 1998-01-16 06:05:08 +00:00
Jonathan M. Bresler 17e9468629 update hub.mc to match what we are currently using:
both /etc/aliases and /etc/majordomo.aliases
sendmail.cw is *not* optional
command and connection timeouts
common hoststat directory for all queues
add fakenames database
clean up spam filter rules
limit the number of message processed each queue run
dont need to check Vixie's RBL in both check_relay and check_mail

Submitted by:	jmb
1998-01-15 17:35:59 +00:00
KATO Takenori 82b04f8442 Sync with sys/i386/i386/machdep.c and trap.c revisions 1.209.2.14 and
1.83.2.3, respectively.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-15 11:09:40 +00:00
Wolfgang Helbig a89b5cb8ab MFC: r1.5 -> r1.6 (Handle -j correctly, synch usage() with man page)
PR:	bin/5488
1998-01-15 10:28:43 +00:00
KATO Takenori 5ca8318b57 MFC: revision 1.30 (I/O port address of ed8). 1998-01-15 08:17:56 +00:00
KATO Takenori 639b6fc0a5 MFC: revision 1.29 1998-01-15 08:15:01 +00:00
Jordan K. Hubbard 536ad3ea79 MFC: Add ppp back to GENERIC. 1998-01-14 15:25:12 +00:00
Thomas Gellekum 88c370dffa Remove more ``...using script...'' lines. 1998-01-14 14:11:16 +00:00
KATO Takenori 897ba78098 MFC: revision 1.21 (fix typo). 1998-01-14 08:10:49 +00:00
Alexander Langer 7ec8fc48b0 Removed extraneous script output added by previous commit. 1998-01-14 03:01:10 +00:00
KATO Takenori c749bd6e74 Sync with sys/i386/isa/syscons. revision 1.182.2.28.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-12 15:44:06 +00:00
KATO Takenori 894ec265c9 MFC (initialize Crtat and Atrat in scvidprobe).
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-12 15:36:28 +00:00
David E. O'Brien cb6efea151 MFC. 1998-01-12 09:58:46 +00:00
David E. O'Brien c46c60d264 Turn on minigzip. 1998-01-12 09:58:27 +00:00
David E. O'Brien 42688aef00 Used Peters suggestion of "cvs update -A -p foo > foo".
Problem is my cvs wrapper isn't quiet.  Thus the spam.
1998-01-12 06:21:25 +00:00
David E. O'Brien 063a5bd12c Adding libcalendar. 1998-01-12 05:35:28 +00:00
David E. O'Brien 9cd69ea883 MFC. 1998-01-12 05:11:22 +00:00
David E. O'Brien 911bc45f47 Add c89 and ncal. 1998-01-12 05:08:47 +00:00
cvs2svn 1778c9bd2c This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1998-01-12 05:02:58 +00:00
Steve Price 358eeff570 MFC: reword synopsis line. 1998-01-12 00:49:26 +00:00
Andrey A. Chernov 9981b91cc4 Back out rev1.5 change, Index: precedence restored to historycal behaviour 1998-01-11 20:45:30 +00:00
Alexander Langer 53616a70c3 Update prototype for pthread_detach.
Pointed out by:	David E. Cross <[email protected]>
1998-01-11 15:54:24 +00:00
KATO Takenori 1557704800 Sync with sys/i386/conf/options.i386 revision 1.26.2.15. 1998-01-11 12:49:20 +00:00
KATO Takenori b161c7ad27 Sync with sys/i386/conf/files.i386 revision 1.141.2.16. 1998-01-11 12:45:37 +00:00
Bruce Evans 338b26306d YAMFC (refer to the boot block options that are actually supported).
Submitted by:	yokota
1998-01-11 02:45:16 +00:00
Bruce Evans 3f4ca2de5c Unmerged from -current. Don't refer to sio flags that don't exist in 2.2.
Submitted by:	yokota
1998-01-11 02:35:28 +00:00
John Polstra 296c601b45 Sync with main branch. 1998-01-10 20:46:17 +00:00
John Polstra 99429694a4 Merge from main branch 1.2 -> 1.3: fix backtracing for application
programs in the absence of full debugging symbols.

Bruce has put a better fix for this into -current, but it is too new
to merge into -2.2 yet.
1998-01-10 20:35:10 +00:00
Steve Price 70ebb9cb36 MFC: add some braces so that /etc/wall_cmos_clock is created.
PR:		5473
Submitted by:	MIHIRA Yoshiro <[email protected]>
1998-01-10 15:56:55 +00:00
KATO Takenori ae1acdba2e - pnp.h: MFC (NEC PC-98 support, revision 1.6)
- pnp.c: include pc98.h instead of isa.h if PC98 is defined.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1998-01-10 15:13:12 +00:00
Steve Price 95644767c5 MFC: use manpath(1) to find the value of ${MANPATH}.
PR:		5365
Submitted by:	Ruslan Shevchenko <[email protected]>
1998-01-10 00:06:55 +00:00
Steve Price cbcb11e08e MFC: fix option description anomaly.
PR:		4569
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-09 18:51:35 +00:00
Jordan K. Hubbard 57143f3c8d Be more paranoid about removing relative paths. 1998-01-09 14:51:53 +00:00
Jordan K. Hubbard c2e8cf81ac MFC: sh -c for install script. 1998-01-09 14:47:05 +00:00
Joerg Wunsch ff9e61eb57 MFC: rev 1.22, move the EP_ID_PORT out to 0x110. 1998-01-09 09:14:41 +00:00
Joerg Wunsch 91bc3a3e31 MFC: rev 1.13, use the correct counter for calling swab(3). 1998-01-09 09:13:06 +00:00
Alexander Langer afb082a415 MFC (revs 1.3 and 1.4): change the prototype and return values to
conform with POSIX.
1998-01-09 00:22:45 +00:00
Jordan K. Hubbard a2ab4bb2bf MFC: man pages for pnp I forgot on first pass. 1998-01-08 19:04:39 +00:00
Joerg Wunsch b6d90f2b77 MFC: rev 1.8, make the documentation of the link[0-2] flags match the
driver soruce code.
1998-01-08 17:11:07 +00:00
Jordan K. Hubbard b1bb0c441f MFC: add controller pnp example. 1998-01-08 12:36:07 +00:00
Jordan K. Hubbard da29049ba5 MFC: support for pnp 1998-01-08 12:34:02 +00:00
Jordan K. Hubbard 2e33d44c0f MFC: pnp support. 1998-01-08 12:33:37 +00:00
Jordan K. Hubbard 5bdcd310f6 MFC: new pnp support, sound bugfix to isa.c. 1998-01-08 12:32:32 +00:00
Jordan K. Hubbard 11f3f3cd20 MFC: pnp support. Seems to work according to all testers, and this will
make merging the new audio code (at some point) that much easier.
1998-01-08 12:30:29 +00:00
David E. O'Brien b9f60d10a1 MFC rev 1.10. 1998-01-07 10:44:20 +00:00
KATO Takenori f4b4eb47c5 MFC (revision 1.68). 1998-01-07 09:05:00 +00:00
Alexander Langer 889a50a45f Removed listing/showing individual rules from usage (it's not supported). 1998-01-07 02:27:32 +00:00
Steve Price 4b6a53f316 Revert previous commit and instead SEE ALSO yp(4). 1998-01-07 00:55:01 +00:00
Warner Losh 414209db7c MFC: handle long dns names. 1998-01-07 00:30:31 +00:00
Warner Losh e7bcf2a04f MFC: wait and exec failure changes 1998-01-07 00:06:28 +00:00
KATO Takenori b20df097d3 Sync with sys/i386/conf/options.i386 revision 1.26.2.14.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-06 13:53:31 +00:00
KATO Takenori 0ff36d7151 Sync with sys/i386/isa/syscons.c and syscons.h revisions 1.182.2.25
and 1.23.2.6, respectively.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-06 13:52:33 +00:00
Alexander Langer a79ee00664 MFC (rev 1.50): error handling for zero/delete operations. 1998-01-06 00:17:55 +00:00
Jonathan M. Bresler c84580aaa0 length argument to truncate() in linux emulation
was not being set copied to the bsd arguments..
        frequently, resulting in files of over 100MB of NULs

Reviewed by:		jmb
Submitted by:		(Richard Winkel) [email protected]
1998-01-05 04:03:42 +00:00
James Raynard 2fb24b4b1d Merge from version 1.7 of current. Cleanup. 1998-01-05 00:20:52 +00:00
Alexander Langer b07160254c MFC (rev 1.70): missing parens. 1998-01-05 00:14:54 +00:00
James Raynard 2340fc3916 Merge from version 1.5 of current.
Fix bit-twiddling in sigismember(3).

Note this ONLY affects the function version - the macro version is always
used unless for some reason you put #undef sigismember in your code before
calling it.

PR:		3615
Submitted by:	Nanbor Wang <[email protected]> (slightly amended patch)
1998-01-05 00:11:29 +00:00
Alexander Langer 3c28dfbe95 MFC (rev 1.69): ICMP type fix. 1998-01-05 00:11:16 +00:00
James Raynard a4b302f726 Merge from version 1.13 in current.
Balance parentheses around command abbreviations.

PR:	4888
Submitted by:	[email protected]
1998-01-05 00:02:15 +00:00
James Raynard cf2a1052b7 Merge in typo fixes from version 1.3 of current. 1998-01-04 23:53:11 +00:00
Brian Somers d5cbe77c9e MFC: Don't scribble on the stack if a packet is bigger than our MRU.
PR:		5424
1998-01-04 20:33:14 +00:00
Wolfram Schneider 4b8a4c48f5 Update copyright to 1998. 1998-01-04 18:00:53 +00:00
Steve Price ba41a82208 MFC: use of /etc/ethers has been deprecated.
PR:		5233
Obtained from:	partially NetBSD
1998-01-04 17:37:35 +00:00
Steve Price 5ed04b4e84 Don't use __BEGIN_DECLS, __END_DECLS, or __P in the KERNEL case
as they are not defined unless <sys/cdefs.h> is included.
1998-01-04 16:02:53 +00:00
KATO Takenori fbdaac74be Sync with sys/i386/isa/if_ed.c revision 1.107.2.6.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-04 09:54:13 +00:00
KATO Takenori 342a6fb1bf Sync with sys/i386/isa/sio.c revision 1.147.2.10.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-04 09:53:20 +00:00
KATO Takenori e497d697fa Sync with sys/i386/conf/options.i386 revision 1.26.2.13.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-04 09:52:29 +00:00
KATO Takenori 5a667a4b35 Sync with sys/i386/isa/syscons.c and syscons.h revisions 1.182.2.27
and 1.23.2.8, respectively.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-04 09:51:33 +00:00
Steve Price 0cc0babb77 MFC: merge changes that quiet lint about the ntoh* and hton* routines.
PR:		1717
1998-01-04 04:26:38 +00:00
Andrey A. Chernov 1255258cfc MFC: ctype and Index over +++/--- precedence 1998-01-03 23:52:05 +00:00
Steve Price 1da671d87c MFC: newsyslog(8) maintains (u|w)tmp files.
PR:		5414
1998-01-03 20:32:46 +00:00
Steve Price 8ea94cce42 MFC: The default dumplevel is 0.
PR:		5413
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-03 20:28:13 +00:00
Steve Price cf15fe8d40 MFC: typo fix: when -> with
PR:		5420
Submitted by:	Jonathan Hanna <[email protected]>
1998-01-03 19:16:40 +00:00
Brian Somers 23949b6ee8 MFC: Correct -r and -f descriptions.
Suggested by: joerg
1998-01-03 10:12:33 +00:00
David E. O'Brien bb530930d9 Merge rev 1.36 of identcpu.c from -CURRENT. Modivation is the new AMD info.
Also required merging rev 1.16 of asmacros.h and rev 1.15 of cdefs.h.
1998-01-03 08:51:53 +00:00
KATO Takenori ae953937e1 Change from crd into card.
Submitted by:	NOKUBI Hirotaka <[email protected]>
1998-01-03 05:53:12 +00:00
KATO Takenori 3e83eef908 MFC: revision 1.11 (fix typo). 1998-01-03 05:38:03 +00:00
John Polstra 8c0eb26b8f Merge from main branch 1.35 -> 1.36: accept comments and blank
lines.
1998-01-03 05:37:49 +00:00
John Polstra 1121b712c5 Merge from main branch 1.47 -> 1.48: accept comments and blank
lines.
1998-01-03 05:21:50 +00:00
Steve Price 01aa757517 MFC: correct a bogon in an example.
PR:		5415
Submitted by:	Sergei S. Laskavy <[email protected]>
1998-01-02 19:25:11 +00:00
Joerg Wunsch 28801d8a51 MFC: rev 1.33, clean SI_MOUNTEDON flag iff the mount attempt fails early. 1998-01-02 16:46:15 +00:00
Steve Price e3ef61e87f Remove the *group* files, since tclsh is no longer present
on this branch, and they have effectively been replaced by
pw(8).

PR:		5405
Reviewed by:	jkh
1998-01-02 13:35:52 +00:00
Satoshi Asami eb34b52a3a Merge 1.268. 1998-01-02 10:38:06 +00:00
Andrey A. Chernov 9df87923d9 MFC: testing code removed 1998-01-02 05:06:24 +00:00
Andrey A. Chernov 3c85ff2d98 MFC: insdel in last windows line fix 1998-01-02 04:39:38 +00:00
Paul Traina 5df5c35e86 Bring in print-fr.c 1997-12-31 21:51:55 +00:00
David E. O'Brien 98b9422ae3 MFC rev 1.390. 1997-12-31 21:47:28 +00:00
Paul Traina 4fa918711d Handle ISO over frame relay properly.
Submitted by:	Pasvorn Boonmark <[email protected]>
1997-12-31 21:45:54 +00:00
Paul Traina 54a6feacd2 Properly decode upper layer ethernet and llc info.
Submitted by:	Fong-Ching Liaw <[email protected]>
1997-12-31 21:44:58 +00:00
Paul Traina 41c637f831 Fix incorrect packet truncation error.
Submitted by:	Tom Pusateri <[email protected]>
1997-12-31 21:43:16 +00:00
Alexander Langer 6b6bd4ea62 MFC (rev 1.6): Added missing #include <unistd.h> to synopsis.
PR:		5303
Submitted by:	David Malone <[email protected]>
1997-12-31 05:27:23 +00:00
Nate Williams 0050bff193 MFC: - Accept all models of the HP C1553A tape series as usable tapes. 1997-12-30 22:27:58 +00:00
Wolfram Schneider b0025d0931 MFC: add FreeBSD 2.2.[126], OpenBSD 2.[123] 1997-12-30 19:13:10 +00:00
Warner Losh 9c0558a269 MFC: drop privs... 1997-12-30 05:15:13 +00:00
Brian Somers a9cd70d9f7 MFC: Make the super scsi device available (/dev/ssc). 1997-12-30 03:46:58 +00:00
KATO Takenori 0e480efce6 Set DTR when divisor != 0 for compatibility with 16450. Some programs
set divisor = 0 to clear DTR and set divisor = non-zero to reenable
DTR (e.g. mgetty).  So, such program did not work with 1st CCU of PC98
(i8253 based).  This fix has been already commited in current
(revision 1.46), but I forgot it and did not describe in commit log.

Submitted by:	NOKUBI Hirotaka <[email protected]>
1997-12-30 02:54:57 +00:00
Wolfram Schneider 1bdb0c08ee MFC: gzip.c rev 1.8 Check argument filename length before copying.
inflate.c rev 1.7 Fix NULL pointer reference.
1997-12-29 23:29:14 +00:00
Wolfram Schneider 22349a8ca5 MFC rev 1.38 store uid_start in /etc/adduser.conf 1997-12-29 23:27:29 +00:00
cvs2svn 5b7c438d0f This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-12-29 21:07:11 +00:00
Jordan K. Hubbard 2934376fd7 MFC: gateway -> gateway_enable 1997-12-29 20:07:36 +00:00
Masafumi Max NAKANE 387e3f62d1 MFC: typo fix. 1997-12-29 13:59:44 +00:00
Philippe Charnier 8ce877ea7d MFC: Add const to copyright string. Hide sccsid string. 1997-12-29 07:09:39 +00:00
Philippe Charnier 9cf455aaa5 MFC: Convert to mdoc. 1997-12-29 07:08:36 +00:00
Philippe Charnier 3623a71d8b MFC: Add missing .Ar. 1997-12-29 07:07:33 +00:00
Philippe Charnier 8c801b6376 MFC: Correct a path. 1997-12-29 07:05:38 +00:00
Steve Price aa4bb97695 MFC: Add davidn's support for %s, %m, %r, and %v from revision 1.8.
PR:		5390
Verified by:	Alex Bulan <[email protected]>
1997-12-28 22:19:54 +00:00
Steve Price 35d97a9e61 MFC: Bruce Evans' fixes to make bcopy.S support the generation of
both memmove and memcpy.  Also tag the memcpy.S stub onto this
     branch.
1997-12-28 20:01:13 +00:00
Steve Price 27493a5edc MFC: Bruce Evans' sqrt -> __ieee754_sqrt changes. 1997-12-28 19:48:45 +00:00
Steve Price 0a2165b40c MFC: gamma -> gammaf fix from Bruce Evans. 1997-12-28 19:47:15 +00:00
Steve Price 2cf5dd837d MFC: Hide the declaration of `struct exception' from C++, since it
conflicts with the standard C++ `class exception'.
1997-12-28 19:45:49 +00:00
Steve Price abbb1c1afe MFC: Bruce's fix to remove a hard reference to DEFS.h 1997-12-28 19:41:36 +00:00
Alexander Langer 46b4f2e7b0 MFC (rev 1.67): restore commented out logging. 1997-12-28 16:49:37 +00:00
Jordan K. Hubbard d3e34dbb59 Adjust SBC_IRQ to 5.
PR:		5384
Submitted by:	<[email protected]>
1997-12-28 00:30:53 +00:00
Jordan K. Hubbard 56741a081d Adjust sb0 IRQ to 5 from 7 (as was already done in -current) and update
comments to match.
PR:		5384
Submitted by:	<[email protected]>
1997-12-28 00:29:50 +00:00
Satoshi Asami 879fd82504 Add 1 to RELDATE to mark the "ldconfig -R" merge. 1997-12-27 10:42:58 +00:00
Jordan K. Hubbard 0c2177ea58 MFC: mention FTP_PASSIVE_MODE 1997-12-27 05:37:13 +00:00
Tim Vanderhoek 6440ac243f YACC: fork() checks RLIMIT_NPROC, not RLIMIT_NOFILE.
pr:		docs/5260
submitted-par:	Niall Smart [3][email protected]
1997-12-26 16:23:22 +00:00
Tim Vanderhoek a2090eb847 MFC: comment fix
PR:		bin/5188
1997-12-26 05:35:08 +00:00
Tim Vanderhoek ed1f57f9a0 Use consistent spelling,
writeable -> writable (recall prior debate over this? :-)
	initialise -> initialize
	recognise -> recognize

Merry Christmas! :)
1997-12-25 09:36:42 +00:00
Jordan K. Hubbard 7f8ac6aa1a MFC: -R support for ports collection. 1997-12-25 07:57:43 +00:00
Warner Losh 493e5a5a8f MFC:sprintf->snprintf 1997-12-24 19:23:18 +00:00
Warner Losh 84cc83712b MFC:sprintf->snprintf 1997-12-24 19:13:49 +00:00
Warner Losh 963ea596a7 MFC:sprintf->snprintf 1997-12-24 18:58:07 +00:00
Jordan K. Hubbard f574fdf66c /etc/sysconfig -> /etc/rc.conf
Submitted by:	chein
1997-12-23 21:05:55 +00:00
Philippe Charnier 02e2d6b705 MFC: Remove obsolete /etc/hostname.ep? reference.
PR:	kern/5310
Submitted by:	[email protected]
1997-12-23 07:28:34 +00:00
Philippe Charnier 69f6c35e6a MFC: Use .Tn, .Bx Free and .An. 1997-12-23 07:26:55 +00:00
Philippe Charnier 7fdca09f79 MFC: Use .Nm ktrace instead of .Nm in SYNOPSIS section. 1997-12-23 07:25:07 +00:00
Philippe Charnier a8ab6074bb MFC: Mdoc'ify man page. 1997-12-23 07:20:16 +00:00
Philippe Charnier 3e6d9e9e9c MFC: Use err(3). Silent -Wall. 1997-12-23 07:18:29 +00:00
Philippe Charnier be40226a6b MFC: Use Pa for files and Ar for arguments. 1997-12-23 07:15:39 +00:00
Masafumi Max NAKANE 44da6e4afd MFC: typo fix. 1997-12-21 15:41:56 +00:00
James Raynard b8280542c5 Merge revision 1.4 from head (a number of keyboard fixes).
Requested by:	Goris Davy <[email protected]>
1997-12-20 22:40:58 +00:00
Peter Wemm cc2377eb0e Merge rev 1.8 and 1.9 from HEAD (fix ipv6 official names and add SKIP
names)
1997-12-20 12:45:39 +00:00
Peter Wemm 1ee6e2823d Somewhere between 2.2.2 and 2.2.5, somebody screwed the RELENG_2_2 tag
on the protocols file.  Restore the tag and correctly merge the changes up
to rev 1.7, as was RELENG_2_2 was incorrectly set at.
1997-12-20 12:41:33 +00:00
Julian Elischer 7f8b578479 Add a link to allow the ja_JP_SJIS locale to have the default
collation capabilities.

Submitted by:	Nobuhiro Yasutomi <[email protected]>
Obtained from: current
1997-12-19 23:10:04 +00:00
Julian Elischer 0292124f79 MFC: Bring in japanese EUC encoded time definitions
Submitted by:	Nobuhiro Yasutomi <[email protected]>
1997-12-19 22:50:44 +00:00
cvs2svn 17536ff55d This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-12-19 22:46:24 +00:00
Philippe Charnier bb602b4be5 MFC: Use full path in synopsis. Sort #includes. Use .Tn for NIS. 1997-12-19 07:35:35 +00:00
Philippe Charnier 47332048c3 MFC: Use err(3). Remove trailing \n in syslog strings. -Wall cleaning. 1997-12-19 07:33:33 +00:00
Julian Elischer b26150537d Obtained from: Whistle production tree
MFC:
Fix horrendous kernel stack overwrite bug
when ipwf was used to implement the ""reset tcp" firewall command.
Add a comment in the tcp code to stop others ever making the
same mistake.
1997-12-19 03:50:49 +00:00
David Greenman 84588e0912 MFC rev 1.36: splnet was not released in an error condition in
tcp_usr_send().
1997-12-18 09:52:01 +00:00
David Greenman 261835d9a8 MFC: call in_pcballoc() at splnet. 1997-12-18 09:42:41 +00:00
Philippe Charnier 34519663c2 MFC: Use err(3). Add prototypes. Document that startup scripts are rc.i386 and
rc.conf (enable/disable) not rc.local. Use full pathname in SYNOPSIS section.
1997-12-18 07:37:47 +00:00
Philippe Charnier 54fd837c68 MFC: Sort #includes. Add rcsid. Use full pathname in SYNOPSIS section. 1997-12-18 07:32:42 +00:00
Philippe Charnier 1b19c67bf4 MFC: Use full path in synopsis. Syslog will add trailing \n. 1997-12-18 07:31:37 +00:00
Philippe Charnier 389d195aaa MFC: Use err(3). Add protos for -Wall. 1997-12-18 07:30:11 +00:00
Philippe Charnier 5dfadf47d3 MFC: No \n in syslog() strings. Add man page to Xrefs.
Change null byte to NUL byte.
1997-12-18 07:18:13 +00:00
Philippe Charnier 16460baaf0 MFC: Do not terminate syslog() messages with a dot. 1997-12-17 07:38:17 +00:00
Philippe Charnier a216f0308a MFC: Document -n flag. Use err(3). Add usage. Add syslog capability. 1997-12-17 07:36:28 +00:00
Philippe Charnier a5229afc6c MFC: Use err(3). -Wall cleaning. cosmetics in man page. 1997-12-17 07:34:42 +00:00
Philippe Charnier cc2ab1e13c MFC: Remove \n at end of syslog string. -Wall cleaning. Cosmetics in man page. 1997-12-17 07:33:09 +00:00
Philippe Charnier 1d909eeabd MFC: Cosmetics in man page. Add rcsid and sort #includes. 1997-12-17 07:31:28 +00:00
Paul Traina 1c0a002bf3 Merge from -current 1997-12-17 01:57:57 +00:00
David Greenman c976e350fb Brought in fix from rev 1.70: don't accidently free() struct buf's. 1997-12-16 15:47:03 +00:00
KATO Takenori db6b0d3582 MFC (revision 1.66; fix for EPSON PC-486HX/HG/HA). 1997-12-16 10:34:02 +00:00
Philippe Charnier 1494cae800 MFc: Sort #includes. Add rcsid. Add man page section in .Xrefs. 1997-12-16 07:23:41 +00:00
Philippe Charnier 0e1cf8e36c MFC: Use err(3). -Wall cleaning. Use Pa for file names and add section in Xrefs. 1997-12-16 07:22:08 +00:00
Philippe Charnier 1daf575af6 MFC: Use warn(3). Hardcode progname instead of using argv[0]. Use Pa for file
name.
1997-12-16 07:20:19 +00:00
Philippe Charnier b6b4607cdd MFC: Add usage(), rcsids. 1997-12-16 07:17:53 +00:00
Mike Smith 3c9c967631 Whoops, add 'retval' arg to new console ioctls.
Submitted by:	jkh
1997-12-15 21:36:41 +00:00
Philippe Charnier 2de0667d03 MFC: Cosmetics in usage() and man page. 1997-12-15 07:16:19 +00:00
Philippe Charnier 2a8d6e5d91 MFC: Key is 8 bytes not 10 as stated in man page. Add rcsid. 1997-12-15 07:13:46 +00:00
Philippe Charnier 55ed0029f6 MFC: Use err(3) instead of local redefinition. Add usage. -Wall cleaning. 1997-12-15 07:11:54 +00:00
Philippe Charnier 1a92ca98f2 MFC: Correct incompletes .Xrs. Remove duplicate #includes and unused variables. 1997-12-15 07:10:54 +00:00
Philippe Charnier c9e5fc7b7a MFC: Use err(3). -Wall cleaning. 1997-12-15 07:09:41 +00:00
Mike Smith 9520c6e4b8 MFC: emulation of Linux keyboard ioctls and vt operations.
Submitted by:	Amancio Hasty <[email protected]>
1997-12-15 06:11:34 +00:00
Mike Smith 97adcdaa3f MFS: fixes to avoid trampling sa_len fields in the presence of MSG_COMPAT
with COMPAT_OLDSOCK defined  (ie. COMPAT_43 in kernel config).
Submitted by:	[email protected] (Pierre Beyssac)
1997-12-15 02:24:08 +00:00
Mike Smith 0ab2e4b338 Functional merge from current; as described by the contributor:
- emulate Linux IP_HDRINCL behaviour in sendto(): byte order fixed
	  Note that we do an extra getsockopt() on every sendto()
	  to check if the option is set because we don't keep state
	  in the emulator code. Is there a better way to implement
	  this?
	- correct a bug (value of "name" not passed) with
	  getsockopt() (see last hunk)
1997-12-15 02:10:38 +00:00
Jordan K. Hubbard 1280baf755 MFC: PR#5289 1997-12-14 12:31:13 +00:00
Sean Eric Fagan 95778a3035 MFC: use $TMPDIR if set. 1997-12-13 18:21:05 +00:00
Daniel O'Callaghan 3a397712e4 Submitted by: Peter Hawkins <[email protected]>
Spelling police.
1997-12-13 06:34:47 +00:00
Satoshi Asami 85e35a4756 Add ports-biology. 1997-12-13 05:59:44 +00:00
Philippe Charnier d55e3d33f5 MFC: Cosmetics in man page. Exit(-1) -> exit(1). 1997-12-12 07:20:40 +00:00
Philippe Charnier f0195efdc4 MFC: Add const to copyright string. Put sccsid under #if 0/#endif control. 1997-12-12 07:18:21 +00:00
Philippe Charnier 411b24a0d0 MFC: Use err(3). exit(-1) -> exit(1). 1997-12-12 07:16:56 +00:00
Philippe Charnier 94fc0783ff MFC: Cosmetic in error strings. Sort Xrefs. Add usage (with syslog capability). 1997-12-12 07:15:37 +00:00
Bruce Evans ad1f72b440 Fixed printing of and comparison with d_typename[]. It is not always
null terminated.
1997-12-11 09:32:35 +00:00
Bruce Evans 8a9d9e56be Changed lots of %ld's in format strings back to %d. %ld was right
when daddr_t was long, but Lite2 changed daddr_t to int32_t which
is implemented as `int' on i386's.
1997-12-11 09:17:20 +00:00
Bruce Evans 21653cb97c YAMFC (fixed large offsets in the scan for bad sectors). 1997-12-11 07:32:25 +00:00
Wolfram Schneider 04538516ac MFC 1997-12-09 22:59:32 +00:00
Steve Price 29d321b5ab Revert the hard reference removal commits, since they don't seem
to work for anybody but me.
1997-12-09 14:43:22 +00:00
Daniel O'Callaghan 97aa7e5221 Back out last commit for dmesg.boot 1997-12-09 10:05:04 +00:00
Daniel O'Callaghan d103000886 Make rc record dmesg in /var/log/dmesg.boot 1997-12-09 07:24:35 +00:00
Wolfram Schneider 8cb72df8aa Merge rev 1.6: fix whitespaces in pattern
PR: 5211
1997-12-08 19:27:41 +00:00
Steve Price 2e7f80b849 Merge Bruce Evans' fix to get rid of a hard reference to
/usr/src/lib/libc/i386/DEFS.h.

PR:		2813
Reviewed by:	alex
1997-12-08 01:08:02 +00:00
Brian Somers 664f264f9b MFC: Const correctness for dl*().
PR:		5243
1997-12-07 04:26:46 +00:00
Brian Somers 19a29d88c2 MFC: Const correctness for dl*(). The link.h polution
should probably be fixed here too.
PR:		5243
1997-12-07 04:26:24 +00:00
Stefan Eßer da9c90fd01 Merge from -current: Define START_MAX as 32, independent of the default
number of tags of tags. This fixes incompatibilities between the GENERIC
kernel and ncrcontrol.
PR:		kern/5133
1997-12-07 00:19:51 +00:00
John-Mark Gurney 65c974e762 MFC: document NO_F00F_HACK, make it a proper option, and sort opt headers.. 1997-12-05 07:26:39 +00:00
Jordan K. Hubbard e64853e80b MFC: F00F cleanup. 1997-12-04 14:36:57 +00:00
KATO Takenori d7d1e6403f MFC: revision 1.20 (Use the `port' instead of hard coded address). 1997-12-04 13:18:38 +00:00
Warner Losh eb6ffe6ef7 MFC: EOF -> -1 for getopt 1997-12-04 08:04:33 +00:00
Warner Losh a564378015 MFC: EOF -> -1 for getopt 1997-12-04 07:36:22 +00:00
Warner Losh 49ce1aca5f MFC: buffer overflow fix 1997-12-04 02:56:45 +00:00
Sean Eric Fagan 0810d179fa MFC -- F00f cleanups. 1997-12-03 16:30:12 +00:00
Warner Losh 524909f177 MFC: EOF -> -1 in comparison of return value from getopt 1997-12-03 05:48:12 +00:00
Warner Losh 46ab13df54 MFC: EOF -> -1 in comparison of return value from getopt 1997-12-03 05:40:08 +00:00
Sean Eric Fagan e37b880bd5 MFC -- Intel Pentium F00F bug workaround. Note that I forgot the
reviewer credit in the current log message; also credit to Cy Schubert
<[email protected]> for cleaning up my initial patches.

Reviewed by:	Stephen McKay <[email protected]>
1997-12-03 02:48:35 +00:00
John Dyson 340c11ee28 Add definition of MS_SYNC for compatibility. 1997-12-02 21:31:32 +00:00
Daniel O'Callaghan 83a9cfa09d Submitted by: bde
Merge Bruce's fix for PR bin/5172 from HEAD
1997-12-02 09:57:38 +00:00
David E. O'Brien 01f8b8aa1c Remove useless double test. 1997-12-01 06:06:35 +00:00
Steve Price f2246e8db9 MFC: Add mount_devfs(8) to the SEE ALSO section.
PR:		5125
1997-12-01 00:47:09 +00:00
Steve Price a0d6c372fa MFC: Use the manpath.[ch] files from the manpath directory. 1997-11-30 20:17:09 +00:00
Steve Price 6654ca29e9 MFC: remove this copy of manpath.c and use the other in ../man.
Suggested by:	Bruce Evans
1997-11-30 17:25:23 +00:00
David E. O'Brien e8ebe2308b Remove my `ulimit' hack -- latest changes to /etc/login.conf fixed the
problem with mfs filesystems listed in /etc/fstab.
1997-11-30 01:33:22 +00:00
Steve Price a08697a4c3 MFC: call gripe_reading_mp_config with the required args.
PR:		3894
Submitted by:	Stephen Clawson <[email protected]>
1997-11-30 01:10:14 +00:00
KATO Takenori 6284b48915 MFC (recognize 3C569 NIC on PC98; revision 1.68). 1997-11-29 14:41:48 +00:00
Peter Wemm 52083bfec0 MFC: s/geteid/geteuid/ - finger slippage between testing and commit. 1997-11-29 11:40:48 +00:00
Peter Wemm dd18481e46 MFC: hack workaround to avoid breakage by recently added calls to
issetugid().  -stable's libtermcap.so.2.1 and -current's bogus
libtermcap.so.3.0 are now pretty much identical. Sigh...  It's a shame
we can't revert the -current major number bump.
1997-11-29 11:33:37 +00:00
Steve Price 2ba8043a8d Finish the work of changing NCRD to NCARD.
PR:		5163
Submitted by:	NAGAO Takaaki <[email protected]>
1997-11-29 04:45:41 +00:00
Steve Price 99fb2d6dd1 MFC: datasize-curr -> datasize-cur, typo fix.
PR:		5152
Submitted by:	[email protected]
1997-11-27 17:55:27 +00:00
Joerg Wunsch f88d4eeedf MFC: rev 1.151, remove extraneous ".kbd" 1997-11-26 22:50:30 +00:00
Jordan K. Hubbard 9fc5b9bdde MFC: reenable NODOC 1997-11-26 12:45:39 +00:00
Nate Williams 14dff51593 MFC:
- Don't worry about the previous state of the card.
 - Renamed log_1s() to logmsg().
1997-11-25 19:41:39 +00:00
Kazutaka YOKOTA ef5adff921 YAMFC: mouse cursor fix (1.230), iso 2022 support (1.233),
remove unused vars (1.237), rename shadowed local vars (1.238),
comp_vgaregs() fix (1.239).

OKed by: sos, phk
1997-11-25 13:05:20 +00:00
Kazutaka YOKOTA 235d4dee7f YAMFC: MouseSystems PS/2 mouse kludge (1.46). 1997-11-25 12:34:24 +00:00
Alexander Langer ab50cfd70b Merge from rev 1.10: added missing reference to uthread_sigwait.c. 1997-11-24 23:07:51 +00:00
Alexander Langer 7a5f51eadc Merge pthread_cond_timedwait return value fix from rev 1.6. 1997-11-24 22:58:27 +00:00
David E. O'Brien 3ef84d17f9 Add note that things in /etc/rc are run under login class `daemon' by
/sbin/init.
1997-11-24 09:24:19 +00:00
David E. O'Brien 4ef9c5b002 Do not limit mfs partitions to 32meg. 1997-11-24 04:31:45 +00:00
David E. O'Brien ceb8154d1c MFC (rev 1.13) 1997-11-24 03:32:47 +00:00
Bruce Evans 0482db90be YAMFC (fixed long double formats). 1997-11-23 06:03:31 +00:00
Alexander Langer 5e007daf51 MFC documentation for IPFIREWALL_DEFAULT_TO_ACCEPT.
Reminded by:	Studded <[email protected]>
1997-11-22 22:11:43 +00:00
Guido van Rooij 8073928b42 MFC: watch out when remote file names start with '|'. 1997-11-22 20:23:33 +00:00
Alexander Langer 1ec95b81f2 Bring in compile time override of default rule from -current.
PR:             5068
1997-11-22 13:00:48 +00:00
Mike Smith a1e83538f6 Merge Winbond W89C940 support from -current
Submitted by:	Micha Class <[email protected]>
1997-11-22 06:21:10 +00:00
Jonathan Lemon 49ea47d685 Fix CPU_CYRIX_NO_LOCK option to use correct control register.
PR:	5121
1997-11-21 22:37:46 +00:00
Andrey A. Chernov ee4c1e56ab MFC: HOME bufer overflow fix, manpage spelling fixes, __set_ospeed declaration,
issetugid() check
1997-11-21 16:03:28 +00:00
Nate Williams 3795ddeff6 MFC: - Flush the arp cache when bringing up a new network link. 1997-11-20 22:32:55 +00:00
Garrett Wollman ab90fea96b By popular demand, pull Matt Dillon's hackaround for the TCP self-connect
bug into -stable.

PR:		5103
1997-11-20 21:45:34 +00:00
Satoshi Asami 157288d366 Merge everything up to 1.23. 1997-11-20 05:37:23 +00:00
Satoshi Asami c3c3ba4f59 Merge 1.267. 1997-11-20 05:34:49 +00:00
Satoshi Asami c296277c1d Bump RELDATE by 1, we are post-2.2.5R now.
Forgotten by:	yours truly, should have done it a long time ago
1997-11-20 00:33:07 +00:00
Nate Williams d31157003b - MFC:
* new ACCTON card settings
 * setup a default route when an ethernet card is inserted.
1997-11-19 18:53:36 +00:00
John Polstra 426ca56de1 Merge from main branch: back out warnx() "fix", which broke sh. 1997-11-18 15:24:46 +00:00
Philippe Charnier ba7fcc2c02 MFC: Use err(3). 1997-11-18 07:54:08 +00:00
Philippe Charnier 966549ce5b MFC: Typos in man page. Cosmetics in error strings. 1997-11-18 07:52:07 +00:00
Philippe Charnier c72da07aed MFC: Cosmetics in yp_error() and usage(). 1997-11-18 07:45:17 +00:00
Philippe Charnier fdd0c57b01 MFC: Use err(3). 1997-11-18 07:38:47 +00:00
Philippe Charnier b15315a699 MFC: Use err(3). Change =' to ==' in two places. 1997-11-18 07:37:40 +00:00
Philippe Charnier 2c3044640e MFC: Remove `progname'. 1997-11-18 07:32:59 +00:00
Philippe Charnier 726b036e26 MFC: Add usage() and err(3). Sync man page with usage string. 1997-11-18 07:30:08 +00:00
Philippe Charnier c13180b6a0 MFC: One line usage string. 1997-11-18 07:28:15 +00:00
Philippe Charnier 4e759a51ed MFC: Cosmetic in err() strings. 1997-11-18 07:26:34 +00:00
Philippe Charnier 6b95f492b8 MFC: Use err(3). Cosmetics in error strings. 1997-11-18 07:24:17 +00:00
Philippe Charnier 59d1cd6d18 MFC: Use err(3). Add prototypes. Document -s and -r flags. 1997-11-18 07:20:55 +00:00
Philippe Charnier 7d97390e24 MFC: Statisize usage(). 1997-11-18 07:17:16 +00:00
Philippe Charnier 5cb64c3dd5 MFC: Use err(3). 1997-11-18 07:14:19 +00:00
John Polstra f416d31767 Merge from main branch 1.9 -> 1.10: Fix call to fprintf with too
many arguments.
1997-11-18 05:57:58 +00:00
John Polstra ae8e46245f Merge from main branch 1.4 -> 1.5: Fix too many arguments to
sprintf().
1997-11-18 05:54:07 +00:00
John Polstra 14791dcf9e Merge from main branch 1.9 -> 1.10: Fix extra args to warnx(). 1997-11-18 05:46:23 +00:00
John Polstra ae9a28ea86 Merge from main branch 1.18 -> 1.19: Fix erroneous format string. 1997-11-18 05:35:48 +00:00
John Polstra 8139c33495 Merge from main branch: add cross-references.
fork.2:		1.3 -> 1.5
	vfork.2:	1.8 -> 1.9
1997-11-18 04:07:05 +00:00
John Polstra e645221cca Merge from main branch 1.6 -> 1.7: Add missing argument, change
message for consistency.
1997-11-18 03:51:38 +00:00
John Polstra 11b16e0b5f Merge from main branch 1.18 -> 1.19: Fix incorrect format string. 1997-11-18 03:43:09 +00:00
John Polstra 4d0f48d313 Merge from main branch 1.15 -> 1.16: add missing argument. 1997-11-18 03:39:10 +00:00
John Polstra 553426e83b Merge from main branch 1.27 -> 1.28: Add missing argument. 1997-11-18 03:34:35 +00:00
John Polstra 5cbcf1d710 Merge from main branch 1.14 -> 1.15: Add missing arguments. 1997-11-18 03:28:50 +00:00
John Polstra 2fb1472555 Merge from main branch 1.6 -> 1.7: fix "-Wformat" errors. 1997-11-18 03:23:20 +00:00
John Polstra 959c1c300c Merge from main branch 1.11 -> 1.12: fix missing arguments detected
by "-Wformat".
1997-11-18 03:16:34 +00:00
Bill Paul e713d840dd Merge from -current: close PR by fixing _listmatch() to not
return false positives.

PR:	 4867
1997-11-16 03:04:34 +00:00
Nate Williams f8686cf6df - Correctly register pcic_imask with the system interrupt code.
- Call update_intr_masks() so that pcic_imask modifications that occur
  when card interrupts are registered get updated in the system
  interrupt code.

Reviewed by:	Guido van Rooij <[email protected]>
Aided by:	Bruce
1997-11-15 14:11:34 +00:00
Sean Eric Fagan d0cc99345f Log what the requests are, in addition to the fact that they happened.
Reviewed by:	julian
1997-11-14 04:45:53 +00:00
John Polstra 83942493e1 Merge Bruce's synopsis corrections from main branch:
ceil.3: 1.6 -> 1.7
	cosh.3: 1.5 -> 1.6
1997-11-14 02:59:10 +00:00
Jordan K. Hubbard 6189f6970b The last change was in error - if -p is specified, just add an @cwd
to the beginning (but don't delete one if it exists).

Noticed by: asami
1997-11-14 01:55:35 +00:00
Julian Elischer b47837c71e Submitted by: Archie cobbs (IPDIVERT author)
close small security hole where an atacker could sendpackets with
IPDIVERT protocol, and select how it would be diverted thus bypassing
the ipfirewall.  Discovered by inspection rather than attack.
(you'd have to know how the firewall was configured (EXACTLY) to
make use of this but..)
1997-11-13 22:57:33 +00:00
Steve Price ce9acbfe9b Merge Bruce Evans' cos -> cosf fix from -current.
PR:		5033
1997-11-13 18:39:52 +00:00
Julian Elischer 83086f21f4 MFC: bring in changes from -current including some formatting changes
so that I can keep them in sync easier.
1997-11-13 18:22:21 +00:00
Jordan K. Hubbard 48ab02f708 MFC: PR#4894 1997-11-13 11:49:53 +00:00
Jordan K. Hubbard 5361be8c3c MFC: PR#4959 1997-11-13 11:44:59 +00:00
Brian Somers 2a386443d8 MFC: Use htonl() rather than htons(). 1997-11-13 11:43:39 +00:00
Julian Elischer ddc56328a7 Submitted by: [email protected] (archie Cobbs)
MFC:	allow the  -a option to work with the  -d option
thus:
arp -d -a now flushes your arp cache.
also fix the -n option so that -an now works correctly.
(also add -Wall to Makefile)
1997-11-13 01:37:28 +00:00
Satoshi Asami e1144dc72b Merge 1.266. 1997-11-12 10:43:04 +00:00
David E. O'Brien 08bd7550de MFC (rev 1.19) 1997-11-12 06:34:24 +00:00
David E. O'Brien a424fb1209 MFC (rev 1.3) 1997-11-12 04:40:45 +00:00
John Polstra 16735098be Merge from main branch 1.16 -> 1.17: Document exit status of a
command terminated by a signal.
1997-11-12 04:34:33 +00:00
Brian Somers 91e63a068d MFC: Allow .editrc to be read.
Forgotten by: msmith
1997-11-12 02:01:52 +00:00
Kazutaka YOKOTA 3f842b3f9b Documented PSM_HOOKAPM and PSM_RESETAFTERSUSPEND options. 1997-11-11 03:06:45 +00:00
Jun-ichiro itojun Hagino 8a48fd791b merge from current. (if_ep.c 1.60 -> 1.61 and if_epreg.h 1.20 -> 1.21)
if_ep.c clarification/simplification.
- irq = 9 problem (PR 4693)
- mbuf chaining oddity fixed. (PR 4693)
- trailer protocol has gone. (PR 4693)
- removed mbuf kludge, we got higher performance. (PR 4693)
- some indentation fixes

PR:		4693
Reviewed by:	[email protected]
Submitted by:	[email protected]
1997-11-10 23:53:31 +00:00
Mark Murray 7e53192819 MFC: make this compile by moving the variable declarations to the top. 1997-11-10 17:11:29 +00:00
Nate Williams 871ec2968f MFC:
- Convert c++ comment to c comment.

Noted by:       Bruce
1997-11-10 14:40:40 +00:00
Kazutaka YOKOTA 4c932cdd1b MFC: add PSM_HOOKAPM and PSM_RESETAFTERSUSPEND options to psm. 1997-11-10 12:25:12 +00:00
Kazutaka YOKOTA 785c330256 MFC: merge APM support for some laptops (from v1.40). Introduces kernel
configuration options PSM_HOOKAPM and PSM_RESETAFTERSUSPEND.
1997-11-10 12:24:16 +00:00
Jordan K. Hubbard c0753ad684 MFC: More secure defaults. 1997-11-10 05:25:14 +00:00
Peter Wemm 9de9ccb3a2 Merge-o-tron.. Update sendmail from 8.8.8 in -current. 1997-11-10 03:00:37 +00:00
Brian Somers ab3fd57237 MFC: Let LcpClose() terminate ppp in background mode
(although it's incorrectly done at PHASE_TERMINATE
     'till I bring the rest of the -current changes in).
1997-11-09 23:48:11 +00:00
Brian Somers f38d0b5e37 MFC: (I lied, this is an easily fixed bug)
Initialization of VarAltPhone
PR:  4993
1997-11-09 23:42:57 +00:00
David E. O'Brien 11057593c1 M revision 1.7 FC. 1997-11-09 16:11:13 +00:00
Wolfram Schneider 7dfb554e73 off by one typo in error message
PR: bin/4987
Submitted by:	[email protected]
1997-11-09 14:47:02 +00:00
Kazutaka YOKOTA 63d6c71e6e MFC:
- Make blank, fade and green savers work on MDA and CGA adapters.
- Dont' let the daemon figure in the daemon saver go off the screen.
1997-11-09 07:58:57 +00:00
Kazutaka YOKOTA 2f86ba6203 MFC:
- Introduces the option SC_HISTORY_SIZE (syscons.c 1.231, syscons.h 1.33).
- Fix the maximum history size (syscons.c 1.235, syscons.h 1.35).
- Fix set_border() (syscons.c 1.236).
1997-11-09 07:14:38 +00:00
Kazutaka YOKOTA 7f5c2799af MFC: introduces the option SC_HISTORY_SIZE for syscons. 1997-11-09 07:12:15 +00:00
Mike Smith b8a421cb03 Command history buffer fix. (MFC)
Submitted by:	john hood <[email protected]>
1997-11-09 06:33:09 +00:00
David E. O'Brien 627294a8b8 MFC. 1997-11-09 06:10:48 +00:00
David E. O'Brien b5b6335a64 Added ports.7 from -CURRENT. (tagged ports.7 to ci into the 2.2 branch) 1997-11-09 06:07:43 +00:00
David E. O'Brien 9826c7254f Merge of revision 1.8. 1997-11-09 05:48:44 +00:00
David E. O'Brien 74174270e3 MFC.
(also tagged (added) crc32.c)
1997-11-09 05:39:48 +00:00
Jordan K. Hubbard 5364ddbaed Prevent bogus use of MSG_EOR with SOCK_STREAM sockets from panicing
the system.

Submitted by: wollman
1997-11-09 05:06:12 +00:00
Brian Somers a7063cd377 MFC: Don't include RTA_GATEWAY in rtm_addrs unless it's specified. 1997-11-09 03:23:56 +00:00
David E. O'Brien e132426e55 MFC. 1997-11-08 22:24:45 +00:00
Satoshi Asami 9281f80d33 Merge 1.36. 1997-11-08 02:35:19 +00:00
Brian Somers fcbe885f3e MFC: Update the LOOP AVOIDANCE section to reflect reality.
Requested by:	Archie Cobbs <[email protected]>
1997-11-08 01:03:44 +00:00
Joerg Wunsch e8406d0911 MFC: clear the alarm before going on. 1997-11-07 13:20:37 +00:00
KATO Takenori d2df983a39 MFC: revision 1.32 (MediaGX CPU identification). 1997-11-07 12:56:48 +00:00
Philippe Charnier ab95abbe5d MFC: Use err(3). Sync man page and usage string. -Wall cleaning.
Make all strings representing hostnames to be NUL-terminated within
MAXHOSTNAMELEN char.
1997-11-07 07:42:39 +00:00
Philippe Charnier 00b220c466 MFC: Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
when -n (do nothing) is used.
1997-11-07 07:36:16 +00:00
Philippe Charnier b8bea516b7 MFC: Use err(3). Add usage() and prototypes. 1997-11-07 07:33:28 +00:00
Philippe Charnier b9f3209a2c MFC: Cosmetic in usage string. 1997-11-07 07:30:40 +00:00
Philippe Charnier cf1f33d440 MFC: Use err(3). Change err(-1,... to err(1,... 1997-11-07 07:27:12 +00:00
Philippe Charnier 68f26b5fd7 MFC: Use err(3). Remove progname. 1997-11-07 07:24:09 +00:00
Philippe Charnier a3e515e062 MFC: Fix usage in man page. Remove progname. 1997-11-07 07:21:16 +00:00
Philippe Charnier 2e183215bc MFC: FreeBSD -> Fx. 1997-11-07 07:19:03 +00:00
Bill Paul f1f1b4b6e5 Remove duplicate rcsid[] string so this will compile/link again. 1997-11-07 03:16:22 +00:00
Joerg Wunsch 9ce4c57499 MFC: rev 1.5 (bootcode.asm), fix reboot problems 1997-11-07 00:21:43 +00:00
Joerg Wunsch c32200b239 MFC: rev 1.9, blank lines in iso3166 are acceptable 1997-11-07 00:08:15 +00:00
Joerg Wunsch 43fda83167 MFC: rev 1.13, fix SYNOPSIS. 1997-11-07 00:06:06 +00:00
Mike Smith 90b7a4a0b8 Disable building the 'wcd' module until lkm.h is fixed. 1997-11-06 13:03:53 +00:00
Mike Smith 12e75133a0 Fix breakage caused by Julian's change to lkm.h (name change in MOD_DEV
definition).  This probably breaks 'wcd' too, but the fix there is
not obvious, so it will be commented out until someone addresses it.
1997-11-06 13:00:13 +00:00
Mark Murray e650bc6ac9 YAMFC: This driver is now identical (again) to the one in CURRENT.
Asked-for-by: Amancio Hasty
1997-11-06 10:11:51 +00:00
Joerg Wunsch 1e91a7d75b Merge rev 1.97: detect recent Nakamichi changers, too. 1997-11-06 08:31:21 +00:00
Philippe Charnier ef2728b6b7 MFC: Hardcode progname in usage string. 1997-11-06 07:40:41 +00:00
Philippe Charnier 12c55b4d4d MFC: Use err(3). Add prototypes. 1997-11-06 07:39:22 +00:00
Philippe Charnier be82e9fdb6 MFC: Use err(3). 1997-11-06 07:37:34 +00:00
Philippe Charnier 08eec301cf MFC: Use err(3). Add usage.
Use syslog instead of fprintf when being a daemon.
1997-11-06 07:36:18 +00:00
Philippe Charnier c0e25c8d7d MFC: Use err(3). Sync usage string and man page. 1997-11-06 07:34:33 +00:00
Philippe Charnier 6368c19417 MFC: Use err(3). 1997-11-06 07:32:22 +00:00
John Dyson ce9c6cd70c Fix (finally, I hope) the missing page allocation problem. The mod
will be signficantly different in -current.
1997-11-06 04:33:01 +00:00
KATO Takenori 7694772ed2 MFC: revision 1.31 (Fix 6x86 recognition). 1997-11-05 15:15:00 +00:00
Philippe Charnier 1ed48d4191 MFC: Remove multiply defined Id string. Hide sccsid string. 1997-11-05 07:37:01 +00:00
Philippe Charnier 17a8496b49 MFC: Use err(3). Add usage() and #includes. 1997-11-05 07:34:52 +00:00
Philippe Charnier 29cba9e58c MFC: Use err(3). Sync man page and usage string. 1997-11-05 07:31:59 +00:00
Philippe Charnier d27b7b62e2 MFC: Add rcsid. 1997-11-05 07:30:18 +00:00
Philippe Charnier a841376b32 MFC: Use err(3). Add prototypes. 1997-11-05 07:29:16 +00:00
Philippe Charnier 19b916b10e MFC: Cosmetic in usage string. 1997-11-05 07:27:19 +00:00
David E. O'Brien c81065f199 2. Try to be more consistant in our usage of partition when we really mean
slice.  (still needs more work, but hopefully closer to being consistant)

Ok'ed by:	jkh
1997-11-05 05:54:48 +00:00
David E. O'Brien 881b87a07c 1. If running multi-user and doing initializing a new disk, don't mount
async.
2. Try to be more consistant in our usage of partition when we really mean
   slice.  (still needs more work, but hopefully closer to being consistant)

Ok'ed by:	jkh
1997-11-05 05:54:30 +00:00
David E. O'Brien 182da0df25 MFC.
(holy toledeos Batman, we really do have a manpage).
1997-11-05 05:45:21 +00:00
Julian Elischer b4f8389ab2 fix code so it would compile for the MOD_DEV case.
this is not the correct answer, which is implemented in -current.
1997-11-05 03:58:41 +00:00
Julian Elischer 732c6d9d94 MFC: add some new area codes and sort some entries 1997-11-05 02:37:37 +00:00
Jordan K. Hubbard 41042d9ff7 MFC: don't mention handbook 1997-11-04 23:44:49 +00:00
Dima Ruban e360fedee0 from -current:
Add possibility to specify maximum number of connections per minute
for a given IP address.
1997-11-04 21:49:01 +00:00
Nate Williams 949cb28bdb - Missed a copyright Update 1997-11-04 19:15:32 +00:00
Nate Williams f56efde542 MFC:
- Lots of cleanups, getopt changes, manpage updates.
 - new display/suspend function.

[ The latter is to reflect changes made to the kernel ]
1997-11-04 19:06:54 +00:00
Nate Williams 7bb8a2294d MFC:
- Driver cleanup (update copyrights, un-necessary parameters, white-space)
- remove un-necessary include, and the NAPM check since it's done already in
  apmprobe.
- Run the apm_resume hooks if apm_suspend fails due to the BIOS.
- Add a better display/suspend function

[ The last requires that apm(8) be recompiled ]
1997-11-04 19:02:35 +00:00
KATO Takenori a53ad5a283 Sync with sys/i386/isa/fd.c revision 1.92.2.5.
Submitted by:	H. Nokubi <[email protected]>
1997-11-04 09:48:58 +00:00
KATO Takenori 6dc3ca6ec6 Sync with sys/i386/conf/options.i386 revision 1.26.2.12.
Submitted by:	H. Nokubi <[email protected]>
1997-11-04 09:47:29 +00:00
KATO Takenori 156ce8a520 Sync with sys/i386/conf/options.i386 and sys/i386/isa/fd.c revisions
1.26.2.11 and 1.92.2.4, respectively.

Submitted by:	H. Nokubi <[email protected]>
1997-11-04 09:46:18 +00:00
John Dyson a715202c54 Bring some fixes from -current into -stable. A couple of them are
map optims from Alan Cox ([email protected].)  Also, there is an incorrectly
handled panic and inefficient/improper map upgrade fixed.
1997-11-04 09:02:38 +00:00
Philippe Charnier b2b97bae44 MFC: Use err(3). Add prototypes. Cosmetic in usage string. 1997-11-04 07:24:32 +00:00
Philippe Charnier ddc81f7629 MFC: Use err(3). Silent -Wall. 1997-11-04 07:22:14 +00:00
Philippe Charnier e8af1c59f1 MFC: Use err(3). 1997-11-04 07:20:34 +00:00
Philippe Charnier 20e8a26e5f MFC: Staticize usage(). Cosmetics. 1997-11-04 07:18:20 +00:00
Philippe Charnier c4c52a2b9d MFC: Use err(3). Add rcsid. 1997-11-04 07:16:22 +00:00
John Dyson a75c15bd23 Make sure that we check properly for what queue a page was on for
pagedaemon wakeups.  Brought from -current.
1997-11-04 06:27:13 +00:00
KATO Takenori ffb1eb5804 MFC: revision 1.101 (address for USERCONFIG_BOOT on PC-98). 1997-11-04 03:22:03 +00:00
KATO Takenori 2673d214ce Sync with sys/i386/boot/netboot/Makefile revision 1.9.2.4.
Submitted by:	H. Nokubi <[email protected]>
1997-11-04 03:15:23 +00:00
KATO Takenori ec7e867937 Sync with sys/i386/isa/isa.c revision 1.74.2.4.
Submitted by:	H. Nokubi <[email protected]>
1997-11-04 03:09:03 +00:00
KATO Takenori e076d80eea Sync with sys/i386/isa/wd.c revision 1.119.2.9.
Reviewed by:	H. Nokubi <[email protected]>
1997-11-04 03:07:59 +00:00
KATO Takenori 4e0ab57fdd Sync with sys/i386/isa/isa.c revision 1.74.2.3.
Submitted by:	H. Nokubi <[email protected]>
1997-11-04 03:06:48 +00:00
John Polstra 4a0eba1e56 Merge from main branch 1.4 -> 1.5: describe "mrouted_flags". 1997-11-02 21:47:22 +00:00
Nate Williams c000725d18 - Simplify some code, no functional differences. 1997-11-02 21:24:36 +00:00
David Greenman 3c854924e7 Brought in fix from rev 1.37: handle 'route add -lock'. 1997-11-02 07:29:25 +00:00
David Greenman 983fcaead5 Brought in fix from rev 1.127: killed 0WS option. 1997-11-02 07:15:08 +00:00
Nate Williams d4223c3ff8 - MFC: Example PCCARD config file (modified for 2.2). 1997-11-01 18:55:45 +00:00
cvs2svn 82f24f8d62 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-11-01 18:54:11 +00:00
Wolfram Schneider ef03c4d436 Merge typo from rev 1.9. 1997-11-01 15:11:46 +00:00
Masafumi Max NAKANE 18a3196ff8 Merge the sysconfig -> rc.conf changes from -current. 1997-10-31 23:40:53 +00:00
John Polstra fe79593cd4 Merge from main branch 1.31 -> 1.32: add "mrouted_flags". 1997-10-31 02:00:42 +00:00
Andrey A. Chernov 5b9137d76a MFC: -d and mmap fixes from -current 1997-10-30 21:01:18 +00:00
Nate Williams 011900324c - Whoops, some bogus if 0 code slipped in. 1997-10-30 01:41:24 +00:00
Nate Williams 31f6ea3211 - MFC: News definitions, and removal of PAO-specific definitions. 1997-10-30 01:18:37 +00:00
Nate Williams 10dac66425 - Userland changes to reflect the changes made in the kernel pccard
sources.  You must re-build/re-install pccardd or else it won't
  recognize insertion/removal events.
1997-10-30 00:40:09 +00:00
Nate Williams cafbafde03 - MFC: Better suspend/resume laptop support. Due to interest in
bringing it in (and the fact that it's mostly broken here still), bring
  in all of the changes.  You must edit your custom kernel file, and
  re-config/build/install a new kernel for these changes.

[ Note userland changes are required as well, they'll be committed ASAP ]
1997-10-30 00:38:27 +00:00
Jordan K. Hubbard 2c0e775278 MFC: proper use of chflags in upgrade 1997-10-29 07:47:27 +00:00
Satoshi Asami b6a5549243 Merge 1.32 (pmake cleanness). 1997-10-29 01:23:14 +00:00
Julian Elischer 9aa8e0fee6 MFC:
Fix various problems with netatalk kernel support.
Some of these changes are a bit rough and will become
more polished later.  the changes to if_ethersubr should largely be moved
to within the appletalk code, but that will happen later.
A few of these were related to network-byteorder problems,
and more were related to loopback failures.
1997-10-29 00:33:59 +00:00
Joerg Wunsch d3be7d37ea MFC: typo fix 1997-10-28 07:47:24 +00:00
Jordan K. Hubbard 2589f597e2 MFC: 1.13, mention daemon saver. 1997-10-27 08:22:54 +00:00
Jordan K. Hubbard 10e8e7dc86 MFC: 512MB MAXDSIZE 1997-10-27 00:39:15 +00:00
Jordan K. Hubbard 779a78f185 MFC: parallelize 1997-10-26 23:54:24 +00:00
Jordan K. Hubbard 89ab5bc7f7 MFC: parallelize. 1997-10-26 23:37:21 +00:00
Jordan K. Hubbard 72cda6fbff MFC: parallelize 1997-10-26 23:37:04 +00:00
Jordan K. Hubbard 36af3b3b36 NODOC should be enabled for now. 1997-10-26 23:35:22 +00:00
Jordan K. Hubbard 618e3470d2 MFC: parallelize 1997-10-26 22:48:31 +00:00
Guido van Rooij cdd618b97c MFC: On execing a sgid program, do not set P_SUGID when cr_gid and cr)_uid
do not change.
Reviewed by:	 4755
1997-10-26 20:39:44 +00:00
cvs2svn 65a105cd4c This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-10-26 06:06:55 +00:00
Nate Williams dc2b07f121 MFC: Cleanup, staticize, fix the manpage, etc..
[ No real functional changes. ]
1997-10-26 04:13:48 +00:00
Jordan K. Hubbard 58bb0f6dba End the contraversy and commit the *&%#@! 2.2.5 change. :) 1997-10-26 04:11:21 +00:00
Jordan K. Hubbard 80e8079d74 MFC: parallelization changes. 1997-10-26 02:18:41 +00:00
John Polstra 5906ff8223 Merge from main branch 1.4 -> 1.6: Fix misuse of NULL, and use
SEEK_SET instead of L_SET.
1997-10-26 00:46:42 +00:00
Poul-Henning Kamp 7dbc3e67ad Recognize more of the Znyx 314 cards. 1997-10-25 14:33:16 +00:00
Peter Wemm f4b17d6dbf Merge in login.conf relaxations from -current, including a typo fix. 1997-10-25 11:39:21 +00:00
Jordan K. Hubbard efa3ef68f0 MFC: typo 1997-10-25 09:27:36 +00:00
Brian Somers 257c74eeba MFC: Fix various filter problems 1997-10-24 23:16:48 +00:00
Brian Somers f32b9c1276 MFC: sleep => nointr_sleep
usleep => nointr_usleep
1997-10-24 23:15:43 +00:00
Jordan K. Hubbard 1f3ce7cfab Update to match amended version. 1997-10-24 10:35:57 +00:00
Jordan K. Hubbard 48deac08f8 Update for a post-2.2.5 world. 1997-10-24 07:09:43 +00:00
Tim Vanderhoek 5049a17c0c YACC: sync defaults with reality (from rev. 1.6).
PR:		docs/3817
1997-10-24 04:52:39 +00:00
David Greenman 861f6791e9 Merge important fix from rev 1.44 that was overlooked for the 2.2.5
release: fix panic that can result from anything that accesses kernel
memory (w, ps, top, snmpd) if the kernel memory should change during
the accesses, resulting in bogus /dev/kmem memory references.
Wcarchive paniced yesterday due to this bug.
1997-10-24 04:38:18 +00:00
Alexander Langer f3f2cf899c Merge IOPL check from rev 1.42. 1997-10-23 22:14:24 +00:00
Nate Williams 1690d5f3ca MFC: Bring in all the 'safe' changes from current
- When doing suspend/resume, only try to suspend those drivers on active
  slots.
- Simplify code by removing a variable which was initialized once, never
  modified, and was expected to have the initialized value.
- Speaker audio & low power mode on certain Cirrus Logic chips.
- Update chip ID comments.
- PCIC_RESUME_RESET & APM_PCCARD_RESUME sysctls.
- make getb() and putb() member functions of struct pcic_slot.
- Don't start at IRQ 0 in build-freelist, but instead start at IRQ 1.
- Don't apply 5V when we want 3.3V.  Kludge around the case where the PCIC
  refuses to use 5V because it knows better than us.
- Make MOD_* macros almost consistent.

Reviewed by:	[email protected]
1997-10-23 18:44:07 +00:00
Joerg Wunsch 12dc924ede MFC: reject illegal combinations of O_RDONLY, O_RDWR, and O_WRONLY
in open(2), and document the return value EINVAL.
1997-10-23 18:05:06 +00:00
Brian Somers 3f8559f2c1 MFC: Fix HDLC logging. 1997-10-23 09:50:55 +00:00
Nate Williams 4f1d0db9b8 MFC: pccard support (minus the unused SCSI_DETACH code). 1997-10-21 18:14:10 +00:00
Nate Williams cd50789984 MFC: Updated CIS tuple for Adaptec SlimSCSI. 1997-10-21 18:09:03 +00:00
Jordan K. Hubbard b56db3ce74 We're not at 2.2.5-release anymore.
The ultimate value of these variables is also not something I'm up
for debating at the moment, I'm simply adjusting this so that 2.2 SNAPs
don't announce themselves as 2.2.5
1997-10-21 13:27:40 +00:00
KATO Takenori d8916dfa94 `isvplocked' should be initialzed.
Pointed out by:		bde
1997-10-21 07:08:20 +00:00
Jordan K. Hubbard 1d853e0278 Very cosmetic minor tweak. 1997-10-21 01:56:04 +00:00
Jordan K. Hubbard 37dce6013c More robust checking of rc.conf values passed in.
Submitted-by: "Daniel O'Callaghan" <[email protected]>
1997-10-21 00:20:35 +00:00
Jordan K. Hubbard a5dade3161 Last minute updates in preparation for the upcoming 2.2.5 RELEASE
(just 1:30 until tagging!)
1997-10-20 23:28:56 +00:00
Jordan K. Hubbard cd797cd1d1 Adjust to reflect reality (the files it says all releases of 2.2 need
installed, are already installed!)
1997-10-20 23:08:09 +00:00
Jordan K. Hubbard 0f77736b12 MFC: update ports and XFree86 references. 1997-10-20 22:55:45 +00:00
Nate Williams 7284e9c511 - Argh, sorry about that. I assumed the Makefile was supposed to be run out
of the source tree.
1997-10-20 22:27:59 +00:00
Nate Williams 550e118e5c - The Makefile assumed it lived in /etc/mail. Fix it so that it works in
the source tree.
1997-10-20 22:26:05 +00:00
Joerg Wunsch 094a721e79 2-to-12 (MET DST :) fix: stuff the bootstrap files onto the fixit floppy,
too.  I feel they are rather important for a fixit floppy... ;)
1997-10-20 21:56:01 +00:00
Nate Williams 7ef75d7080 Hack for 'lockmgr panic' on the VN device.
Submitted by:	KATO Takenori <[email protected]>
1997-10-20 19:44:39 +00:00
Jordan K. Hubbard f51f831513 Bump release strings to match 2.2.5-RELEASE which will be going out
later today.  RELDATE is a mystery to me - looks like an encoded version
number now so I'll leave it alone.

Rod:  You will probably wish to review this file with bitwise scrutiny. :)
1997-10-20 14:08:35 +00:00
cvs2svn c2058aa3a2 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-10-20 12:51:35 +00:00
Daniel O'Callaghan 5faba491d5 MFC - make rc.conf.5 reflect reality w.r.t firewall_*. 1997-10-20 08:40:49 +00:00
Jordan K. Hubbard f70efa90e5 MFC: Document 100Mbit media selection flag. 1997-10-20 08:11:34 +00:00
Jonathan M. Bresler b974d08d1b add /etc/mail--the anti-spam files to Makefile and mtree 1997-10-20 00:54:13 +00:00
David Greenman 06fe59e2b8 MFC: rev 1.12: make kern.maxproc read-only. 1997-10-19 18:48:33 +00:00
David Greenman 5d6d000083 MFC: rev 1.32: Fix for pstat -T. 1997-10-19 18:42:22 +00:00
Joerg Wunsch 40b4cff1e3 Remove reference to obsolete mount_lofs(8).
PR:		docs/4617
1997-10-19 17:23:25 +00:00
Jordan K. Hubbard 577f36d355 Be more forceful in telling users to read ABOUT.TXT
PR:	4799
1997-10-19 14:52:21 +00:00
Joerg Wunsch 30d8d5d9ae MFC: the flags 0x1 hack required for the Compaq `Aero'. 1997-10-19 13:15:26 +00:00
Joerg Wunsch 1abb184f19 MFC: fix some buffer overflow conds (rev 1.8) 1997-10-19 10:44:28 +00:00
Joerg Wunsch 2f03886ea9 MFC: fix description of incremental backups (rev 1.18) 1997-10-19 09:44:36 +00:00
Joerg Wunsch 16d7ebe154 MFC: rev 1.96, make the Sun OEM version of the DLT known 1997-10-19 09:39:00 +00:00
Joerg Wunsch 70f329d274 MFC: rev 1.30, fix fatal typo 1997-10-19 09:35:12 +00:00
Jordan K. Hubbard cd2db9a07a MFC: disk count bug. 1997-10-18 21:22:43 +00:00
Eivind Eklund 9fca4e6198 Partial merge of rev 1.10 - don't limit usernames to 8 chars, but
MAXLOGNAME/UT_NAMESIZE.

Approved by:	jkh
1997-10-18 20:58:48 +00:00
Jordan K. Hubbard 57e93dac9f Minor cleanup
Submitted by: Luigi Rizzo <[email protected]>
1997-10-18 20:07:41 +00:00
Peter Wemm 774981f635 Merge in updates from Matt (via NetBSD). 1997-10-18 18:23:56 +00:00
Brian Somers 857dfe36ba MFC: Add -redirect_port and -redirect_address to the
synopsis.
1997-10-18 16:32:19 +00:00
Joerg Wunsch fa8ab7bdb7 Jordan killed a litte too much in 1.17.2.33: the PPP stuff was valid for
``new since 2.2.2'', but had been misplaced.

PR:		docs/4750
Submitted by:	[email protected] (Yoshiaki Uchikawa)
1997-10-18 11:25:36 +00:00
Joerg Wunsch 119dd04a49 Mention that the old Mitsumi driver is rather stale; there are a few
error reports in GNATS and Usenet (together with the few only
remaining users, they might be a high percentage :).

Update the section about CD-R drive types.

Mention floppy tapes, but with the driver also being stale.
1997-10-18 11:10:43 +00:00
Joerg Wunsch c36a6e818e MFC: make the pcvt options supported ones. 1997-10-18 11:04:05 +00:00
Joerg Wunsch c21f229b1c MFC: install the pcvt docs. 1997-10-18 10:52:26 +00:00
Joerg Wunsch d7974d70b4 y
MFC: install the pcvt docs.
1997-10-18 10:51:55 +00:00
Jordan K. Hubbard 0849640c84 MFC: Extra parenthesis around certain important conditionals.
Submitted by: Luigi Rizzo <[email protected]>
1997-10-18 10:10:21 +00:00
Jordan K. Hubbard e308440fbe Minor cosmetic tweak to referenced RFC.
Submitted by: faried nawaz <[email protected]>
1997-10-18 10:07:26 +00:00
Jordan K. Hubbard a596d1b9a8 MFC: Fixes from NetBSD 1997-10-18 05:55:12 +00:00
Jordan K. Hubbard 9bc36673a6 MFC: PR#4784 fix 1997-10-18 05:42:23 +00:00
Jun-ichiro itojun Hagino 74c6489ee4 Merge from current: scsi RESERVATION CONFLICT and BUSY support for
Tekram scsi cards.  Checked with DC390

equivalent to changes in 1.1 -> 1.2.
1997-10-17 12:39:28 +00:00
Joerg Wunsch 34e0dfbebd Only call nfsm_dissect() if there was no previous error. (Merged from
-current.)  This is a slightly diffent fix than the one in the PR, but
will hopefully DTRT.

PR:		kern/4501
1997-10-17 12:16:43 +00:00
KATO Takenori 159277267f MFC: Added two Cyrix 6x86/6x86MX CPUs options (LINT revision 1.371 and
initcpu.c revision 1.8).
1997-10-17 08:29:01 +00:00
Mike Smith 4013c192db Mention the problem with the Intel AL440LX BIOS upsetting the bootstrap.
(BIOS A4LL0X0.86A.0013.P03 dated 10/02/97 always passes 0 in %dl)
Submitted by:	David Filo <[email protected]>
1997-10-17 06:39:12 +00:00
David Greenman 6f5bf21d4c Brought in fix from rev 1.44: input packets were counted twice. 1997-10-17 06:28:31 +00:00
Jordan K. Hubbard 9c430dc9e0 Note bt848 support. 1997-10-17 02:30:55 +00:00
Jordan K. Hubbard 7f5bb23c1d Change improperly formed answer to a question.
Submitted by: luigi
1997-10-17 02:29:46 +00:00
Brian Somers 2c1dcebca0 MFC: cosmetic:
o  Log client connection commands when "set log +command"
     o  Don't display PAP password in the log unless we're
        "set log +debug".
1997-10-16 23:58:09 +00:00
Joerg Wunsch ff1ccc214a Fix the error handing if MFS is not available. This is a very minor
part of rev 1.15 in -current.

PR:		bin/4019
1997-10-16 19:04:16 +00:00
Jordan K. Hubbard f205c08ed7 MFC: selected parts from -current. 1997-10-16 18:11:58 +00:00
Jordan K. Hubbard 3340ad9555 Hmmmm. Alphabetize this. 1997-10-16 17:46:18 +00:00
Jordan K. Hubbard 2d7e995f19 MFC: new libvgl examples dir. 1997-10-16 17:39:37 +00:00
Stephen McKay 9ce8d0bb72 MFC: Change absolute -I/sys to relative path.
Approved by: jkh
1997-10-16 12:46:54 +00:00
Peter Wemm 99942795f9 Copy IPX support from current. 1997-10-16 09:38:52 +00:00
Søren Schmidt fb6a4dd2e8 Submitted by: "Vanill I. Shu" <[email protected]> 1997-10-16 09:13:49 +00:00
Søren Schmidt 166bd14069 Add a little example on libvgl usage. 1997-10-16 07:32:06 +00:00
cvs2svn dad6974375 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-10-16 07:29:27 +00:00
Philippe Charnier 552e825471 MFC: Use An/Aq. 1997-10-16 06:28:03 +00:00
Philippe Charnier 8a6d679711 MFC: Mdoc'ify man page. 1997-10-16 06:27:00 +00:00
Philippe Charnier 9f5f72c1bb MFC: Use An/Aq for author name. 1997-10-16 06:26:03 +00:00
Masafumi Max NAKANE cd3ebfe5e5 MFC: propser spacing in the Synopsis. 1997-10-16 01:21:35 +00:00
Brian Somers 0799333e0b MFC:
o Shut down LCP, CCP & IPCP properly so that -background
    mode tells the other side it's going away.
  o Initialize LCP, CCP & IPCP when LCP comes down so that
    we're not temporarily in ST_STOPPING when the line is
    down.
1997-10-15 22:53:59 +00:00
Brian Somers cfd785510c MFC: NAK the peers MRU if we have a "set mtu" that's less. 1997-10-15 22:53:02 +00:00
Mark Murray 174c306986 MFC: Include the kerberised dump&restore. 1997-10-15 18:56:32 +00:00
Mark Murray f60053da85 MFC: Kerberise. 1997-10-15 18:33:33 +00:00
Masafumi Max NAKANE fbae4ec7fb MFC: remove Xref to format(8). 1997-10-15 17:36:09 +00:00
Joerg Wunsch b00a49e958 MFC: rev 1.112, remove the call to scsi_start_unit() from sd_open().
It didn't work as desired anyway, and caused grieve to owners of IBM
disks when used in conjunction with tagged cmd queuing.

The only known problem by now is that Jaz drives might need a call to
start_stop_unit(), but as pointed out by Wanrer, the old code didn't
work for them either.  We might have a quirk for them within short
time, depending on the test results.

OK'ed by:	gibbs
1997-10-15 16:16:03 +00:00
Joerg Wunsch edb7bd3156 Merge the fixes from rev 1.11 (clear RM if cgetstr() failed, and kill
gratuituous newline)
1997-10-15 12:25:35 +00:00
Joerg Wunsch 81938d5d76 Retrofit rev 1.47: hide a silly message behind bootverbose. 1997-10-15 10:11:24 +00:00
Joerg Wunsch b70dbf495c . mention the lpd connection timeout
. make it clearer that support for AIC6[23]60 is rather weak
. mention the contributed driver for Future Domain 36c20 / AHA2920 that
  we're going to put into the /xperimnt section of 2.2.5, so people know
  about its exsitance.
1997-10-15 10:05:05 +00:00
Joerg Wunsch f29858feba MFC: implement the `ct' capability to adjust the TCP connection timeout.
OK'ed by:	jkh
1997-10-15 09:56:01 +00:00
Jordan K. Hubbard 483cf72739 Fix issues noted in PR#4765
PR:		4765
Submitted by:	Frank Durda IV <[email protected]>
1997-10-15 04:34:47 +00:00
Peter Wemm ea546a1f1f MFC: rev 1.2; workaround for long-standing bug in recursion processor 1997-10-15 03:39:03 +00:00
Jordan K. Hubbard 782b714711 MFC: startup services menu. 1997-10-14 18:17:59 +00:00
Wolfram Schneider b2a910033b Merge support for login classes. 1997-10-14 17:34:01 +00:00
Joerg Wunsch 0cd752ea8a MFC: make a comment actually a comment 1997-10-14 16:09:10 +00:00
KATO Takenori 28484af338 MFC: deleted obsolete non-Intel CPU options (revision 1.24). 1997-10-14 14:59:29 +00:00
Jordan K. Hubbard 833e5d2257 MFC: debogotify 1997-10-14 14:41:33 +00:00
Philippe Charnier 9933533dc2 MFC: Cosmetics and typos, Rewrites in mdoc format. 1997-10-14 06:40:15 +00:00
John Polstra 48e57556de Sync with main branch: src-contrib-crypto renamed to src-crypto. 1997-10-14 03:24:37 +00:00
Bill Paul 6dedb13947 Merge Sun NIS+ compat fix from -current (if netgroup.byhost or netgroup.byuser
don't exist, fail over to 'slow' innetgr() lookup method by searching through
netgroup map).

PR:		3891
1997-10-13 19:44:20 +00:00
Jordan K. Hubbard 238f9b7dd0 Remove obsolete "what's new since 2.2.1" section.
PR:	4750
1997-10-13 18:10:33 +00:00
Jordan K. Hubbard 140f888527 MFC: get extra newfs confirmation for upgrade. 1997-10-13 17:33:00 +00:00
Jordan K. Hubbard 8bd164d620 MFC: less destructive cleanup() handling. 1997-10-13 15:06:14 +00:00
Jordan K. Hubbard 3b32f6d842 MFC: flag handling cleanup 1997-10-13 12:12:33 +00:00
Jordan K. Hubbard d2921d9fea MFC: Add options editor item to media screen. 1997-10-13 11:45:54 +00:00
Jordan K. Hubbard e86a2fbc7e MFC: call label editor only once. 1997-10-13 11:33:42 +00:00
KATO Takenori 806e9cd433 Synchronize with sys/i386/isa/syscons.{c,h} revisions 1.182.2.26 and
1.23.2.7, respectively.

Submitted by:	H. Nokubi <[email protected]>
1997-10-13 09:00:26 +00:00
KATO Takenori 9a0963757a Synchronize with sys/i386/isa/isa.c revision 1.74.2.2.
Submitted by:	H. Nokubi <[email protected]>
1997-10-13 08:58:48 +00:00
KATO Takenori 883b3f8663 Synchronize with sys/i386/isa/if_ed.c revision 1.107.2.4.
Submitted by:	H. Nokubi <[email protected]>
1997-10-13 08:57:49 +00:00
KATO Takenori f9e7dd5c6b Synchronize with sys/i386/isa/diskslice_machdep.c revision 1.21.2.3.
Submitted by:	H. Nokubi <[email protected]>
1997-10-13 08:56:46 +00:00
Brian Somers 263a4b4fcb MFC: Un-spam ip_sum (arrgh - I don't know how this made
it into my patches :()
1997-10-12 21:45:26 +00:00
Warner Losh bea00f1312 Make mountd use -r by default. Hopefully this will cut down the number
of complaints that FreeBSD's mountd doesn't allow mounting of swap files
for OSes like SunOS, NetBSD and OpenBSD.
Submitted by:	Joerg Wunsch
1997-10-12 20:33:28 +00:00
Jordan K. Hubbard c5d86155da MFC: back out LALT -> META change until more thought has gone into
it.
1997-10-12 19:58:20 +00:00
Søren Schmidt cb9561125c CVSing DEVFS, drives on second controller sisn't appear
in the device filesystem.

Submitted by:   Andre Albsmeier <[email protected]>

 ----------------------------------------------------------------------
1997-10-12 16:24:45 +00:00
Jordan K. Hubbard eebaa02362 MFC: better partition / disklabel editors, updated docs. 1997-10-12 16:22:34 +00:00
Jordan K. Hubbard 22108b216f MFC: use META instead of LALT in default keymap, conditionalize extra
verbosity on bootverbose.
1997-10-12 16:07:44 +00:00
Joerg Wunsch a414eb273e MFC: rev 1.17, B option is measured in 1 KB blocks. 1997-10-12 13:12:44 +00:00
Jordan K. Hubbard 9e820d889f MFC: don't use DITEM_RECREATE 1997-10-12 12:11:57 +00:00
Jordan K. Hubbard 148c7080c0 MFC: now properly reentrant. 1997-10-12 12:10:05 +00:00
Masafumi Max NAKANE 3044a91778 MFC: typo fix. 1997-10-12 11:51:46 +00:00
Peter Wemm 6582bc4dfa MFC: de.4 update 1997-10-12 10:58:52 +00:00
John-Mark Gurney 561b4afb4a MFC: spelling fixes 1997-10-12 08:12:40 +00:00
Brian Somers bff5f5e9ff MFC: Cosmetic: Mention that ppp is suspending before
executing a "shell" command.
1997-10-12 01:51:23 +00:00
Jordan K. Hubbard 01354234e6 MFC: correct reference. 1997-10-12 01:01:03 +00:00
Wolfgang Helbig efe458a7c4 Merge in changes from -current (ISO 8601 week number and year). 1997-10-11 14:25:14 +00:00
Satoshi Asami 32d1c96f75 Merge 1.55 (mobile PCI chipset).
Approved by:	jkh ("Yeah, if Stefan agrees..")
1997-10-10 11:53:38 +00:00
Philippe Charnier feea34744e MFC: Use err(3). Add usage(). 1997-10-10 06:18:43 +00:00
Philippe Charnier 30a6af8e2b MFC: Use err(3). Add usage(). Correct the .Nd string. 1997-10-10 06:17:14 +00:00
Peter Wemm 282efc9d57 In the true spirit of 'code freeze^H^H^H^H^H^Hslush', bring over the
updated de driver from -current, minus the include bashing, the multicast
interface changes and the pci interface changes.  This essentially leaves
us with Matt's 970703 driver but with the tx descriptor page wrap bug
fixed.

However, there are some known problems remaining.  If the new problems are
found worse than the old ones, and they are not found and fixed prior to
release, this will be reverted to the old driver.

The (known) problems are:
  - autoselect is a bit flakey on older cards with BNC in use.  An explicit
    setting of the media modes is thought to work.
  - There were some reports of OACTIVE getting stuck "on" and/or
    "Transmitter underflow" requiring an ifconfig down and up to unjam it.
    More details are needed.

The old driver simply doesn't work on a good number of newer cards.  We
can't afford to not give this a try.

BETA-"no major changes"-rule-violation OK'ed by: jkh
Approved-with-grumbles-by: dg
1997-10-10 04:17:07 +00:00
Jordan K. Hubbard 28f6bdbca3 MFC: don't attempt to close a NULL file handle. 1997-10-09 14:13:20 +00:00
Joerg Wunsch 3802441141 Use a plain MODE SELECT with just a buffer header, as opposed to a
full-fledged mode page 0x21, to change the block size back to 2048.
This fixes the CD-R fixation problems people have been observing.

Please test!!!

(Jean-Marc promised to fix -current later on.  2.2.5 is more important
right now.)

Submitted by:	jmz
1997-10-09 12:47:05 +00:00
David E. O'Brien 99ab5f9f12 MFC.
Approved by:	jkh
1997-10-09 10:46:38 +00:00
Philippe Charnier 392089096e MFC: Use err(3). Cosmetics in usage string and man page. 1997-10-09 07:10:18 +00:00
Bill Fenner 68b4856657 MFC: Interpret multiple slashes as a single slash in ftp: URL's. 1997-10-08 18:44:07 +00:00
Jordan K. Hubbard d3c89bfbce MFC: new categories. 1997-10-08 15:31:27 +00:00
Andrey A. Chernov de9827e51a MFC: add pop 1997-10-08 11:34:14 +00:00
Mark Murray 0e107273cb YACC: Bring back some commits that were spammed. 1997-10-08 11:20:37 +00:00
David E. O'Brien 5130136da2 Add libopie. 1997-10-08 10:37:20 +00:00
David E. O'Brien 176b584210 Merge manpage from -CURRENT, minus the ``-a'' flag.
Requested by:	Philippe Charnier <[email protected]>
1997-10-08 10:33:10 +00:00
Philippe Charnier d0040adc10 MFC: Cosmetic in usage string. 1997-10-08 07:36:44 +00:00
Philippe Charnier d758acbc3f MFC: Use err(3). Add usage()s. 1997-10-08 07:33:52 +00:00
Philippe Charnier 7c72ea24db MFC: Use err(3). Cosmetics in man page. 1997-10-08 07:21:12 +00:00
Mark Murray ff2c8bafac Staticise a variable.
PR:		4722
Submitted by:	Karl Denninger
1997-10-08 07:02:48 +00:00
Bill Fenner 6209f9d777 MFC: Don't try to put more than TCP_MAXWIN in the window field.
Ok'd by:	jkh
1997-10-08 05:10:07 +00:00
Satoshi Asami 7e3c485bcc Merge 1.265. 1997-10-08 05:05:53 +00:00
Brian Somers c3a35572c8 MFC: Support VJ maximum slot identifiers != 15.
Support VJ slot id compression.

     Previously, ppp would negotiate a max slot between 2 & 15
     (if asked), and would agree to slot id compression (if asked).
     It would then proceed to use 16 slots and no compression
     anyway.  The result was a rather unusable connection.
1997-10-07 21:56:09 +00:00
Andrey A. Chernov da76281b14 MFC: preserve old SC_STATIC value 1997-10-07 09:55:27 +00:00
Jordan K. Hubbard ac3805bdee MFC: cosmetic warning fix. 1997-10-07 09:53:23 +00:00
Mark Murray ba717f79bf YACC: (bt848 updates by various folk) 1997-10-07 07:47:52 +00:00
Joerg Wunsch 8a5fe16cbb MFC: use the canonical UUCP locking protocol (rev 1.8 of uucplock.c) 1997-10-07 07:34:56 +00:00
Dima Ruban 0bd758d7d5 Merge from -current: be more specific on -f/-t that are not yet
implemented.
1997-10-07 05:39:54 +00:00
David E. O'Brien 1659592ee6 Add passwd(5) to "SEE ALSO" since that's where you specify the user's login
class.
1997-10-07 05:38:04 +00:00
David E. O'Brien f99bb843f1 2.2-CURENT's passwd(5) says login classes aren't used. So merge from current,
plus add login.conf(5) to the see also.

ISSUES:
	Does 2.2.5 tolerate comments in /etc/master.passwd like 3.0-CURRENT?
	An example and better explansion on how to use login classes is needed
	in both passwd.5 and login.conf.5.
1997-10-07 05:34:31 +00:00
Joerg Wunsch 0c372da7c9 MFC: rev 1.95, make the REGAL CDC-4X a know CD-ROM changer. Suposedly
a less intrusive enough change to go into this branch as well.
1997-10-06 20:40:39 +00:00
Warner Losh ba3b16ea02 MFC: disable lpd by defualt
Reviewed by:	jkh, guido, imp
1997-10-06 19:44:11 +00:00
Joerg Wunsch 503fca79e1 MFC: rev 1.8 of crunchgen.c & Co, introduce the `special keep' clause
to make crunchide's -k option accessible.

Ok'ed by:	jkh
1997-10-06 18:24:54 +00:00
Joerg Wunsch cc8cea4826 Merge rev 1.14: fix the definition of INTERNAL_MARK. 1997-10-06 18:22:05 +00:00
Warner Losh 3814e6b78b MFC: clarify -s and files allowed 1997-10-06 16:30:20 +00:00
cvs2svn 7d94c76ec5 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-10-06 11:38:31 +00:00
Jordan K. Hubbard e00d9114b6 MFC: sanity check to previous commit. 1997-10-06 08:37:40 +00:00
Jordan K. Hubbard 678616e527 MFC: better boot.help handling. 1997-10-06 08:35:15 +00:00
Jordan K. Hubbard d38c3cbc12 MFC: fix /usr/local/share/man breakage. 1997-10-06 08:09:51 +00:00
Philippe Charnier ca2103a614 MFC: Use err(3). 1997-10-06 07:36:17 +00:00
Philippe Charnier e7ca423fe0 MFC: Use err(3). 1997-10-06 07:30:24 +00:00
Gene Stark bd701cf40f Merge from current: changes from revision 1.24 to 1.25.
Fixes use of tw_control and TWC_SYNC instead of tw_zcport and tw_zcmask.
1997-10-06 04:50:05 +00:00
Bill Fenner 69ed1a71e3 Merge revision 1.8 (use RFC1738 interpretation of ftp: URL's)
PR:		bin/4670
Merge-ok'd-by:	jkh
1997-10-06 04:39:36 +00:00
Warner Losh 98b5c8dea1 MFC: Extra paranoia about unlinking files.
Approved by: jkh
1997-10-06 04:21:33 +00:00
Peter Wemm edd0aeb8f3 YAMFC: sync hub.mc 1997-10-06 04:12:54 +00:00
Peter Wemm 931e379f46 YAMFC: record envelope-from in Recieved line at each step.
Requested by: seceral people and OK'ed by jkh
1997-10-06 04:06:29 +00:00
Julian Elischer 419ca6d279 MFC: patches to add a special address handler for prorocols for which
netmasks don't work. needed for netatalk.

Reviewed by:	davidg, jkh
1997-10-05 21:41:06 +00:00
Joerg Wunsch 2c753e2cc1 Merge the fixes from rev 1.101 and 1.102 of fd.c, plus the required
environment:

. hide the bogus chip type announcement behind an option,
. make FDC_DEBUG a supported option,
. enable the FIFO on `enhanced' controllers, to work around known bugs
  in some FDC chips.
1997-10-05 21:00:36 +00:00
Brian Somers d77c7d1472 MFC: Refer a bit to pppctl.
Suggested (far to subtly for his own good) by:	joerg
1997-10-05 14:28:27 +00:00
Brian Somers b774015379 MFC: Add a few examples. 1997-10-05 14:23:26 +00:00
Brian Somers 2d5c51edc3 MFC: Cosmetic: Be specific about using TABs in syslog.conf. 1997-10-05 10:33:31 +00:00
Jordan K. Hubbard 65746ad47e Add prototype for strptime(). 1997-10-05 01:55:22 +00:00
Jordan K. Hubbard 1eb260ee1e mountd_flags should be "" by default, not NO. Whoops!! :-}
PR:		4689
Submitted by:	John Preisler <[email protected]>
1997-10-04 21:03:39 +00:00
David Greenman 0a24fcb8f9 Brought in changes from rev 1.63: backed out part of rev 1.52 (extra
SYN_RECEIVED processing that breaks RST handling)
1997-10-04 08:54:12 +00:00
David Greenman ca062ca80d Brought in change from rev 1.122: killed setting of ZWS on '790 cards. 1997-10-04 08:52:00 +00:00
Brian Somers faee93bd7d MFC: Cosmetic: Log a strerror(errno) when failing to write to
the tun device.
1997-10-04 00:16:36 +00:00
Julian Elischer 9f1ca3844b MFC: Allow new interfaces to be made on the fly without bpf going into
infinite loops.
Reviewed by:	jkh
1997-10-03 23:57:03 +00:00
Bill Paul 2645473437 Merge bugfix from -current (don't allow records with zero length keys
into databases when transfering from non-FreeBSD YP masters). Also,
since I was here, check for return of -1 from getopt() instead of EOF.

OK'ed by: jkh
1997-10-03 17:47:40 +00:00
KATO Takenori f29b7aea15 MFC (revision 1.29; M2 DIR). I consider it is obvious bug fix. If
bug remains in 2.2.5 RELEASE, wrong version information for M2 CPU
(clock, revision and stepping) will be included in bug reports.
1997-10-03 14:29:48 +00:00
Jordan K. Hubbard ecb10c04b7 MFC: boot.help changes. 1997-10-03 14:18:02 +00:00
Jordan K. Hubbard 9d1e1b0ad3 MFC: better boot.help handling. 1997-10-03 14:16:34 +00:00
Jordan K. Hubbard 8c27535398 MFC: Fix bogus use of OpenConn. 1997-10-03 14:00:40 +00:00
Daniel O'Callaghan fbab7e4d80 Back out suppress '\n' mod. 1997-10-03 12:54:30 +00:00
Jordan K. Hubbard 4cf98c18cb Typo fix from PR#4681 1997-10-03 03:34:21 +00:00
Jordan K. Hubbard 867c3565c2 MFC: deal with paranoid ftpds. 1997-10-03 03:32:20 +00:00
Philippe Charnier 39689f1c5d MFC: Use err(3) instead of local redefinition. 1997-10-02 11:40:14 +00:00
Philippe Charnier 2b22286fcb MFC: Use err(3). -Wall cleaning. 1997-10-02 11:36:02 +00:00
Jordan K. Hubbard 2d4d61b81a MFC: FAT32 identification.
Requested by: asami
1997-10-02 11:31:52 +00:00
Søren Schmidt 2f2586aacd YAMFC. Latest update of libvgl. 1997-10-02 08:47:55 +00:00
Satoshi Asami 6fb473b90e Bump RELDATE to 225000. I left RELEASE (="STABLE") alone, someone
please change this too if it is still necessary.
1997-10-02 02:15:27 +00:00
Jordan K. Hubbard 9c9f7ea1e4 MFC: Selected fixes to syscons.
Reviewed by: sos
1997-10-02 02:05:31 +00:00
Jordan K. Hubbard e5788a473a Note libvgl making it over. 1997-10-02 02:03:02 +00:00
Jordan K. Hubbard 92d56714ef Add libvgl - this was missed in the merge but can go in since it doesn't
interfere with anything, it simply provides a utility which many users
have been asking for.
1997-10-02 02:00:27 +00:00
cvs2svn 2592eaca75 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-10-01 20:53:42 +00:00
Jordan K. Hubbard ac63a0c967 We're now in 2.2.5-BETA - note this fact. 1997-10-01 08:32:22 +00:00
Jordan K. Hubbard c7dbfe0332 MFC: ancient bogus file descriptor read(). 1997-10-01 07:22:06 +00:00
Philippe Charnier 1ea4417ced MFC: Use 1 for exit value, not -1. 1997-10-01 06:37:52 +00:00
David Greenman 1b9bccd0cc Fixed a bug where, under certain conditions, an unsuccessful umount of
a filesystem would leave the mountpoint in a 'busy' state with the
MNT_UMOUNT flag set.
This change is only relevant to 2.2.x as the code in 3.x is radically
different and doesn't appear to have this problem.
1997-10-01 06:23:48 +00:00
Daniel O'Callaghan 75c1be25a2 MFC: '-s' flag supresses newline at end of printed date. 1997-10-01 06:12:58 +00:00
Jun-ichiro itojun Hagino 3bbbe6b7ef MFC: 1.10 -> 1.11
To obey the traditional practice in mbuf chaining.

PR:		4020
Reviewed by:	[email protected]
1997-10-01 05:58:47 +00:00
Jordan K. Hubbard 6650be41b1 MFC: PR#4636 1997-10-01 01:30:57 +00:00
Jordan K. Hubbard 2e95bd0c67 MFC: weak_mount_authentication -> mountd_flags
The older "legacy flag" will still work, support for that having
already been merged into rc.network.
1997-09-30 20:12:33 +00:00
Joerg Wunsch 86a65428fe MFC: rev 1.18, fix broken `date HHMM.SS' 1997-09-30 20:07:00 +00:00
Joerg Wunsch d9571ed8a5 MFC: rev 1.26, hide the ``no magic'' message behind the bootverbose
case since it was causing too many unmagitized users.
1997-09-30 19:48:30 +00:00
Joerg Wunsch 11ec640422 MFC: a number of fixes from rev 1.11 1997-09-30 19:43:49 +00:00
Bill Fenner abc2381afa MFC: Don't consider a SYN/ACK with CC but no CCECHO a proper T/TCP
handshake.
1997-09-30 16:43:38 +00:00
David Greenman 24b830ed24 Oops, I missed the change to this file when merging in the new driver
from -current.
1997-09-30 16:42:57 +00:00
David Greenman 430ac1d361 Merged from -current: data struct reorg and improved ordering of compares
in the PCB lookup code (see rev 1.30 of in_pcb.c).
This will require a rebuild of netstat.
1997-09-30 16:25:11 +00:00
David Greenman 4132422021 Brought in rev 1.5 changes: update for new media selection. 1997-09-30 15:21:45 +00:00
Jonathan Lemon 5362f6b42b MFC, rev 1.24: skip unresolvable hosts in an export list. 1997-09-30 13:25:35 +00:00
David Greenman c0fdc5b847 Back-ported the driver from -current (through rev 1.42). This is only
slightly changed from what is in -current, with the differences being:

1) Multicast support had to be changed to work with the old software
   method for going through the list of multicast addresses.
2) The timeout()/untimeout() calls had to be reverted.
1997-09-30 12:43:29 +00:00
David Greenman 8e609311ba Brought in changes from rev 1.28: support for SIOCSIFMTU in ether_ioctl(). 1997-09-30 12:29:00 +00:00
Satoshi Asami 4254a8549e Merge 1.34 (German manpage dirs). 1997-09-30 08:05:00 +00:00
Martin Cracauer 3559ae1620 MFC: fetch(3) doesn't get asctime(3) format, wrong length assumed
PR:		bin/4625
Submitted by:	"Timo J. Rinne" <[email protected]>
Obtained from:	bin/4625
1997-09-30 07:41:36 +00:00
Philippe Charnier 985016df61 MFC: Use err(3). 1997-09-30 06:09:10 +00:00
cvs2svn 952d84b29e This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-09-29 19:11:56 +00:00
John Polstra 75041d7f7f Merge from main branch 1.4 -> 1.5: fix backward description of "-s". 1997-09-29 17:47:34 +00:00
Philippe Charnier d46b8718f9 MFC: Remove unused variables. Lowercase err() strings. 1997-09-29 06:36:13 +00:00
Philippe Charnier 6f76ce454f MFC: Put includes in alphabetical order. Use fprintf() in usage(). 1997-09-29 06:34:38 +00:00
Philippe Charnier 4ecc64c0ad MFC: Stylistic changes in man page. 1997-09-29 06:32:24 +00:00
Philippe Charnier 4fa6e4dd5f MFC: Use err(3). 1997-09-29 06:30:32 +00:00
Jordan K. Hubbard 02e37ff0f8 MFC: Add ftp4.uk.freebsd.org 1997-09-29 00:15:18 +00:00
Jordan K. Hubbard e5775fee46 Add imap4 entry. 1997-09-28 22:26:36 +00:00
Jordan K. Hubbard 36b54522b4 Delete duplicate "set root password" item in index.
Submitted by:	Sascha Blank <[email protected]>
PR:		4647
1997-09-28 18:43:50 +00:00
Jordan K. Hubbard 49de41d385 Remove reference to parallel bus arch stuff which only exists in
-current.

Submitted by:	Sascha Blank <[email protected]>
PR:		4647
1997-09-28 18:42:10 +00:00
Mike Smith 1ad113bf2c Merge the un-typo fix from -current. Bruce is quite right; this is legal
and very difficult to improve on cleanly. Drat.
1997-09-28 17:13:31 +00:00
Mark Murray 01a8b32b6a MFC: Stop su-l from dumping core with -l, and make the KRBTKFILE variable
propagate properly.
1997-09-28 17:00:06 +00:00
Stephen McKay 5df3954c1f MFC (Makefile 1.148): Lex lib obj directory was being deleted in bootstrap. 1997-09-28 16:33:05 +00:00
Stephen McKay e66b342c7c MFC (intr_machdep.c 1.7): Small hack to isa_nmi() to handle some spurious NMIs.
Brought in with unseemly haste to beat the 2.2.5 code freeze. :-)
1997-09-28 16:03:37 +00:00
Mike Smith 3381275516 Typo fix (MFC) 1997-09-28 03:32:09 +00:00
Mike Smith 7e75b0b630 Prototype typo fix (MFC) 1997-09-28 03:30:03 +00:00
Peter Wemm 15ae3e4d1e Steal the link* doc notes from the fxp man page and renumber the bits
based on what I can see from the 2.2 (old) de driver's source. (link1 and
link2 are reverse relative to the fxp driver)
1997-09-28 01:46:36 +00:00
Wolfram Schneider e3489fceb3 Realtime priority support for top(1)
Print the real/idle time priority in the nice field.

normal time      -> nice value -20 - +20
real time 0 - 31 -> nice value -52 - -21
idle time 0 - 31 -> nice value +52 - +21
1997-09-27 21:30:16 +00:00
Brian Somers 57d01597d0 MFC: Don't depend on time.h including sys/types.h 1997-09-27 19:48:13 +00:00
Justin T. Gibbs fb67aa3749 MFC: Add "downloaded constant" support and reduce scratch ram usage so that
SCSI CONF isn't clobbered on the 274X.
1997-09-27 19:47:12 +00:00
Brian Somers a0bda0f5bb MFC: Don't login twice when using passwdauth
Suggested by:	Peter Childs <[email protected]>
     Merge the whole module into a few lines in pap.c
1997-09-27 19:13:34 +00:00
Bruce Evans d6c584f9bb YAMFC (1.38: reject attempts to set an in-core label which says that
the "disk" or a partition is larger than the slice).
1997-09-27 17:50:01 +00:00
Joerg Wunsch 3eb7dab076 MFC: enable the env variable crt by default, to make mail(1) more
happy.
1997-09-27 15:35:54 +00:00
Tim Vanderhoek 1bbb6817e1 mfc 1997-09-27 14:10:48 +00:00
Mike Smith d9f154fdd9 MFC: support for EtherExpress Pro/10+ 1997-09-26 17:25:04 +00:00
Mike Smith 6c0f31a2fa MFC: document Pro/10+ support. 1997-09-26 17:24:47 +00:00
KATO Takenori 54fd83ca16 Synchronize with sys/i386/i386/machdep.c revision 1.209.2.13. 1997-09-26 09:48:45 +00:00
Satoshi Asami b312d96d21 Merge 1.33. 1997-09-26 06:46:04 +00:00
Alexander Langer 7f8cc5bddd Merge from current: ipfw grep string is now "deny|reset|unreach". 1997-09-26 01:41:30 +00:00
Brian Somers db14669dfb MFC: #define RECON_ENVOKED as 4 (not 3, like RECON_UNKNOWN)
Pointed out by:	[email protected] (Tom Torrance at home)
1997-09-26 00:25:14 +00:00
David Greenman 7ae0a3a64b Brought in fix from rev 1.266: bugfix for spec memory probe. 1997-09-25 15:50:53 +00:00
Philippe Charnier dffc6f5a6c MFC: Use err(3). Add usage(). Various fixes in man pages. 1997-09-25 06:33:17 +00:00
Philippe Charnier a888b1470b MFC: Add rcsid. 1997-09-25 06:24:50 +00:00
Philippe Charnier d5ef92bb50 MFC: Use err(3). Add usage() and prototypes. 1997-09-24 06:34:04 +00:00
Philippe Charnier e1d8bd1cb6 MFC: Use err(3). Make it -Wall friendly. Typo fix in man page. 1997-09-24 06:32:06 +00:00
John Polstra e32c95398d Merge from main branch: add "src-kerberosIV" collection. 1997-09-24 03:57:00 +00:00
Brian Somers eb348e2c64 MFC: Don't use uu_lock in -direct mode. It conflicts w/
hylafax & the like.
     Get the CD bit right at last - now that I've got
     my second modem back - loss of carrier makes ppp exit.
1997-09-23 22:09:43 +00:00
Andrey A. Chernov 105a2f694b MFC: official patch 1997-09-23 21:43:43 +00:00
Brian Somers 0916e63b1c Undo botched commit *blush* 1997-09-23 19:53:53 +00:00
Nate Williams 5d82586d67 - MFC: Bump up the size of the space for strings read from PCMCIA cards. 1997-09-23 19:52:21 +00:00
Philippe Charnier 4d59829c7e MFC: Use err(3). Put includes in alphabetical order. Use .An macro. 1997-09-23 06:29:36 +00:00
Brian Somers e297c6daac MFC: Don't allow accept/deny when it's not appropriate.
Log PAP/CHAP users in utmp & wtmp, allowing it to
     be avoided with "disable utmp"
1997-09-23 00:01:28 +00:00
Jordan K. Hubbard f8537798d9 MFC: Actually, the problem I was just gritching about in my previous
commit is already fixed in -current.  D'oh!  Merge.
1997-09-22 19:03:52 +00:00
Jordan K. Hubbard 3c435e3d23 Hmmm. This distrib-dirs rule needs a serious re-think. 1997-09-22 19:01:02 +00:00
Wolfram Schneider f95be760ca Merge rev 1.9 first check for a :' and then for a .' 1997-09-22 18:35:52 +00:00
Masafumi Max NAKANE 51a97c79a2 MFC: Typo fix from Rev.1.3 -> 1.4. 1997-09-22 10:15:31 +00:00
Jordan K. Hubbard 7f09705be8 MFC: depend on freebsd.cf if we're going to install it. 1997-09-22 08:10:27 +00:00
Jordan K. Hubbard 42ec5893d2 SetVariable() can't be static, sorry. 1997-09-22 07:32:01 +00:00
Philippe Charnier cc33cd784d MFC: Use An macro for author name. 1997-09-22 06:27:54 +00:00
Philippe Charnier 74db67661f MFC: Use err(3). Typo fixes in man page. 1997-09-22 06:26:55 +00:00
Philippe Charnier ed1b8a496e MFC: Typo fix in err(3) string. 1997-09-22 06:25:38 +00:00
Philippe Charnier 798ec714a5 MFC: Use err(3). 1997-09-22 06:23:24 +00:00
Brian Somers b13d573bb4 MFC: Don't pause for one second before starting LCP
negotiation.  Instead, incrementally pause after
     receiving LCPs with the same magic.  We can now
     suffer a server that waits more than 1 second before
     responding.  Pauses greater than a second get
     hopelessly confusing as when the server eventually
     starts, it sees a flood of Config Requests followed
     by config NAKs and changes of magic.  This causes the
     server to change its magic over and over.....
1997-09-22 02:52:35 +00:00
Brian Somers 2a4fe462a8 MFC: Use the correct device name in "show modem" 1997-09-22 00:57:01 +00:00
Brian Somers c08f6e3494 MFC: Correct the way the uucp lock file and the ttyXX.if lock
file get created.  We don't create lock files over non-tty
     connections, but we *do* create lock files in -direct mode.
     This leaves us capable of adding utmp/wtmp support for
     successful pap & chap logins (coming soon).
1997-09-22 00:50:39 +00:00
Brian Somers 15373f4c17 MFC: Sleep for a second before sending the first LCP
config request.  This stops us from squirting stuff
     down a line that still has ECHO turned on because the
     peer hasn't had a chance to start yet.
     Lead to the cause by:	Greg Lehey <[email protected]>
1997-09-21 23:02:31 +00:00
Julian Elischer 39c6e69a5b MFC: fix comment 1997-09-21 22:19:08 +00:00
Brian Somers fe0fa91dc2 MFC: It turns out that the following:
close(1);
       close(2);
       x = open(ctermid(NULL), O_RDWR|O_NONBLOCK);
       close(0)
     on a tty causes select() to return an exception for descriptor x !
     This is the case in RELENG_2_2, but not in 2.2.2.  I'm not sure why.
     Instead of doing the x=open() and close(0), we just do x=0 now.
     Problem pointed out by: Greg Lehey <[email protected]>
                             Tomi Vainio <[email protected]>
1997-09-21 20:27:46 +00:00
Jun-ichiro itojun Hagino 2bdcd69789 merge from current: scsi RESERVATION CONFLICT support. 1997-09-21 17:11:24 +00:00
Joerg Wunsch 2fb41f7910 MFC: unspam rev 1.114, kill `savecore_enable' 1997-09-21 16:10:36 +00:00
Brian Somers 457d150b2c MFC: Typo police
Submitted by:	Mark Cammidge <[email protected]>
1997-09-21 13:11:24 +00:00
Brian Somers de6c2f62c6 MFC: Add a pppctl(8) xref.
Suggested by:	joerg
1997-09-21 13:10:53 +00:00
Brian Somers d2d3c68499 MFC: Add "delete 0" before "add 0 0..."
Suggested by:	Greg Lehey <[email protected]>
1997-09-21 02:11:36 +00:00
Wolfram Schneider 828a769ad5 Merge rev 1.37
Do not complain about non existing shell "/nonexistent"
Smarter error check if a uid is already in use.
1997-09-20 20:10:52 +00:00
Joerg Wunsch 671ee62092 MFC: rev 1.323, don't kill termcap.db and vgrindefs.db 1997-09-20 17:11:09 +00:00
Joerg Wunsch 810f9a85d1 MFC: 1.322, do a `make distrib-dirs distribution' inside the chroot
tree.
1997-09-20 15:41:46 +00:00
Wolfram Schneider 1ca485ba96 Merge revision 1.25 and 1.35
Allow dash `-' (except for first char) and underscore `_' in usernames.
Stop the growing list of shells if /etc/adduser.conf was updated.
1997-09-20 12:11:25 +00:00
Jordan K. Hubbard e9c5d959f0 MFC: label editor enhancements. 1997-09-20 06:24:29 +00:00
Jordan K. Hubbard 7783e42d53 MFC: messages and label bogon. 1997-09-20 02:49:14 +00:00
Andrey A. Chernov 15be79db1f MFC: describe all capabilities 1997-09-20 01:42:24 +00:00
Brian Somers 95ef5ab1f5 MFC: Use snprintf() instead of sprintf() most of the time.
Obtained from: OpenBSD

     Make usage() consistent with man page.
1997-09-19 22:27:28 +00:00
Masafumi Max NAKANE c95e2a4d95 MFC: Typo fix. 1997-09-19 16:10:51 +00:00
Joerg Wunsch 9633eb3045 MFC: sample entry with numeric values from rev 1.13 1997-09-19 12:25:44 +00:00
Brian Somers 9bf7b30ef4 MFC: Don't close(1) in direct mode and then proceed to
isatty(1) !  Keep 0 open for this till the modem's
     been set up by either dup()ing 0 or by opening
     ctermid(NULL) (if isatty(0)).

     Reviewed by: Angelo Turetta <[email protected]>
1997-09-19 09:42:03 +00:00
Satoshi Asami d16bb0abff Merge 1.38. 1997-09-19 09:39:21 +00:00
Philippe Charnier 193c8cfeb6 MFc: Typo fix. 1997-09-19 06:23:25 +00:00
Philippe Charnier bca46faf18 MFc: Use err(3). Document -y flag. Remove unused -s flag from getopt string. 1997-09-19 06:21:39 +00:00
Philippe Charnier 3dfc68bf7c environmental -> environment 1997-09-19 06:18:21 +00:00
Julian Elischer 8406b927e4 somewhere for the ja_JP.SJIS locale to go. 1997-09-19 01:53:59 +00:00
Julian Elischer c492cac214 MFC: v 1.2 file was EUC rather than shift-JIS. fixed. 1997-09-19 00:55:50 +00:00
Dima Ruban 3fdde84590 From HEAD: fix optstring. 1997-09-18 23:19:00 +00:00
Daniel O'Callaghan bbec084968 Fix problems with rules file loading and need-modload detection.
Found by: "James E. Housley" <[email protected]>
1997-09-18 22:47:12 +00:00
Julian Elischer 823616a7a1 YAMFC
add the previously non present Japanese SJIS time localisation.
1997-09-18 19:22:45 +00:00
cvs2svn 564481b143 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-09-18 19:09:09 +00:00
Jordan K. Hubbard a564fe048b MFC: XF8633 -> XF86331 1997-09-18 17:55:38 +00:00
Jordan K. Hubbard a90add14bb MFC: typo fix. 1997-09-18 16:26:20 +00:00
Jordan K. Hubbard e0815bb3dd MFC: 1000+ ports 1997-09-18 16:19:35 +00:00
Satoshi Asami 5d60b0d803 Merge 1.37. 1997-09-18 08:57:51 +00:00
KATO Takenori c0793ebe10 Fixed entry of aicasm.
Submitted by:	[email protected]
1997-09-18 08:13:49 +00:00
Satoshi Asami 6ba639da10 Typo fix (1.94). 1997-09-18 07:01:56 +00:00
Philippe Charnier ce58188b0b MFC: Use err(3). Document options in man page, not in usage string. 1997-09-18 06:30:38 +00:00
Philippe Charnier af17b95444 MFC: Perror() -> warn(). 1997-09-18 06:29:16 +00:00
Philippe Charnier 5edc3e6661 MFC: Use err(3), add prototypes. 1997-09-18 06:28:23 +00:00
Philippe Charnier 4bdd80f6dd MFC: Use err(3), add usage(). 1997-09-18 06:26:47 +00:00
Philippe Charnier 03f05a0035 MFC: Use err(3) instead of local redefinition. 1997-09-18 06:25:39 +00:00
Philippe Charnier 77db442628 MFC: Use err(3). Use An/Aq for author name. 1997-09-18 06:23:29 +00:00
Rodney W. Grimes aba46bf6b0 YAMC - bde's fix for includes: that I blew on my attempt. 1997-09-17 23:50:26 +00:00
Joerg Wunsch cfcd2a898e MFC: add the C1557A tape changer 1997-09-17 21:50:30 +00:00
Paul Traina 7cd714d4b2 Merge my VAR_ changes and Jordan's boot.help changes in from -current.
I did not bring in all of the -current bugfixes because it's not clear
what's an improvement and what's a spam (see ftp.c).
1997-09-17 16:35:38 +00:00
Jordan K. Hubbard 86485a0c81 MFC: netInteractive variable 1997-09-17 13:33:36 +00:00
KATO Takenori 2639d9b4b5 Synchronize with sys/i386/isa/if_ed.c revision 1.107.2.3. 1997-09-17 09:10:05 +00:00
KATO Takenori 969434ddc7 Synchronize with sys/i386/i386/machdep.c revision 1.209.2.12. 1997-09-17 09:09:23 +00:00
KATO Takenori d7ca24962c Synchronize with sys/i386/conf/files.i386 and options.i386 revisions
1.141.2.15 and 1.26.2.10, respectively.
1997-09-17 09:08:26 +00:00
Philippe Charnier a360f78b6d MFC: Wrap too long lines. 1997-09-17 06:38:50 +00:00
David Greenman df760bb31a Merged the rest of the changes from current, up to rev 1.9. 1997-09-17 03:04:44 +00:00
Jonathan M. Bresler aa9b171377 configure ee to use as many emacs bindings as possible
make RELENG_2_2 match -current
1997-09-16 23:57:49 +00:00
Brian Somers 250a316728 MFC: o Fix two unlikely descriptor leaks.
o Output the correct device for "show modem"
       while in -direct mode.
     o Cosmetic:  Moan a bit more when we can't open
       the [modem] device.
     o Call OpenModem() in a more "natural" way.
     o Add some LogDEBUG in OpenModem().
1997-09-16 23:20:21 +00:00
Jordan K. Hubbard 451580f68a MFC: new dispatch code from Paul Traina 1997-09-16 18:59:03 +00:00
cvs2svn 4973bd8d87 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-09-16 18:57:48 +00:00
Jordan K. Hubbard e135c7dac2 Now that I've merged ping(1), fixit floppy need math library. 1997-09-16 18:55:04 +00:00
Joerg Wunsch 35dc68d1b9 MFC: make TCPDEBUG a new-style option 1997-09-16 18:37:02 +00:00
Andrey A. Chernov c6b3c9f414 MFC: remove ipq queue declaration, not used outside ip_input.c 1997-09-16 12:03:45 +00:00
David Greenman 0e20ee28ae Brought in changes from revs 1.119-1.121: enable 0WS and check memory
address range validity.
1997-09-16 11:01:14 +00:00
David Greenman ab47f846ed Bring in changes from revs 1.262 & 1.263: speculative memory probe for
machines with >64MB of RAM.
1997-09-16 10:45:05 +00:00
Jordan K. Hubbard 9716063943 o Handle the dist set problem where you've got dist names == menu names.
o Allow user partition size of 0mb to do the right thing.
o Rate limit package install status for serial consoles.
o If you're on a serial console, debug messages go to /dev/null, not stdout.

Submitted By: pst
1997-09-16 10:12:58 +00:00
Joerg Wunsch 45b85c325b MFC: buffer overflow fix from rev 1.3. 1997-09-16 08:35:14 +00:00
Philippe Charnier 1d3cdd87fb MFC: Use err(3). 1997-09-16 07:06:26 +00:00
Philippe Charnier 0b41984099 MFC: Use err(3). Rewrote man page in mdoc format. 1997-09-16 07:02:32 +00:00
Philippe Charnier 3f1433e54c MFC: Use err(3), add usage(). -Wall clean. Police from style.9 and Bruce. 1997-09-16 06:57:11 +00:00
Philippe Charnier 5291bb6d33 MFC: Statisize usage(). 1997-09-16 06:46:12 +00:00
Eivind Eklund 02430d3bb7 Change non-setuid games from owner games to owner bin.
Silently approved by: security-officer & ache
1997-09-16 00:36:38 +00:00
Andrey A. Chernov 392783eb09 MFC: prevent overflow with fragmented packets
Reviewed by: wollman
1997-09-15 23:10:55 +00:00
Jordan K. Hubbard 72bd75223e Revert 1.144 so that make world works again.
Sanctioned By: rgrimes
1997-09-15 17:39:31 +00:00
Jordan K. Hubbard b4d78d8182 MFC: revert, we want the warning. 1997-09-15 11:02:45 +00:00
Jordan K. Hubbard 4370d18303 MFC: remove deleted files. 1997-09-15 10:35:24 +00:00
Jordan K. Hubbard 1ae21ad605 MFC: Boy, this is fun! [NOT] :) 1997-09-15 10:19:57 +00:00
Jordan K. Hubbard d253a26a86 MFC: Lots of cosmetics (plus one gripe from bde about a comment in tail's
sources, of all places).
1997-09-15 09:20:57 +00:00
Jordan K. Hubbard f18d406879 MFC: cosmetic and some major updates for mail(1). 1997-09-15 08:42:07 +00:00
Jordan K. Hubbard 695cbc763d MFC: cosmetics. 1997-09-15 08:32:20 +00:00
Jordan K. Hubbard b2fad66833 Remove dead file. 1997-09-15 08:20:30 +00:00
Jordan K. Hubbard 6cb0350862 Remove outdated files. 1997-09-15 08:19:25 +00:00
Jordan K. Hubbard 593ce86a8f Delete outdated files. 1997-09-15 08:18:43 +00:00
Jordan K. Hubbard a475101277 MFC: More cosmetic fixes and new id(1) functionality. 1997-09-15 08:17:28 +00:00
Jordan K. Hubbard 5a5c688432 MFC: In honor of fortran programmers everywhere. :) 1997-09-15 08:11:50 +00:00
Jordan K. Hubbard f37c3d0edb MFC: a number of trivial cosmetic updates and a fairly large update of f2c
[since I know that FreeBSD has so many fortran programmers now :-)]
1997-09-15 08:07:11 +00:00
Philippe Charnier ea0aba3406 MFc: Cosmetic in man page. Sync usage() with man page. 1997-09-15 06:29:31 +00:00
Philippe Charnier e320ec3a92 MFC: Use err(3). 1997-09-15 06:27:49 +00:00
Philippe Charnier cb1953555f MFC: Use err(3). Add usage(). 1997-09-15 06:26:20 +00:00
Rodney W. Grimes c6b278cf6d When calling the src/include Makefile use the shorthand ``all beforeinstall''
inplace of ``all installhdrs symlinks'' so those of us who run with
SHARED=copies get the right results.

I'll check -current in a minute for the same bug.
1997-09-15 05:52:04 +00:00
Rodney W. Grimes a2a7d7d2f0 Merge the wavelan driver from current into RELENG_2_2
Reviewed by:	wavelan mailing list <[email protected]>
1997-09-15 04:56:53 +00:00
Jordan K. Hubbard 4475681252 MFC: doc fixes. 1997-09-15 01:36:19 +00:00
Jordan K. Hubbard 06f5b9fcca MFC: new message catalogs, fixes, oh lots of stuff. :) 1997-09-15 01:35:19 +00:00
Daniel O'Callaghan 03a7c56259 MFC - firewall initialization cosmetics. 1997-09-14 23:35:26 +00:00
Jordan K. Hubbard 781e3f24dd MFC: cosmetic 1997-09-14 23:25:50 +00:00
Jordan K. Hubbard bd25a249aa MFC: doc and cosmetic fixes. 1997-09-14 23:25:08 +00:00
Jordan K. Hubbard e0c356382f MFC: doc and whitespace fixes. 1997-09-14 23:24:11 +00:00
Jordan K. Hubbard 4a1311072d MFC: Respect ${BINDIR} 1997-09-14 23:23:18 +00:00
Jordan K. Hubbard 74fcfc52e5 MFC: docs 1997-09-14 23:21:48 +00:00
Jordan K. Hubbard 1c5ec6fc36 MFC: doc fixes and bugs. 1997-09-14 23:20:46 +00:00
Jordan K. Hubbard 61d2b0edb2 MFC: doc & cosmetic fixes. 1997-09-14 23:19:57 +00:00
Jordan K. Hubbard cdc2a0c6d1 MFC: doc fixes, EOF -> -1 changes, misc cruft. 1997-09-14 23:17:17 +00:00
Jordan K. Hubbard 91c68d8f0a There's now a man page - remove NOMAN. 1997-09-14 23:07:52 +00:00
Jordan K. Hubbard 776f998eec MFC: remove nuked files. 1997-09-14 20:40:14 +00:00
Jordan K. Hubbard 9edfd19475 MFC: various bug fixes, doc updates and EOF -> -1 fixes. 1997-09-14 20:39:33 +00:00
Jordan K. Hubbard 5b4377ec86 Revert some of the kerberos stuff - I don't want to have to sync restore
to the level required to make this work.
1997-09-14 20:27:45 +00:00
Jordan K. Hubbard 2720bd6991 MFC: EOF -> -1 1997-09-14 19:53:31 +00:00
Jordan K. Hubbard f9d7405c20 MFC: doc fixes and use common UUCP locking code. 1997-09-14 19:53:01 +00:00
Jordan K. Hubbard 6d07a06635 MFC: doc and locking fixes. 1997-09-14 19:50:36 +00:00
Jordan K. Hubbard f0d0d7c8b6 MFC: doc fixes and cosmetic EOF -> -1 changes. 1997-09-14 19:48:28 +00:00
Jordan K. Hubbard f60953b5e3 MFC: EOF -> -1 for getopt() 1997-09-14 19:46:58 +00:00
Jordan K. Hubbard 778ebffe52 MFC: EOF -> -1 for getopt() 1997-09-14 19:41:49 +00:00
Jordan K. Hubbard bd81653b2e MFC: EOF -> -1 1997-09-14 19:41:18 +00:00
Jordan K. Hubbard 7f4fe40b49 MFC: doc changes and new preload features. 1997-09-14 19:40:04 +00:00
Joerg Wunsch 3b798d9bc8 MFC: two bug fixes from rev 1.13. 1997-09-14 19:01:58 +00:00
Jordan K. Hubbard f3c1c42ab1 MFC: respect ${BINDIR} 1997-09-14 15:46:33 +00:00
Jordan K. Hubbard 1375a07aa6 MFC: doc fixes, bug fixes, kerberos support, all kinds of stuff here.
Had to preserve variant CHANGEDSINCE() definition from before (not sure
if it should ever have been removed from -current, really).
1997-09-14 13:15:04 +00:00
Jordan K. Hubbard 47795419ca MFC: Just the locale fixes (small doc tweaks for the most part)
and the new strptime(3) call.  Having added something, does this
require a version bump?  Haven't we bumped once already?

There are a *LOT* of additional 3.0 changes to be merged but I'm not
entirely comfortable with some of them so I'll take the conservative
(read: cowardly :) way out and just merge this much.
1997-09-14 13:09:19 +00:00
Jordan K. Hubbard c66b78f9d7 MFC: doc fixes, update date command (required strptime(3) from libc),
bug fixes.
1997-09-14 13:07:41 +00:00
Jordan K. Hubbard a42a809f7b MFC: typo fix 1997-09-14 12:22:17 +00:00
Jordan K. Hubbard a44b33653e MFC: invoke vidcontrol properly. 1997-09-14 12:17:26 +00:00
Joerg Wunsch ce3371c6f8 MFC: doc update from rev 1.7 1997-09-14 06:58:19 +00:00
KATO Takenori 5a3b741542 Synchronize with sys/i386/isa/wd.c revision 1.119.2.8. 1997-09-14 06:26:40 +00:00
Jordan K. Hubbard e3228e50a5 MFC: XFree86 changes and new if_media related documentation. 1997-09-14 04:19:16 +00:00
Brian Somers 738cdc5cab MFC: Change the not-specified-default for inetd & cron
to "enabled".  This will avoid breaking things for
     idiots like me who update /etc/rc without paying
     attention and updating rc.conf too.
1997-09-13 21:08:29 +00:00
Jordan K. Hubbard 6ee3d5e1d6 Nuke root permission on this. 1997-09-13 18:09:23 +00:00
Jordan K. Hubbard 7fd379f055 If moused is enabled, also turn it on since it's fairly confusing
otherwise (this has been complained about by multiple people, the
latest instance being PR#4525).

PR:	4525
1997-09-13 18:02:56 +00:00
Masafumi Max NAKANE 4314b011ae Typo. 1997-09-13 17:55:43 +00:00
Joerg Wunsch b80e4f442a MFC: introduce a function is_physical_memory(), and use it to exclude
the ``ISA memory hole'' from kernel coredumps.
1997-09-13 16:19:14 +00:00
Wolfram Schneider 225beade92 Add manpage links ypchpass.1, ypchfn.1, ypchsh.1 1997-09-13 12:21:25 +00:00
Brian Somers 8f67fba8f2 MFC: Don't redirect "mount -t -o nfs" to null 1997-09-13 09:30:58 +00:00
Brian Somers d9d495a566 MFC: o Initialize the PRED1 input queue when we
receive the ResetAck, NOT when we send the
        ResetReq (as per the rfc).
     o  SILENTLY ignore CCPs that arrive *before*
        the network phase (as per the rfc).
     o  Check that we've actually negotiated PRED1
        before sending PRED1 output.
        This bug has been around for a *VERY* long
        time !  We shouldn't need to explicitly disable
        PRED1 now :-)
        PR:		4495
1997-09-12 01:02:14 +00:00
Jordan K. Hubbard ba28e471af MFC: display bug and (T)ype command. 1997-09-11 17:21:12 +00:00
Jordan K. Hubbard a607ecb7a6 Whoops, heh heh. Forgot a file. ;) 1997-09-11 14:31:33 +00:00
Jordan K. Hubbard 5dc7c2a17c MFC: Adios sysconfig(5), hello rc.conf(5). 1997-09-11 14:31:04 +00:00
Peter Wemm ae0ad6d383 Remove reference to the tetris subdir 1997-09-11 03:03:14 +00:00
Jordan K. Hubbard 1fd044f59e MFC: label fixes, XF86 3.3.1. 1997-09-10 10:16:26 +00:00
Peter Wemm d7503f8337 Bring in the 'make -DNOCLEAN world' fixes from -current. The problem
is that obj/tmp/usr/include is built first with symlinks and then
deleted and replaced with real files, causing all the dependencies to
be triggered.
1997-09-10 07:18:46 +00:00
KATO Takenori b95a1533be Fixed header file name: nfs.h -> nfsv2.h.
Submitted by:	[email protected]
1997-09-10 02:46:56 +00:00
Brian Somers db8b02b7ab MFC: Cosmetic: Remove unused variables and build on OpenBSD. 1997-09-10 02:23:33 +00:00
Kazutaka YOKOTA fbc52f5109 MFC: incoroprate the fixes by many people in pcvt_drv.c (1.28-1.33),
pcvt_ext.c (1.11), pcvt_hdr.h (1.22, 1.24-1.26), pcvt_kbd.c
(1.15-1.19) and pcvt_sup.c (1.7).

- Use kbdio routines to access the keyboard and the keyboard controller.
- Add IOPL check as in syscons.
- Fixed the type of timeout functions.
- Fixed non-atomic access to `time'.
- Don't include <sys/ioctl.h> if not used.
- Include <machine/stdarg.h> in one place.
- Removed stray semicolons.

Cleared by Joerg.
1997-09-10 01:23:39 +00:00
Brian Somers 718b5ca0ee MFC: Correct and explain the PAP/CHAP examples. 1997-09-10 01:00:27 +00:00
Brian Somers 3ce40bc9e9 MFC: Allow dial to work in non-interactive mode. 1997-09-09 23:57:55 +00:00
Brian Somers 6b46eb2063 MFC: Print errors correctly (don't adjust
argc/argv for commands).
1997-09-09 23:27:06 +00:00
Brian Somers 19fddd40a0 MFC: Don't start an interactive shell from a
telnet prompt.
1997-09-09 23:17:28 +00:00
Brian Somers 21af0f6bd3 MFC: Correct ppp authentication defaults in interactive
mode.  We don't want to be forced to type a password
     here :-(
     Pointed out by: [email protected] (John Kelly)

     While I'm there, don't allow a "set server" in
     interactive mode.
1997-09-09 22:01:27 +00:00
Brian Somers 1d21e829d7 MFC: Document the use of PAP/CHAP properly. 1997-09-09 21:07:00 +00:00
Jordan K. Hubbard 7463799021 MFC: XFree86 3.3.1 update and shorter message dialog title. 1997-09-09 16:28:25 +00:00
Mark Murray 1d30d9a889 Add the Brooktree BT848 tv driver. 1997-09-09 10:47:51 +00:00
Peter Wemm 28096945c4 Delete incorrect (non-branch) RELENG_2_2 tag and re-add these to the 2.2
branch.

Pointy-hat award gots to: markm :-)
1997-09-09 10:46:25 +00:00
Jordan K. Hubbard 98375250dd MFC: leave kernel in place. 1997-09-09 09:19:59 +00:00
Mark Murray 59718857c7 Add brooktree BT848 driver. The drivers themselves have been tagged in. 1997-09-09 06:58:40 +00:00
cvs2svn 7cbcabad63 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-09-09 06:32:33 +00:00
Dima Ruban 2619071025 Merge from -current: setlogin() stuff. 1997-09-08 23:45:35 +00:00
Stefan Eßer 68829d454b Merge from -current: Make identical to rev. 1.18. 1997-09-08 22:04:42 +00:00
Stefan Eßer 6a8d044d0e Merge from -current: Bring NCR driver to level 1.108.
Remaining differences to revision 1.108 are:
	- No code to deal with quirks set in scsiconf.c
	- No support for reading the EEPROM of Tekram cards
1997-09-08 22:02:40 +00:00
Brian Somers 327b9826ff MFC: Don't add loopback routes in the examples. Ppp
now does this internally by default.
1997-09-08 20:23:31 +00:00
John Hay 348a9c8117 MFC. The arpcom structure should be the first element in the softc
structure.
1997-09-08 19:58:45 +00:00
Jordan K. Hubbard 7b1a6c4756 MFC: upgrade fixes, less verbosity, etc. 1997-09-08 11:16:13 +00:00
KATO Takenori 92f8c8ef19 Synchronize with sys/i386/conf/files.i386 revision 1.141.2.14.
Submitted by:	[email protected]
1997-09-08 03:05:00 +00:00
KATO Takenori cd18c7bc51 Synchronize with sys/i386/isa/syscons.c revision 1.182.2.24.
Submitted by:	[email protected]
1997-09-08 03:03:22 +00:00
KATO Takenori 71cab00d41 Synchronize with sys/i386/isa/syscons.c revision 1.182.2.19.
Submitted by:	[email protected]
1997-09-08 03:02:00 +00:00
Joerg Wunsch 546f59f7b6 MFC: 1.90, add a hint to the FAQ. 1997-09-07 14:07:47 +00:00
Joerg Wunsch 5878aff7fd MFC: add od(4) and tun(4). 1997-09-07 12:33:58 +00:00
Joerg Wunsch e159d6868d MFC: rev 1.81, silence a call to an optional command. 1997-09-07 10:09:54 +00:00
Brian Somers efad87929d Mention ppp changes that may disturb current configurations. 1997-09-07 02:32:08 +00:00
Brian Somers d1de837000 MFC: Update samples for the changed LQR default. 1997-09-07 01:06:43 +00:00
Brian Somers 8b6a2ea3bd YAMFC: Disable LQR by default. It causes too many problems
with too many ISPs to be a good default.  LQR is still
       accepted by default.
1997-09-07 01:01:25 +00:00
Brian Somers 819f7db65a YAMFC: Use __libalias_version to derive the name to
pass to dlopen().
1997-09-06 11:23:26 +00:00
Brian Somers d7d8654b2c YAMFC: Ingored incoming packets are now dropped when
deny_incoming option is set to yes.
       Submitted by:	Ari Suutari <[email protected]>
1997-09-06 11:20:46 +00:00
Brian Somers 15e9e67906 MFC: Upgrade to 2.4 (Fix -PKT_ALIAS_UNREGISTERED_ONLY)
Submitted by:	Charles Mott <[email protected]>

     Add __libalias_version so that ppp can derive the
     correct library name for dlopen()
1997-09-06 11:19:11 +00:00
KATO Takenori 40f2dabf78 Synchronize with sys/i386/i386/userconfig.c revision 1.63.2.20. 1997-09-06 01:21:24 +00:00
Brian Somers 6b39712eff YAMFC: Bring CCP and IPCP layers down properly when LCP
comes down.  Give a count of bytes sent/received
       in IPCP log.
1997-09-05 23:22:31 +00:00
Brian Somers 4324a26b46 MFC: Insist that the user has group network.
Discussed on: -committers
1997-09-05 23:12:29 +00:00
Brian Somers e484f4f382 YAMFC: Install as group ``network''
Insist that uid == 0 for client ppp
       Disallow client sockets if no password is specified
       Don't exit on failure to open client socket for listening
       Allow specification of null local password
       Use reasonable size (smaller) ``vector''s in auth.c
       Fix "passwd ..." usage message
       Insist on "all" as arg to "quit" (if any)
       Drop client socket connection before Cleanup() when "quit all"
1997-09-05 23:07:44 +00:00
Brian Somers 289a730b2f MFC: ppp => network
As discussed on cvs-committers
1997-09-05 23:05:43 +00:00
Nate Williams de96dc35ad - Newer 3Com 3c589D PCMCIA cards are now supported. 1997-09-05 16:09:05 +00:00
Jordan K. Hubbard b71a4eaed2 An early attempt at documenting what's changed in this branch since
2.2.2.  Help me out here, guys! ;-)
1997-09-05 12:57:09 +00:00
Thomas Gellekum 717cddd0af MFC: rename logwtmp() to ftpd_logwtmp(). 1997-09-05 12:45:31 +00:00
Joerg Wunsch 4f818d470e MFC: rev 1.19, make the Sony TSL-7000 known. 1997-09-05 10:16:38 +00:00
Peter Wemm e5ce396858 YAMFC: revert make -m back to -I for 2.1.x's benefit. 1997-09-05 09:12:51 +00:00
John Polstra 49e1e4909e Merge from main branch 1.10 -> 1.11: add cvsup.ca.FreeBSD.org. 1997-09-05 05:01:15 +00:00
Paul Traina f6bb3b675d MFC: The parameters to logwtmp should be const char's 1997-09-04 22:39:27 +00:00
Wolfgang Helbig db53871ecf Merge in CMD640-related changes from -current. 1997-09-04 21:17:16 +00:00
John Polstra ad09c0a554 Merge from main branch 1.6 -> 1.7: "It's" becomes "Its". 1997-09-04 21:01:05 +00:00
KATO Takenori f73ee0ff91 MFC (revision 1.31; macros of PC-98 display). 1997-09-04 12:40:29 +00:00
Philippe Charnier 260701507a MFC: Use err(3). Document -n flag. 1997-09-04 11:35:44 +00:00
Jordan K. Hubbard 8b442691e8 MFC: spelling bogon 1997-09-04 09:01:39 +00:00
Jordan K. Hubbard c2a80f02c0 MFC: less annoying messages for all-disk case. 1997-09-04 07:47:32 +00:00
Jordan K. Hubbard 65cf18a7dd MFC: zip drive entry from julian 1997-09-04 07:16:53 +00:00
John Polstra b4fcb901bd Sync with main branch: "stable" now means RELENG_2_2. 1997-09-03 20:43:41 +00:00
Søren Schmidt 4985d29fbb YAMFC (copyin argument order) 1997-09-03 19:17:09 +00:00
Paul Traina b5f363083e Merge from -current 1997-09-03 08:32:05 +00:00
Jordan K. Hubbard fe31407b64 MFC: cosmetic EOF fix only. 1997-09-03 07:00:54 +00:00
Peter Wemm 0985bbdfe6 YAMFC: issetugid libc hook, man page and doc update. 1997-09-03 06:58:50 +00:00
Jordan K. Hubbard c118356479 MFC: EOF -> -1 1997-09-03 06:55:39 +00:00
Jordan K. Hubbard bb4d8b3afd MFC: mostly cosmetic 1997-09-03 06:53:51 +00:00
Jordan K. Hubbard 7cdc23ad5b MFC: miscellany 1997-09-03 06:49:48 +00:00
Peter Wemm 55aaaf05ef YAMFC: prototype issetugid() 1997-09-03 06:37:54 +00:00
Peter Wemm ee1c267a9c Regenerate 1997-09-03 06:35:43 +00:00
Peter Wemm 2ec944faf1 YAMFC: activate issetugid(2) 1997-09-03 06:31:56 +00:00
Peter Wemm 45b1a2125b YAMFC: rev 1.27 DTRT when setgroups called from a program expecting sysv
or linux sematics for clearing the groups vector.
revs 1.28-1.32 for issetugid support
1997-09-03 06:30:22 +00:00
Philippe Charnier 891d76f905 MFC: Use err(3). Silent -Wall. 1997-09-03 06:30:04 +00:00
Philippe Charnier a4e0455592 MFC: Use err(3). Typo in man page. 1997-09-03 06:28:42 +00:00
Philippe Charnier da3141419e MFC: Use err(3). Add usage() and remove progname. 1997-09-03 06:27:19 +00:00
Justin T. Gibbs 123d1744bb Merge from current. 1997-09-03 04:25:39 +00:00
Peter Wemm bfdfbb2b15 Add the new syscalls in use in -current so far. (as UNIMPL) 1997-09-03 04:03:01 +00:00
David Nugent 2e83bb21c9 MFC: cgetustr() -> cgetstr(). 1997-09-03 01:08:41 +00:00
Brian Somers 6db7e392f2 MFC: Allow the transition from an idle timeout value
of zero (no timeout) while IPCP is up.
     Move some prototypes into .h files and re-order
     some includes.
1997-09-03 00:42:16 +00:00
Andrey A. Chernov 7238cbb481 MFC: Fix possible coredump on BW display 1997-09-02 19:10:19 +00:00
Nate Williams 6ca1b66ffd MFC: Prepend an underscore if a symbol lookup fails and try again. 1997-09-02 14:18:52 +00:00
Kazutaka YOKOTA 6a06013b97 YAMFC: many small bug fixes and changes to facilitate the new
saver loading/unloading notification interface in syscons.
1997-09-02 10:38:05 +00:00
Kazutaka YOKOTA 8742cbb352 YAMFC: incorporate changes in v1.217 (video probe), 1.220 (destructive
cursor) and 1.225 (screen saver) in the -current.
1997-09-02 10:31:09 +00:00
Philippe Charnier 7ed1f523f7 MFC: Cosmetic changes. 1997-09-02 06:31:52 +00:00
Philippe Charnier 0d76b58cd6 MFC: Use err(3). 1997-09-02 06:29:45 +00:00
Philippe Charnier e3d5102fe1 MFC: Style in rcsid, sort #include. 1997-09-02 06:28:56 +00:00
Tor Egge 65bc8706c8 Don't throw away metadata on local filesystems just because the vnode
for the block device happens to have v_tag set to VT_NFS.
This caused errors as "dup alloc", "freeing free frag", and
"ufs_ihashget: recursive lock not expected" when using a read-only
nfs mounted root file system during automated installation of the
OS onto a local disk.
1997-09-01 23:23:08 +00:00
Brian Somers a8c93ca12a MFC: Fix the bogus routes I introduced in the last commit. 1997-09-01 22:22:08 +00:00
David Greenman d6e51e019d Merged changes from rev 1.10: file descriptor leak. 1997-09-01 11:12:49 +00:00
David Nugent 2223caa99f MFC: Use cgetustr() and typo (== => =) fix.
PR: 4370
Submitted by: [email protected]
1997-09-01 10:08:48 +00:00
David Nugent b1304bfd19 Unquote default group in pw.conf
PR: 4365
Submitted by: "Andrew L. Moore" <[email protected]>
1997-09-01 09:31:31 +00:00
Peter Wemm 699cda0c71 YAMFC: use make -b, not make -I, so that the correct sys.mk is used with
bsd.*.mk.
1997-09-01 07:26:42 +00:00
Philippe Charnier 81cd0aae88 MFC: Use err(3). Wait for the user to supply the domain before computing
a default one.
1997-09-01 06:08:30 +00:00
Philippe Charnier b8fde9d290 MFC: Use err(3). Add references to others man pages. Wait for the user to
supply the domain before computing a default one.
1997-09-01 06:06:23 +00:00
Eivind Eklund 200d0483b9 MFC: Remove buffer overflow in args(), misc cleanup. 1997-09-01 01:48:25 +00:00
Brian Somers 2124bd8eab YAMFC: Cosmetic: Make LogPrintf() calls consistent. 1997-08-31 23:02:49 +00:00
Brian Somers c3385c8686 MFC: Make ppp owner root.ppp, mode 4550
Suggested by: guido
     Condoned by: eivind
1997-08-31 20:19:29 +00:00
Brian Somers feb8a01f20 MFC: Add group ppp (gid 69) 1997-08-31 20:15:14 +00:00
Brian Somers a504276fb2 MFC: Remove login_progok()
Suggested by: guido
1997-08-31 20:11:35 +00:00
Eivind Eklund 32fbed19a1 MFC: Fix my e-mail address. 1997-08-31 16:39:56 +00:00
Alexander Langer 14c55d75fd Merge from -current: display file size as an unsigned long. 1997-08-31 01:33:43 +00:00
KATO Takenori a77bd38468 MFC: (added hw.machine_arch). 1997-08-30 14:11:21 +00:00
KATO Takenori 2bf3c0b3f6 MFC: (added HW_MACHINE_ARCH). 1997-08-30 14:10:25 +00:00
Wolfram Schneider 172bce96e3 Merge: du(1) always exit with value zero. 1997-08-30 13:33:27 +00:00
Jordan K. Hubbard dd84a1d30f MFC 1997-08-30 11:36:11 +00:00
Guido van Rooij 872711df52 MFC: Plug info agthering attack as pointed out on Bugtraq recently.
Obtained from: OpenBSD
1997-08-29 19:23:39 +00:00
Warner Losh 9f893d6c97 MFC:odd sleep after select 1997-08-29 18:03:01 +00:00
KATO Takenori 4157f6edcb Synchronize with sys/i386/i386/userconfig.c revision 1.63.2.19. 1997-08-29 14:54:29 +00:00
KATO Takenori cfd8444392 MFC (revision 1.90; fix for scbus and flags). 1997-08-29 14:50:36 +00:00
Philippe Charnier b6b01994bd Use err(3). Rewrote man page in mdoc format. 1997-08-29 11:40:46 +00:00
Philippe Charnier ee41216cbe MFC: Use err(3). Add usage and prototypes. Use getopt(). Document -v flag. 1997-08-29 11:39:13 +00:00
David E. O'Brien 35f642bd55 YAMFC. 1997-08-29 09:11:26 +00:00
cvs2svn b6abecae06 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-08-29 09:10:23 +00:00
Warner Losh 228f50a90c MFC: getopt returns -1 not EOF 1997-08-29 05:30:15 +00:00
Warner Losh 4a796f06ac MFC: getopt returns -1 not EOF 1997-08-29 05:16:14 +00:00
KATO Takenori 0bcbf149b4 MFC: Moved bs driver independent headers. 1997-08-28 11:36:26 +00:00
cvs2svn 13aea08e0c This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-08-28 09:23:58 +00:00
Andrey A. Chernov 7eb72cf359 MFC: try getpwnam(getlogin()) before getpwuid(getuid()) 1997-08-28 08:25:55 +00:00
Andrey A. Chernov 4e05a3de30 MFC: inspace handling 1997-08-28 08:14:17 +00:00
Philippe Charnier 8af9c62eb0 MFC: Uncomment sccsid string and enclose it inside #if 0/#endif.
Cosmetic in man page.
1997-08-28 06:24:41 +00:00
Philippe Charnier fa75e25aec MFC: Use err(3) instead of local redefinition. 1997-08-28 06:22:57 +00:00
Warner Losh dcceb2660b MFC: 1.10 sanity for sendmail args 1997-08-28 04:42:57 +00:00
Warner Losh d5e8280444 Do approx what issetugid() does in current rath than issetugid(). 1997-08-28 04:26:36 +00:00
Jordan K. Hubbard bfdb5d891a Temporarily remove call to issetugid() until it's actually *IMPLEMENTED*
in RELENG_2_2. :-)
1997-08-27 23:45:07 +00:00
Brian Somers c884e41723 YAMFC: Add full support for determining if a user
is restricted from running a given program.
Although this is "new" code, nothing should be
changed to use it prior to Sep 15.
1997-08-27 20:09:25 +00:00
cvs2svn 772a77e1ac This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-08-27 20:06:21 +00:00
Joerg Wunsch eafa9c7566 MFC: rev 1.4, pass all args down to scanident() 1997-08-27 17:21:00 +00:00
KATO Takenori ad5b9fec49 MFC: revision 1.33; use existing path. 1997-08-27 10:38:21 +00:00
Jordan K. Hubbard 4eeffb65ce MFC: rel 1.22 fix for Makefile in ${OBJDIR} from gibbs 1997-08-27 06:32:03 +00:00
Philippe Charnier 3ef095ffe3 MFC: Use err(3). Add usage() and prototypes. 1997-08-27 06:23:09 +00:00
Philippe Charnier 246ab928c6 MFC: cosmetic in usage string. 1997-08-27 06:21:30 +00:00
Philippe Charnier 611dae3a12 MFC: Use err(3). 1997-08-27 06:20:34 +00:00
Philippe Charnier 6f9ab47031 MFC: Cosmetic in usage string. Mdocify author section. 1997-08-27 06:18:05 +00:00
Warner Losh df35aaa33b MFC: don't getenv(HOME) if set[ug]id 1997-08-27 05:29:41 +00:00
Julian Elischer 5ab2dfb5d8 fix confusion added by poul's commit
if you remove the 'then' clause of an 'if' the next command becomes the then
clause, which is confusing at least.
1997-08-27 02:56:53 +00:00
Julian Elischer 5b0ee2ab36 YAMFC: bring devfs_tree.c -> 1.38
devfs_vfsops.c -> 1.18
		devfs_vnops.c -> 1.37
various bug fixes.
1997-08-27 01:32:30 +00:00
Brian Somers 0a62806f6b YAMFC: Add prog.deny as a list capability for
denying execution of certain programs.
1997-08-26 23:17:32 +00:00
Paul Traina af499912db YAMFC 1997-08-26 20:56:14 +00:00
Jordan K. Hubbard 1f3240a32a MFC: cosmetic EOF -> -1 1997-08-26 13:15:01 +00:00
Jordan K. Hubbard f7cbad04bf MFC: cosmetics, better error/warnings. 1997-08-26 13:12:57 +00:00
Jordan K. Hubbard 36e8f74b1e MFC: EOF -> -1 cosmetics. 1997-08-26 13:09:34 +00:00
Philippe Charnier da86ea4472 MFC: Use err(3). 1997-08-26 06:53:45 +00:00
Philippe Charnier db91ad74bc MFC: Sync usage string and man page. 1997-08-26 06:52:01 +00:00
Philippe Charnier 4da65bc9b3 MFC: Use err(3) and add usage(). 1997-08-26 06:50:36 +00:00
Philippe Charnier 71ceda0656 MFC: Typo in usage(). Err -> errx when testing allocations. 1997-08-26 06:47:45 +00:00
Philippe Charnier d0e5f1f593 MFC: Use err(3). Add some %d to %ld changes. 1997-08-26 06:35:18 +00:00
Philippe Charnier 51ad2ea740 MFC: Use err(3). add usage() and prototypes. 1997-08-26 06:30:33 +00:00
Philippe Charnier b18ad4ba0b Use err(3). 1997-08-26 06:28:51 +00:00
Philippe Charnier 5d340b06c4 Main() returns int. 1997-08-26 06:23:21 +00:00
Philippe Charnier 107b33801f Main() should return int, not void: bug I introduced. 1997-08-26 06:16:41 +00:00
Warner Losh 018a24737e MFC: 1.7 Xr vnconfig 1997-08-26 00:32:59 +00:00
Jordan K. Hubbard 5ddc60ea2b MFC: doc fixes + cosmetics 1997-08-25 21:28:37 +00:00
Jordan K. Hubbard 319b34a9c9 MFC: cosmetic 1997-08-25 21:27:59 +00:00
Jordan K. Hubbard 952db856b5 MFC: man page fixes I evidently missed! 1997-08-25 21:22:27 +00:00
Jordan K. Hubbard 0e830819ad MFC: smashed Makefile changes resurrected. 1997-08-25 21:16:13 +00:00
Garrett Wollman d4899e9c97 Bring ``broadcast/multicast echo'' fixes into 2.2.
Merges revs. 1.7 and 1.8 of icmp_var.h and revs. 1.28 and 1.29 of ip_icmp.c.
1997-08-25 16:33:02 +00:00
John-Mark Gurney 3be996d524 MFC: update fortunes{,2} in RELENG_2_2 to match what is in -current now. 1997-08-25 13:04:28 +00:00
John-Mark Gurney b97623a625 MFC: BIN{OWN,GRP} and Id 1997-08-25 12:54:43 +00:00
John-Mark Gurney 7d6c967676 MFC: -I/sys and Id 1997-08-25 12:52:30 +00:00
John-Mark Gurney 397f751272 MFC: -I/sys fix 1997-08-25 12:47:27 +00:00
Jordan K. Hubbard ec920f94ab MFC: this is it for /usr/src/bin 1997-08-25 09:26:35 +00:00
Jordan K. Hubbard ff3d6122c4 MFC: pure cosmo. 1997-08-25 09:25:27 +00:00
Jordan K. Hubbard 1389908db6 MFC: errx(), cosmetic tweaks. 1997-08-25 09:24:15 +00:00
Jordan K. Hubbard 604d831520 MFC: cosmetic & doc fixes. 1997-08-25 09:18:39 +00:00
Jordan K. Hubbard e9fd5fef68 MFC: Almost too much to mention. Lots of housecleaning merged over. 1997-08-25 09:11:00 +00:00
Jordan K. Hubbard a868f939e0 MFC: bring up-to-date for man page merging. 1997-08-25 09:04:17 +00:00
Jordan K. Hubbard 4b76112f26 MFC: man page fixes, add -p flag. 1997-08-25 08:43:06 +00:00
Jordan K. Hubbard d1b0d0c6d9 MFC: use system err() 1997-08-25 08:41:53 +00:00
Jordan K. Hubbard ff546a50ab MFC: Cosmetic. 1997-08-25 08:39:31 +00:00
Jordan K. Hubbard 47027d79cd MFC: cosmetic 1997-08-25 08:38:55 +00:00
Jordan K. Hubbard bfe485986c MFC: cosmetic + output formatting fixes 1997-08-25 08:37:06 +00:00
Jordan K. Hubbard c14c8fe4e6 MFC: cosmetic tweaks + error reporting mods. 1997-08-25 08:33:11 +00:00
Jordan K. Hubbard 4dae6a150e MFC - cosmetic EOF -> -1 fixes. 1997-08-25 08:29:31 +00:00
Andrey A. Chernov 5c8fe205a5 MFC: saving/restoring tty modes, initscr twice 1997-08-25 07:42:09 +00:00
Philippe Charnier 409bb431bc MFC: Use err(3). 1997-08-25 06:29:53 +00:00
Philippe Charnier 259847d5db MFC: Was limited to 200 users. New entry is now allocated as needed.
Add usage().
1997-08-25 06:25:54 +00:00
Warner Losh dfbc6f3388 MFC: style change MAXPATHLEN->PATH_MAX and also buffer overflow fix. 1997-08-25 05:02:54 +00:00
Brian Somers 00f5d38350 YAMFC: Lose a couple of extraneous backslashes. 1997-08-25 01:53:45 +00:00
Brian Somers cebb1dcecd MFC: Add examples of "!bg", "add 0 0 HISADDR" in ppp.conf
and how to do ppp over tcp/ip.
1997-08-25 01:08:35 +00:00
Brian Somers 490167d689 MFC: Make the code format more in line with style(9).
Update loadalias to use the new libalias api.
     Update to version 1.1.
1997-08-25 00:34:41 +00:00
Jordan K. Hubbard fbb40e75d2 YAMFC - cosmetic EOF -> -1. 1997-08-24 21:52:04 +00:00
Jordan K. Hubbard 09ac249ef7 YAMFC - doc fixes and proper usage(). 1997-08-24 21:51:26 +00:00
Jordan K. Hubbard 1ee2531df8 YAMFC - don't clobber args in longjmp(), cosmetic EOF -> -1 in getopt(). 1997-08-24 21:50:21 +00:00
Jordan K. Hubbard 33bddb1e66 YAMFC - proper usage() line and doc fixes. 1997-08-24 21:48:27 +00:00
Jordan K. Hubbard bd2d092451 YAMFC - cosmetic tweaks to sccsids, man page fixes, parenthesise expressions. 1997-08-24 21:45:33 +00:00
Jordan K. Hubbard a0ae9f3400 YAMFC - cosmetic tweaks and some bug fixes. 1997-08-24 21:41:39 +00:00
Brian Somers 63ef6da358 MFC.
The only change in default functionality is
that by default, ppp no longer sends packets
destined for the tun interface address, it
turns them around like a loopback device.  The
old behaviour is restored with "set loopback off".

  o Add the "bg" command.
  o Add the "set loopback" command.
  o Allow fallback phone numbers.
  o Typo police.
  o Add the "set stopped" command.
  o Split LCP logging into LCP, IPCP and CCP logging,
  o Update version to 1.02.
1997-08-24 20:51:58 +00:00
Andrey A. Chernov c1efe1a7aa MFC: winnstr and resizeterm 1997-08-24 19:12:10 +00:00
cvs2svn 56716806d4 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-08-24 19:09:46 +00:00
Joerg Wunsch 9f96cfef2f MFC: rev 1.6, cometics 1997-08-24 18:23:54 +00:00
Joerg Wunsch fd59174ccb MFC: fix -t description 1997-08-24 18:22:28 +00:00
Joerg Wunsch cc306f9408 MFC: rev 1.17, add a DIAGNOSTICS section. 1997-08-24 17:52:01 +00:00
Jordan K. Hubbard 7a764a6800 YAMFC - cosmetic spelling & EOF fixes, add extra sanity checks. 1997-08-24 10:34:49 +00:00
Jordan K. Hubbard dbc226137e YAMFC - cosmetic EOF to -1. 1997-08-24 10:30:25 +00:00
Jordan K. Hubbard b6801abea7 YAMFC - sprintf->snprintf, cosmetic. 1997-08-24 10:29:16 +00:00
Jordan K. Hubbard f738826414 YAMFC - cosmetic EOF -> -1 1997-08-24 10:26:11 +00:00
Joerg Wunsch 03dbac95c3 MFC: cleanup, clarification, and fixes from rev 1.12 1997-08-24 08:51:37 +00:00
Masafumi Max NAKANE 0eb7eaa632 MFC: bring in the latest (08/22/1997) version from the Internic. 1997-08-24 08:19:37 +00:00
Stefan Eßer b705d08004 Merge in rev 1.7 from -current: Fix DC390_DefaultEEprom subroutine.
PR:		4358
1997-08-23 21:48:34 +00:00
Joerg Wunsch f97c5958a2 MFC: open files r/o unless write permission required, make error message
more informative
1997-08-23 15:57:35 +00:00
Joerg Wunsch 12b72c70a0 MFC: staticize private version of warn() in displayq.c, user err() and
getopt(), add usage(), make specificatoin of port # possible.
1997-08-23 15:57:07 +00:00
Alexander Langer e5f2ef17e5 Merge from -current: fixed logging of verbose limited packets. 1997-08-23 14:31:52 +00:00
Joerg Wunsch 0ff8f3d2c4 MFC: call setsid() to make this a daemon 1997-08-23 14:11:28 +00:00
Joerg Wunsch 11f89ed0e0 MFC: prevent NULL deref. 1997-08-23 14:11:09 +00:00
Warner Losh 300e24ec35 MFC: Buffer overflow in prompt 1997-08-22 22:15:23 +00:00
Peter Wemm 93935ca99f YAMFC: record hub's ForwardPath 1997-08-22 16:52:39 +00:00
Joerg Wunsch a973d65e4f Hack to get Tcl to work. Some Tcl hacker might have a look at it,
some vgrind hacker (Bill Joy? :-) might fix the remaining bugs in
vfontedpr so strings would work as well...
1997-08-22 12:58:39 +00:00
Satoshi Asami 2de6494775 Merge 1.20. 1997-08-22 11:17:06 +00:00
Peter Wemm 400a3633eb YAMFC: merge mistake in "Attic" string removal code for $CVSHeader$ 1997-08-22 10:50:36 +00:00
Peter Wemm 344714e322 re-add this file from current onto 2.2 after repository surgery. 1997-08-22 10:44:11 +00:00
Peter Wemm 36a22dbe51 re-add these files from current after repository surgery (they were in sync
with the HEAD before)
1997-08-22 10:30:40 +00:00
Peter Wemm 0d57deb0bc re-add these files from -current (they were in sync before repository
surgery, although they were originally branched and had subsequent parallel
commits)
1997-08-22 10:24:40 +00:00
Peter Wemm c40e1c00ba re-add these files from the HEAD to 2.2 after repository surgery. 1997-08-22 10:12:32 +00:00
Peter Wemm 4e6814830f Re-add these files from current to 2.2 after repository surgery. 1997-08-22 10:09:22 +00:00
Peter Wemm 22430cc58a re-add this to the 2.2 branch to make sure cvs is working correctly.. 1997-08-22 10:02:18 +00:00
Peter Wemm 20f62f09ec YAMFC: update easy-import 1997-08-22 07:04:30 +00:00
Peter Wemm d978b087d9 YAMFC: bring over $CVSHeader$ support which will be used to expand $FreeBSD$
some day.

Reviewed by:	jdp
1997-08-22 07:01:47 +00:00
Philippe Charnier cd566dac74 MFC: Use err(3) instead of local redefinition. Add usage(). 1997-08-22 06:46:34 +00:00
Philippe Charnier 0973a32841 MFC: Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-22 06:43:24 +00:00
Philippe Charnier e8bd4f1361 MFC: Use err(3) instead of local redefinition. 1997-08-22 06:41:11 +00:00
Jonathan Lemon f5785ca0ab MFC: Bugfixes from rev 1.20; -p/-u conflict, release of resources. 1997-08-21 22:47:42 +00:00
Jonathan Lemon 6fdaca7c44 MFC: Sync with -current; Lite2 mods, bugfixes. 1997-08-21 21:56:18 +00:00
Justin T. Gibbs d0d8ccdd08 Sync with current: Fix some bus reset problems. 1997-08-21 21:30:09 +00:00
Jonathan Lemon 352f2bb8c8 MFC: rev 1.4; -i/-n network byte order fix. 1997-08-21 19:55:42 +00:00
Brian Somers 13b3843ba5 Update version number to 1.01 so that I can tell what
people are running
1997-08-21 17:22:04 +00:00
Brian Somers 8494e988e1 Update doc to use MYADDR in ppp.conf. 1997-08-21 17:16:21 +00:00
Brian Somers 244be89431 YAMFC: Allow the use of HISADDR & MYADDR in ppp.conf. 1997-08-21 17:08:44 +00:00
Jonathan Lemon a1277f0b9d Fix previous commit; diff got applied in the wrong place.
Noticed by: 	Mike Burgett <[email protected]>
1997-08-21 15:04:29 +00:00
John-Mark Gurney 41ad1c84ba MFC: merge in rev1.6 (bin to BIN*) and rev1.3 (-c to COPY) 1997-08-21 12:39:00 +00:00
Wolfram Schneider bc761f5a62 Merge rev 1.6 (remove double entries) 1997-08-21 12:07:55 +00:00
John-Mark Gurney 091606bec5 MFC: minor style change 1997-08-21 11:15:05 +00:00
David E. O'Brien 24823bbd6a Connect contrib_cpio to the 2.2-STABLE branch. 1997-08-21 08:54:15 +00:00
David E. O'Brien 2d6ca4979d Add the doc/Makefile to 2.2-STABLE. 1997-08-21 08:50:35 +00:00
KATO Takenori 21b8126232 MFC. (Fixed broken 3c509.c). 1997-08-21 08:38:26 +00:00
cvs2svn 293edbf45b This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-08-21 08:26:56 +00:00
David E. O'Brien acfd73794a Upgrading 2.2-STABLE's cpio to 2.4.2 (using the contrib framework).
Note, this has been tested in 3.0-CURRENT for months.
1997-08-21 08:24:17 +00:00
Daniel O'Callaghan a951c04a08 MFC - Bring '-a' comment in line with reality. 1997-08-21 07:34:58 +00:00
Philippe Charnier 0ecc45f30e MFC: Use err(3). Add usage() and prototypes. 1997-08-21 06:46:44 +00:00
Philippe Charnier c4edc884ff MFC: Use err(3). Add usage(). 1997-08-21 06:45:17 +00:00
Philippe Charnier d461a255ef MFC: Nm uname -> Nm. 1997-08-21 06:43:39 +00:00
Philippe Charnier 827772f392 MFC: Use err(3). Add usage() and prototypes. Rename setmode() to setnewmode
because of a conflict.
1997-08-21 06:42:31 +00:00
Joerg Wunsch a1f15600aa Merge the hack from rev 1.19 to recognize syscons's arrow keys. 1997-08-21 05:51:56 +00:00
Joerg Wunsch 235010a817 MFC: the "eod" command, plus man page cleanups 1997-08-21 05:50:33 +00:00
Peter Wemm 01f4653e65 Drop libtcl reference 1997-08-21 05:14:19 +00:00
Peter Wemm f7d63871f4 Turn off TCL hook by default, although it should still work with the port.. 1997-08-21 04:51:43 +00:00
Peter Wemm 8d94d81122 Remove tcl dirs 1997-08-21 04:49:01 +00:00
Peter Wemm 4c12d38788 Remove tcl since tcl7.5 is not used in 2.2, there is a binary
compatable port (ie: installing the port will enable a program
linked against libtcl75.so.* from the base to run), and this makes
2.2 compatable with -current from a ports perspective.

Reviewed by: core
1997-08-21 04:12:41 +00:00
Peter Wemm 2c3a92aa44 Remove libtcl since tcl7.5 is not used in 2.2, there is a binary
compatable port (ie: installing the port will enable a program
linked against libtcl75.so.* from the base to run), and this makes
2.2 compatable with -current from a ports perspective.

Reviewed by: core
1997-08-21 04:05:20 +00:00
Peter Wemm a9a7df608a Disconnect libtcl in preperation for removal since tcl7.5 is not used in
2.2, there is a binary compatable port (ie: installing the port will
enable a program linked against libtcl75.so.* from the base to run),
and this makes 2.2 compatable with -current from a ports perspective.

Nearly forgot-
Reviewed by: core
1997-08-21 04:04:22 +00:00
Peter Wemm 2076ecc165 Remove tclsh since tcl7.5 is not used in 2.2, there is a binary
compatable port (ie: installing the port will enable a program
linked against libtcl75.so.* from the base to run), and this makes
2.2 compatable with -current from a ports perspective.
1997-08-21 04:02:19 +00:00
Peter Wemm 3c65ef4cf9 Disconnect tclsh in preperation for removal since tcl7.5 is not used in
2.2, there is a binary compatable port (ie: installing the port will
enable a program linked against libtcl75.so.* from the base to run),
and this makes 2.2 compatable with -current from a ports perspective.
1997-08-21 04:00:56 +00:00
Jonathan Lemon 851493d66b MFC: Fix core dump caused by uninitialized buffer. 1997-08-21 03:44:43 +00:00
Jonathan Lemon c53360c149 MFC: Cleanup temporary file. 1997-08-21 03:03:06 +00:00
Jonathan Lemon a2431f20ef MFC: rev 1.19; check return value from db->close. 1997-08-21 03:01:29 +00:00
Jonathan Lemon a130ff662d MFC: Bug in option handling. 1997-08-21 02:59:40 +00:00
Jonathan Lemon 281be13915 MFC: Allow hex/octal parameters. 1997-08-21 02:58:09 +00:00
Jonathan Lemon 47145019aa MFC: Typo fix 1997-08-21 02:56:27 +00:00
Jonathan Lemon bf3c8f5e1b MFC: Fix ':' handling. 1997-08-21 02:56:16 +00:00
Jonathan Lemon b18453a70b MFC: fix error in manual page. 1997-08-21 02:54:28 +00:00
Jonathan Lemon 4b83f1272b MFC: rev 1.11; fix sync, osync. 1997-08-21 02:52:39 +00:00
Jonathan Lemon d099d73420 MFC: rev 1.8; unclamp divnum, buffer fix, changequote synonym. 1997-08-21 02:49:49 +00:00
Alexander Langer 7fcfedaeed Merge fix for PR 4209 from -current. 1997-08-21 01:30:23 +00:00
Brian Somers 5101d8e5ff AMFC: Fix possible buffer overrun while "expect"ing
something that's "nearly" what it wants.
1997-08-21 01:24:03 +00:00
Brian Somers 6f8a5af786 AMFC: Correct the forth arg to "set ifaddr". If specified,
it gives the IP number that should be used for initial
      IPCP config requests, irrespective of MYADDR.
1997-08-21 01:21:21 +00:00
Peter Wemm e83411e836 YAMFC: rev 1.31, change /var/run ownership to root.
Sendmail does not trust any uid other than 0.
1997-08-20 12:07:21 +00:00
Jordan K. Hubbard d72611b036 Remove an extra bit of chattyness I can do without. 1997-08-20 10:29:52 +00:00
Philippe Charnier f83c32c1ca MFC: Add usage(). 1997-08-20 07:22:30 +00:00
Philippe Charnier ca485b2bbe MFC: Nm tsort -> Nm. 1997-08-20 07:21:07 +00:00
Philippe Charnier 787e4a854f MFC: Add `reset' in usage(). Use err(3) instead of local redefinition. 1997-08-20 07:19:31 +00:00
Philippe Charnier 341f45add4 MFC: Nm true -> Nm. 1997-08-20 07:17:10 +00:00
Philippe Charnier 86f878b9a2 MFC: Cosmetic in usage(). Use err(3) instead of local redefinition. 1997-08-20 07:16:10 +00:00
Philippe Charnier 607e29377c MFC: Nm touch -> Nm. Add a missing Ar. 1997-08-20 07:14:23 +00:00
Philippe Charnier ee7914bcba MFC: 100 -> MAXHOSTNAMELEN. Use err(3) and add usage().
/etc/map3270 -> /usr/share/misc/map3270.
1997-08-20 07:13:09 +00:00
Philippe Charnier cdb4e2bcdd MFC: Use err(3). Add usage() and prototypes. 1997-08-20 07:06:54 +00:00
Satoshi Asami ff605c853b Merge 1.264. 1997-08-20 03:44:30 +00:00
Steve Price b9bb994e5b Type argument for an msdosfs is MOUNT_MSDOS.
PR:		docs/3675
Submitted by:	Kenji Tomita <[email protected]>
1997-08-19 23:48:10 +00:00
Nate Williams 37507da696 - In the 'update' target, add '-r RELENG_2_2' so that new directories
get checked out on the correct branch.  (This change is valid only
  on this branch.)

Requested by:	Ben Stuyts <[email protected]>
1997-08-19 23:39:07 +00:00
Joerg Wunsch cf2c71ccd4 Upgrade routed(8) to the version from -current.
Suggested by:	fenner
1997-08-19 21:22:18 +00:00
Jean-Marc Zucconi b361783b23 fixes from -current:
';' after label not followed by a statement (rev 1.41)
remove scsi_stop_unit() calls, use lba=0 for write operations, reset the
block size in finalize_track(). (from rev 1.39)
1997-08-19 13:12:24 +00:00
Peter Wemm a01dd05958 YAMFC: fix $CVSHeader$ (as will be used to expand $FreeBSD$ eventually) 1997-08-19 11:27:20 +00:00
Daniel O'Callaghan 7c14b26854 Fix typo/spelling. 1997-08-19 11:25:09 +00:00
Justin T. Gibbs 08fd7397a0 Sync with current: Remove bus settle delay code and make -Wall clean. 1997-08-19 04:25:16 +00:00
Satoshi Asami 7f381b2fd3 Merge 1.43. 1997-08-19 01:58:37 +00:00
Jordan K. Hubbard c352974b02 YAMFC - fstab, registration bug, screen bogons. 1997-08-18 21:48:07 +00:00
Jordan K. Hubbard cce8945e38 YAMFC state machine fix. 1997-08-18 21:34:25 +00:00
Jordan K. Hubbard 47f4c561ee YAMFC doc cleanup. 1997-08-18 21:10:40 +00:00
Brian Somers efaa2f692c YAMFC: Hint at how to use TZ.
Submitted by:	[email protected]
1997-08-18 20:28:30 +00:00
John Polstra 92be9b42e0 Sync with -current. 1997-08-18 18:59:57 +00:00
Philippe Charnier c2083b304c MFC: Add usage(). Use err(3). 1997-08-18 07:10:55 +00:00
Philippe Charnier 731a1bfd00 MFC: Use err(3). 100 -> MAXHOSTNAMELEN. 1997-08-18 07:09:42 +00:00
Philippe Charnier 0442cb0f42 MFC: Hardcode progname in usage string. Nm telnet -> Nm in man. 1997-08-18 07:08:03 +00:00
Philippe Charnier 1b4489f342 MFC: Use err(3) instead of local redefinition. Add usage(). 1997-08-18 07:05:41 +00:00
Philippe Charnier a3d0962245 MFC: Correct usage string. Use err(3). Make rst0 the default tape. 1997-08-18 07:03:43 +00:00
David Nugent 93d696bca0 Sync with current (almost).
Bring in minor cleanups, rc.shutdown support (this is non-intrusive and
effective a no-op if /etc/rc.shutdown does not exist).
1997-08-18 03:30:05 +00:00
Andrey A. Chernov bee9e75030 MFC: SUNIT fixes 1997-08-18 03:17:06 +00:00
Julian Elischer a51b295909 MFC:
fix broken test. (well the test was ok, but it produced warnings)
Pointed Out By: Wollman
1997-08-18 01:38:29 +00:00
John Polstra 8cd4bc44a0 Remove sup. If anybody still wants it, they can find it in the ports
collection.
1997-08-18 00:26:35 +00:00
John Polstra b47cf6dc98 Remove sup. 1997-08-18 00:23:08 +00:00
John Polstra 4fdc6a094b Remove /usr/share/examples/sup. 1997-08-18 00:21:49 +00:00
John Polstra 4a0808cd28 Remove the obsolete sup examples. 1997-08-18 00:20:28 +00:00
David Nugent c2df88a75b From -current: memory leaks from cgetent() calls, make compile cleaner with
-Wall, minor mdoc fix.
1997-08-17 23:44:35 +00:00
Brian Somers 572e6beeb8 Fix the usage message. 1997-08-17 20:31:59 +00:00
John Polstra 35d887f954 Merge from main branch 1.9 -> 1.10: Add new mirror sites. 1997-08-17 20:27:55 +00:00
KATO Takenori 2664ff3a46 Synchronize with sys/i386/conf/majors.i386 revision 1.9.2.3. 1997-08-17 15:48:04 +00:00
Mike Smith 46a4b415e3 Merge from -current : assign chardev major 82 to 'ppi' 1997-08-17 15:40:44 +00:00
Joerg Wunsch 64819486c8 MFC: __GNU_G__ ==> __GNUG__ 1997-08-17 15:30:03 +00:00
Joerg Wunsch e46151db81 MFC: rev 1.9, spelly Mbytes correctly 1997-08-17 15:23:25 +00:00
Joerg Wunsch bfcde9886a MFC: rev 1.8, fix uninitialized var 1997-08-17 15:22:08 +00:00
Joerg Wunsch cc664844db MFC: rev 1.9, don't allow PID 1 to compromise our securelevel 1997-08-17 15:17:26 +00:00
Joerg Wunsch f644bd77c0 MFC: rev 1.11 of vfscanf.c , 64 bit support to scanf() 1997-08-17 15:07:56 +00:00
Joerg Wunsch c6e418e951 MFC: rev 1.11, check for MAXHOSTNAMELEN 1997-08-17 15:04:56 +00:00
Joerg Wunsch 3f6b2fbf6e Merge Bruce's fix for the FIFO creation from -current (it has been done
in contrib/cpio there, revs 1.2 of copypass.c, and 1.5 of copyin.c).
1997-08-17 14:56:46 +00:00
Joerg Wunsch 0f869314ab MFC: rev 1.15, use the WIF_* macros, not self-invented ideas about the
bitfields
1997-08-17 14:47:33 +00:00
Joerg Wunsch 006716326b Previous commit was only half of the way... 1997-08-17 14:43:30 +00:00
Joerg Wunsch 8e56dca7a2 MFC: rev 1.11/1.25 resp., implement the -a (allowed peer) option 1997-08-17 14:41:32 +00:00
Joerg Wunsch 1c6c0683a7 MFC: rev 1.8/1.13 resp., make generated parser -W* clean 1997-08-17 14:32:05 +00:00
Joerg Wunsch 4f5dc35253 MFC: rev 1.4, implement the `detach' command for remote GDB 1997-08-17 14:15:03 +00:00
Joerg Wunsch 55de927aac Hmpf. Looking closer, i forgot half of the stuff required for the
cd9660-root-f/s feature.  Here's the remainder (this time actually
verified with a `cvs diff -u /sys' from the machine that was already
running it).

As threatened in the original commit message, i'm now only merging
this feature for the cd(4) driver, since i didn't get any confirmation
that my blind commit for wcd(4), scd(4), mcd(4), and matcd(4) does
actually work.  Nobody bothered to look after the other suspected
problems with these drivers, either.

In case anybody's keen to consider the remaining drivers, here's a
list of respective file revisions that have not been mereged yet:

  1.89      +53 -1     src/sys/i386/isa/mcd.c
  1.30      +43 -1     src/sys/i386/isa/scd.c
  1.42      +35 -0     src/sys/i386/isa/wcd.c
  1.26      +76 -2     src/sys/i386/isa/matcd/matcd.c
1997-08-17 14:13:08 +00:00
Joerg Wunsch 99e6642e40 MFC: rev 1.18, make arrow keys work in DDB.
TODO: syscons uses weird keycodes that aren't recognized yet.
1997-08-17 13:53:52 +00:00
Joerg Wunsch 199463994b MFC: rev 1.11, fix german (ISO) keymap 1997-08-17 13:51:04 +00:00
Joerg Wunsch de467b4f75 MFC: rev 1.5, Don't create anything on the disk if -O (aka
--to-stdout) was given.
1997-08-17 13:48:41 +00:00
Joerg Wunsch 1df0d1d1fb MFC: fix -- handling (rev 1.5) 1997-08-17 13:47:02 +00:00
Joerg Wunsch dff536952c MFC: mpp's fixes from rev 1.10 1997-08-17 13:36:49 +00:00
Joerg Wunsch a1be26da45 Ah what, i gotta change this file now, too. The iso9660 mount struct
takes one more arg (ssector).

Warning: you ought to rebuild mount_cd9660(8) after rebuiling a
2.2-stable kernel.
1997-08-17 13:33:43 +00:00
Joerg Wunsch 41922368e8 This is the userland companion commit for the cd9660-root-fs stuff i've
just merged in the kernel sources.
1997-08-17 13:30:23 +00:00
Joerg Wunsch a696d2f1d7 This is a sorta merge from -current, basically merging the cd9660
multisession-root-filesystem stuff from rev 1.23 of cd9660_vfsops.c.

Alas, due to a bogus #ifdef CD9660 in <sys/mount.h>, a number of files
are being poisoned with #define CD9660 now.  This looked like the
minor evil to me, compared to modifying a fairly central system header
file in -stable.

My machine at work used to run with these patches for many moons now, so
no bad surprises expected.

Userland commit will folow soon.

Desired by:	jkh (though he probably doesn't remember :)
1997-08-17 13:28:43 +00:00
Joerg Wunsch f5af1a5782 MFC: paranoia check from rev 1.10 1997-08-17 13:15:58 +00:00
KATO Takenori 19ec4961c7 MFC: synchronith with sys/i386/boot/netboot stuff. 1997-08-17 05:27:37 +00:00
KATO Takenori d04d9b359e Synchronize with following changes:
>  Revision  Changes    Path
>  1.50.2.4  +1 -18     src/sys/i386/boot/biosboot/Makefile
>  1.5.4.3   +1 -15     src/sys/i386/boot/biosboot/bios.S
>  1.60.2.1  +131 -74   src/sys/i386/boot/biosboot/boot.c
>  1.14.2.1  +4 -5      src/sys/i386/boot/biosboot/boot.h
>  1.22.2.2  +7 -6      src/sys/i386/boot/biosboot/disk.c
>  1.19.2.1  +26 -14    src/sys/i386/boot/biosboot/io.c
>  1.7.2.3   +77 -85    src/sys/i386/boot/biosboot/probe_keyboard.c
>  1.3.8.2   +13 -12    src/sys/i386/boot/biosboot/serial.S
>  1.16.2.1  +26 -16    src/sys/i386/boot/biosboot/sys.c
>  1.6.4.1   +4 -2      src/sys/i386/boot/kzipboot/boot.c
>  1.3.2.2   +1 -3      src/sys/i386/boot/rawboot/Makefile
1997-08-17 04:32:07 +00:00
KATO Takenori 7fed7336ac Synchronize with sys/i386/conf/majors.i386 revision 1.9.2.2. 1997-08-17 03:47:50 +00:00
Garrett Wollman 94c02651c0 Obey the process's umask when bind()ing a PF_LOCAL socket.
PR: 2680
1997-08-15 13:54:00 +00:00
Tor Egge e3e5e6ff69 MFC: Add the netboot manual page. 1997-08-15 13:46:28 +00:00
Tor Egge 91394b07d4 MFC: Remove unused routines. 1997-08-15 13:33:21 +00:00
Tor Egge 3b778235e0 MFC: Move commonly used code into static functions. Calculate correct
default value for subnet mask.
1997-08-15 13:31:16 +00:00
KATO Takenori 2a43f3492c Merge locking violation fix from current (revision 1.49). 1997-08-15 02:38:10 +00:00
Warner Losh 74553924d2 Merge in the OpenBSD security changes from -current. Any revs by
imp between 7/23 and 8/1 are included in this update.
1997-08-14 23:10:34 +00:00
Peter Wemm dcd1f4359b YAMFC: freefall/hub mail configs before they get lost again.
(Yes, this is essentially unspamming the previous freefall.mc change that
was lost when 8.8.7 was copied back to 2.2)
1997-08-14 14:45:22 +00:00
cvs2svn b1eb380805 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-08-14 14:42:08 +00:00
Jordan K. Hubbard 1b9532a4ac As in -current:
81      ??              RocketPort/Steve Gericke <[email protected]>
1997-08-14 13:48:08 +00:00
Daniel O'Callaghan dee1d1c08b YAMFC - Add the NetVin 5000 PCI NE2000 card IDs 1997-08-14 07:58:41 +00:00
Jordan K. Hubbard b72710abc8 Minor stylistic cleanup. 1997-08-14 07:11:00 +00:00
Jordan K. Hubbard 835f34e8c1 YAMFC - better crontab installation. 1997-08-14 07:02:07 +00:00
Philippe Charnier 86e2d733c7 MFC: Cosmetic in usage(). Mdoc'ify man page. 1997-08-14 06:37:58 +00:00
Philippe Charnier 38284b1179 MFC: Nm talk -> Nm. 1997-08-14 06:35:40 +00:00
Philippe Charnier 986dfbf46d MFC: Remove trailing \n. 1997-08-14 06:34:42 +00:00
Philippe Charnier 7dc004c39f MFC: Use err(3). 1997-08-14 06:33:30 +00:00
Peter Wemm e6dac1726a YAMFC: update to sendmail-8.8.7 1997-08-14 04:41:12 +00:00
Brian Somers 8500b8bc5d YAMFC: o Reset all LQR variables when we start over.
o Allow service names in "set server"
       o Allow a "hangup" capability.
         You can now "ATZ" your modem when it's closed.
         Submitted by:	[email protected] (Peter Much)
       o Don't try to ioctl(,TIOCOUTQ,) on a closed
         descriptor.
         Reported by:	Stephane Raimbault <[email protected]>
       o Set up the alias address before executing
         the contents of ppp.linkup.
       o Use libalias.so.2.3.
1997-08-14 01:49:17 +00:00
Brian Somers 37ccf4a537 YAMFC: - Buffer space problem found by Sergio Lenzi <[email protected]>
fixed. Natd now waits with select(2) for buffer space
         to become available if write fails.
       - Packet aliasing library upgraded to 2.[23] interface.

       Submitted by:	Ari Suutari <[email protected]>
1997-08-14 01:47:55 +00:00
Brian Somers e4075b0678 YAMFC: o Update to version 2.2. Only the PacketAlias*()
functions should now be used.  The old 2.1 stuff is
         there for backwards compatability.
         Submitted by:	Charles Mott <[email protected]>
       o Fix file descriptor leak (going to version 2.3).
         Submitted by:	Charles Mott <[email protected]>
         Identified by:	Gordon Burditt
1997-08-14 01:43:47 +00:00
Andrey A. Chernov 8bb8061ffa Merge from -current, NCURSES_VERSION and unctrl() 1997-08-13 23:30:31 +00:00
Jordan K. Hubbard 93217c53c3 Say more correct things about installation. 1997-08-13 19:49:35 +00:00
Julian Elischer 41b5c720a7 MFC:
add a DIAGNOSTIC to catch bad tsleep() calls
(e.g. from interrupt handlers)
1997-08-13 19:35:33 +00:00
Justin T. Gibbs c1c4cd6142 Sync with current - Prevent QOUTFIFO overflows. 1997-08-13 18:56:57 +00:00
Jordan K. Hubbard 7b6c9f6e28 Bring in David's freebsd.mc file, just to be tidy.
Submitted by: davidg
1997-08-13 13:48:05 +00:00
cvs2svn 75c36b3df4 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-08-13 13:11:54 +00:00
Daniel O'Callaghan a4222cae8a YAMFC - add ppp.deny and ppp.shells.sample to Makefile. 1997-08-13 12:58:51 +00:00
Jordan K. Hubbard b88a14b0b4 Merge r1.6 from -current 1997-08-13 12:14:41 +00:00
Peter Wemm b0f22ca7f6 YAMFC: prototype for sysctlbyname(3) 1997-08-13 07:43:58 +00:00
Peter Wemm 250df70c33 YAMFC: bring over sysctlbyname(), as requested by a number of people. 1997-08-13 07:41:45 +00:00
Peter Wemm e71844d478 YAMFC: fix 'cvs add' on RELENG branches that spam the default branch. 1997-08-13 07:37:01 +00:00
Dima Ruban 6374bf48db From HEAD: source /etc/rc.conf (commented out) 1997-08-13 06:50:33 +00:00
Philippe Charnier 26b6d2da4b MFC: Use err(3) instead of local redefinition. Add prototypes. 1997-08-13 06:39:58 +00:00
Philippe Charnier d273685eba MFC: Add usage(). 1997-08-13 06:38:17 +00:00
Philippe Charnier 718eb9f32c MFC: Use err(3) instead of local redefinition. 1997-08-13 06:37:16 +00:00
Jordan K. Hubbard d2a7a79701 Merge r1.4 from -current.
Suggested-By: asami
1997-08-13 06:01:27 +00:00
Andrey A. Chernov 2a0f830619 Merge buffer range fix from -current (the bug qcause initscr fails sometimes) 1997-08-13 01:24:39 +00:00
Andrey A. Chernov 5132f8be42 Merge -current TRACE fix 1997-08-13 00:13:46 +00:00
Adam David 2bfbbd168e typo and reword
Submitted by:	[email protected] (Alex)
1997-08-12 20:07:22 +00:00
Eivind Eklund 00dea007f9 YAMFC: Correct typo (Eudroa -> Eudora)
PR:		4214
1997-08-12 18:13:12 +00:00
Eivind Eklund 29d9570c3c YAMFC: 1.8 - Fix fencepost error
PR:		4170
1997-08-12 15:39:07 +00:00
KATO Takenori 1dc0d228c7 Synchronize with sys/i386/i386/userconfig.c revision 1.63.2.18. 1997-08-12 08:10:46 +00:00
KATO Takenori 5943544452 Synchronize with sys/i386/isa/wd.c revision 1.119.2.7. 1997-08-12 08:09:56 +00:00
Philippe Charnier 25502ef4a6 MFC: Use err(3). 1997-08-12 06:42:27 +00:00
Philippe Charnier 0f65f2bec3 MFC: Cosmetic in err() string. 1997-08-12 06:41:23 +00:00
Philippe Charnier 2531aa1d7a MFC: Use err(3) instead of local redefinition. 1997-08-12 06:39:16 +00:00
Philippe Charnier 4d1c8b7117 MFC: Use err(3). Add prototypes. 1997-08-12 06:38:15 +00:00
Philippe Charnier 3908bcdade MFC: Cosmetic. 1997-08-12 06:36:57 +00:00
Philippe Charnier ba3955753a MFC: Use err(3) instead of local redefinition. Add usage(). 1997-08-12 06:36:13 +00:00
Kenjiro Cho 6471e57bbc Merge the traceroute problem fix for the CISCO HDLC mode from -current.
Reviewed by:	[email protected]
1997-08-12 05:38:48 +00:00
Sean Eric Fagan 1981f1a016 MFC -- check permission on fp regs too. 1997-08-12 05:24:20 +00:00
Sean Eric Fagan 79ce3583c4 YAMFC -- fix procfs hole.
Reviewed by:	davidg
1997-08-12 04:45:27 +00:00
Satoshi Asami cde091948a Merge (more or less) from -current: NOTCL hook to disable tcl building. 1997-08-11 18:36:39 +00:00
Satoshi Asami 8acfd8b9eb Merge "don't use /sys" from -current. 1997-08-11 18:35:12 +00:00
Jordan K. Hubbard 1ec0dd90b0 YAMFC - tone down intimidating CLI mode message. 1997-08-11 13:26:19 +00:00
Jordan K. Hubbard 0f97ffd2bb YAMFC SEE ALSO section. 1997-08-11 13:25:35 +00:00
Jordan K. Hubbard aadfc9703f YAMFC 1997-08-11 13:15:25 +00:00
cvs2svn 3ab8ee7cc4 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-08-11 13:08:30 +00:00
Philippe Charnier 1114e11649 MFC: Use err(3) instead of local redefinition. Add usage(). 1997-08-11 07:17:45 +00:00
Philippe Charnier 9c3591f9f8 MFC: Use err(3). Mdoc'ify man page. 1997-08-11 07:16:16 +00:00
Philippe Charnier abf7e48576 MFC: Use err(3). Add usage() and prototypes. 1997-08-11 07:14:28 +00:00
Philippe Charnier 28f51a944b MFC: Use err(3). Add usage(). Add prototypes. 1997-08-11 07:13:00 +00:00
Philippe Charnier e0f76cccd7 MFC: Use err(3). Cosmetic in usage(). Remove argv0. 1997-08-11 07:11:24 +00:00
Bill Fenner e0f6c99051 Merge from -current:
Add an ntohs() and format an IP address with inet_ntoa() when
printing the details of a received ICMP packet.

PR:             bin/3766
Submitted by:   [email protected] (Denton Gentry)
1997-08-11 04:34:17 +00:00
Bill Fenner 9bfc124881 Merge from -current:
Make "make-localhost" Y2K safe by using "date +%Y" instead of "date +%y"
to pick the serial number.

PR:             misc/3465
Submitted by:   [email protected] (Stephen J. Roznowski)
1997-08-11 04:09:06 +00:00
Julian Elischer 456bc0e053 YAMCF:
sd.c 1.106->1.107
	wd.c 1.134->1.135
	kern_shutdown.c 1.17->1.19
	sys/systm.h 1.54->1.55

Obtained from: Whistle production build
teach disk drives how to hold off a hardware watchdog while they
are busy saving a core-dump. 1/2 a core dump is REALLY annoying..
Conditional on HW_WDOG. (I should add this to LINT too I guess)
1997-08-11 02:04:14 +00:00
Brian Somers 159b78f998 YAMFC: Correct default log file name.
PR:		4065
       Prompted by:	Steve Price <[email protected]>
       Submitted by:	[email protected]
1997-08-10 22:07:10 +00:00
Joerg Wunsch cb959c1653 MFC: rev 1.4, fix restore -r with hardlinked files that turned into a
dir in an incremental dump.
1997-08-10 14:20:33 +00:00
Poul-Henning Kamp df26558a10 YAMFC (std convention mailboxes aliased to root) 1997-08-09 15:29:35 +00:00
Joerg Wunsch e8d12112e3 MFC: rev 1.5/1.6, don't gethostbyname() for anything else than NFS. 1997-08-09 14:51:46 +00:00
Julian Elischer ec7c88e98e MFC: match rev 1.33
Reviewed by:	john Dyson ([email protected])
Obtained from:	Whistle Communications production build

Make the scheduling quantum tunable..
Useful for BATCH oriented systems (e.g. web servers and ftp servers etc)
that do not do interactive work.
1997-08-08 23:42:56 +00:00
Julian Elischer b17a06575d MFC:
clean up console muting to match -current 1.54 and what we
are using in production vs. what I checked in before..

Obtained from: Whistle Communications production build
1997-08-08 23:38:29 +00:00
Joerg Wunsch 39a230145a MFC (fix for CA-97.17) 1997-08-08 21:00:49 +00:00
Joerg Wunsch 845616cbd7 MFC: fix buffer overflow condition. 1997-08-08 20:55:53 +00:00
Philippe Charnier c53ea396aa MFC: Use err(3). Cosmetic in usage . Remove argv0. 1997-08-08 12:06:41 +00:00
Philippe Charnier 15583d1583 MFC: Use err(3) instead of local redefinition. 1997-08-08 12:02:48 +00:00
Philippe Charnier 077ce9e075 MFC: Use err(3). Add usage() and Mdoc'ify man page. 1997-08-08 07:51:52 +00:00
Jun-ichiro itojun Hagino 3bf6cb3795 To talk with cisco router properly.
Checked with FreeBSD+Riscom - cisco4500 configuration.
(import from -current)

PR:		kern/4117
Reviewed by:	[email protected], [email protected]
1997-08-08 05:48:49 +00:00
John Polstra 71f74e3e1d Sync with -current. 1997-08-08 02:18:14 +00:00
Bruce Evans f34e97b27d YAMFC (rev.1.5: complex addition was broken by the bogus space in "ADD CC".
PR:		3239
Forgotten by:	closer of PR3239
1997-08-07 12:52:32 +00:00
Philippe Charnier cc042886b9 MFC: Use err(3). Cosmetic in usage(). 1997-08-07 06:40:11 +00:00
Philippe Charnier 5090f23460 MFC: Use err(3). Cosmetic in usage(). Remove `cmdname'. 1997-08-07 06:38:42 +00:00
John Polstra ccf6b3f17d Merge from main branch 1.8 -> 1.9: cvsup2.ua.freebsd.org,
cvsup3.freebsd.org.
1997-08-07 05:13:58 +00:00
Julian Elischer 8e0677d6f4 MFC: make sure we count packets with errors (except ENOBUFS)
this makes -c work again for targets with no route to them.
matches version 1.27
1997-08-07 02:47:10 +00:00
Jordan K. Hubbard f90509e3de Remove bogus declarations of malloc() and realloc(). 1997-08-06 23:30:43 +00:00
Philippe Charnier 635e2ca932 MFC: Use err(3). Document -l flag. 1997-08-06 06:43:09 +00:00
Philippe Charnier f8c7bf320a MFC: document that multiple args are allowed. 1997-08-06 06:41:20 +00:00
Philippe Charnier 30eb504e34 MFC: Add usage(), use err(3). 1997-08-06 06:40:17 +00:00
Philippe Charnier 2752e5e8db MFC: Cosmetic in usage string. 1997-08-06 06:39:00 +00:00
Alexander Langer 0c0edec059 Merge from -current: ensure termination of interface name. 1997-08-06 00:22:59 +00:00
Philippe Charnier 6dafc05107 MFC: Use err(3). Use "" to #include local headers. 1997-08-05 06:39:15 +00:00
Philippe Charnier b1825ac7ce MFC: Use err(3). Cosmetic in usage string. 1997-08-05 06:36:35 +00:00
Philippe Charnier 2c7ce2c0b1 MFC: Op arguments -> Op Ar arguments 1997-08-05 06:34:24 +00:00
Philippe Charnier df58912a11 MFC: environmental -> environment. 1997-08-05 06:32:42 +00:00
Philippe Charnier 9aa90d8e89 MFC: Cosmetic & typo. 1997-08-05 06:31:54 +00:00
Satoshi Asami 24cb5a5d33 This patch splits "world" into two parts, "buildworld" and
"installworld", which can be run together or separately (or even on
different machines).  The "buildworld" target does not install
anything outside /usr/obj; you still need to be root to run it (the
default install rules want to set the ownership, etc.), but it's now
possible to upgrade a bunch of -stable machines by running "make
buildworld" on a 2.1.5 NFS server and then running "make installworld"
on each of the clients, while not compromising the stability of the
server at all.

Reviewed by:	too many many people to list here, special thanks to bde
1997-08-05 03:46:23 +00:00
Satoshi Asami 85e19c1880 Merge 1.4. 1997-08-05 03:40:23 +00:00
David Greenman 40ae4344e1 Brought in fix from rev 1.64: fix for rfork security hole. 1997-08-04 05:40:37 +00:00
Peter Wemm 7c6750ba69 YAMFC: rev 1.9, don't half-close, it doesn't strictly comply with the RFC. 1997-08-03 19:23:28 +00:00
Peter Wemm 504d1f85cd YAMFC. Most notable changes are beter ftp:// parsing, the
-b (linux_bug) switch, and chunked encoding support.  A side effect of
the linux TCP bug workaround is that it stops the half-close that confuses
squid (a bug in squid on systems using select() instead of poll() - the
cache->fetch throughput slows to 409.6 bytes/sec).
1997-08-03 18:53:18 +00:00
Peter Wemm 19115570d2 YAMFC: rev 1.23 and 1.24. Fix/enhance SIGALRM, don't send QUIT if closed. 1997-08-03 18:45:21 +00:00
Steve Price 539f336c27 MFC: Don't source $ENV unless this is an interactive shell.
Requested by: Wolfram Schnieder ([email protected])
1997-08-03 18:44:27 +00:00
Peter Wemm 69df4b3b54 YAMFC: correct off_t glitches 1997-08-03 18:42:41 +00:00
Peter Wemm 3ea35a825a Fix "lstart". (Displays "19" rather than time)
PR: 4206
Submitted by: Tetsuya Furukawa <[email protected]>
1997-08-03 08:33:17 +00:00
Rodney W. Grimes 8864ff8143 Add support for the newer SMC 9332BDT cards that have a different
OUI (00:E0:29) to the older driver in 2.2, the new driver in 3.0
should already handle this with the new PHY code.
Reviewed by:	Several of my customers
1997-08-02 17:44:50 +00:00
Søren Schmidt 8251328bea YAMFC: Support for the Hitachi CDR7730 cdrom drive. 1997-08-02 09:49:56 +00:00
David Nugent bf52c269bf MFC: Fix -p switch. 1997-08-01 15:07:25 +00:00
John-Mark Gurney 6d4b53ea2f MFC: patch possible user panic, warn about pty limits 1997-08-01 09:32:05 +00:00
Philippe Charnier 641b924ce2 MFC: Use err(3), silent -Wall, cosmetic in usage string, add prototypes. 1997-08-01 06:44:23 +00:00
Philippe Charnier 341dc955c8 MFC: Cosmetic in err() strings. 1997-08-01 06:39:48 +00:00
Philippe Charnier 50e3135104 MFC: Use err(3). 1997-08-01 06:35:23 +00:00
Philippe Charnier 9875566efd MFC: Use err(3). Add missing flags in usage string. 1997-08-01 06:33:52 +00:00
Brian Somers 4fd4c0c25f YAMFC: Remove extraneous prototypes. 1997-08-01 02:12:56 +00:00
Brian Somers 0dc54e6ef3 YAMFC: Remove the annoying "cmp: EOF" message when
dmesg changes.
1997-08-01 01:28:01 +00:00
Paul Traina 3e23a6b14f Nologin is also a valid 'invalid' shell 1997-07-31 15:25:35 +00:00
Satoshi Asami aa36fbf059 Merge 1.60. 1997-07-31 11:32:49 +00:00
Jordan K. Hubbard 2bbaac6a58 YAMFC - serial console support. 1997-07-31 11:11:39 +00:00
Jordan K. Hubbard 7936a54e1a New path for floppies README.TXT 1997-07-31 11:09:29 +00:00
Jordan K. Hubbard e947fb8dcf Move this out of here since Julian evidently didn't want it in -current
anymore.
1997-07-31 11:00:40 +00:00
Jordan K. Hubbard 75f025e4ba YAMFC - touch kernel.config 1997-07-31 10:08:32 +00:00
Satoshi Asami c55a0fda97 Merge 1.132 from -current. 1997-07-31 08:32:42 +00:00
Satoshi Asami 6ebb7aac7c Merge 1.53. 1997-07-31 06:12:50 +00:00
John Polstra 8aa83df477 Merge from main branch 1.7 -> 1.8: Add cvsup.uk.freebsd.org. 1997-07-31 04:42:03 +00:00
Andrey A. Chernov 27b9da5771 Merge from -current 1997-07-30 19:33:34 +00:00
John Polstra 1390b0dc9e Merge from main branch 1.6 -> 1.7: Update list of mirror sites. 1997-07-30 16:00:06 +00:00
Philippe Charnier 5e043c9b64 MFC: Remove unused variables, prog.
Cosmetic in usage string.
1997-07-30 06:52:06 +00:00
Philippe Charnier 1d6b7f4f37 MFC: Use err(3) instead of local redefinition. 1997-07-30 06:48:15 +00:00
Philippe Charnier 0021dea42b MFC: Use err(3), add usage(), prototypes.
sprintf -> snprintf from OpenBSD.
Obtained from: OpenBSD
1997-07-30 06:46:41 +00:00
Philippe Charnier 43938609f2 MFC: Add usage(). 1997-07-30 06:43:57 +00:00
Philippe Charnier 806c6b6bd1 MFC: Cosmetic in usage string. 1997-07-30 06:42:43 +00:00
John Polstra 2a717c8ef0 Merge from main branch 1.48 -> 1.49: Make hexness of "info" field
apparent in diagnostic messages.
1997-07-29 19:42:50 +00:00
Wolfram Schneider 2ff74cba13 Merge rev 1.2 - rev 1.5
Add ref to sysmouse(4) and vidcontrol(1).
	Add a simple example section.
1997-07-28 22:05:13 +00:00
Bill Paul be12f2a8c4 Merge fix for PR #4147 from head: test for both TRY_AGAIN or NO_RECOVERY
when deciding to scan down the domain list.
1997-07-28 14:17:30 +00:00
Wolfram Schneider bcc00ea4fe Merge rev 1.3 - 1.7
All changes except the 16 char user length limit (rev 1.2)
1997-07-28 11:45:19 +00:00
Wolfram Schneider 2b737adce2 Merge rev 1.32: cp -r' -> cp -R'
and rev 1.33: Delete dead test code.
1997-07-28 10:45:08 +00:00
Philippe Charnier 6912e16eec MFC: Add usage(). Use err(3). Silent -Wall. 1997-07-28 06:57:00 +00:00
Philippe Charnier 829b963ad1 MFC: statisize usage(). 1997-07-28 06:55:38 +00:00
Philippe Charnier cb47727963 MFC: Remove .Nm's parameter. 1997-07-28 06:54:08 +00:00
Philippe Charnier c6e4f2e0e4 MFC: Add usage(). 1997-07-28 06:52:04 +00:00
Philippe Charnier c5f0e53278 MFC: add usage(). 1997-07-28 06:50:32 +00:00
Philippe Charnier 64b96a0ab9 MFC: Use err(3). 1997-07-28 06:47:31 +00:00
Philippe Charnier d9e0176647 MFC: Use err(3). Silent -Wall. 1997-07-28 06:43:49 +00:00
Brian Somers 22e190c74b YAMFC: Fix file descriptor leaks. 1997-07-28 01:04:28 +00:00
Brian Somers eacfc5b2b7 YAMFC: Count the "proto" arg after a single address,
Check correctly for "deny" packets.
       Submitted by:	Dave Bodenstab <[email protected]>
1997-07-27 23:28:56 +00:00
Bill Paul 5110fb0b57 Merge from head: fix async DNS resolver bug. 1997-07-27 03:42:53 +00:00
Bruce Evans 3d34903c42 YAMFC (1.25: use defined() before empty() to fix recent breakage).
Didn't merge 1.24 since it doesn't quite apply.  The ifdef that was
broken in 1.23 seems to be just bogus in 1.16.2.1 (it is to define
COMPRESS_CMD in case that is not already defined, but bsd.own.mk
defines COMPRESS_CMD even in -2.2).
1997-07-26 20:06:15 +00:00
Wolfram Schneider 030dd5b9d5 Typo: increase max group line length from 100 to 1000.
Submitted by: "Yaroslav Terletsky" <[email protected]>
1997-07-26 17:35:34 +00:00
David Greenman 7234f711d6 Brought in change from 1.37: support for Seeq 80c24 PHY. 1997-07-25 23:42:10 +00:00
KATO Takenori 56e0c1b6d3 MFC (I586 --> I686 for Cyrix 6x86MX CPU). 1997-07-25 08:34:11 +00:00
Brian Somers 6f2df13a35 YAMFC: Recalculate ip_sum before passing a
re-assembled packet to a divert port.
       Pointed-out by:	Ari Suutari <[email protected]>
1997-07-25 04:03:50 +00:00
Brian Somers 64e5ecce66 YAMFC: Allow service names as the divert/tee arg. 1997-07-25 03:15:04 +00:00
Paul Traina 19951d84e2 Sync with -current, with the addition of some backwards compatibility code. 1997-07-24 18:41:34 +00:00
David Nugent 576c18b472 MFC: fix usage of hostname variable.
PR: 4135
1997-07-24 10:05:41 +00:00
Poul-Henning Kamp 749e16e2f8 Merge malloc from current. 1997-07-24 08:25:25 +00:00
Philippe Charnier 6a602e1006 MFC: Use err(3) instead of local redefinition. Remove progname. 1997-07-24 06:53:38 +00:00
Philippe Charnier eb5938b3e5 MFC: Typo. 1997-07-24 06:52:01 +00:00
Philippe Charnier 03076e6c2f MFC: Use err(3) instead of local redefinition. 1997-07-24 06:50:33 +00:00
Jordan K. Hubbard 3fbd714cc9 Since we couldn't seem to come up with a consensus on how to handle
the /boot.foo files, simply take the easy way out for now and patch
things in sysinstall.  Let's hope the folks who added this feature
can figure out some way of preventing this from becoming a long-standing
wart. :)
1997-07-23 15:12:37 +00:00
Jordan K. Hubbard ba225dfd39 Thwap docs dist here too. 1997-07-23 14:54:19 +00:00
Philippe Charnier e1dc25e975 MFC: = -> ==, add usage(), strcpy -> strncpy. 1997-07-23 06:43:52 +00:00
Philippe Charnier 61856de05b MFC: Use err(3). 1997-07-23 06:40:52 +00:00
Philippe Charnier 05ae2208cc MFC: Use fprintf to display usage string. 1997-07-23 06:39:42 +00:00
John Polstra 79a435d37d Merge from main branch 1.8 -> 1.9: add warning. 1997-07-22 18:21:51 +00:00
Philippe Charnier db3a1d549b MFC: Add usage(). Use err(3). 1997-07-22 07:28:27 +00:00
Philippe Charnier 179e28e36c MFC: Use err(3). Use .Pa for filenames. 1997-07-22 07:25:33 +00:00
Philippe Charnier 33be082330 MFC: Cosmetic in usage string. 1997-07-22 07:22:51 +00:00
Philippe Charnier 705433bb43 MFC: Typo in man page. Check fgets' return value. Silent -Wall. 1997-07-22 07:21:22 +00:00
Philippe Charnier 9e54c2eb4b MFC: Cosmetic in usage string. 1997-07-22 07:16:41 +00:00
Brian Somers 9827af4c65 YAMFC: Output name of duplicate spool dir.
Submitted by:   Wayne Scott <[email protected]>
1997-07-21 22:44:58 +00:00
Julian Elischer 038d5b11bf MFC: bring up to 1.31
don't trust user-supplied values.
check user supplied data- length against the known buffer length
and handle stupod values (e.g. 0) as well.
1997-07-21 20:02:15 +00:00
Bill Paul 446a109788 Merge from current: fix heap corruption bug in ypproc_match_2_svc(). 1997-07-21 17:40:57 +00:00
Philippe Charnier 3ccf40314e MFC: Use err(3) instead of local definition. Mdoc'ify man page. 1997-07-21 11:59:02 +00:00
Philippe Charnier 9b96b353b1 MFC: Use err(3). 1997-07-21 11:56:35 +00:00
Bill Fenner 6192382cc3 MFC: Remove crufty LBL ifdef that only applies to Suns.
Submitted by:	Craig Leres <[email protected]>
1997-07-19 20:09:09 +00:00
John Fieber 42273597ca Remove SGML stuff from RELENG_2_2. 1997-07-19 15:32:06 +00:00
David Nugent 89e2cbe2d8 MFC: sleep() after sending nologin file. 1997-07-19 04:51:04 +00:00
Stefan Eßer 20e8927a0b Merge from -current (rev 1.48): Fix Triton II register dump. 1997-07-18 19:48:22 +00:00
Stefan Eßer 7dbb38e5c9 Merge from -current (rev 1.99): Don't access dstat twice. 1997-07-18 19:36:57 +00:00
Warner Losh eedd2adf74 MFC: 1.5: unlink protection 1997-07-18 18:39:55 +00:00
Julian Elischer 8080929a21 MFC:
fix what appears to me to be absolutle bogus code
to do with netmasks.. we fed totally bogus data into the kernel
to do with default routes and it just believed us. This led to:
1/ kernel panics
2/ the default route refusing to be deleted or added
(depending on a number of factors, usually it worked ok.)
I've test this all I can and it should stop panicing the kernel..
Never feed a sockaddr to the kernel without filling in the length
(and preferably the family).
The kernel is about to enforce this (again) so (this time) let's
get the user programs working first.
1997-07-18 09:14:10 +00:00
Satoshi Asami 372d11fcb8 MFC: add ${DESTDIR}. 1997-07-18 07:28:35 +00:00
Philippe Charnier e12590d45e MFC: Cosmetic in usage string. 1997-07-18 06:37:20 +00:00
Philippe Charnier ed85c193fa MFC: Use err(3). Mdoc'ify man page. 1997-07-18 06:36:15 +00:00
Satoshi Asami f2a25b130a Merge 1.3. 1997-07-18 06:33:13 +00:00
David Nugent 40809811ac MFC: missed user class additions and buffer overflow fixes. 1997-07-18 05:31:52 +00:00
Satoshi Asami f9df96ce14 Merge 1.153. 1997-07-18 03:50:27 +00:00
Mark Murray 5d3dfa55b7 YAMFC: Perl5 is now perl5.00401 1997-07-17 17:53:43 +00:00
Mike Smith ddcec0c935 Merge from -current : improve sanity checking for incoming route information
without refusing valud default routes.
1997-07-17 09:24:29 +00:00
David Nugent 77b2bce580 MFC: getuid() -> geteuid(). 1997-07-17 08:40:38 +00:00
Philippe Charnier 9368b61dff MFC: mdoc'ify man page. 1997-07-17 06:40:14 +00:00
Philippe Charnier 01ff46e957 MFC: Use err(3), cosmetic in usage string. Rewrote man page in mdoc format. 1997-07-17 06:39:16 +00:00
Philippe Charnier 7753a4ff8f MFC: Use err(3). 1997-07-17 06:37:36 +00:00
Jordan K. Hubbard 949f43d363 Repair missing quote. 1997-07-16 15:22:18 +00:00
Julian Elischer ba0ffec63e MFC:
fix bungled cut/paste
1997-07-16 14:58:03 +00:00
David Nugent 2053f18c52 MFC: typo fix
PR:		4101
Submitted by:	Horikawa Kazuo <[email protected]>
1997-07-16 11:48:23 +00:00
Jordan K. Hubbard 096eea9580 YAMFC 1997-07-16 11:46:13 +00:00
Philippe Charnier 0a93446fc9 MFC: Use err(3) instead of local redefinition. Add usage(). 1997-07-16 06:46:38 +00:00
Philippe Charnier 8096eaa23f MFC: Cosmetic in usage string. Add rcsid. 1997-07-16 06:45:32 +00:00
Philippe Charnier 871f8f2402 MFC: remove unused vars. Add rcsid. 1997-07-16 06:44:27 +00:00
Philippe Charnier 203420a408 MFC: Typo in man page. Add rcsid. Cosmetic in usage string. 1997-07-16 06:43:04 +00:00
Philippe Charnier 42858bc5dc MFC: Use err(3) instead of local redefinition. Add usage(). 1997-07-16 06:41:31 +00:00
Philippe Charnier a64a6eb73a MFC: Use err(3) instead of local redefinition. Silent -wall. 1997-07-16 06:40:05 +00:00
Philippe Charnier a9d5a8af83 MFC: document the CMD640 option. 1997-07-16 06:37:16 +00:00
Philippe Charnier 95afc49c69 MFC: Remove obsolete ls option (-g). 1997-07-16 06:34:53 +00:00
Jordan K. Hubbard ef2717bd1a YAMFC - nuke Samba setup. 1997-07-16 05:23:24 +00:00
Jordan K. Hubbard a509f2baa2 Add SYSVSHM to GENERIC here too. 1997-07-16 04:45:14 +00:00
Julian Elischer 7097fa3fcc Finally track down the reason for some of my occasional kernel crashes.
route(1) has a bug that sends a bad message to the kernel. The kernel
trusts it and crashes. Add some sanity checks so that
we don't trust the user quite as much any more.
1997-07-15 23:18:56 +00:00
KATO Takenori 9656b239f5 MFC (revision 1.91. Fix NexGen 586 CPU code). 1997-07-15 11:10:24 +00:00
Philippe Charnier 94b60387fe MFC: Revert to original style. 1997-07-15 08:16:39 +00:00
David E. O'Brien 1c09a1e032 YAMFC 1997-07-14 23:45:24 +00:00
KATO Takenori 98cd737c7c MFC (revision 1.31; options for BlueLightinig CPU). 1997-07-14 17:45:05 +00:00
KATO Takenori 97531b18b2 MFC (revision 1.53.)
Submitted by:	H. Nokubi <[email protected]>
1997-07-14 12:48:32 +00:00
KATO Takenori e64e577639 MFC (revision 1.12). 1997-07-14 12:41:37 +00:00
Jordan K. Hubbard c07b9adb1e Add snap servers, as in -current. 1997-07-14 04:47:10 +00:00
Kazutaka YOKOTA ea2636a4f1 MFC: fix from v1.224. 1997-07-14 03:46:53 +00:00
Jordan K. Hubbard a81d83c4a9 YAMFC bogus malloc decls. 1997-07-13 23:48:14 +00:00
Satoshi Asami fa9a4b898a Merge 1.13. 1997-07-13 21:29:50 +00:00
Bruce Evans 1fb4031962 YAMFC (1.27: fill in some extra fields in the eproc structure for gdb). 1997-07-13 14:14:58 +00:00
Jordan K. Hubbard 44212f2579 Adjust wording slightly. 1997-07-13 13:23:40 +00:00
Sean Eric Fagan cc47380497 Merge from current -- handle the case where we're trying to ping an
unreachable host better.
1997-07-13 07:55:54 +00:00
Jordan K. Hubbard bede6b85a8 Ports building changes from -current. 1997-07-13 00:55:26 +00:00
Stefan Eßer 149182d3a4 Merge in rev. 1.98 from -current (add more device IDs) 1997-07-11 18:39:59 +00:00
Stefan Eßer d4e8b5a759 Remove heuristik meant to detect multi-function devices, that do not
set the MSB in the header-type register. This seems to have applied
to one device only, and didn't really make a difference there, since
the additional functions didn't get a driver attached, anyway.
1997-07-11 18:16:18 +00:00
Peter Wemm 70024b9986 MFC: fix off-by-one and related problems 1997-07-11 14:32:11 +00:00
Philippe Charnier bc0ea8a56f MFC: Use err(3) instead of local redefinition. Add `hd' to usage str. 1997-07-11 06:25:59 +00:00
Philippe Charnier b01d93dc4c MFC: Use err(3) instead of local redefinition. 1997-07-11 06:23:33 +00:00
Philippe Charnier c5307c8c00 MFC: Remove whoami, use err(3). 1997-07-11 06:20:59 +00:00
Philippe Charnier 6017c6eeb4 MFC: Use err(3), add usage, rcsid. 1997-07-11 06:19:05 +00:00
David Nugent 6c2a45560a MFC: sysctl for shutdown timeout.
Corresponding changes to be merged after a period of testing init(8)
and rc.shutdown concept in -current.
1997-07-10 11:48:59 +00:00
KATO Takenori 9c8a5de263 Synchronize with sys/i386/conf/Makefile.i386 revision 1.89.2.3. 1997-07-10 10:52:02 +00:00
KATO Takenori 4ae86e2573 Synchronize with sys/i386/isa/syscons.c revision up to 1.182.2.23. 1997-07-10 10:49:43 +00:00
KATO Takenori 4d1cb90883 Synchronize with sys/i386/isa/syscons.h revision up to 1.23.2.5. 1997-07-10 10:48:38 +00:00
KATO Takenori 5b8b376328 Synchronize with sys/i386/isa/wd.c revision 1.119.2.6. 1997-07-10 10:47:13 +00:00
Philippe Charnier 9138915773 MFC: use err(3). 1997-07-10 06:38:32 +00:00
Philippe Charnier 10a03405b0 MFC: use err(3) instead of local redefinition. 1997-07-10 06:37:11 +00:00
Philippe Charnier 69427a0a0a MFC: use err(3), add prototypes. 1997-07-10 06:34:54 +00:00
Philippe Charnier fdf613101b MFC: use err(3), add usage(). 1997-07-10 06:33:16 +00:00
Philippe Charnier d6de65481c MFC: add usage(), use err(3). 1997-07-10 06:31:59 +00:00
Satoshi Asami b46cd9f735 Merge 1.262. 1997-07-10 02:30:51 +00:00
Julian Elischer 6e63eaba65 YAMFC
don't count packets that we weren't allowed to send in our
transmitted packets count.
1997-07-09 20:38:38 +00:00
Julian Elischer 34802ec8fa YAMFC
remove recursinve malloc (via printf in signal handler)
allow gracefull backof on ping -f on slow links
(usleep 2 ticks if we get ENOBUFS)
1997-07-09 19:43:19 +00:00
Brian Somers 2d52962f5f YAMFC: Don't allow CONS_HISTORY ioctl to alter history pointers
while in "scroll mode" (return EBUSY).
       Suggested by:	Kazutaka YOKOTA <[email protected]>
1997-07-09 14:13:42 +00:00
Jordan K. Hubbard 690f943d84 YAMFC: Move ports distribution copying for ftp dist into the correct place. 1997-07-09 12:45:37 +00:00
Dima Ruban 51ec5e12b8 Fixed buffer overflow
Reviewed by:	Warner
1997-07-08 21:07:21 +00:00
Adam David 6b4f8e1f85 execve of interfreter file
reword for grammar/clarity
1997-07-08 18:29:12 +00:00
Brian Somers ef9b3f37b5 YAMFC: Remove useless comparison.
Suggested by:	Kazutaka YOKOTA <[email protected]>
1997-07-08 13:40:57 +00:00
Paul Traina 333a2b5971 YAMFC 1997-07-08 00:46:59 +00:00
John Polstra 94f53de816 Merge from main branch 1.58 -> 1.59: fix for PR kern/3998.
PR:		kern/3998
1997-07-07 20:50:22 +00:00
Brian Somers 7b2290ba2d Handle indirect results of "kbdcontrol -h X"
where X < 25.
1997-07-07 13:40:23 +00:00
KATO Takenori 7eb927e138 Merge scmouse code from current (revision 1.44). 1997-07-07 13:01:18 +00:00
Doug Rabson b3f5b52ed2 Fix panics caused by GNU grep on cd9660 and msdos filesystems.
PR:		4011
Submitted by:	[email protected]
1997-07-07 07:49:04 +00:00
Peter Wemm 21be55d7c5 YAMFC: protos here were using unprotected type names, and gcc -Wshadow
gripes about it.
1997-07-07 04:21:01 +00:00
Peter Wemm 6ff86f3768 YAMFC: add cvspserver (2401) 1997-07-07 02:05:44 +00:00
Peter Wemm 68b162decf Update description of rand_args to not suggest "-s"..
Pointed out by: bde
1997-07-06 08:28:34 +00:00
John Hay 102e46da02 Merge IPXrouted changes from current. 1997-07-06 08:14:29 +00:00
Peter Wemm ece716c52f fix rndcontrol invocation.. rndcontrol has the irq after a -s switch, not
just the next argument.  We really need to be able to tag drivers with
their randomness "suitability" so that this can be more automatic.  It
would be nice if all suitable drivers registered their irq automatically,
but still allowed them to be turned on/off etc.
1997-07-06 07:19:14 +00:00
Paul Traina b4c1ced1b8 Move TCP extensions into phase 1.
Submitted by:	bde
1997-07-06 00:32:00 +00:00
Paul Traina 86e0a635f5 YAMFC 1997-07-05 19:36:53 +00:00
Peter Wemm d495322c09 YAMFC: test exists(${.CURDIR}/../eBones) not ../eBones 1997-07-05 14:23:54 +00:00
Jordan K. Hubbard d3f20f9d3e If we're going to have the new boot block features in 2.2, better support 'em. 1997-07-05 14:11:52 +00:00
Peter Wemm 47b2989dd9 Hmm.. Somehow, the MAKE_EBONES hooks only partially came across to 2.2.
So, if src/eBones was present, it only got "sort-of" built.
1997-07-05 13:48:13 +00:00
Bruce Evans 3a0000d1c2 YAMFC (document recent and not so recent changes). 1997-07-05 02:04:31 +00:00
Jordan K. Hubbard 74b28707d3 tooltalk entries 1997-07-05 00:39:34 +00:00
Masafumi Max NAKANE 876b19c29e MFC: Xref to nologin(5). 1997-07-04 06:35:19 +00:00
Philippe Charnier d0b928913b MFC: Remove Nm's parameter. Add rcsid, prototypes. Use err(3). 1997-07-04 06:25:30 +00:00
Jordan K. Hubbard a66da6ca70 YAMFC (se fix) 1997-07-04 04:48:16 +00:00
Jordan K. Hubbard fde5f79c13 Add BINDIR so that people can install this into /stand.
Is it bogus to replace a crunched binary with a single sysinstall
executable?  Yes.  Is it less bogus than not providing a reasonable
install target so you can tell users where to go and type "make all install"
in order to update sysinstall?  No.  Hence this commit, with reservations.
1997-07-04 04:45:42 +00:00
John Polstra 3f503d0462 Sync with main branch 1.3: Add resvport,nfsv2 options. 1997-07-04 03:34:28 +00:00
Philippe Charnier bb00d52f67 MFC: Add rcsid, usage(), err(3) instead of local redefinition. Silent -Wall. 1997-07-03 07:12:40 +00:00
Philippe Charnier a307b5d173 MFC: Remove Nm's parameter. 1997-07-03 07:08:12 +00:00
Jordan K. Hubbard d2e58cb2be YAMFC games man/catdist changes. 1997-07-02 08:59:35 +00:00
Philippe Charnier d800b746ae MFC: Do not use argv[0] in usage(). 1997-07-02 06:25:28 +00:00
Philippe Charnier 085a120b9a MFC: Add usage() and use of getopt().
Obtained from: OpenBSD.
1997-07-02 06:21:42 +00:00
Brian Somers 34ea9d678e YAMFC: Make HUP cause an exit (as it used to), and make
INT cause a hangup - not exiting for -ddial & -auto.

       HUP must exit because init sends this at system shutdown
       time (why, I don't know), and we don't want to end up
       redialing after the HUP (due to another dfilter packet).

       Pointed out by and discussed with: ache
1997-07-01 21:33:49 +00:00
Satoshi Asami b1b528c400 Merge 1.261. 1997-07-01 06:52:35 +00:00
Philippe Charnier 781ffb8d57 MFC: Add usage(). 1997-07-01 06:30:41 +00:00
Philippe Charnier 387c637dd5 MFC: document the -k flag. 1997-07-01 06:29:33 +00:00
Philippe Charnier 4eda9d1152 MFC: Use err(3) instead of local redefinition. Change argument name so that
man page and usage string are in sync.
1997-07-01 06:28:24 +00:00
Philippe Charnier 658ff59e28 MFC: Add usage(). Typo in man page. 1997-07-01 06:25:53 +00:00
Philippe Charnier 3b5e8ff942 Nm does not need any parameter, unless the first time. 1997-07-01 06:24:09 +00:00
Philippe Charnier 02bfb1dd9a MFC: Use err(3). Remove whoami variable. Mdoc'ify man page. 1997-07-01 06:22:14 +00:00
Philippe Charnier 66b48f99a4 MFC: Use err(3). Add DIAG... section in man page. 1997-07-01 06:20:23 +00:00
Philippe Charnier 57def4f658 MFC: Add -s flag in usage string. 1997-07-01 06:18:36 +00:00
Jordan K. Hubbard d4bcf12bf7 YAMFC 1997-07-01 06:14:15 +00:00
Paul Traina bfb3af199e Bring in 3.0 changes (dual booting et al).
Unfortunately, with the addition of the kernel config file, the boot blocks
are FULL again.  Time to do more bit buming.
1997-07-01 05:56:06 +00:00
Jordan K. Hubbard c13013245d Allow distSetByName() to process all the relevant entries.
Submitted by: msmith
1997-07-01 03:50:58 +00:00
Bruce Evans 24a1d23843 YAMFC. The previous MFC was incomplete (it didn't merge the cosmetic
SRCDIR simplification) and broken (it went back to using the nonexistent
gnu/lib/libreadline/doc).  Try merging everything this time (SRCDIR
simplification, fix one stale path and remove the other).
1997-06-30 23:31:20 +00:00
Jordan K. Hubbard 02daa126c4 sysconfig -> rc.conf 1997-06-30 19:01:03 +00:00
Bruce Evans fc2866c839 YAMFC (finish avoiding use of gdb's stale readline info). 1997-06-30 13:16:38 +00:00
Philippe Charnier 234baacdab MFC: Use EX_USAGE in usage(). 1997-06-30 11:26:13 +00:00
Philippe Charnier 29f9063b61 MFC: Remove lines inside #ifdef 0/#endif. 1997-06-30 11:18:14 +00:00
Peter Wemm 2ade633172 YAMFC: update to -current ifconfig for ifmedia support and 'ifconfig -l',
as well as various cleanups.
1997-06-30 11:02:04 +00:00
Peter Wemm d7d1d3874a Bring if_media support from -current across to 2.2.. It's dormant unless
used.  I've had reports that it works under 2.2 with the new if_de.c, but
I've only tested it with a hacked if_ed.c.
1997-06-30 10:59:16 +00:00
Jordan K. Hubbard fcb29a1474 Make deletes get along with new preserve option a little nicer. 1997-06-30 03:15:22 +00:00
Brian Somers 3f3f445bd5 YAMFC: Allow specification of a umask for local socket
creation in "set server" command.
1997-06-30 03:05:14 +00:00
Jordan K. Hubbard 81f011cc3f YAMFC 1997-06-30 02:57:49 +00:00
Bruce Evans 373f79de3f YAMFC (removed unused files (about 8MB total)). 1997-06-29 19:43:23 +00:00
Brian Somers 7ffc7c093a YAMFC: Deal with HISADDR/MYADDR in filter rules.
Partially submitted by: [email protected]

       Allow MYADDR in add/delete commands to facilitate
       dynamic additions of a loopback route to MYADDR.

I'd consider most of this a bug fix rather than an
enhancement.
1997-06-29 18:37:43 +00:00
Jordan K. Hubbard 0ac38d6117 YAMFC 1997-06-29 18:13:57 +00:00
Bruce Evans 59a945cbac YAMFC (part of 1.100: fixed the histogram counts for profiling support
functions).
1997-06-29 16:44:41 +00:00
Kazutaka YOKOTA 13b0ce83ca YAMFC. Merge workaround for ThinkPad 535. 1997-06-29 15:13:47 +00:00
Brian Somers 8628f8d024 YAMFC: Fix HUP handling while dialing.
Pointed out by:	ache
1997-06-29 13:55:58 +00:00
Jordan K. Hubbard e8bd89d9f7 YAMFC 1997-06-29 10:42:15 +00:00
David E. O'Brien 4a9fd85bf6 Merge from current. 1997-06-29 10:19:17 +00:00
David E. O'Brien f3859c5bca Merge from current. 1997-06-29 10:12:43 +00:00
cvs2svn 04697e4baf This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-06-29 10:06:57 +00:00
David E. O'Brien 8d15dfacb4 MFC. 1997-06-29 08:51:44 +00:00
Julian Elischer 105935406a YAMFC
a flag that is not quite as draconian as IMMUTABLE.
if you never use this, you'll never see it.

Submitted by:	Whistle Communications
1997-06-29 08:48:52 +00:00
David E. O'Brien 6aa293c419 Add ``MOD_DISPATCH'' macro to give 2.2x the 3.0 lkm dispatch API.
One should not think that the rest of the 3.0 lkm changes have been
added.
1997-06-29 08:45:45 +00:00
Paul Traina 75fe8f2ef8 Maybe this time's the charm? 1997-06-29 06:06:10 +00:00
Paul Traina b4800da0e1 YAMFC -- noshared fixes. 1997-06-29 06:05:28 +00:00
Steve Price f3f3c39b10 MFC: minor cosmetic tweaks
PR:	docs/3941
1997-06-28 19:43:09 +00:00
Paul Traina 69abd966e6 YAMFC 1997-06-28 16:54:10 +00:00
John Hay bded1e134a Oops, almost missed the LINT file in my ipx merge from current. 1997-06-28 09:32:15 +00:00
John Hay f5d2e6eca6 Merge the ipx changes from current. 1997-06-28 09:23:54 +00:00
Paul Traina fbfbead8da YAMFC 1997-06-28 08:23:09 +00:00
Peter Wemm 465e2892ab YAMFC: Update to sendmail-8.8.6 1997-06-28 08:09:30 +00:00
KATO Takenori 92be3a5a74 YAMFC (CPU_DIRECT_MAPPED_CACHE support). 1997-06-28 07:56:12 +00:00
Peter Wemm c7f9abca58 YAMFC: Update from bind-4.9.4 to 4.9.6 1997-06-28 07:48:42 +00:00
Peter Wemm d31fbb15e0 YAMFC: Update dns and and other files shipped with bind-4.9.6 1997-06-28 07:47:06 +00:00
Peter Wemm e389af2874 Update for bind-4.9.6 1997-06-28 07:43:16 +00:00
Peter Wemm 348fbc7337 Update for named-4.9.6 1997-06-28 07:42:25 +00:00
Peter Wemm 3afdd8d1d0 Update for bind 4.9.6 1997-06-28 07:41:56 +00:00
Peter Wemm be70a2ea60 Update for 4.9.6 1997-06-28 07:41:30 +00:00
Peter Wemm 5f58e9ea0b Update bmakefiles for 4.9.6 1997-06-28 07:37:56 +00:00
Peter Wemm 5f4af4e6fb Update the 2.2 version of bind from 4.9.4-P1 to 4.9.6. More commits to
follow.
1997-06-28 07:36:49 +00:00
Peter Wemm b34b7c803d Update bmake backend to deal with cvs 1.9.10 1997-06-28 03:27:53 +00:00
Peter Wemm 3a4c9efab8 Update 2.2 to cvs-1.9.10 from -current (fixes a security problem with
pserver mode)
1997-06-28 03:23:03 +00:00
Jordan K. Hubbard 1f0ebe423f YAMFC 1997-06-28 02:37:43 +00:00
Brian Somers 00b1febb5d YAMFC: Allow command line control of ppp through both
TCP and AF_LOCAL sockets.
1997-06-28 01:09:01 +00:00
cvs2svn 8afb7bc24f This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-06-28 01:04:55 +00:00
Philippe Charnier 496badda6d MFC: Use err(3) instead of local redefinition. 1997-06-27 06:20:49 +00:00
Philippe Charnier 1b7ea40cda MFC: Add usage(). Put program name under Nm in man page. 1997-06-27 06:19:43 +00:00
Philippe Charnier 9c0c0e1679 MFC: Add usage(). Use err(3). Remove progname variable. 1997-06-27 06:17:57 +00:00
Philippe Charnier c8c3aaa473 MFC: Use Nm for program name in the man page. Correct usage string. 1997-06-27 06:16:31 +00:00
John Hay 4b2e0a44a5 Merge the missing pru_* stub functions from current. This will make
merging the ipx code a lot easier.
1997-06-26 19:54:00 +00:00
Philippe Charnier c89a609275 MFC: Update man page. Use warn(3). Silent -Wall. 1997-06-26 11:19:02 +00:00
Philippe Charnier 434fc4d31b MFC: Display the line number of input file when an error is found. 1997-06-26 11:16:55 +00:00
Tor Egge 9439c24cd1 Merge from -current: Allow kernel config file to override PMAP_SHPGPERPROC. 1997-06-26 00:05:16 +00:00
Brian Somers 1c3d6f234f YAMFC: Add "set server" to control the server socket.
Catch SIGUSR1 to re-init listening socket.
       Document signal behaviour.

       Add missing '\n's to LogPrintf(LogWARN,...)
       Main() returns int not void.

       AF_LOCAL idea suggested a long time ago by: joerg
1997-06-25 19:32:38 +00:00
cvs2svn 99c916a936 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-06-25 19:30:06 +00:00
Andrey A. Chernov 46396cf220 Merge /var/run cleaning from -current 1997-06-25 12:31:36 +00:00
Paul Traina 9d894450ac Merge from -currrent. 1997-06-25 11:49:25 +00:00
Bruce Evans 973c478f70 YAMFC (fixed va_arg() to work for small args). 1997-06-25 08:50:58 +00:00
Philippe Charnier 3a1b21169d MFC: Document use of `ls -lo' to see flags. 1997-06-25 06:53:34 +00:00
Philippe Charnier d8c1178077 MFC: Add prototypes. Silent -Wall. 1997-06-25 06:52:22 +00:00
Philippe Charnier 4c397ee92b MFC: Remove program_name variable. 1997-06-25 06:50:57 +00:00
Dima Ruban e1a0d6a03f Fix krb5_prop entry
Pointed-by: Bill Fenner
1997-06-25 04:30:17 +00:00
Dima Ruban 9ede1684a6 Added krb5_prop service. 1997-06-25 03:26:47 +00:00
Dima Ruban ddb07f71e6 sh /etc/rc.local -> . /etc/rc.local 1997-06-25 03:12:12 +00:00
Brian Somers e330d442a8 YAMFC: Allow shell commands (still run as original user)
unless defined out - including while a telnet
       session with a -auto ppp is in effect.  If you
       don't create ppp.secrets, you deserve what you
       get.

       telnet connection capabilities will be configurable
       per system soon.

       Suggested by: Terry Dwyer <[email protected]>
1997-06-25 02:09:00 +00:00
Jordan K. Hubbard 97d97ffbf5 Fix missing ftp.1 bogon, add extra knob for making src optional and
for boot.config.

Submitted-By: pst
1997-06-24 23:07:32 +00:00
Dima Ruban 1308cef2f8 Add missing '.'s 1997-06-24 22:41:58 +00:00
Jordan K. Hubbard 590b505a0e Merge boner fixes from -current. 1997-06-24 21:53:48 +00:00
Jordan K. Hubbard e28bca9e91 sync with -current 1997-06-24 21:45:31 +00:00
Brian Somers d8b38c218f YAMFC: Fix ~? output in "term" mode.
Spotted by: Harry Starr <[email protected]>
1997-06-24 21:26:32 +00:00
Julian Elischer c701169a62 YAMFC
continue the upgrading of the pthreads library in 2.2 to 3.0 standard
1997-06-24 19:23:09 +00:00
Andrey A. Chernov 80eca0a4ae Add no and ko locales to not have them floating in the air 1997-06-24 14:08:46 +00:00
Kazutaka YOKOTA 4a3ad92e56 YAMFC: incorporate changes in v1.206, v1.208 and v1.216 which have not been
integrated into RELENG_2_2. With this merge, syscons.c and syscons.h are
brought up to the level mostly on a par with v1.216 and v1.29.
1997-06-24 12:34:34 +00:00
KATO Takenori c128d0f0d8 YMAFC (revision 1.25; recognize AMD K5 PR166 and PR200 CPUs). 1997-06-24 10:03:11 +00:00
David Greenman dcf568e0cc Brought in fix from rev 1.27: killed kernacc() call in malloc() DIAGNOSTIC
code.
1997-06-24 09:45:54 +00:00
Satoshi Asami 7628121836 Merge 1.260 (USE_PERL5). 1997-06-24 07:17:15 +00:00
Philippe Charnier e4c78cb757 MFC: Typo. 1997-06-24 06:49:53 +00:00
Philippe Charnier 0bb2f6e0a6 MFC: check strdup returning NULL. 1997-06-24 06:49:26 +00:00
Philippe Charnier 3078e45e58 MFC: correct man page. 1997-06-24 06:47:06 +00:00
Philippe Charnier e03e2e9d48 MFC: Use err(3). 1997-06-24 06:45:22 +00:00
Philippe Charnier adbc3b1151 MFC: Use err(3) instead of local redefinition. 1997-06-24 06:43:41 +00:00
Philippe Charnier 0c308e0d5f MFC: Use warn(3). 1997-06-24 06:38:51 +00:00
Philippe Charnier acfebd302b MFC: Man page in mdoc format. Cosmetic in usage string. 1997-06-24 06:35:05 +00:00
Julian Elischer cb493a4954 YAMFC
bring in thread specific changes  from current
1997-06-24 05:24:08 +00:00
Julian Elischer fca6553859 YAMFC equiv to 1.15 1997-06-24 05:22:45 +00:00
Julian Elischer 8407c41935 YAMFC
bring in thread specific changes from -current
1997-06-24 05:06:13 +00:00
Julian Elischer e1c2234c83 YAMFC
the include files need to match the lib (duh)
1997-06-24 04:32:27 +00:00
Julian Elischer df8754fbcf YAMFC part III
Submitted by:	john Birrell (a long time ago)
probably a bit more to do as well

Part of the pthreads upgrade (from not really working to mostly working) :)
1997-06-24 03:51:39 +00:00
Julian Elischer 048e703337 YAMFC
bringing 2.2's threads to the state of 'workingness' of -current
lots to do but this adds a lot
this should have been done before 2.2.0
was released but I didn't have time.

Submitted by:	john birrel
1997-06-24 00:28:13 +00:00
Julian Elischer d8d8652248 more YAMFC 1997-06-23 23:51:52 +00:00
Julian Elischer 6f5f2cb57d part of YAMFC
cleanup libc_r from 2.2 family
1997-06-23 23:49:27 +00:00
Brian Somers 6dae1017f7 YAMFC: o Fix uptime for direct connections.
o Style police
       o Make hangup abort the current connection, not
         necessarily exiting (-auto/-ddial).
       o Trap HUP and INT during DoChat and abort the
         connection attempt.  This means you can now
         type "dial" and change your mind with ^C, or
         HUP the process to stop it dialing.

       Slapped into doing it by: Chuck Robey <[email protected]>
1997-06-23 23:14:12 +00:00
Brian Somers b7b3f1099e YAMFC: Typo police.
Submitted by: Chuck Robey <[email protected]>
1997-06-23 23:12:48 +00:00
Julian Elischer 16d7782804 YAMFC
allow common makefiles from libc and libc_r
identical to 1.9 of Makefile and 1.1 of Makefile.inc in -current
1997-06-23 23:12:43 +00:00
Julian Elischer d0a0dab62b YAMFC
use /etc/services if needed.

Submitted by:	Archie Cobbs
1997-06-23 22:34:24 +00:00
Julian Elischer aca277dc65 YAMFC
bring in two more definitions from current
1997-06-23 19:46:07 +00:00
cvs2svn bd3eb31c11 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-06-23 19:36:15 +00:00
Brian Somers a967b76e76 YAMFC: Fix "set parity"
PR:		3881
       Actual problem found by:	[email protected]
1997-06-23 19:19:28 +00:00
Philippe Charnier 96ddf27cca MFC: Sync usage string with man page. 1997-06-23 06:37:54 +00:00
Philippe Charnier f3120dab30 MFC: typo. 1997-06-23 06:36:28 +00:00
Philippe Charnier c6d4553b2e MFC: Use err(3). 1997-06-23 06:35:35 +00:00
Philippe Charnier 55a7d0ebfe MFC: Cosmetic in usage string. Use err(3). Add prototypes. 1997-06-23 06:34:27 +00:00
Philippe Charnier cec9523d96 MFC: cosmetic in usage string. Use err(3). 1997-06-23 06:31:19 +00:00
Philippe Charnier b5210be97a MFC: Use err(3). 1997-06-23 06:29:54 +00:00
Julian Elischer 4e1ba7492c YAMFC
matches 1.10
brought up to a stage of resembling reality by [email protected]
1997-06-23 02:19:54 +00:00
Jordan K. Hubbard 5a6a0320d6 YAMFC 1997-06-23 01:50:13 +00:00
Julian Elischer 513baaf768 YAMFC
correct include examples
ready for commit of major additions
1997-06-23 00:58:52 +00:00
Julian Elischer 2557ffa5ad YAMFC
the sys/types addition by BDE
this is now identical to 1.8
1997-06-23 00:34:18 +00:00
Jordan K. Hubbard 7de6b2074f YAMFOO 1997-06-22 17:59:24 +00:00
Jordan K. Hubbard 139b650c2c Move doc dist (YAMFC) 1997-06-22 17:22:21 +00:00
Jordan K. Hubbard bd1f61604c truncate's first arg is const (YAMFC) 1997-06-22 11:40:58 +00:00
Jordan K. Hubbard 90ba11f6d5 YAMFC 1997-06-22 10:20:21 +00:00
Jordan K. Hubbard ad25dba192 YAMFC script enhancements. 1997-06-22 09:48:09 +00:00
Jordan K. Hubbard e1ab69c8cc YAMFC 1997-06-22 08:38:11 +00:00
David Greenman 804d7abecf Merged 1.34-1.36 from -current: support for 82555 PHY and minor
optimization.
1997-06-22 05:01:46 +00:00
Brian Somers 30691f8b05 Hook natd. 1997-06-22 04:29:11 +00:00
Brian Somers b726277245 YAMFC: Fix this damn mbuf with a negative m_len. It turns
out to be a problem with VJ header compression.
       davidg spotted this in usr.sbin/ppp/slcompress.c
       a while ago, but I believe gave the wrong reasons -
       it's too easy to reproduce !  The only scenario that
       I've been able to reproduce the problem under is when
       m_len is *exactly* 40 !  So go figure !

       PR:             3749
       Submitted elsewhere by: davidg
       Obtained from: usr.sbin/ppp/slcompress.c
1997-06-22 02:22:17 +00:00
John Polstra 2a5264e1d6 Sync manual pages with -current. 1997-06-21 23:12:54 +00:00
Jordan K. Hubbard ee6a127ac5 YAMFC 1997-06-21 19:40:04 +00:00
Bruce Evans d99e457ef6 YAMFC (don't redeclare lseek(), but declare lseek() and other functions
involving off_t's in more places).

PR:		1229
1997-06-21 17:46:04 +00:00
Bruce Evans a4e6fbb107 YAMFC (rev.1.12: distinguish fifos from sockets in the S_IS* macros, and
some cosmetic changes).

PR:		1242
1997-06-21 16:42:27 +00:00
Alexander Langer 1f73d5d9e2 Merge from current: block write ops to /proc/1/* when securelevel > 0. 1997-06-21 16:18:56 +00:00
Jordan K. Hubbard c2ab390008 Enhanced distribute target from -current. 1997-06-21 15:48:22 +00:00
Jordan K. Hubbard 48b3430472 Keep the release tools in sync with -current.. 1997-06-21 15:47:37 +00:00
Bruce Evans 3ca93691cd YAMFC (rev.1.20: fixed livelock in getnewbuf()). 1997-06-21 13:32:58 +00:00
Joerg Wunsch 7963e369cb Merge from -current: typo fix. 1997-06-21 09:18:49 +00:00
Julian Elischer 45fd906371 YAMFC
Upgrade the user utility to the upgraded firewall code

Submitted by:	whistle communications
1997-06-21 00:10:26 +00:00
Brian Somers 29417690fe YAMFC: Fix "delete all".
PR:		3913
1997-06-20 23:45:01 +00:00
Julian Elischer 580bb49dcf YACFC
bring back the ipfirewall changes
this allows more secure firewall and to reject TCP
requests correctly

Submitted by:	Whistle Communications
user-mode changes to follow.
1997-06-20 23:05:38 +00:00
KATO Takenori f802850cf5 Merge revised CPU identification and initialization routine from
current.  Now, Cyrix 6x86 chip is recognized as Cyrix 6x86 chip.
1997-06-20 10:28:13 +00:00
Jordan K. Hubbard 311acf9934 Clear screen in places (YAMFC). 1997-06-20 07:04:43 +00:00
Jordan K. Hubbard 5403781400 YABOCFC (Yet Another Backed-Out Change From Current). 1997-06-19 17:57:30 +00:00
Jordan K. Hubbard 0e6bdf81e8 YAMFC from PR#3798 1997-06-19 15:18:59 +00:00
Jordan K. Hubbard f76dd96876 YAMFC from PR#3780 1997-06-19 15:14:23 +00:00
Philippe Charnier 6465fa58bd MFC: typos, use err(3). Remove unused variables, Cosmetic in usage string. 1997-06-19 14:25:07 +00:00
Philippe Charnier cec3b4f452 MFC: sync with man page. Remove from man page options that are only
in -current.
1997-06-19 14:22:07 +00:00
Philippe Charnier e8a7173de2 MFC: correct usage string according to man page. 1997-06-19 14:19:16 +00:00
Andrey A. Chernov ba862318f8 Merge MAXHOSTNAMELEN check and other -current changes 1997-06-19 04:43:48 +00:00
Andrey A. Chernov 7b3c2ce2ca Merge MAXHOSTNAMELEN check and other changes from -current 1997-06-19 04:39:05 +00:00
John Polstra 672d78d57a Merge from main branch 1.6 -> 1.7. 1997-06-19 01:09:09 +00:00
Paul Traina 2b7f9bf670 Merge from -current -- inetd_enable & cron_enable
Same caveats apply.
Reviewed by:	jkh
1997-06-18 16:02:36 +00:00
Philippe Charnier 1ada62dd1a MFC: Use err(3) instead of local redefinition. 1997-06-18 06:19:44 +00:00
Philippe Charnier 5035c9e703 MFC: Use err(3). 1997-06-18 06:13:34 +00:00
Jordan K. Hubbard 8d10cf576f YAMFC 1997-06-18 05:12:01 +00:00
Satoshi Asami 4bfba7976d Merge 1.12 -> 1.13 of bsd.dep.mk and 1.57 -> 1.58 of bsd.lib.mk. 1997-06-18 03:44:33 +00:00
Satoshi Asami b9c6c4c25f Merge 1.259 (umask check). 1997-06-18 03:21:31 +00:00
Satoshi Asami 1dfc0b9c14 Merge from 1.37 (includes in DESTDIR). 1997-06-18 03:11:21 +00:00
Brian Somers 2b356edc62 YAMFC: Protect against garbage mbufs in pppstart.
Remove previous hack in pppfcs().

       This is still not the correct solution.  We shouldn't
       have any incorrect mbufs.  This patch does however make
       pppd/natd work (rather than jamming the interface).
1997-06-18 02:52:16 +00:00
Jordan K. Hubbard aa838e3828 named_flags -> named_enable 1997-06-18 01:55:35 +00:00
KATO Takenori 667d5c4277 YAMFC (CONTEC C-NET(9N) and C-NET(98)P2 support). 1997-06-17 11:28:10 +00:00
Brian Somers bc58be694f YAMFC: Cosmetic: Fix help syntax. 1997-06-17 02:06:50 +00:00
Brian Somers 140a431f1d YAMFC: Handle redial tries correctly under -ddial 1997-06-17 01:47:10 +00:00
David Nugent ff22054259 MFC: fix infinite loop.
PR: 3878
Reviewed by: [email protected]
1997-06-16 23:41:55 +00:00
Brian Somers 3a65a3324f YAMFC: Put TCP/IP logs back on one line. 1997-06-16 21:22:40 +00:00
Brian Somers 0689914d5b YAMFC: Set netfd to STDOUT_FILENO rather than STDIN_FILENO. 1997-06-16 20:02:26 +00:00
Brian Somers 1f47b4c653 YAMFC: Correct filter docs.
PR:		3464
       Submitted by:	Stephen J. Roznowski <[email protected]>
1997-06-16 13:53:54 +00:00
Brian Somers 51fbdd8cc6 YAMFC: Remove call to daemon(). Just call setsid() and close
any relevent descriptors (0,2,[1]).  We've already fork()d.
       PR:		3874
1997-06-16 13:26:26 +00:00
Bruce Evans 1412a24e10 YAMFC (don't require superuser privileges for creating fifos).
PR:		3838
Reviewed by:	dfr
1997-06-16 11:24:27 +00:00
KATO Takenori f86245bda7 YAMFC (revision 1.26; fix comment). 1997-06-16 09:58:45 +00:00
KATO Takenori f986cc537b YAMFC (revision 1.25; give up automatic card type detection). 1997-06-16 09:56:02 +00:00
Masafumi Max NAKANE 1130347c0d Typo fix from current: 1.5 -> 1.6. 1997-06-16 06:57:42 +00:00
KATO Takenori 5c85749b4b YAMFC (fixed iomem address for SMIT; revision 1.23). 1997-06-15 16:41:24 +00:00
Masafumi Max NAKANE 4624bdaff1 Merge the typo fix: Rev.1.3 -> 1.4. 1997-06-14 19:47:13 +00:00
Masafumi Max NAKANE 096841941a Merge the typo fix from Rev.1.2. 1997-06-14 19:34:15 +00:00
John Polstra 8781d1d5a2 Sync with main branch 1.6: Reflect the fact that symbolic links now
have owner and group attributes.
1997-06-14 18:47:31 +00:00
John Polstra 832bb0cd6e Merge from main branch 1.8 -> 1.9: Bye bye CPLUSPLUSLIB. 1997-06-14 17:58:05 +00:00
John Polstra 0096ba6e8e Merge from main branch 1.5 -> 1.6: Bye bye CPLUSPLUSLIB. 1997-06-14 17:53:24 +00:00
John Polstra d1b33a0ce9 Merge from main branch 1.18 -> 1.19: Bye bye CPLUSPLUSLIB. 1997-06-14 17:51:31 +00:00
John Polstra 81a6bd7e7b Fix a compilation error. 1997-06-14 15:37:03 +00:00
David Nugent 987734934d MFC: fix missing "break".
PR: 3820
Submitted by:  Joseph Stein <[email protected]>
1997-06-13 22:31:42 +00:00
Masafumi Max NAKANE 29a53a6a3e Merge the typo fix from -current: Rev.1.10. 1997-06-13 21:13:27 +00:00
Masafumi Max NAKANE a84203ca83 Merge typo fix from current: Rev.1.7. 1997-06-13 20:59:39 +00:00
Jordan K. Hubbard 227997559f Show off ability to add packages under script control. 1997-06-13 18:02:22 +00:00
Jordan K. Hubbard 4834f0a82a Support adding packages from script files.
Clean minor typo in ntpdate fixes.
1997-06-13 17:54:48 +00:00
Stefan Eßer 815dbf8902 Add support for the Intel XXpress motherboard, apparently also used
in some HP server class machine with multiple host to PCI bridges.
1997-06-13 17:37:01 +00:00
Jordan K. Hubbard f9e7653b57 Bring sysinstall's ntpdate support in sync with new rc.conf
variables.

Submitted-By: Joel Faedi <[email protected]>
1997-06-13 14:18:47 +00:00
Jordan K. Hubbard a4c1f42fd9 Fix brain-o in distSetCustom() which was flipping the bits in the wrong
direction (I hate that).
1997-06-13 10:59:40 +00:00
KATO Takenori 1e72a39aad YAMFC (revision 1.22; I/O port of PC-9801-108). 1997-06-13 10:59:29 +00:00
Jordan K. Hubbard a5d7031781 Remove a notifier which only gets immediately covered up. 1997-06-13 09:37:05 +00:00
Jordan K. Hubbard 76fa314dd8 Fix bogus name for distSetCustom() in dispatch table.
Flesh out install.cfg to match my current test machine a little
more closely.
1997-06-13 09:33:33 +00:00
Jordan K. Hubbard 2609a67214 1. Frob some comments.
2. make variable_load suck in the whole script before dispatching it since
   the first commands in a script might be "change media", and that's bogus
   if you happen to be reading from the floppy in order to execute the
   script. :)
1997-06-13 07:11:22 +00:00
Philippe Charnier b71661dea6 MFC: use err(3). 1997-06-13 06:29:11 +00:00
Brian Somers cb36ab0892 YAMFC: Fix "delete ...", it now only insists on
one arg too.

       Discovered by:	Rikk Salamat <[email protected]>
1997-06-13 04:01:42 +00:00
Brian Somers 5fc18bae0d YAMFC: Add ppp.linkdown file to compliment ppp.linkup.
Submitted by:	Forgotten
       Passed on by:	Terry Dwyer 61 8 9491 5161 <[email protected]>

       Also remove extraneous setuid(0) - it's only undone by
       the subsequent call to SelectSystem().
1997-06-13 02:08:58 +00:00
Brian Somers 711faa97c1 YAMFC: Fix "show ?" alignment.
PR:		3830
Submitted by:	Josh Gilliam <[email protected]>
1997-06-13 00:11:04 +00:00
Brian Somers 668af9eab3 YAMFC: Document ppp over tcp (how to tunnel) 1997-06-13 00:05:58 +00:00
Jordan K. Hubbard 05fe90fd56 Return proper status value when scripting. 1997-06-12 09:01:25 +00:00
Jordan K. Hubbard f2dadae42c Make install.cfg sample file more closely match current reality.
Add MBR setting under script control to diskPartitionEditor
1997-06-12 08:45:48 +00:00
Jordan K. Hubbard 21e8b4e9b6 Fix some bogons with scripting. 1997-06-12 07:35:09 +00:00
Philippe Charnier 6b412e17f7 MFC: Staticize usage function. Typo in usage string. 1997-06-12 07:03:48 +00:00
Philippe Charnier 645259b64b MFC: Add Id. Staticize usage function. Remove __progname.
Make -f option a no-op according to the man page.
Remove unused variables.
1997-06-12 07:01:23 +00:00
Julian Elischer 2c65b0f445 As the Tunnel device has no real inherrent MRU limit,
so don't enforce the MTU as an MRU. Allow bidirectional ppp MTU
negotiation, by checking against a differnt figure for MRU.
Make it large enough for ATM frames at least.

Submitted by:	[email protected] (archie cobbs)
1997-06-11 20:11:09 +00:00
Andrey A. Chernov 303e965973 Merge -current changes 1997-06-11 16:35:50 +00:00
Jordan K. Hubbard 21ec5d57a1 Make readmes in new ports tree.
Submitted-By: asami
1997-06-11 10:02:36 +00:00
Jordan K. Hubbard 8bf99afffa Fix some major bogons in general variable handling and the code
for preserving comments in /etc/rc.conf, which basically didn't work.
1997-06-11 08:39:27 +00:00
Philippe Charnier e2567457c4 MFC: Use err(3). Cosmetic in usage string. 1997-06-11 07:02:17 +00:00
Philippe Charnier 53bb664490 MFC: Remove __progname. Cosmetic in usage string. 1997-06-11 06:58:39 +00:00
Philippe Charnier e84b0e25a8 MFC: Add Id and usage function. 1997-06-11 06:55:53 +00:00
Philippe Charnier 3d9498fefb MFC: Use err(3). 1997-06-11 06:51:14 +00:00
Brian Somers c3f5ce2c89 YAMFC: Sort out ppp over tcp:
o Allow "set var" with no args to blank var (don't req "").
       o Zero VarTerm ASAP if not in interactive mode.
       o Never print anything to stdout in -direct mode.
       o Count redial when failing to open modem.
       o Increase device size to 40 characters (for host:port).
       o Remove missed "if (fd == 0) fd = 1;".
       o Don't give up on incoming non-terminal connections.
1997-06-11 03:59:34 +00:00
Andrey A. Chernov 92795a754e Merge ppp.log addition from -current 1997-06-11 02:10:59 +00:00
Justin T. Gibbs 4111408ce8 Sync with current. Fix two typos that prevented the driver from working. 1997-06-10 16:08:52 +00:00
Brian Somers c9a97e01f9 YAMFC: Use "set log", not "set debug".
Grammar police.
1997-06-10 10:05:33 +00:00
Brian Somers bd215737ce YAMFC: Overhaul ppp:
o Use syslog
       o Remove references to stdout/stderr (incl perror())
       o Introduce VarTerm - the interactive terminal or zero
       o Allow "set timeout" to affect current session
       o Change "set debug" to "set log"
       o Allow "set log [+|-]flag"
       o Make MSEXT and PASSWDAUTH stuff the default
       o Move all #ifdef DEBUG stuff into the code - this
         shouldn't be too much overhead.  It's now controlled
         with "set log +debug"
       o Add "set log command, debug, tun, warn, error, alert"
       o Remove cdefs.h, and assume an ansi compiler.
       o Improve all diagnostic output
       o Don't trap SIGSEGV
       o SIGHUP now terminates again (log files are controlled
         by syslog)
       o Call CloseModem() when changing devices
       o Fix parsing of third arg of "delete"
       o Make the man page a little more detailed.
       o Update the version number to 1.00.
       o Increase the predictor-1 buffer by 2 bytes.
1997-06-10 09:44:47 +00:00
Satoshi Asami baa6809233 Merge BSD.x11.dist rev 1.2 and BSD.local.dist rev 1.28 from -current. 1997-06-10 07:57:02 +00:00
David Greenman fca87d1f87 Brought in change from rev 1.87 - disabled kern.vnode sysctl variable. 1997-06-10 02:52:16 +00:00
Jordan K. Hubbard eada637063 Reference LUDIR before LUDIRS. Noted by many on the net. 1997-06-09 19:55:12 +00:00
John-Mark Gurney 753ea67a0d YAMFC: fix doc location 1997-06-09 10:21:21 +00:00
cvs2svn ba91714311 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-06-09 05:10:09 +00:00
Brian Somers 9d3c6ae56f YAMFC: Prevent panic with garbage mbuf.
Submitted by:	 Lenzi, Sergio <[email protected]>
1997-06-09 04:15:09 +00:00
Jordan K. Hubbard c1bec91561 Script and XFree86 3.3 stuff from -current. 1997-06-09 01:20:19 +00:00
John Fieber fdd8ac1c99 Remove sgml stuff from the build-tools target. They are no longer
used in the make world process.
1997-06-08 15:02:40 +00:00
Andrey A. Chernov 1a347167ba Merge style optimization from -current 1997-06-07 01:35:15 +00:00
Andrey A. Chernov 34afec3448 Merge [^c] addition from -current 1997-06-06 23:09:11 +00:00
Andrey A. Chernov c10fde9ae8 Merge -current fixes: missing FNM_PERIOD for '[' range, !^ as negate signs,
[/] never match FNM_PATHNAME
1997-06-06 22:36:25 +00:00
Andrey A. Chernov 7c9e33390b Merge POSIX, bash style, collate optimization fixes from -current 1997-06-06 21:54:45 +00:00
Philippe Charnier f03160b6be MFC: Correct usage string. 1997-06-06 16:14:34 +00:00
Philippe Charnier 5c000bc56b MFC: Cosmetic in usage string. 1997-06-06 16:09:12 +00:00
Philippe Charnier 0248af23c7 MFC: Cosmetic change in usage string. 1997-06-06 16:04:18 +00:00
Philippe Charnier 5587b10cba MFC: Do not use __progname. Display available commands. 1997-06-06 16:02:01 +00:00
Jordan K. Hubbard 16f6001dcd Merge in changes for better config file support from current. 1997-06-06 13:01:09 +00:00
Jordan K. Hubbard 0d70227a37 Indicate that XSERVER entry is for servers in general, not just XFree86
(it applies to Xaccel too).
1997-06-06 12:24:18 +00:00
Jordan K. Hubbard f04955eda7 Add support to allow source dir overrides on command line.
Submitted-By:  someone-whos-name-I-have-regrettably-forgotten-now
1997-06-06 12:18:49 +00:00
Doug Rabson 4f92d8ca37 YAMFC 1997-06-06 08:12:49 +00:00
Brian Somers 5ebf1bdc90 Bring in the dl*() stubs to crt0.o from current
so that the likes of boot_crunch can be built
again.  This fixes "make release".
1997-06-06 02:18:41 +00:00
Brian Somers f7544289df YAMFC: Make install in include before making world.
Without this, if you try to build a 2.2 release
       on -current, it falls on its face here because
       /usr/include contains your "make install"d headers
       where the /usr/include/* symlinks point to the
       RELENG_2_2 headers.

       Reviewed by:	jkh
1997-06-06 02:11:31 +00:00
Masafumi Max NAKANE d44632d227 MFC: typo fix, Rev.1.9. 1997-06-05 23:13:54 +00:00
Jordan K. Hubbard bd5cb03d53 SHARED=copies 1997-06-05 21:23:49 +00:00
Jordan K. Hubbard a40616facd This is the 2.2-stable branch again. 1997-06-04 23:58:01 +00:00
Brian Somers 5a0e741321 Mention that fdisks slice numbers are between 1 and 4
now rather than between 0 and 3.
1997-06-04 18:15:43 +00:00
Philippe Charnier 34e01a6a8c Merge From Current: badsect is located in /sbin. 1997-06-04 11:05:11 +00:00
Satoshi Asami 3f3c16a281 Merge 1.91. 1997-06-04 10:51:58 +00:00
Philippe Charnier 02e87fb04d YAMFC: NUL terminate after strncpy. 1997-06-04 06:37:19 +00:00
Satoshi Asami f9f16bab83 Merge 1.151 (remove /usr/local meddling). 1997-06-04 03:59:45 +00:00
Satoshi Asami c05223252e Merge 1.258. 1997-06-04 00:12:48 +00:00
Satoshi Asami 97e4a62f6c Add this file to 2.2 branch too. 1997-06-04 00:02:53 +00:00
cvs2svn 79281b8c46 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-06-04 00:02:03 +00:00
Brian Somers d2665f6e47 YAMFC: Number partitions 1-4, not 0-3.
Any existing config files (using the -f option) will need
       to be changed although using the old files will usually result
       in an error (partition 0 is invalid).
1997-06-03 21:25:41 +00:00
David Nugent 7259dc4d1c MFC: reset alarm before invoking ppplogin.
PR: 3733
Reviewed by:
Submitted by: [email protected]
Obtained from:
1997-06-03 13:01:44 +00:00
KATO Takenori 44a0b9c913 YAMFC (revision 1.7; fixed mu-law data). 1997-06-03 10:39:52 +00:00
KATO Takenori b927236735 YAMFC (revision 1.4; order of data transfer). 1997-06-03 10:30:53 +00:00
KATO Takenori 5efdce9dae YAMFC (revision 1.5; include <sys/conf.h>). 1997-06-03 08:29:09 +00:00
KATO Takenori 563e7ab749 #ifndef PC98'ed unused code.
Submitted by:	H. Nokubi <[email protected]>
1997-06-03 08:27:45 +00:00
Brian Somers 316393ca3a YAMFC: Remove mis-leading version info. 1997-06-03 00:37:10 +00:00
David Nugent 774dae5241 MFC: login.group => login.conf
PR: 3748
Reviewed by:
Submitted by:
Obtained from:
1997-06-02 21:06:18 +00:00
Masafumi Max NAKANE baf8971320 MFC: add Xref to chio(1). 1997-06-02 21:02:33 +00:00
Masafumi Max NAKANE 2c1d5d5334 MFC: add xref to ch(4). 1997-06-02 20:59:15 +00:00
Justin T. Gibbs 91b2b3245b Merge with current. Fix overflow in calculating partition size in MB. 1997-06-02 19:31:30 +00:00
Masafumi Max NAKANE 1e5ab4abda MFC: Rev.1.2. 1997-06-02 17:26:24 +00:00
Thomas Gellekum 3827a84454 MFC: pthread_keycreate() -> pthread_key_create() 1997-06-02 11:40:07 +00:00
Mark Murray dd519d5db7 YAMFC: fix the handling of multiple IRQs for rndcontrol 1997-06-02 10:00:18 +00:00
Jordan K. Hubbard 4014897ab8 Changes for DOC. 1997-06-02 06:49:06 +00:00
Mike Smith 07bde7804e MFC: remove LDT manipulation fluff from previous commit. 1997-06-02 06:47:38 +00:00
Philippe Charnier 518eb64df0 Typo fix. 1997-06-02 06:40:08 +00:00
Mike Smith 8d1b112c08 Add support for the SIOCGIFHWADDR ioctl, commonly used by
license managers to obtain the host's ethernet address as
a key.

Note that this implementation takes the first hardware address for
the first ethernet interface found, and disregards the interface name
that may be passed in, as linux ethernet devices are all "ethX".
1997-06-02 06:31:49 +00:00
Jordan K. Hubbard dd6e44fc25 YAMFC 1997-06-02 02:58:19 +00:00
Brian Somers 01f27c1983 YAMFC: Back out last change (which in fact breaks rfc1661)
and modify the behaviour so that a timer is started
       and the restart counter is zeroed (as per the State
       Machine Diagram).

       Pointed-out-by:	joerg
1997-06-02 00:06:22 +00:00
Brian Somers 4fabc0dda0 YAMFC: Go directly to ST_STOPPED when a TerminateReq is
received and after the TerminateAck is sent (as
       per rfc1661) rather than to ST_STOPPING.  Going
       to ST_STOPPING will leave us in a state where
       we're waiting for the other side to do something -
       not a good idea, especially as the client side sends
       a TerminateReq then exits on idle timeout.
1997-06-01 14:38:17 +00:00
Brian Somers 1a7bd87aea YAMFC: Reduce MAX_M[RT]U back to 2048. Even on a null-modem
ppp link, we gain nothing with a larger mtu.

       Suggested by:	joerg

       Fix pred1 buffer size (must be == MAX_MTU)
1997-06-01 11:36:12 +00:00
Brian Somers ab166bf533 YAMFC: Remove initial startup printf's in -direct mode.
Make "same magic" error send a NAK (as per rfc).
1997-06-01 03:44:17 +00:00
Brian Somers 7576049b44 YAMFC: Implement "set mtu" command to allow the client to
reduce the interface mtu.
       Allow max mru spec of 16k.
       Add "show m[rt]u" ability.
1997-06-01 01:14:38 +00:00
Brian Somers 96649a11ba YAMFC: Remove "set mtu ..." ability. Currently, this is an
"alias" for "set mru ...", but there's no such thing
       as setting your mtu in the ppp protocol (rfc1661).
1997-05-31 16:38:27 +00:00
Doug Rabson 22e8c93e84 YAMFC 1997-05-31 10:36:23 +00:00
John Polstra de6956e773 Merge from main branch 1.17 -> 1.18: Fix typos and misspellings. 1997-05-31 04:30:12 +00:00
Gary Palmer 6f06384e3b Back out the long username patch that came across when this was tagged from
-current. It's not applicable to this branch (yet).
1997-05-31 03:18:12 +00:00
Gene Stark 9cb180ee2b Submitted by: Rich Murphey (ages ago) and Gene Stark
Brought in changes sent to me in late 1995 by Rich Murphey.
I cleaned up a few things and am currently running these under
2.2-970205-GAMMA.

The changes deal with software debouncing apparently necessary on
todays faster hardware, and also some problems with the use of the -Select
line for the TW-523 sync.  This driver allows use of +PaperEnd as an
alternative.
1997-05-31 02:11:52 +00:00
Stefan Eßer c04d342795 Add CMD640 option to work around EIDE chip bug. 1997-05-30 21:31:07 +00:00
Stefan Eßer 0d6dc7d62f Merge fix for potential NULL pointer dereference from current (1.130). 1997-05-30 21:25:47 +00:00
Masafumi Max NAKANE b45093ebf1 Merge the typo fix from -current, Rev.1.9. 1997-05-30 15:46:39 +00:00
Jordan K. Hubbard 8f5ebac6b6 Fix some typos. 1997-05-30 00:55:23 +00:00
Brian Somers d3f0a04c01 YAMFC: Correct the return of DialModem()
Suggested by:	kfurge <[email protected]>
1997-05-29 02:30:35 +00:00
Doug Rabson a7cfa8509d YAMFC (NFS mmap fixes and minor memory leak plugged)
Reviewed by:	Randy Terbush <[email protected]>
1997-05-28 18:26:46 +00:00
Satoshi Asami 0c5455ea41 MFC: make all the info dir entries line up neatly. 1997-05-28 07:56:25 +00:00
Nate Williams 542cc0cc3a - add includes for csu/i386 and libalias. 1997-05-27 23:40:47 +00:00
Jordan K. Hubbard 6975473a84 YAMFC 1997-05-27 18:56:16 +00:00
Masafumi Max NAKANE 7028cf659a Merge the typo fix from -current.
PR:		3693
Submitted by:	Kazuo Horikawa <[email protected]>
1997-05-27 13:48:38 +00:00
Kazutaka YOKOTA a377ec823d scprobe() referred to the psm_softc structure even after it was
freed ;-<

PR:             kern/3694
1997-05-27 12:00:15 +00:00
Jordan K. Hubbard 9535cfa20b sysconfig -> rc.conf 1997-05-27 07:19:36 +00:00
Jordan K. Hubbard 3cc39485dc Correct small typo in moused clause.
Spotted-By: Tom Jackson <[email protected]>
1997-05-27 07:13:40 +00:00
Jordan K. Hubbard be7ed497b5 Add support for a post-installation script for CDE. 1997-05-26 18:27:20 +00:00
John Fieber 1ba8c062ea Remove japanese handbook (now doc/ja_JP.EUC/handbook). 1997-05-26 16:55:19 +00:00
John Fieber f94f5633e2 Disconnect ja_JP.EUC subdirectory (now doc/ja_JP.EUC). 1997-05-26 16:53:23 +00:00
John Fieber 241f5848a6 Remove handbook (now in doc/handbook). 1997-05-26 16:48:31 +00:00
John Fieber 790391cd43 Remove the FAQ (now in doc/FAQ) 1997-05-26 16:46:30 +00:00
John Fieber 3630e2ac9d Turn off FAQ and handbook. 1997-05-26 16:45:36 +00:00
John Fieber bbe047c6c8 Synchronize with -current (depreciate broken latex support). 1997-05-26 16:43:01 +00:00
John Fieber 6dfa0f0826 Synchronize with -current. 1997-05-26 16:37:23 +00:00
Jordan K. Hubbard 67004a5a11 Whups! Correct a lame typo. 1997-05-26 05:33:03 +00:00
Jordan K. Hubbard cfdbac8e6f Now that the daemon saver is in 2.2, merge. 1997-05-26 04:59:47 +00:00
Jordan K. Hubbard 1d88f7b6a4 Make some improvements to the CDE installation.
Cosmetic tweaks to registration form.
1997-05-26 04:57:42 +00:00
Brian Somers e63077627d Correct dlopen arg. 1997-05-26 00:54:49 +00:00
Brian Somers 66efb5dc47 YAMFC: De-couple ppp from libalias. If libalias isn't there, the
alias commands simply won't work.  Only root may specify the
       location of the alias lib (otherwise, it's hard-coded).

       Make logprintf silently fail if LogOpen hasn't been called.

Suggested by:   eivind
1997-05-26 00:52:27 +00:00
cvs2svn 8c99299542 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-05-26 00:44:11 +00:00
David E. O'Brien 32dff0fc6d Seems my previous attempt at commiting the "Jumping Daemon" screen saver
for 2.2-STABLE only established the branch, but didn't get my changes.
So here they are again.
1997-05-25 21:30:58 +00:00
John Polstra 74e25a17db Merge from main branch 1.2 -> 1.3: Add defines for RTLD_LAZY and
RTLD_NOW.
1997-05-25 20:32:52 +00:00
John Polstra a7379d76a6 Partial merge from main branch 1.40 -> 1.41: Set the dynamic linker
name when necessary, to work around a bug in some versions of crt0.o.
1997-05-25 20:29:54 +00:00
John Polstra 5a19f7969c Merge bugfix from main branch 1.26 -> 1.27: Set the pathname of the
dynamic linker so that it comes out right in error messages.
1997-05-25 20:23:59 +00:00
Brian Somers 921c0f0d9e YAMFC: Include <alias.h>, not "alias.h" 1997-05-25 19:51:05 +00:00
Masafumi Max NAKANE fe5e8620cc Merge typo fix from current: Rev.1.4. 1997-05-25 19:12:57 +00:00
Masafumi Max NAKANE 965421b54d Merge typo fix from -current: rev.1.5. 1997-05-25 18:48:48 +00:00
David E. O'Brien 0f50fb4bd6 Fixed up [email protected]'s "Jumping Daemon" screen saver for < v3.0. 1997-05-25 16:06:29 +00:00
John-Mark Gurney a546571623 YAMFC: merge in support for cdrom drives that return BCD track numbers 1997-05-24 22:19:16 +00:00
Brian Somers 80fe0eb6c3 YAMFC: Fix the reconnect option, and add an explanation to vars.h 1997-05-24 17:34:57 +00:00
John Polstra 9e1207e68d Merge from main branch 1.12 -> 1.13: Move "-lmd" to the end of the
linker line.

This solves the ``Undefined symbol "_MD4Init"'' messages from the
dynamic linker when s/key is used.
1997-05-24 17:32:16 +00:00
Jordan K. Hubbard cc8134f09c YAMFC. 1997-05-24 11:32:06 +00:00
Jordan K. Hubbard fad75284cb Add libalias stuff here too, since it's now been tagged in. 1997-05-24 10:57:20 +00:00
David Nugent 2e722a4135 MFC: Bugfix for -k.
PR:		3666
Reviewed by:
Submitted by:
Obtained from:
1997-05-24 10:43:09 +00:00
Brian Somers 826e078aaf YAMFC: Bring the alias stuff up to date.
Submitted by:	Charles Mott <[email protected]>
1997-05-24 10:29:28 +00:00
Brian Somers af43be1171 YAMFC: Include LIBALIAS 1997-05-24 10:27:06 +00:00
Brian Somers 0246864aa4 Include libalias 1997-05-24 10:24:03 +00:00
cvs2svn 1de895fa49 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-05-24 01:44:40 +00:00
Julian Elischer ca1af3ff24 Submitted by: [email protected]
When ipfw rejects a locally generated packet the icmp code shouldn't
core dump because there is no rcv interface.
1997-05-23 23:56:01 +00:00
Jordan K. Hubbard 07ae59ab4b Whoops - remove the daemon screen saver which crept into here. 1997-05-23 18:54:57 +00:00
Jordan K. Hubbard 0093c1988a Incorporate some improvements for the XiG install section. 1997-05-23 18:46:52 +00:00
Andrey A. Chernov 0a58c7c043 Merge "daemon" class limits bumping from -current 1997-05-23 12:59:16 +00:00
Andrey A. Chernov d7170388da Merge named_flags from -current 1997-05-23 12:57:37 +00:00
Satoshi Asami f7cd9a9848 MFC: ${.DESTDIR} -> ${DESTDIR}.
Reviewed by:	bde
1997-05-23 08:44:03 +00:00
Satoshi Asami 2803a9eac5 MFC: don't use ${CXX} inside CXXINCLUDES definition. 1997-05-23 08:39:54 +00:00
Satoshi Asami adba700527 MFC: add ${DESTDIR} in front of absolute paths.
Reviewed by:	bde
1997-05-23 08:35:10 +00:00
Satoshi Asami 611b2d774f (Sort of) MFC: use ${DESTDIR} correctly in front of absolute paths.
Reviewed by:	bde
1997-05-23 08:30:37 +00:00
John-Mark Gurney f8195b2b9a YAMFC: comment more about termcap brokeness, also make tput not fail
under certain conditions
1997-05-23 08:06:23 +00:00
John-Mark Gurney f1c135a3ca YAMFC: don't require a terminal 1997-05-23 08:03:09 +00:00
John-Mark Gurney 0498ced479 YAMFC: slight rewording of HISTORY section (rev 1.{8,9}) 1997-05-23 07:58:15 +00:00
Satoshi Asami 1cb5db813f Add ${DESTDIR} to absolute pathnames of required sources. (Pretty much
MFC.)

Reviewed by:	bde
1997-05-23 07:47:07 +00:00
Masafumi Max NAKANE edf370bf6d Merge from -current, Rev.1.19. 1997-05-23 07:29:25 +00:00
Philippe Charnier efcca0aff1 Spelling correction (1 bytes' is now printed 1 byte'),
PR:		bin/3376
1997-05-23 06:13:23 +00:00
Brian Somers b4b03ff370 YAMFC: Add SO_REUSEADDR socket opt in case the last telnet
connection is in a time_wait.

Submitted by:	Brian Campbell <[email protected]>
1997-05-23 05:24:21 +00:00
John Polstra 1a85394192 Merge from main branch 1.18 -> 1.19: Add the doc-all collection. 1997-05-23 04:18:46 +00:00
Paul Traina f9424f4ad4 Restore backwards compatible default behavior for requirehome 1997-05-23 00:14:27 +00:00
Paul Traina 825cb47018 Merge from -current: add missing printf argument. 1997-05-22 22:13:54 +00:00
Warner Losh c34bd31f6f MFG->2.2: Fix buffer overflow 1997-05-22 21:41:35 +00:00
Jordan K. Hubbard a89f0c33cc rc.conf changes from -current 1997-05-22 21:26:48 +00:00
Bill Fenner b680f5d735 Merge rev 1.46; disallow raw IP packets shorter than the IP header. 1997-05-22 20:53:36 +00:00
Thomas Gellekum 701af9441f MFC: typo. 1997-05-22 07:05:51 +00:00
Jordan K. Hubbard d5c8c609ec Merge apache removal changes from -current. 1997-05-22 04:10:10 +00:00
Jordan K. Hubbard 71a7c1fda3 Merge aggressive rc.conf saving from -current. 1997-05-22 04:05:34 +00:00
Eivind Eklund 987f9b4452 YAMFC: 1.7 1997-05-22 01:22:20 +00:00
Daniel O'Callaghan ca77c19193 Tell the chroot()ed user that "access restrictions apply" (YAMFC) 1997-05-21 23:27:12 +00:00
Satoshi Asami a1af27d25d Merge 1.126 and 1.127. 1997-05-21 22:51:19 +00:00
Joerg Wunsch 1a7998233f Merged the fixes from rev 1.22 pt.c (missing queue init), and rev 1.87
scsiconf.c (catch-all record for removable disks).
1997-05-21 19:38:02 +00:00
Nate Williams 1d62b489cc MFC - Remove statement saying the 3c589D is not supported, since the driver
has been patched to support it now.
1997-05-21 18:53:48 +00:00
Nate Williams 9fb8b86a16 MFC - Fix for 3C589D cards. 1997-05-21 18:42:15 +00:00
Justin T. Gibbs f644a7c83f Sync with current. (ee16 bug fixes from Richard Straka) 1997-05-21 18:36:51 +00:00
Philippe Charnier dd5bb3d1a8 replace obsolete @ctrl with @kbd 1997-05-21 11:18:58 +00:00
KATO Takenori 49fa85ded8 Synchronize with sys/i386/isa/syscons.c revision 1.182.2.18. 1997-05-21 10:01:31 +00:00
KATO Takenori f5ee59a1d5 Synchronize with sys/i386/isa/sio.c revision 1.147.2.8. 1997-05-21 00:40:08 +00:00
KATO Takenori 5768cfc933 Synchronize with sys/i386/isa/diskslice_machdep.c revision 1.21.2.2. 1997-05-21 00:39:08 +00:00
Jordan K. Hubbard 7c4208e9ef Add a space to moused_port line.
PR: 3644
Submitted-By: Michael Perlman <[email protected]>
1997-05-21 00:23:13 +00:00
Masafumi Max NAKANE abe33d0f51 MFC: 1.17 -> 1.18.
The jp handbook is in sync with en version on this branch again.
1997-05-20 01:58:01 +00:00
Eivind Eklund 2b03fcd7bb YAMFC: it's'' -> its'' where appropriate and typo fixes in time2posix.3.
This is RELENG_2_2, if the headers don't show that.

PR:             3612
Submitted by:	Josh Gilliam <[email protected]>
1997-05-19 22:14:54 +00:00
John Polstra 44fe3d3ca9 Merge from main branch 1.9 -> 1.10: Mention that "-P" is the
default.
1997-05-19 18:18:19 +00:00
John Polstra 0d38a3f3db Merge from main branch 1.17 -> 1.18: Add src-contrib-crypto
collection.
1997-05-19 17:43:17 +00:00
John Polstra 846e8c5723 Sync with main branch. 1997-05-19 17:29:01 +00:00
Masafumi Max NAKANE 36064a6b24 Merge from -current.
This makes the Japanese handbook in this branch in complete sync with
the English version in this branch.
1997-05-19 14:18:12 +00:00
KATO Takenori 93e23a2faf YAMFC (revision 1.20; recognize AMD 486 CPUs). 1997-05-19 12:59:51 +00:00
Satoshi Asami eb5b2da2f9 Merge from -current. Now thinks the latest release is 2.2.2. 1997-05-19 12:54:17 +00:00
Satoshi Asami f1d8ddb4e7 Merge handbook from -current, so this will correctly refer to 2.2.2R, etc. 1997-05-19 12:39:30 +00:00
Satoshi Asami 080ea059c6 Now we're at 2.2-STABLE again. Also bump RELDATE by 1 (now at 222001) to
denote post-release version.
1997-05-19 10:36:52 +00:00
Satoshi Asami 57e49685d4 Make this say "2.2.2-RELEASE". This is what should have gone into
2.2.2R.
1997-05-19 10:35:54 +00:00
Jordan K. Hubbard 33ea35f28c YAMFC 1997-05-19 08:02:38 +00:00
Jordan K. Hubbard 0072a2d595 Close PR#3461 as in -current. 1997-05-19 07:31:08 +00:00
Jordan K. Hubbard 24ced61308 accounting -> accounting_enable
PR: 3613
Submitted-By: Jian-Da Li <[email protected]>
1997-05-19 03:20:41 +00:00
Brian Somers 452f949ede YAMFC: Output exit status description of child in background mode. 1997-05-19 03:04:06 +00:00
Brian Somers 656209045f YAMFC: Mega update to sort out bad implementations
of reconnect & -background.

o   Fix reconnect anomolies.
o   Make reconnect apply to failed LQR hangups (& mention in man page).
o   Make reconnect effective in -background mode.
o   Listen on socket in -background mode.
o   Try all phone numbers in -background mode.
o   Insist on system arg in -background mode.
o   Make a control-connection close command exit in -background mode.
o   Output status message to stdout on exit of parent in -background mode.
o   Don't notify parent of success too soon.
o   Describe termination EX_* code.
o   Miscelaneous diagnostic corrections.
o   Remove redundant connect_time from modem.c.
o   Don't repeatedly DownConnection().
1997-05-19 02:02:32 +00:00
Gary Palmer b497ecc823 YAMFC (correct path in comment) 1997-05-19 00:05:37 +00:00
Peter Wemm 514cfadcaa Sendmail needs a full pathname or 'kill -HUP' fails.
Submitted by:  Jian-Da Li <[email protected]>
1997-05-18 13:18:02 +00:00
David Nugent 07f3fa6afa Update login_cap api documentation (addition of login_getpwclass() and
change for login_getclass()).
1997-05-18 09:11:48 +00:00
David Nugent b1421c5fb2 Add login.conf to distribution target.
Forgotten-Until-Now-By: me
1997-05-18 09:02:44 +00:00
Bill Fenner d5c983603e Bring in rev 1.56 (pullup ip header in ip_mloopback() ).
PR:		kern/3410
1997-05-17 19:18:15 +00:00
Doug Rabson 2f42479640 YAMFC (make host fs work on NFSv3)
Reviewed by:	John Polstra <[email protected]>
1997-05-17 18:42:50 +00:00
Brian Somers dc8a0f913a YAMFC: Make openmode active by default (for both client/server).
Requested by:   The masses.

Should this be 2.2.2 ?
1997-05-17 16:12:06 +00:00
Brian Somers 7c8bf61583 YAMFC: Check for duplicate spool dirs.
2.2.2 candidate ?

Submitted by:	eivind
1997-05-17 03:06:01 +00:00
Paul Traina bd5d5a5a7b Allow blank lines and comments. 1997-05-16 20:37:44 +00:00
Jordan K. Hubbard 8a4502c8d5 Bump reldate for 2.2.2 1997-05-16 09:21:47 +00:00
Jordan K. Hubbard 8935d79733 Well, I've gotten enough "go for it!" responses from core that I guess
it's time to call this 2.2.2.
1997-05-16 09:03:14 +00:00
Jordan K. Hubbard 06187df476 Try and document some of the things added since 2.2.1, while I'm
thinking about it.
1997-05-16 08:15:43 +00:00
Jordan K. Hubbard b3f6e5e9f1 Fix cretinous typo and re-enable userconfig saving. 1997-05-16 07:46:59 +00:00
Masafumi Max NAKANE 214e0c9020 Merge from Rev.1.29: typo fix. 1997-05-15 09:03:18 +00:00
David Nugent cacb7e6814 YAMFC: Consider root-owned files 'secure' for non-root uids. 1997-05-15 06:08:44 +00:00
Tor Egge 270fd87cbb Merge from current: Don't send arp request for the ip address 0.0.0.0. 1997-05-14 16:45:42 +00:00
Doug Rabson 188d6589ff Fix merge problem in previous commit. 1997-05-14 12:06:34 +00:00
Jordan K. Hubbard 0e8064dff4 YAMFC (PR#3596) 1997-05-14 09:57:16 +00:00
Jordan K. Hubbard 442c3b7577 YAMFC (use correct name for mkisofs) 1997-05-14 09:39:47 +00:00
Doug Rabson 7877839a22 YAMFC. NFS fixes, make NFSv3 the default, some other fs fixes.
Reviewed by:	Hidetoshi Shimokawa <[email protected]>
1997-05-14 08:19:35 +00:00
Jordan K. Hubbard a53a472ff4 Update ftpmail reference. 1997-05-14 07:13:39 +00:00
Tor Egge fae3d6e480 Merge from current: improved bootp support for netboot.
Submitted by:	Luigi Rizzo <[email protected]>
1997-05-14 02:47:46 +00:00
Tor Egge e8e1bc02c0 Use same syntax as netboot for root and swap mounts.
Handle mount options.
Ignore T16 (swap server address) and T6 (DNS server).
1997-05-14 01:36:51 +00:00
Brian Somers dab7f20af9 YAMFC: Build pid_filename without a double slash.
Make ``Dial attempt'' diagnostics consistent.

       Reset lostCarrier when it has reached max.
       Suggested by:	Kevin Street <[email protected]>
1997-05-14 01:21:29 +00:00
Brian Somers bd0ed0fef9 YAMFC: Don't attempt to ioctl(modem...) when modem is
closed.  Just DownConnection().
1997-05-14 01:20:28 +00:00
Andrey A. Chernov 6a15d061c8 Merge memory leak fixes from -current 1997-05-14 00:17:50 +00:00
Andrey A. Chernov c8e5bc75de Remove 8859-1 extension of C locale, it breaks POSIX 1997-05-14 00:13:15 +00:00
Alexander Langer 3a32adb8f5 YAMFC: overallocation of _thread_fd_table from rev 1.5. 1997-05-13 23:57:49 +00:00
Brian Somers 17cea34886 YAMFC: Don't output extraneous tab
Submitted by:	Garance A Drosehn <[email protected]>
1997-05-13 20:54:08 +00:00
Brian Somers f533df855d YAMFC: Don't drop into the troff args after parsing -#.
Submitted by:    Garance A Drosehn <[email protected]>
1997-05-13 20:48:44 +00:00
Steve Price 9b56baa39f Merge a fix from current to correct an invalid return
value from the return command.  Closes PR# 3388 and
3587.
Memory jogged by: Stephen McKay <[email protected]>
1997-05-13 19:18:56 +00:00
John Polstra 80be3bf6bd Merge from main branch 1.54 -> 1.55 (partial): Use "gcc -shared" to
build shared libraries.
1997-05-13 17:27:21 +00:00
John Polstra ebd954b83d Merge from main branch 1.51 -> 1.52: Use "-pg" instead of "-p" for
profiling.
1997-05-13 16:18:58 +00:00
John Polstra 5bd7156a38 Merge from main branch 1.120 -> 1.121: process "lib/csu/i386" before
building any libraries.
1997-05-13 16:09:59 +00:00
John Polstra 1fac13be5b Merge from main branch 1.6 -> 1.8: Complain about plain "-p" when
linking, and support "gcc -shared" for building shared libraries.
1997-05-13 16:03:09 +00:00
Brian Somers 8719ea484d YAMFC: Correct the files section for tunX.pid and ttyXX.if 1997-05-13 09:32:17 +00:00
Jordan K. Hubbard 5a537073db Merge arp_proxyall knob from -current. 1997-05-13 08:27:49 +00:00
Satoshi Asami 1a1dd3927c Merge 1.4. 1997-05-13 07:28:01 +00:00
Satoshi Asami 60e815c4f0 Merge 1.10. 1997-05-13 06:29:09 +00:00
Satoshi Asami 52bb8d914e Merge 1.2 and 1.3. 1997-05-13 05:58:56 +00:00
Tor Egge 4216d60d32 Save/restore %ebx, %esi and %edi when calling bios routines.
Don't save/restore %ecx and %edx.
Reset segment limits when going to real mode.
Reviewed by:	phk (briefly)
1997-05-12 22:58:47 +00:00
Tor Egge f69cb5c9a0 Don't forget to copy the gateway to the new diskless structure. 1997-05-12 18:56:19 +00:00
Brian Somers 2969e2ae42 YAMFC: Bring pmdemand example in line with handbook and man
page examples.
       Updates for working LQR.
1997-05-12 14:08:52 +00:00
Brian Somers 88624191ca YAMFC: Correct sample file name. 1997-05-12 11:55:16 +00:00
Brian Somers 073ac28a4e YAMFC: Make uu_* const correct.
Suggested by:	joerg
1997-05-12 10:37:19 +00:00
KATO Takenori a96d1e75b7 Synchronize with sys/i386/conf/options.i386 and sys/i386/isa/wd.c
revisions 1.26.2.8 and 1.119.2.5, respectively.

Submitted by:	H. Nokubi <[email protected]>
1997-05-12 09:13:15 +00:00
KATO Takenori e31f41339e Synchronize with sys/i386/isa/clock.c revision 1.72.2.4.
Submitted by:	H. Nokubi <[email protected]>
1997-05-12 08:43:08 +00:00
Andrey A. Chernov 19ae55f383 Merge cosmtique changes from -current 1997-05-12 02:42:20 +00:00
Masafumi Max NAKANE 211afe2cd0 Merge the typo fix from -current. 1997-05-11 23:47:35 +00:00
Paul Traina a604799d09 Update the manual page to call more attention to the probe override flags. 1997-05-11 18:28:08 +00:00
Tor Egge 5337d7a2a5 Bring in some kernel bootp support. This removes the need for netboot
to fill in the nfs_diskless structure, at the cost of some kernel
bloat. The advantage is that this code works on a wider range of
network adapters than netboot. Several new kernel options are
documented in LINT.
Obtained from: parts of the code comes from NetBSD.
1997-05-11 18:05:39 +00:00
Bruce Evans 7fa52a6ce5 YAMFC (1.17: fixed null pointer panic, etc. in devtotty()).
PR:	1687, 2324, 3004
1997-05-11 13:20:57 +00:00
Brian Somers af738435af Use uu_lock et al from libutil. 1997-05-11 12:58:58 +00:00
Bruce Evans a5fb94c9f9 YAMFC (1.163: fixed "timeout table full" panics under weird conditions). 1997-05-11 12:57:38 +00:00
Bruce Evans 2d0ae92a99 YAMFC (1.25: avoid division by 0 in check_part()). 1997-05-11 12:48:33 +00:00
Brian Somers ec6ceacea2 YAMFC: Create ttyXX.if and tunX.pid irrespective of
whether we're -dedicated.

Required by:    David Nugent <[email protected]>
1997-05-11 10:25:08 +00:00
David Nugent 0509eb8c40 MFC: #include <sys/types.h> in synopsis. 1997-05-11 08:52:08 +00:00
David Nugent 5708147189 Bugfix: put back foolishly moved variable initialisation in arrayize()
that caused login_getcaplist() to trap.
1997-05-11 08:06:10 +00:00
Kazutaka YOKOTA 084f6a26f3 YAMFC Brought in fixes in 1.212, 1.213, 1.214. 1997-05-11 06:09:02 +00:00
David Nugent e2708d8dab MFC: getty enhancements including modem/chat handling and hw= gettytab
capability for forcing crtscts.
1997-05-11 05:28:54 +00:00
David Nugent 4e66f8c158 MFC: MAP_FAILED was not declared (but was documented in manpage). 1997-05-11 04:41:23 +00:00
Jordan K. Hubbard 439e13cd0d An updated Italian keymap.
Submitted-By: Gianmarco Giovannelli <[email protected]>
1997-05-10 23:03:08 +00:00
David Nugent 49f41c222b MFC: Make su login.conf aware. 1997-05-10 22:07:58 +00:00
David Nugent a2cd26dd26 MFC: login.conf support.
[only remaining difference from -current is reserved port handling]
1997-05-10 21:41:51 +00:00
David Nugent 111698cd41 MFC: login.conf awareness.
[only difference is now the random number generation in -current]
1997-05-10 21:32:33 +00:00
David Nugent 31f3e70ec1 MFC: Add login.conf support. 1997-05-10 21:20:14 +00:00
David Nugent 2d390ebe39 [Branch is RELENG_2_2]
MFC: Add MLINKS for isdialuptty.3 isnetworktty.3.
1997-05-10 21:16:37 +00:00
David Nugent c6d822bd7e MFC: Add support for tty-group field in struct ttyent, and hooks for
isnetworktty() and isdialuptty().
1997-05-10 21:10:24 +00:00
David Nugent 7227eaef88 Merge from current, support for tty-group field in struct ttyent,
add prototypes for isdialuptty() and isnetworktty().
1997-05-10 20:48:55 +00:00
David Nugent 1bc6dd3cb1 Bring in limits(1) from -current. 1997-05-10 20:04:20 +00:00
David Nugent 6151498945 YAMFC: Adds login.conf support. 1997-05-10 19:57:55 +00:00
David Nugent e28f66ee9c Merge from current: adds login.conf support & bugfix mmap failure. 1997-05-10 19:48:13 +00:00
David Nugent ccd4f86e06 Brings in login.conf, uucplock to 2.2 branch.
Bumps sharedlib version to 2.2, in line with current (since they are
now identical in both branches).
1997-05-10 19:33:07 +00:00
cvs2svn d092a4ec45 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-05-10 19:00:59 +00:00
Paul Traina 13b226b3a7 MFH: fix core dump on 'A' 1997-05-10 17:14:22 +00:00
Brian Somers 45d935933c YAMFC: Refuse to negotiate HISADDR of 0.0.0.0 (NAK it)
Submitted by:	NAKAMURA Motonori <[email protected]>
1997-05-10 15:39:29 +00:00
Brian Somers 91f457d5d9 Pay attention to what Bruce actually says
rather than what I think he's going to say.
(Now undoing the last timerval change)

Really suggested by:	bde
1997-05-10 06:04:23 +00:00
Brian Somers f1b2470e25 YAMFC: Sync setitimer behaviour with the
documentation.

Suggested by:	bde & ache
1997-05-10 05:34:36 +00:00
Brian Somers a8029cb9a2 YAMFC: Ouch. This was dying to cause problems !
Luckily the side-effects were what was
       intended.
1997-05-10 03:45:51 +00:00
Brian Somers e194d8cb90 YAMFC: Add a ttyXX.if file in /var/run that points to
the tunX.pid file.  Change the ppp.tunX.pid name
       to tunX.pid

Requested by:	Daniel O Callaghan <[email protected]>
1997-05-10 03:42:36 +00:00
Brian Somers 05a025dddb YAMFC: Bring in Eivind's tidy-up.
Submitted by:	eivind
1997-05-10 01:24:42 +00:00
Brian Somers 789eb1f255 YAMFC: Don't reconnect after close command. 1997-05-09 23:36:27 +00:00
Brian Somers 221b4dcfb8 YAMFC: Allow filters with remote printing. 1997-05-09 23:14:53 +00:00
Brian Somers a6cdc48471 YAMFC: The only bits missing from 2.2 now are
the urandomdev stuff and the uu_lock stuff

This means:

o   Increase maximum chat args from 20 to 40,
    stop scribbling when the limit is hit.
o   Allow mixed case commands.
o   Allow HISADDR, MYADDR, ALL and INTERFACE
    in mixed case.
o   Add reconnect command.
o   Add redial next timer (for next number redial).
o   Change logfile name to ppp.tunX.log.
o   Discard HDLC frames with less than two bytes.
o   Make background mode exit on loss of carrier.
o   Initialise lqrsendcnt for each connection.
o   Initialise VarLocalAuth for each connection.
o   Exit on failure to open the log file.
o   Ignore SIGPIPE.
o   Select() on the correct number of fds.
o   Only compress TCP packets.
o   Update documentation.
o   Bring in various minor fixes from -current.
1997-05-09 17:36:35 +00:00
Joerg Wunsch 8e9239893a YAMFC (rev 1.13, ensure string termination) 1997-05-09 16:02:47 +00:00
Jordan K. Hubbard fdef63144f Run chflags before upgrading bindist. This fixes problems with an old, bogus
ld.so being used after an upgrade.
1997-05-09 07:43:55 +00:00
Joerg Wunsch 0e0be1b309 YAMFC (rev 1.11) 1997-05-08 15:32:14 +00:00
Joerg Wunsch fadc189a5b YAMFC (rev 1.9) 1997-05-08 15:29:48 +00:00
Joerg Wunsch 0a51b1ff1f YAMFC: rev 1.6, add explanation about secondary setup. 1997-05-08 15:25:32 +00:00
Satoshi Asami 1ac6f2d09a Merge Bruce's de-bogosifying chagnes from -current (1.24). 1997-05-08 07:11:32 +00:00
Brian Somers aea12503a4 YAMFC: Fix HISADDR usage & correct loopback routes.
PR:		3114
Submitted by:	Kenneth R. Westerback <[email protected]>
1997-05-08 01:51:50 +00:00
Brian Somers f6d39af95e YAMFC -detach documentation. 1997-05-07 23:57:42 +00:00
Joerg Wunsch 114cd4e652 YAMFC: rev 1.16, hide kernel parts inside KERNEL. 1997-05-07 13:23:42 +00:00
Joerg Wunsch 30343e0985 Merge rev 1.17 (added CDIOREADTOCENTRY) now that worm.c does already
(preliminarily) reference it.
1997-05-07 08:28:05 +00:00
Satoshi Asami 0921567ffe Merge Bruce's malloc() declaration eliminations from -current. 1997-05-07 05:24:36 +00:00
Satoshi Asami bc7110d7e3 Merge Bruce's malloc() declaration eliminations from -current. 1997-05-07 05:19:24 +00:00
Satoshi Asami 4d8d2df850 Merge 1.2 (remove bogus malloc() decl). People, please merge these
trivial changes by yourself!
1997-05-07 04:16:43 +00:00
Joerg Wunsch c7d8b0e516 YAMFC: rev 1.6, fix error mishandling 1997-05-06 20:54:50 +00:00
Alexander Langer 76275a6104 Merge from -current: create default rule with IP_FW_F_IN | IP_FW_F_OUT. 1997-05-06 02:21:28 +00:00
Joerg Wunsch 4dd24a5a6c YAMFC: rev 1.37, implement the CDIO*TOC* ioctl commands. 1997-05-05 13:35:51 +00:00
KATO Takenori ad2126e920 Extended copyright of PC-98 to 1997. 1997-05-05 13:24:16 +00:00
Jordan K. Hubbard 70b2c8e405 C++ safety. 1997-05-05 11:19:11 +00:00
Jordan K. Hubbard eda11af7c7 Merge r1.8 from HEAD 1997-05-05 09:33:13 +00:00
Jordan K. Hubbard af8bf61211 Fix looping package extractor. 1997-05-05 08:38:30 +00:00
Jordan K. Hubbard f49fbf7d98 YAMFC 1997-05-05 07:09:05 +00:00
Jordan K. Hubbard 12ec7eeec5 Update to rc.conf routing glue (YAMFC) 1997-05-05 06:41:36 +00:00
Paul Traina 9f05ed9b32 Merge from head: new variable support 1997-05-05 05:17:50 +00:00
Andreas Klemm 226ec65268 backed out my previous change, re-enabled:
. /etc/rc.${arch}

PR:
Reviewed by:
Submitted by:
Obtained from:	Bruce
1997-05-04 22:35:26 +00:00
Alexander Langer df2b319ff2 Extended copyright to 1997. Closes PR#2705. 1997-05-04 21:10:54 +00:00
John Polstra 47c9256192 Merge from main branch 1.7 -> 1.8: Make it safe to link c++rt0.o
into all shared libraries.
1997-05-04 19:52:38 +00:00
Andreas Klemm 3555f7305a merged etc.i386/rc.i386 fix into RELENG_2_2
PR:
Reviewed by:
Submitted by:
Obtained from:
1997-05-04 13:13:10 +00:00
Jordan K. Hubbard 2649070a45 Don't --exclude CVS when building the src distributions. It's
actually a lot more convenient to have this information around now
than it is to save a few measly megs (if even that much) of space.
1997-05-04 01:29:08 +00:00
Joerg Wunsch 8508495309 YAMFC: rev 1.85, add the Archive 4586NP tape changer. 1997-05-03 22:24:50 +00:00
Masafumi Max NAKANE f5d0795a1e Merge from current: `appears'' -> `appeared'' in the HISTORY section. 1997-05-03 21:10:30 +00:00
Masafumi Max NAKANE 3f9969c610 Merge from current: add md5(1) to the SEE ALSO section. 1997-05-03 20:50:59 +00:00
Jordan K. Hubbard 655820bbe0 Merge 1.30 from -current. 1997-05-03 20:16:25 +00:00
Peter Wemm 18bf0ef63c YAMFC: we already recognise the -h flag (work on symlinks, not the target)
and now that lchown() exists, implement -h fully.
1997-05-03 11:28:33 +00:00
Peter Wemm af9d21a285 YAMFC: lchown() syscall and man page 1997-05-03 11:22:34 +00:00
Jordan K. Hubbard d3aa551242 Turn tickadj off by default now that it's a separate knob.
Reminded-By: Wolfgang Helbig <[email protected]>
1997-05-03 11:20:42 +00:00
Peter Wemm 7586373a05 YAMFC: prototype lchown() 1997-05-03 11:13:25 +00:00
Peter Wemm 14c6b9ff03 Regenerate 1997-05-03 11:11:32 +00:00
Peter Wemm ebfce84390 YAMFC: add lchown() syscall 1997-05-03 11:09:38 +00:00
Peter Wemm 49673092dc YAMFC: for stat() and lstat(), do not use the directory permissions on
symlinks, they exist in their own right.
1997-05-03 11:08:39 +00:00
Peter Wemm b52c5b8a0f Disable overwriting the real owner of symlinks with the directory's owner. 1997-05-03 11:06:48 +00:00
Masafumi Max NAKANE 7621d88604 Typo fix.
SUbmitted by:	Josh Gilliam <[email protected]>
1997-05-03 00:13:28 +00:00
Daniel O'Callaghan 066914d08c Bring in ppp.{deny,shells} handling from -current.
Bring in /var/run/ttyXX.if creation from -current.
1997-05-02 21:51:46 +00:00
Gary Jennejohn f6a94edde0 YAMFC
delete kcorelow.c since it didn't produce any code and broke init.c

remove kcorelow.c from XSRCS in the Makefile
1997-05-02 11:26:03 +00:00
Jordan K. Hubbard 84862e63a7 Actually, a mail group probably isn't a bad idea in any case. Give it GID 6. 1997-05-02 00:03:37 +00:00
Jordan K. Hubbard ebb640e37b DOH! I "corrected" the spelling in exactly the opposite way
I meant to.  Urk.  Fix.
Reminded by:	wollman
1997-05-01 23:42:19 +00:00
Jordan K. Hubbard 8b8e9060b1 YAMFC 1997-05-01 20:28:48 +00:00
Jordan K. Hubbard 274d5fa01e Source rc.firewall, don't execute it (so that variables get passed in
properly).  Closes PR#3456

Submitted-By: Christopher Masto <[email protected]>
1997-05-01 20:02:58 +00:00
Jordan K. Hubbard 26c25ec91e Whoops!! Add global to Makefile here too.
Pointed-out-By: Chris Timmons <[email protected]>
1997-05-01 17:11:42 +00:00
Paul Traina bbed0325d9 Bring Peter's changes into 2.2's gdb 1997-05-01 16:34:46 +00:00
Paul Traina b30249d957 Figured out why gdb wasn't finding init.c -- I feel like such a fool.
I forgot to do a make depend after moving the file.  You'll need to do
so too.

Makefile now uses standard rules for autogened files.
1997-05-01 16:17:57 +00:00
Jordan K. Hubbard 83a04e4fb0 Merge 1.11 from -current. 1997-05-01 06:09:38 +00:00
Jordan K. Hubbard b67946a431 Shut up the uprintf() on init - it only screws up the console
output.
1997-05-01 06:07:32 +00:00
Jordan K. Hubbard 31b5435674 YAMF22 1997-05-01 06:01:35 +00:00
Jordan K. Hubbard 6d26efa8ef Be a little more descriptive about what daemons we're starting.
Submitted-By: "Philippe Charnier" <[email protected]>
1997-05-01 04:41:04 +00:00
Jordan K. Hubbard 9537a8b04d Correct bogosity with tcp_extensions clause.
Submitted-By: "Philippe Charnier" <[email protected]>
1997-05-01 04:37:10 +00:00
Paul Traina e2b601e6c3 Merge cleanup from -current 1997-05-01 00:27:48 +00:00
Paul Traina 6b5bc93a28 Add in ser-tcp.c for debugging over tcp again (sigh).
Make init.c auto-generated.
1997-05-01 00:13:56 +00:00
Satoshi Asami 46c6c6d2e1 Bump RELDATE by 1 (to 221002). We now have top in RELENG_2_2. 1997-04-30 23:42:22 +00:00
Paul Traina 151c42b44e Merge from head 1997-04-30 18:41:22 +00:00
Satoshi Asami 0fa58b56ec Merge 1.257. 1997-04-30 03:16:20 +00:00
Mike Smith 435c642891 YAMFC - use local copy of dlfcn.h
Submitted by:	Terry Lambert <[email protected]>
1997-04-30 03:13:33 +00:00
David Nugent 4414763f4d Merge from -current: virtual hosting capability. 1997-04-29 12:55:33 +00:00
Doug Rabson db5c241aba YAMFC (hesiod support). 1997-04-29 10:11:58 +00:00
Jordan K. Hubbard 016d972ea2 Yikes! Fix a dyslexic trinary operator. 1997-04-29 09:14:05 +00:00
John Polstra 9e0a20e6bd Merge from main branch 1.10 -> 1.11: bugfix for pattern with trailing "*"
and (FNM_PATHNAME | FNM_LEADING_DIR).
1997-04-29 03:27:21 +00:00
John Polstra 5d8ff3922a Merge from main branch 1.10 -> 1.11: mark weak symbols as external. 1997-04-29 02:16:51 +00:00
Stefan Eßer 8ba175812b Merge in from -current: Put #define of CMD640 option into opt_wd.h 1997-04-28 19:33:20 +00:00
Jordan K. Hubbard a13546d7e7 YAMFC (for once). 1997-04-28 10:34:42 +00:00
Jordan K. Hubbard 98bbf54ffa Put all arguments in quotes. 1997-04-28 10:14:28 +00:00
Jordan K. Hubbard d55382bcbc Add support for keybell, correct linux entry. 1997-04-28 10:07:00 +00:00
Jordan K. Hubbard eeee68fd82 Back out previous R/W root change. It didn't work and it's better
done in MFS's mountroot, which is now done.
1997-04-28 09:17:33 +00:00
Jordan K. Hubbard 16bc8f3c7b lpd -> lpd_enable
Pointed-On-By: [email protected]
1997-04-28 07:34:40 +00:00
Jordan K. Hubbard d11af0bfda Mount MFS root read/write (I think - we'll have to check :).
Frob around the CDE setup a little more since we've found it's so
pathological to the Xaccel install.
1997-04-28 06:22:15 +00:00
Jordan K. Hubbard 0bd0bd9c82 Move apm configuration to rc.i386 where it belongs.
Fix the rndcontrol stuff (it can't possibly have ever worked :-)
1997-04-28 05:50:13 +00:00
Mike Smith 2ce04713fe Merge from current; always include PROT_READ in linux_mmap(). 1997-04-28 02:55:10 +00:00
David Nugent f05c7cc1e6 Add top from -current. 1997-04-27 22:34:29 +00:00
Alexander Langer 26daf24714 Merge from -current: disallow debugger attachment when securelevel > 0. 1997-04-27 21:33:31 +00:00
Stephen McKay b4f05001f3 Merge from rev 1.80: Prevent stat clock wedging. 1997-04-27 13:44:19 +00:00
Jordan K. Hubbard eea7c212a5 tickadj is useful even if ntpdate isn't selected (clock drift isn't
isolated to network time users) so make it a fully independant knob.
Suggested-By: Richard Crook <[email protected]>
1997-04-27 11:13:39 +00:00
Kazutaka YOKOTA 8f55fa3b8b YAMFC. Incorporates fixes in 1.211. 1997-04-27 09:09:49 +00:00
David Nugent e6874927ec Mandoc fix. 1997-04-27 08:25:42 +00:00
David Nugent c109bf1446 Allow @group entries in /etc/ftpusers and /etc/ftpchroot to (respectively)
deny and chroot ftp access to entire groups.
1997-04-27 08:19:50 +00:00
David Nugent 1cbbbc10fc Marge internal ls changes from -current. 1997-04-26 23:39:31 +00:00
Jordan K. Hubbard f85c49b786 Bring in rc reorganizational changes. I'm bringing them into 2.2
first rather than 3.0 because, ironically, I have every confidence that
they run in 2.2 but not in 3.0 yet.  3.0 commits will follow just as I've
finished an inventory for any new knobs in -current which need accomodation.
In any case, it's good to get them into 2.2 early because there is going
to be a doc hit for this (all the references to sysconfig) and I'd just
as soon start getting people used to the new files ASAP rather than
prolonging the pain any more than necessary.
1997-04-26 22:39:36 +00:00
Paul Traina b9bdf5b8cb Merge from head: Activate gdbserver and gdbreplay 1997-04-26 17:34:52 +00:00
Masafumi Max NAKANE b749b3bb3e Merge the typo fix from -current. 1997-04-26 05:10:45 +00:00
Justin T. Gibbs b57e894043 Sync with current. 1997-04-26 05:05:00 +00:00
Jordan K. Hubbard 971d1e6fff Pick better values for fixit and MFS inode counts. 1997-04-26 03:52:40 +00:00
Paul Traina 3d337f13fc Merge from head - secure mode fixes 1997-04-26 00:05:19 +00:00
cvs2svn 2412cdd3e9 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-04-25 22:25:51 +00:00
Jordan K. Hubbard 61b481c7f4 Merge Joerg's bootstrap support in from -current. 1997-04-25 11:42:09 +00:00
Jordan K. Hubbard 9230146b39 YAMFC 1997-04-25 09:12:47 +00:00
Peter Wemm 82f4e70650 YAMFC rev 1.83, copyin export net mask to correct variable 1997-04-25 06:53:07 +00:00
Justin T. Gibbs aba290e1d7 Sync with current. 1997-04-24 16:53:17 +00:00
Stefan Eßer 3d76eec03d Merge in rev 1.14 from -current: Definition of PCI_SUBID_REG2 1997-04-24 08:05:15 +00:00
Stefan Eßer 4c3d4253f3 Merge in rev. 1.69 from -current (header type 2 support). 1997-04-23 20:25:04 +00:00
KATO Takenori 57133a9ade Merge PC-98 code into i386/isa/ft.c. 1997-04-23 13:22:07 +00:00
Mike Smith c9335a049c Merge from -current: don't call getnetbyname() on a netmask. 1997-04-23 11:04:58 +00:00
Jordan K. Hubbard 53b1134004 Turn off userconfig saving for now; something has changed in kernel-land
(since this code certainly hasn't for awhile) which breaks it.
1997-04-23 08:16:45 +00:00
David Greenman 7bbdef777c Merged from -current: better # of pv entry calculation. Fixes out of KVM
panic on large memory machines.
1997-04-23 02:20:06 +00:00
David Greenman c1364f7838 Partial merge from -current: check received packet length, a couple of
performance optimizations, and don't treat if_bpf as a pointer.
1997-04-23 01:49:12 +00:00
Jordan K. Hubbard 13e2fc0a0f Whups! Missed one. 1997-04-22 21:13:34 +00:00
Jordan K. Hubbard a76e875480 Sync with -current. 1997-04-22 18:35:46 +00:00
cvs2svn 96537300fa This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-04-22 10:24:30 +00:00
Peter Wemm c80009a4e9 Merge from current - bandaid for kernel backtracing without full symbols. 1997-04-21 15:12:46 +00:00
KATO Takenori 198bfce040 Synchronize with sys/i386/conf/files.i386 revision 1.141.2.12. 1997-04-21 12:56:02 +00:00
KATO Takenori 1031171ee4 Synchronize with sys/i386/conf/GENERIC revision up to 1.77.2.8. 1997-04-21 12:52:17 +00:00
Jordan K. Hubbard 03081c7928 Sync from -current; global tag support (it was actually tested in 2.2)
and some miscellaneous fixes.  Also bring in some fixes to the explanatory
text in bsd.port.mk since Satoshi never responded to my submission (and
around here, that == yes :-).
1997-04-20 20:16:34 +00:00
Jordan K. Hubbard d3d6a8fb1d Tweak more docs and remove annoying RELEASETAG value (since you
can now build 3.0 releases from 2.2, this should NOT be set here).
1997-04-20 19:30:11 +00:00
Jordan K. Hubbard b9bcff08c0 Update to match current situation. 1997-04-20 19:18:32 +00:00
KATO Takenori b1df7f9a19 YAMFC (revision 1.61 and 1.62; recognize Allied Telesis CenterCOM
LA100-PCI and Accton EN1207-TX).
1997-04-20 05:21:34 +00:00
Jordan K. Hubbard 08fe4eb387 Install CDE first since it contains the X environment as well. 1997-04-19 23:54:46 +00:00
Jordan K. Hubbard 2b7895902e Clear the screen in a few strategic places. 1997-04-19 23:26:52 +00:00
Jordan K. Hubbard 024b62e1bb Whoops! Pass in the signal we caught and don't just print random
stack garbage for the value.
1997-04-19 21:07:44 +00:00
Jordan K. Hubbard 3e0dd5e7df Xaccel 3.1 requires the compat21 distribution. 1997-04-19 14:46:08 +00:00
Jordan K. Hubbard 13abd41167 Don't risk looping on a signal - longjmp out instead and try to
save things gracefully before dying.
1997-04-19 06:55:10 +00:00
John Polstra cd252574b1 Merge from main branch 1.9 -> 1.10: Support the ".p2align" directive. 1997-04-18 17:10:45 +00:00
Justin T. Gibbs 1b4569257b Sync with current. 1997-04-18 16:38:36 +00:00
Nate Williams 6440f26160 - Moved the flags in npx0 before the vector declaration, else config
blows chunks.

Pointed out by:	bde
1997-04-18 14:06:20 +00:00
John-Mark Gurney 3192c775e6 YAMFC: fix up man page 1997-04-18 11:14:30 +00:00
David Nugent 6f63b1f2b2 YAMFC. 1997-04-18 04:48:59 +00:00
David Greenman ccba9c3f37 Fixed two bugs that came into kern_exec just after the 2.2.1 release:
1) I wasn't assuring that the file size was large enough for the data
   to be contained in a FS block. Calling bread for a block when the
   data is in a fragment causes BAD things to happen, including file
   corruption.
2) I was not passing in a residual pointer to vn_rdwr(), and this
   caused "slow" mode image header reads that were less than the
   page size to fail with EIO. I now get the residual and properly
   zero the tail of the image header buffer, too.
1997-04-18 02:37:08 +00:00
John Polstra caf9e52f18 Merge from main branch 1.19 -> 1.20: Don't pad the "-c" command
field if it is the last field on the line.
1997-04-16 16:10:48 +00:00
KATO Takenori 29bd2e6e45 YAMFC (revision 1.79; use CPU reset port on PC-98). 1997-04-16 12:27:03 +00:00
Jordan K. Hubbard c37590dda2 Make one vn device in "all" rule. 1997-04-15 18:07:06 +00:00
Jordan K. Hubbard 6d3e1e88a4 Add 1 vn device to this by default. The reason is so that I can tell
people how to add swap files without also having to go through the
whole "well, first you gotta add a vn device" song and dance.
1997-04-15 18:05:59 +00:00
Jordan K. Hubbard dc6d5fe517 Set flags to 0x1 on npx0 by default - too damn many people are being
bitten by the Pentium bcopy() stuff right now and I really don't want to
be answering this question for 2.2.x also.
1997-04-15 17:37:23 +00:00
Satoshi Asami a94b094efb Merge rev. 1.255 from -current. 1997-04-15 08:38:36 +00:00
Satoshi Asami 3d8fed90ed Merge rev. 1.47 from -current. 1997-04-15 08:26:19 +00:00
John-Mark Gurney 9b542d5380 YAMFC: fix some typos, and other minor clean-up.. 1997-04-15 08:12:11 +00:00
John-Mark Gurney deeacf7682 YAMFC: fix some typos, and minor clean-up's
(Note that even though the first message had a Branch: line, it really
did go to head)
1997-04-15 08:09:11 +00:00
John-Mark Gurney f932f046b2 YAMFC: fix typos 1997-04-15 08:04:48 +00:00
Satoshi Asami c2efd23f3a Bump reldate to 221001 now that we are now a little past 2.2.1R and
have texinfo-3.9.  (We probably should have changed it to 221000 for
2.2.1 release, but hindsight is always 20/20. ;)

Whenever a major component is brought in from -current, please add 1
to this number.
1997-04-15 05:29:32 +00:00
Jordan K. Hubbard 4e4245448f fix and feature add for asc driver (see PR#3268 for details).
Submitted-By: Luigi Rizzo <[email protected]>
Really-Should-By-A-Committer-By-This-Point: Luigi Rizzo [:-)]
1997-04-14 16:41:21 +00:00
Justin T. Gibbs 2e8ac4e109 Remove reference to dead ix man page. 1997-04-14 15:45:50 +00:00
Justin T. Gibbs e7668b2043 Sync with current 1997-04-14 02:31:44 +00:00
Justin T. Gibbs e39e17dfa0 Sync with current: ie driver now understands the EtherExpress16 1997-04-14 00:51:23 +00:00
Justin T. Gibbs c0e6bef5c9 Sync with current: ie driver understands Intel EtherExpress16 1997-04-14 00:48:48 +00:00
Joerg Wunsch 055d577dc9 YAMFC: rev 1.4, fix the $@ macro. 1997-04-13 17:52:24 +00:00
Jordan K. Hubbard e07824536f Don't put ifconfig_ppp0 lines in /etc/sysconfig if you're using the ppp
install.  Evil will result.
1997-04-13 05:39:42 +00:00
Jordan K. Hubbard c063e3aedc XiG now distributes CDE 1.1 with a full X11R6.1 environment; make
more sweeping changes to the USE_XIG_ENVIRONMENT variable handling
to deal with this.
1997-04-12 16:11:21 +00:00
David E. O'Brien 1f199dffd0 Merge from rev 1.4 (EOF => -1) and rev 1.5 (fix usage()). 1997-04-11 20:01:53 +00:00
Satoshi Asami 65892ed949 (I'm not sure why this didn't get committed last time....)
Merge in texinfo changes from -current to use src/contrib/texinfo.
1997-04-11 17:54:01 +00:00
Satoshi Asami 77f9139893 Merge in from -current all the changes needed to make world with the
latest texinfo.
1997-04-11 16:58:46 +00:00
Satoshi Asami 67a61d68a0 Bring in latest texinfo from -current. Note src/contrib/texinfo
is already tagged into RELENG_2_2.
1997-04-11 16:54:09 +00:00
Satoshi Asami ad8f99bb3a Bring in latest libreadline from -current. Note src/contrib/libreadline
is already tagged into RELENG_2_2.
1997-04-11 16:44:10 +00:00
Brian Somers 9c89b851c9 YAMFC: Update FAQ with sysmouse section, add comment before
mousedtype setting in sysconfig.
1997-04-11 15:45:35 +00:00
David E. O'Brien 65d9ba4eb1 Merge revision 1.4 from -CURRENT. 1997-04-11 10:37:41 +00:00
KATO Takenori a29bf0ab58 Synchronize with sys/i386/isa/syscons.c revision 1.182.2.16. 1997-04-11 07:44:39 +00:00
Jordan K. Hubbard 86f23c4237 Whups! This commit got lost somehow, no wonder pds was confused! :-} 1997-04-10 21:28:16 +00:00
Bill Paul 7aca2d6d19 Merge from -current: sanity checks on domain names. 1997-04-10 20:29:35 +00:00
Justin T. Gibbs bf2db90612 Sync with current. 1997-04-10 19:26:09 +00:00
Bill Paul fee7bfeffb Merge from -current (don't process bogus domain names). 1997-04-10 14:18:48 +00:00
Bill Paul ecd64598ee Merge sanity checks from -current to 2.2 branch.
Oh, forgot to mention: also removed trailing semicolons from
instances of the YPXFR_RETURN() macro. The last line in the macro
already ends with a semicolon.
1997-04-10 14:16:19 +00:00
Satoshi Asami 11adaa2b2e Merge 1.43 -> 1.44 delta from -current so RELENG_2_2 users get info
about the packages they need.
1997-04-10 13:56:43 +00:00
Bill Paul 8a1209f238 Merge from -current: add extra paranoia test. 1997-04-10 13:53:31 +00:00
Kazutaka YOKOTA 67068fe3e8 Merge recent keyboard related fixes from -current (v1.207, v1.209). 1997-04-10 12:39:08 +00:00
Mike Pritchard ddb6133958 YAMFC: Typo police. 1997-04-09 23:06:21 +00:00
Guido van Rooij 647edf6222 From current: Fix mountd so the privport stuff is backwards compatible
with older systems. Add sysconfig variable to control the privport
stuff.
1997-04-09 20:31:33 +00:00
Jordan K. Hubbard 7fe4d17490 NO_PORTS -> NOPORTS
Will-Make-Happy: msmith
1997-04-09 09:22:02 +00:00
Mike Pritchard 4ef5cab369 YAMFC: document wakeup_one(). 1997-04-09 05:40:58 +00:00
Mike Pritchard 9c8744932e YAMFC: document non-getopt ways of removing file names that begin
with a dash.
1997-04-09 05:05:46 +00:00
Mike Pritchard 09bc20bed2 YAMFC: improve the wording in the NOTES section. 1997-04-08 20:43:37 +00:00
KATO Takenori 8771f74895 YAMFC (added lnc driver). 1997-04-08 12:03:26 +00:00
KATO Takenori c99311c81d YAMFC (enables lnc driver on PC-98). 1997-04-08 11:00:54 +00:00
KATO Takenori 1b698c4f58 Synchronize with sys/i386/conf/files.i386 revision 1.141.2.11. 1997-04-08 10:56:12 +00:00
Brian Somers 54e3ff158e YAMFC. Add null-modem example 1997-04-07 20:22:04 +00:00
Justin T. Gibbs 98f6d1b8ba sync with current 1997-04-07 18:33:10 +00:00
Guido van Rooij 24ad92549c From -current: fix race
Obtained from: Keith Bostic
1997-04-07 18:03:25 +00:00
Jordan K. Hubbard 3a75219a88 OK, now that I've gotten dtinstall to actually work, I can
see that it wants to be more interactive (grrr, the person who
wrote dtinstall never counted on RockRidge translation files being
added!).
1997-04-07 13:20:28 +00:00
Jordan K. Hubbard 6698fe083f Run the Xinstall over on 2nd screen - I changed my mind about
wanting to see its output on the 1st.
1997-04-07 05:59:23 +00:00
Jordan K. Hubbard 8dfac1c97b Ack. Typo police. 1997-04-07 03:02:39 +00:00
Jordan K. Hubbard 9d7c73393b Whups! Forgot that CDE install script expects $CWD to be the CDE install
directory or it will fall over.
1997-04-07 01:11:51 +00:00
Jordan K. Hubbard a007f2ea7a Correct error with AcceleratedX setup & add support for installing the
CDE desktop software.
1997-04-07 01:07:40 +00:00
Jordan K. Hubbard faa363b6ef Update last modified date. 1997-04-06 19:46:58 +00:00
Jordan K. Hubbard 2f4dff0ed1 Add options for compiling sysinstall for an AcceleratedX environment.
This just handles the server for now - the CDE extentions come in the
next pass.
1997-04-06 18:00:00 +00:00
Justin T. Gibbs 0f2f502705 Sync with current. 1997-04-05 22:04:28 +00:00
Justin T. Gibbs dd15aae6d7 Sync with current. 1997-04-05 21:41:49 +00:00
Poul-Henning Kamp 20bba48b3d YAMFC (recognize ZNYX314 cards better) 1997-04-05 08:00:46 +00:00
Jordan K. Hubbard d8bd056aaa Close PR#3192 (just in time for the CD!); fixes bad package run deps
list.
1997-04-05 07:07:55 +00:00
Jordan K. Hubbard cabf9e56a5 YAMFC 1997-04-04 22:13:36 +00:00
Justin T. Gibbs 8d75a27388 Sync with current: Add 1ms delay in XS_BUSY processing. 1997-04-04 19:50:04 +00:00
Justin T. Gibbs 4706824e3f Sync with current. 1997-04-04 19:49:39 +00:00
KATO Takenori ced2724a6c Merged from current (revision 1.4). 1997-04-04 16:48:12 +00:00
David Greenman d86aa8b7c9 From -current (1.56): free cn buffer only once. 1997-04-04 07:30:44 +00:00
Justin T. Gibbs 463d56f4bc Sync with current 1997-04-04 04:35:55 +00:00
Justin T. Gibbs 4bc69d1149 Sync with current: Fixup aic7xxx assembler clean rules 1997-04-04 04:35:46 +00:00
David Greenman 363b506043 Merged from -current: Bruce's fixes. 1997-04-04 04:18:20 +00:00
David Greenman d01342629b Sort of from -current: lose the vnode lock on a permissions failure. 1997-04-04 01:32:09 +00:00
Mike Pritchard 282fd6c84c YAMFC: typo fix. 1997-04-04 01:26:08 +00:00
Mike Pritchard 614317b095 YAMFC: document the -u option. 1997-04-04 00:50:40 +00:00
David Greenman 5397377bf1 Merged from -current: Killed exech_map and do image header reads in a FS-
centric way instead of VM-centric. This appears to fix a hang that Peter
was seeing as well as allowing detection of errors during the header
read (important for NFS).
1997-04-03 06:37:49 +00:00
David Greenman 00699bdaa9 Merged from -current: avoid potential "accept" panic by re-ordering the
code a bit, plus changed a wakeup to a wakeup_one in the socket code.
1997-04-03 06:24:36 +00:00
Jordan K. Hubbard ce106a445f Add libg++ 3.0 1997-04-03 06:20:32 +00:00
Mike Pritchard 1900e82b71 YAMFC: Honor the nouser/nogroup flag for cached non-existent ids. 1997-04-03 01:52:48 +00:00
John-Mark Gurney a86ad81a8d YAMFC: arg... add back the "stray" `-' (it is used by indent) 1997-04-03 00:38:30 +00:00
Paul Traina f82d4db913 Merge fixes from HEAD 1997-04-03 00:30:15 +00:00
Poul-Henning Kamp 09eee860d0 YAMFC (allow net/mask syntax) 1997-04-02 17:06:20 +00:00
Poul-Henning Kamp 04c18344d2 Remove ccitt_addr.c file. 1997-04-02 16:56:45 +00:00
Poul-Henning Kamp 3e08d472d4 YAMFC (unifdef CCITT, ISO & CRUFT) 1997-04-02 16:56:23 +00:00
John Polstra 2a7fbb663d Add missing backslash.
Submitted by:	Chris Timmons <[email protected]>
1997-04-02 15:43:12 +00:00
Jordan K. Hubbard c794cd4b81 Preserve /etc/gettytab in upgrade. Fixes PR#3174 1997-04-02 11:57:35 +00:00
John-Mark Gurney a22a955450 YAMFC: remove a stray `-' 1997-04-02 11:28:02 +00:00
Jordan K. Hubbard 7118179c50 Close a security hole - anonymous FTP user was being created without
a password.
1997-04-02 07:05:16 +00:00
Mike Pritchard c56029c1c2 YAMFC: fix user_from_{uid,gid} to return the proper value when
a non-existent user is in the cache.
1997-04-02 06:21:51 +00:00
Jordan K. Hubbard dad1e4d981 YAMFC (and remove an entry pending resolution of namespace issue). 1997-04-02 06:05:01 +00:00
John Polstra b8490f0625 Merge from main branch 1.4 -> 1.5: fix glaring errors. 1997-04-02 01:45:52 +00:00
Mike Pritchard 49d9611cc7 YAMFC: describe which flags can be changed in secure mode better. 1997-04-01 20:42:24 +00:00
Joerg Wunsch 536e33d9f6 YAMFC: rev 1.11, fix hostname length handling. 1997-04-01 20:41:55 +00:00
Joerg Wunsch 769b3c79bc YAMFC: rev 1.83, add the new Philips CD-R devices 1997-04-01 19:29:06 +00:00
Mike Pritchard fc43f514d9 YAMFC: Xref the appropriate set*id(2) man pages (and no, I didn't
let issetugid xrefs slip in here :-).
1997-04-01 19:28:13 +00:00
Mike Pritchard 612ca3f7dd YAMFC: remove doubled word. 1997-04-01 19:22:05 +00:00
Mike Pritchard 822dd9e1e0 YAMFC: Don't say that fchown follows symbolic links. This was
part of Peter's lchown commit, but applies to 2.2.
1997-04-01 19:19:04 +00:00
Mike Pritchard 8f04263f3f YAMFC: update BUGS section. 1997-04-01 19:10:18 +00:00
Mike Pritchard b3d6b19930 YAMFC: update text concerning strftime failures. 1997-04-01 19:07:21 +00:00
Mike Pritchard 555ce93ce3 Add bsd-family-tree.
Someone else already tagged the file onto the RELENG_2_2 branch.
1997-04-01 19:01:58 +00:00
Paul Traina 6bd66a6bd6 Merge Bruce's changes from HEAD 1997-04-01 18:07:11 +00:00
Jordan K. Hubbard d9ac39faed Put this back on the 2.2 releng branch again. 1997-04-01 10:58:26 +00:00
Paul Traina 1ccb288333 Merge from head 1997-04-01 06:22:53 +00:00
John Polstra 2359546b66 Merge from main branch 1.10 -> 1.11: correct an include file name. 1997-04-01 04:07:06 +00:00
Paul Traina 78567912f2 Merge from HEAD: use mediaClose() instead of shutdown 1997-04-01 02:04:58 +00:00
Paul Traina c28702b61b Add portmapflags and syslogdflags
Reviewed by:	jkh
1997-04-01 00:59:48 +00:00
Jordan K. Hubbard 97786e63d0 Add back one of my hats since I seem to be sticking with it for now. 1997-03-30 23:52:42 +00:00
Mike Pritchard 9ccd6e6efd YAMFC: fix the text for exit values >1. 1997-03-29 20:02:34 +00:00
Jordan K. Hubbard 668b5184c8 Close PR#3105 - message box cursor positioning was off.
Submitted-By: "Kenneth R. Westerback" <[email protected]>
1997-03-29 19:50:51 +00:00
Jordan K. Hubbard 1e7f63411c Nuke extra include of <dialog.h>. Closes PR #3135
Submitted-By: Kenneth R. Westerback <[email protected]>
1997-03-29 06:41:56 +00:00
Jordan K. Hubbard 835b56e5ba Bring in Peter's fix from -current. Maybe this is "fixing" the problem
with a pair of bolt cutters, but having the tree stand broken while
everyone sits in a mexican standoff over it hardly wins any awards for
elegance in operational methodology either.  If a better fix comes along,
it can be my most welcome guest..
1997-03-29 06:32:31 +00:00
Jordan K. Hubbard c8fc6b7a38 Doh! Fix a clear and obvious bogon. 1997-03-28 23:17:23 +00:00
Jordan K. Hubbard 3bda9cc428 Correct the old off-by-one error. 1997-03-28 23:07:09 +00:00
Jordan K. Hubbard 6f97fa6e1d Simplify mulit-line entry handling. 1997-03-28 12:14:14 +00:00
Jordan K. Hubbard ca77442146 Clarify @srcdir vs @cwd.
Submitted-By: "Chad R. Larson" <[email protected]>
1997-03-28 10:42:16 +00:00
Jordan K. Hubbard 3e40cfcf3b Make attribute handler read data in blocks rather than by character.
This is more efficient and somewhat easier to follow with two extra states.

Put dist_attrs in proper scope.

Fix a long standing bug with the package installer and dependencies - it's
been using the *build* dep list all this time!  And nobody noticed!  D'oh! :)
Make it use the more proper run deps.

Make root password selection non-optional.
1997-03-28 09:30:18 +00:00
Jordan K. Hubbard 7416bd11b9 Update pst's config loading code, add a few strategic clears, put
more debugging into the attribute code so I can chase a long-standing
problem.
1997-03-28 02:25:15 +00:00
Joerg Wunsch 61b25a7e99 We are no longer at 2.2.1-RELEASE here. 1997-03-27 21:50:51 +00:00
Guido van Rooij 9ba3240efc Get the privport stuff from current 1997-03-27 20:04:15 +00:00
Guido van Rooij 7887637757 There is no srandomdev() in 2.2 1997-03-27 19:34:39 +00:00
Mike Pritchard 7351afe798 YAMFC: update HISTORY. 1997-03-27 18:47:42 +00:00
Mike Pritchard 3736df61ba YAMFC: Teach .Fx about FreeBSD 1.x* releases. Also fix the .Bf usage. 1997-03-27 18:29:15 +00:00
Mike Pritchard be48bcdb2d YAMFC: fix w+ entry. 1997-03-27 18:10:18 +00:00
David Nugent 5aaa15bf31 Fixed erroneous logic in handling non-passworded accounts.
Pointy-hat-thoroughly-desrved-by: me :-(
1997-03-27 10:06:43 +00:00
Jordan K. Hubbard 48663a646e amend to say flag value of 1 instead of 0x7.
Submitted-by: hosokawa
1997-03-27 09:11:59 +00:00
cvs2svn 53e5d3057b This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-03-27 03:07:26 +00:00
Jordan K. Hubbard 8d1dd37cea Document problems with the Panasonic AL-N1, and Rios Chandler
machines and how to work-around them.
1997-03-27 03:03:36 +00:00
Jordan K. Hubbard 7e88e4033e Fix a bogon I introduced at the last minute with the packages menu.
People who follow the instructions (and using RETURN) will not bump into
it, but those blindly hitting SPACE at the first menu will yell that it's
now a shortcut for "Install" rather than a category selection.  This was
because, in my desire to make things all nice and cosmetic, I added the label
in as " Install " - forgetting that the first character is used implicitly
as the accelerator.  D'oh!!

Fix a clipping bug in the top level menu introduced when the fixit item
text was lengthened.

I'm going to re-roll the boot floppy for this one since the CDROM has now
been delayed a week (the artwork is not ready now) and I'd like to fix these
two minor but annoying problems there.  There's also a reported problem with
loading the "compat21" distribution which could be a real nasty if true; I'll
batch the tag sliding for that and these changes if I can reproduce and fix
it.
1997-03-27 00:41:02 +00:00
Guido van Rooij b745c9dd21 Backport of the fsirand stuff to 2.2. I'm sorry this is too late for 2.2.1 1997-03-26 20:05:57 +00:00
David E. O'Brien 4545e9f856 Add -k option to SYNOPSIS
Add -o option to usage()
1997-03-26 17:55:19 +00:00
Joerg Wunsch 49136cd513 YAMFC: rev 1.93, bring dev/pdq into alphabetical order 1997-03-26 17:02:11 +00:00
Mike Pritchard 16ace871f3 YAMFC: fix my last commit. 1997-03-25 18:36:33 +00:00
Peter Wemm 4dde74dae8 - adapt part of rev 1.27 - don't deref kernel space pointers
- when a ufs inode is locked, apppend the locking pid. This is useful
  for tracking down ufslk2 deadlocks.
1997-03-25 15:51:50 +00:00
KATO Takenori 0d81c0a8c7 YAMFC (fixed reset port address of PC9801-108). 1997-03-25 10:14:52 +00:00
Jordan K. Hubbard 61a870c842 Roll some last minute doc changes in. 1997-03-25 06:29:10 +00:00
David Nugent 396eacd821 Bring in fixes from -current;
strdup() term, fix for authentication when kerberos enabled,
don't bypass password prompt for root with empty password for
insecure ttys.
1997-03-25 05:26:29 +00:00
John Dyson ca3216c9ae 1. Fix the vm_page_zero_count accounting. This should improve the
performance of the pre-zero loop.
2.  Fix madvise.  It had a myriad of bugs, including the potential
    for system crashes.
3.  Improve vm_map handling.  This is a result of work done by both
    <[email protected]> (Alan Cox) and me.  Earlier versions of the
    map handling code was very unintelligent about map coalescing.
4.  Support a working and closer to POSIX mlock.
5.  A couple of performance enhancements that came along for the ride,
    including changing certain bitfields to flags in vm_map.
6.  Bring procfs up to date with respect to the changes.

This code has been carefully extracted from -current.

Reviewed by:	David Greenman <[email protected]>
1997-03-25 04:54:38 +00:00
Mike Pritchard 92c252206b YAMFC: remove some incorrect text on how passwords are validated. 1997-03-25 03:55:01 +00:00
Mike Pritchard accba27143 YAMFC: document function return type, tell how the system really
works when attempts are made to block SIGKILL/SIGSTOP.
1997-03-25 03:41:36 +00:00
Mike Pritchard 040cdff758 YAMFC: Xref getpeername. 1997-03-25 02:49:27 +00:00
Mike Pritchard bcab5a28a5 YAMFC: .Tn cleanup. 1997-03-25 02:47:12 +00:00
Jordan K. Hubbard cd765480f2 o Fix bogon in paranoia check for !distributions.
o Clean up package installer menus a little and make certain things
  more clear by changing the button labels.  Also add category description
  for Korean ports/packages.
o Turn on secure NFS (-P) by default for John P.
o Put release name in top menu.
o Fix UK FTP sites since they now follow canon.
o Change release notes to say we're 2.2.1 now.

The RELENG_2_1_1_RELEASE tag will slide forward on all these files.
1997-03-25 02:46:05 +00:00
Mike Pritchard 50192c3ed7 YAMFC: .Tn cleanup and other misc cleanup. 1997-03-25 02:45:33 +00:00
Mike Pritchard d35f3ae11f YAMFC: .Fx/.Tn cleanup. 1997-03-25 02:41:46 +00:00
Jordan K. Hubbard bd37be6edd Add Imaginary Landscape, LLC. for their monetary contributions to FreeBSD
development.
1997-03-25 02:32:56 +00:00
Mike Pritchard fd7be8bc8f YAMFC: mdoc cleanup. 1997-03-24 23:46:20 +00:00
Justin T. Gibbs 4e59b4292c Sync with current - Fix fencepost error. 1997-03-24 19:19:08 +00:00
Warner Losh 57dec3a67d yamfc: 1.8 anti-whine-o-matic buffer overflow deltas 1997-03-24 06:04:52 +00:00
Warner Losh ed1e041772 YAMFC: 1.16 bound strcpy of DNS data 1997-03-24 06:03:11 +00:00
Warner Losh 58da3cfa14 YAMFC: 1.14 chdir as user 1997-03-24 05:58:57 +00:00
Warner Losh fd8889c85b YAMFC: 1.11 fix permission race 1997-03-24 05:53:41 +00:00
Warner Losh def236013c YAMFC: 1.4 buffer overflow from bsdi 1997-03-24 05:52:25 +00:00
Warner Losh 1dbef5b79f YAMFC: 1.2 mkstemp 1997-03-24 05:50:51 +00:00
Warner Losh f63018e9b5 YAMFC: 1.11 mkstemp from OpenBSD 1997-03-24 05:46:18 +00:00
Warner Losh 49d27bdc83 Use mkstemp rather than mktemp to prevent a small race.
Obtained from: OpenBSD
1997-03-24 05:44:28 +00:00
Justin T. Gibbs 33a35e056b Sync with current.
Forgot to mention that I enabled the use of AAP (Auto Access Pause) when
queueing commands again since the bug I just fixed accounts for the problems
I thought were caused by AAP.
1997-03-24 05:11:03 +00:00
Justin T. Gibbs 7c2b54b21e Sync with current. 1997-03-24 05:10:04 +00:00
KATO Takenori d7487e5e4a Synchronize with sys/i386/conf/files.i386 revision 1.141.2.10. 1997-03-24 02:43:38 +00:00
KATO Takenori a140d348a3 YAMFC (Fixed CFLAGS; revision 1.12). 1997-03-24 02:40:50 +00:00
Justin T. Gibbs e8acfe1aff Bring in splbio protection to free_xs call from rev 1.47
Submitted by:	Tor Egge <[email protected]>
Obtained from: PR kern/2891
1997-03-24 01:48:10 +00:00
Warner Losh 60feda37c7 YAMFC: 1.7: Buffer overflow 1997-03-23 23:33:17 +00:00
Warner Losh 93a18dff8f YAMCF: 1.3 fix buffer overflow 1997-03-23 23:27:18 +00:00
Joerg Wunsch 08c07cd420 Merge revs 1.5 of both files: fix argument handling for select(), and
move amq service to TCP for better reliability.
1997-03-23 19:13:03 +00:00
Joerg Wunsch 08fbd37c67 YAMFC: rev 1.13 of both files, providing backward binary compatibility
if /var/run/log could not be found.
1997-03-23 19:09:07 +00:00
John-Mark Gurney 51c616f6a8 YAMFC: slight fix to gcc man page... 1997-03-23 09:24:12 +00:00
Mike Pritchard 10891800ac YAMFC: Don't say that pr and nroff disallow writes to the tty. 1997-03-22 17:20:33 +00:00
David Greenman e53c87bc5d Backed out change from rev 1.27/1.22.2.1 since it causes panics during
reboot.
1997-03-22 16:05:06 +00:00
Jordan K. Hubbard 1e241f19a9 I don't think that this is a new record for a point release
interval for us (I think that's 3 days :) but it comes close.  Sigh.
1997-03-22 15:52:55 +00:00
Jordan K. Hubbard fd08c444e6 I was an idiot to take the sigpipe handling code out of here;
even if it *is* unnecessary in the FTP media case, that's still not true
for the others (like CDROM for example :).
1997-03-22 15:20:26 +00:00
David Greenman f9eba749d7 Merged fixes from -current: DP83840A support, bug fix, link0/1/2 support. 1997-03-21 08:02:52 +00:00
Hiroyuki Hanai 8a90f6c3ad Fixed the <date>. 1997-03-21 06:50:10 +00:00
Jordan K. Hubbard 61e660abb9 Add Iceland to mirror sites.
Add Paul Traina's script loading code.
1997-03-21 04:49:59 +00:00
Mike Pritchard c35e478053 YAMFC: Update to use .An and .Rv. 1997-03-20 16:18:12 +00:00
Mike Pritchard 9d9e22bbbf YAMFC: Document .Rv and .An. Other misc cleanup. 1997-03-20 16:09:22 +00:00
David Nugent 371bf72731 Merge -d <dir> overflow fix from current. 1997-03-20 04:00:21 +00:00
David Nugent b8a0e88098 YAMFC (partial).
Reimplement root login access failure as a login failure:
	Issue message "Login incorrect".
	Standard backoff behaviour.
   #defines for RETRIES/BACKOFF constants
1997-03-19 13:45:08 +00:00
David E. O'Brien dc35556033 fixed typo for RELENG_2_2 branch. 1997-03-19 03:01:49 +00:00
Mike Pritchard 2d69cd14a9 YAMFC: From rev 1.11: fix .Ic macro "usage". 1997-03-18 20:02:13 +00:00
Justin T. Gibbs 1575ff5b59 Sync with current. 1997-03-18 19:19:10 +00:00
Eivind Eklund c7bcb06440 YAMFC (tgoto 1.6) 1997-03-18 16:34:23 +00:00
Mike Pritchard 0f1b35f61b YAMFC: From rev 1.2: add framemaker 5.0. 1997-03-18 16:22:06 +00:00
Poul-Henning Kamp 467194d9b6 YAMFC (check for overflow in size argument) 1997-03-18 16:18:24 +00:00
Mike Pritchard 365738c9e2 YAMFC: backout part of my previous VMIN/VTIME change. 1997-03-18 07:18:23 +00:00
Mike Pritchard 7753eed96f YAMFC: be consistent in how we list our mailing list addresses. 1997-03-18 07:03:41 +00:00
John-Mark Gurney 4937b79d09 merge in my patches to prevent patch from going into a loop...
also merged in the -Wall fixes while I'm hear... along with silencing and
some of the CVS Log entries in the files...
1997-03-17 22:32:29 +00:00
David Greenman c0eea35fcb Brought in fixes from main branch: fixes for full duplex and PCI Pro/10. 1997-03-17 11:09:44 +00:00
Eivind Eklund a7efd265c0 YAMFC (tgoto.c 1.5) 1997-03-17 09:34:23 +00:00
Jordan K. Hubbard e506051a5b Two procedures were bogusly in the variable list. 1997-03-17 05:00:53 +00:00
Jordan K. Hubbard d85926e0cf Correct date with english handbook, update 2.1.7 -> 2.2 in Japanese
handbook (d'oh!  forgot about the japanese handbook entirely!).
1997-03-17 04:05:03 +00:00
John-Mark Gurney 1c7bd47f2d YAMFC: fix typo (from rev1.11) 1997-03-17 00:29:48 +00:00
Jordan K. Hubbard a460193410 Fix a bogus debugging statement.
Stick saved registrations directly in / so they're visible and annoying
(and you'll complete and remove the thing).  Sticking them in /tmp was
really stupid because they only get removed when you come back up.

My last-minute change to support joerg's insufferably long email addresses
(anyone who need more than 20 characters for both username and hostname
should be shot :-) also broke the form layout completely, necessitating
the display kludge you see here.
1997-03-16 20:08:26 +00:00
Justin T. Gibbs f8b9627ac5 Merge with current. Add white spce before line continuation backslash.
sys/conf/files was okay in my initial commit for this branch.
1997-03-16 19:02:54 +00:00
Justin T. Gibbs 2bd74093d6 Merge with current. Don't rely on sys/types being included by stdio.h 1997-03-16 19:01:28 +00:00
Mike Pritchard 9a9f7322bf YAMFC: Typo police. 1997-03-16 18:18:59 +00:00
Justin T. Gibbs f94d869a9b Sync with current. 1997-03-16 07:22:03 +00:00
cvs2svn 274b8bdee7 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-03-16 07:21:33 +00:00
Jordan K. Hubbard bd168eeaad Update the FTP site map to reflect reality. D'oh! I should have done
this long before now.
1997-03-16 04:06:39 +00:00
Jordan K. Hubbard f509c4c435 Merge from -current (modulo the release string, which is set to 2.2. in this
branch).
1997-03-15 23:36:46 +00:00
Jordan K. Hubbard 2d3b605d6f Bump to RELEASE. 1997-03-15 23:29:16 +00:00
Jordan K. Hubbard 2825ff93f6 Update to RELEASE. 1997-03-15 23:21:18 +00:00
Bruce Evans f07e5bc8ea Revert $FreeBSD$ to $Id$. 1997-03-15 21:23:40 +00:00
Joerg Wunsch 4f3d99485b YAMFC (rev 1.17: fix promiscuous mode) 1997-03-15 21:03:25 +00:00
Joerg Wunsch be153092d7 YAMFC (rev 1.287 and 1.288: export BUILDNAME, RELEASETAG, and NO_PORTS
into the chroot build area)
1997-03-15 20:59:35 +00:00
Jordan K. Hubbard d29096165b Reorder some failure clauses, fix a bug with distribution extract status. 1997-03-15 18:00:28 +00:00
Jordan K. Hubbard a33296462b Increase the size of the email address field.
Requested-By: joerg
1997-03-15 16:24:32 +00:00
KATO Takenori 10349c7e01 Synchronize with sys/i386/conf/majors.i386 revision 1.9.2.1. 1997-03-15 15:52:35 +00:00
KATO Takenori d529d2b19c Synchronize with sys/i386/i386/userconfig.c revision 1.63.2.17. 1997-03-15 15:45:20 +00:00
Joerg Wunsch 63d6cd97cb YAMFC (\0-terminate the strings for strftime(), pending some better fix
that should be done in the future, according to Bruce's suggestions)
1997-03-15 10:52:45 +00:00
Joerg Wunsch 556bf008c9 YAMFC (rev 1.12: sgtty->termios, fix buffer overflow condition, use
sysexits(3))
1997-03-15 10:48:58 +00:00
Joerg Wunsch f08e0f77bd YAMFC (rev 1.6: recognize being called as kgdb, some people do it
this way)
1997-03-15 10:46:21 +00:00
Joerg Wunsch c1e644e298 23:59's mega-merge for ppp(8).
I've merged the three changes:

    re-open on HUP (+doc)
    Working -background option
    pending sig changes

and enclosed patches to get from the current RELENG_2_2.
The pending signal stuff is the most important, without it it's possible
to corrupt the caused variable, resulting in a call to (*NULL)() :(

(I'm not totally comfortable with the SIGHUP changes, but they are not
very harmful either. -- Joerg)

Submitted by:	brian
1997-03-15 10:44:30 +00:00
Joerg Wunsch decd933ec9 YAMFC (rev 1.5/1.9: fix security problem) 1997-03-15 10:40:15 +00:00
Jordan K. Hubbard 6cc65521df YAMFC 1997-03-14 07:01:18 +00:00
Mike Pritchard b21a8f477d YAMFC: From rev 1.4: s/NetBSD/FreeBSD/ 1997-03-14 06:10:09 +00:00
Mike Pritchard ec42787081 YAMFC: update some mailing list addresses. 1997-03-14 05:24:26 +00:00
Mike Pritchard b9486dfe71 YAMFC: Use the correct symbols for VMIN/VTIME. 1997-03-14 05:02:12 +00:00
Mike Pritchard 608cb943ff YAMFC: add some text regarding shell scripts as login shells. 1997-03-14 02:38:33 +00:00
Joerg Wunsch de653435c9 YAMFC (rev 1.21) 1997-03-14 01:35:16 +00:00
Jean-Marc Zucconi a47a52fd33 Merge from current (add __BEGIN_DECLS/__END_DECLS) 1997-03-14 00:04:18 +00:00
Joerg Wunsch 9173804e1f YAMFC (Fix the declaration of num_eisa_slots)
Building sysinstall was broken previously anyway, thanks to Paul
Traina for pointing it out.
1997-03-13 22:24:36 +00:00
Bruce Evans bcb1ab7077 YAMFC (everything: worm bdev and recently assigned nonexistent cdevs). 1997-03-13 18:28:40 +00:00
Joerg Wunsch 641b3c3a27 New compared to 2.2-BETA:
. CMD 640 hack
. number of EISA slots an official option

New compared to 2.1.7:

. moused
. phkmalloc
. functional AppleTalk

The last three items have been obtained from Andres Klemm's and
Lars Koeller's FreeBSD article in the most recent c't magazine.
1997-03-13 18:20:36 +00:00
Bruce Evans 70e16c24be YAMFC (1.30: wrapped mi_switch() with splstatclock()/splx()). 1997-03-13 18:09:38 +00:00
KATO Takenori 2d950f8de6 Synchronize with sys/i386/isa/wd.c revision 1.119.2.4. 1997-03-13 17:11:06 +00:00
KATO Takenori 8c4827362a Synchronize with sys/i386/conf/options.i386 revsion 1.26.2.7. 1997-03-13 17:06:19 +00:00
Adam David ada88fa941 sync with -current 1997-03-13 15:18:55 +00:00
KATO Takenori c6bb93ef85 YAMFC (#ifdef FreeBSD --> #ifdef __FreeBSD__; revision 1.5). 1997-03-13 02:17:32 +00:00
KATO Takenori 70bb51efed YAMFC (fix CFLAGS definition; revision 1.11). 1997-03-13 02:12:28 +00:00
Joerg Wunsch 159383909b YAMFC (rev 1.26: mention the CMD640) 1997-03-13 01:06:34 +00:00
Stefan Eßer a939b979e6 Synchronize with -current: Add CMD640 workaround.
This introduces no code change, as long as CMD640 is not defined.

The files /sys/pci/wdc_p.c and /sys/i386/isa/wdc_p.h have been tagged
for the RELENG_2_2 branch already.

OKed by: joerg
1997-03-12 19:50:33 +00:00
Bruce Evans 1aea294e0b YAMFC (fixed checking for a non-numeric minor number). 1997-03-12 19:05:01 +00:00
Joerg Wunsch 785731e6ee YAMFC (rev 1.25: update HP NetServer LC info) 1997-03-12 18:59:36 +00:00
Joerg Wunsch 4a29037187 YAMFC (rev 1.8: record num_eisa_slots) 1997-03-12 18:55:50 +00:00
Joerg Wunsch bad3094753 YAMFC (rev 1.285: don't spam the tarballs with BOOTMFS stuff) 1997-03-12 18:11:11 +00:00
Joerg Wunsch c56e7e0d33 YAMFC (make EISA_SLOTS a fully supported option) 1997-03-12 17:46:10 +00:00
Mike Pritchard b270f2184a YAMFC: add a missing '\'. 1997-03-12 16:06:18 +00:00
Mike Pritchard c9696ffda7 YAMFC: correct info on the "tabs" option. 1997-03-12 16:00:05 +00:00
Mike Pritchard 2d2c13fa44 YAMFC: Lite2 man page cleanup that applies to 2.2. 1997-03-12 15:12:16 +00:00
Mike Pritchard 59a43aeeb3 YAMFC: Lite2 man page cleanup that applies to 2.2. 1997-03-12 15:07:15 +00:00
Mike Pritchard fe9924ea93 YAMFC: Some man page cleanup that applies to 2.2 from the Lite2 merge. 1997-03-12 14:50:51 +00:00
Mike Pritchard e6a450f7ed YAMFC: Update to reflect the current dirent.h. This was
part of the Lite2 merge.
1997-03-12 14:34:23 +00:00
Mike Pritchard 52fb1ea4d6 YAMFC: Document the various link-level flags for these drivers,
plus a typo fix.
1997-03-12 13:54:35 +00:00
Mike Pritchard f5bffdc45d YAMFC: FRom rev 1.9: minor mdoc cleanup. 1997-03-12 13:31:08 +00:00
Jordan K. Hubbard 8d5ff86730 Obey NO_PORTS more properly everywhere.
Submitted-By: joerg
1997-03-12 02:41:54 +00:00
Jordan K. Hubbard 285135278e Copy ABOUT.TXT to CD. 1997-03-12 02:32:08 +00:00
Jordan K. Hubbard 175bf9790f Adjust tabbing in /etc/fstab 1997-03-12 02:19:15 +00:00
Mike Pritchard 1e69c26406 Make this man page really match the 2.2 mount.h. 1997-03-12 00:39:00 +00:00
Stefan Eßer ecad4f2956 Add description of the CMD640 option for the wdc driver.
Submitted by:	Wolfgang Helbig <[email protected]>
1997-03-11 23:30:50 +00:00
Stefan Eßer 4791321c6b Add support for the buggy CMD640B PCI EIDE controller chip, which
can't perform overlapping commands on both of its channels.

To enable the CMD640B work-around, the kernel must be compiled with
"options CMD640". Without that option there should be no difference
in the code produced compared to the previous revision of wd.c.

Submitted by:	Wolfgang Helbig <[email protected]>
1997-03-11 23:17:28 +00:00
Joerg Wunsch d59831fba9 YAMFC (rev 1.6: fix FTP timeout handling) 1997-03-11 20:09:49 +00:00
Joerg Wunsch 0259d93a5f YAMFC (rev 1.183: put a .cdrom.inf file into the ftp area, too) 1997-03-11 20:04:43 +00:00
Bruce Evans ef9d30dc02 YAMFC (fixed clist limits). 1997-03-11 19:40:37 +00:00
Joerg Wunsch 32d57bb4c9 YAMFC (rev 1.11: retrofit changes from rev 1.7) 1997-03-11 19:39:07 +00:00
Jordan K. Hubbard 2b61e1aeed YAMFC 1997-03-11 17:49:21 +00:00
Bill Paul 86656d3255 Update this to reflect reality. 1997-03-11 17:42:37 +00:00
Jordan K. Hubbard 3e9b5f9cb4 Fix some bogons with static storage usage.
Fix UK mirrors.
1997-03-11 16:41:22 +00:00
Joerg Wunsch 0a6b754d8d Add a little blurb to two explanations where the past experience
shows that many users have problems.
1997-03-11 16:22:22 +00:00
KATO Takenori 05ff977879 Synchronize with sys/i386/i386/userconfig.c revision 1.63.2.16. 1997-03-11 16:21:32 +00:00
Joerg Wunsch 3f7e5cf977 Introduce a hack that eases bootstrapping from a more recent hosting
environment than the target version will be: move the shared libs
out of the way while doing the `make world', so the binaries will link
against the newly built libs.

This will probably become even more important once 2.2 is released...
1997-03-11 13:53:11 +00:00
Joerg Wunsch 8d16a7ecc8 YAMFC (rev 1.3: more randomization) 1997-03-11 11:17:03 +00:00
Joerg Wunsch b243620314 YAMFC (rev 1.139: add more tun devices) 1997-03-11 11:15:39 +00:00
Joerg Wunsch 0979eb2d5b YAMFC (rev 1.4: fix <ss> and ss sorting) 1997-03-11 11:13:54 +00:00
Jordan K. Hubbard dc7f46c388 Whap two $FreeBSD$ lines which somehow survived Peter's ethnic clensing. 1997-03-11 09:13:13 +00:00
Jordan K. Hubbard 69262873f5 Fix what Guido stomped in rev 1.14 - we should be calling _res_close() from
within this file, not res_close().
1997-03-11 07:23:55 +00:00
Jordan K. Hubbard 818f20ada7 Yikes! BUILDNAME should most definitely not be set yet. 1997-03-11 07:17:52 +00:00
Mike Smith d4ed5bacb5 YAMFC (rev 1.84, avoid double-s)
(Yes, this is on the 2.2 branch)
1997-03-11 07:13:43 +00:00
Jordan K. Hubbard e25f9792ba Delete a superfluous entry for setting the root password. 1997-03-11 06:39:54 +00:00
Mike Pritchard 3acc35a3fc YAMFC: From rev 1.12: update ioctl values. 1997-03-11 05:49:04 +00:00
Jordan K. Hubbard 13501768c0 Whoops! I got my own address stuck back in here during testing. 1997-03-10 22:47:32 +00:00
Paul Traina e1ad2787bf Mergen in IMAP change from head 1997-03-10 22:28:46 +00:00
Jordan K. Hubbard 13adfb6d0e o Add alias for register' so you can say /stand/sysinstall register' to
go straight to the registration screen.

o Add ports collection option a little more prominently to distribution
  choices.

o Tell user how to register if they elect to say "No" the first time.
1997-03-10 21:10:45 +00:00
Joerg Wunsch d47f9a7cbf YAMFC (rev 1.3: update to the new open() semantics) 1997-03-10 20:56:34 +00:00
Joerg Wunsch 9a109dc04d YAMFC (rev 1.81: add the HP6020i) 1997-03-10 20:53:16 +00:00
Jordan K. Hubbard 0baf3d70f0 Merge rev 1.7 into 2.2. 1997-03-10 20:35:46 +00:00
Guido van Rooij d322f3e58d Fix buffer overflow 1997-03-10 19:52:12 +00:00
Guido van Rooij 3c716c531d From current: overflow in FD_SET was possible. 1997-03-10 19:35:22 +00:00
Joerg Wunsch dd700cf503 YAMFC (rev 1.3: fix gross uninitiliazed variable problem) 1997-03-10 19:23:57 +00:00
Joerg Wunsch 3e31ac95cd YAMFC (rev 1.24: fix a logico) 1997-03-10 19:22:43 +00:00
Guido van Rooij 67c5e4bd27 Fix buffer overflow. 1997-03-10 19:10:52 +00:00
Jordan K. Hubbard 6b84ce2f40 Make the russian mirrors follow canon. 1997-03-10 12:20:10 +00:00
Bill Fenner cb0bae6ef8 YAMFC. Fix FTP URL parsing, new FTP_PROXY behavior, allow non-
standard FTP ports, handle almost-HTTP/1.0 servers (PR#2868),
fix restarting HTTP transfers (PR#2870).
1997-03-10 07:12:51 +00:00
Jordan K. Hubbard 92e864d54d Add sample entries for Samba. 1997-03-10 01:57:32 +00:00
Jordan K. Hubbard de330f7d1a Merge changes from -current for registration screen
(also forgot to mention - fixed a window leak in all clients
of the Layout* code).
1997-03-09 22:38:01 +00:00
cvs2svn 922dfe46d8 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-03-09 22:35:13 +00:00
Mike Pritchard 320253280e YAMFC: From rev 1.8: Clarify how dup2 works. 1997-03-09 22:16:51 +00:00
KATO Takenori b00337aa84 YAMFC (PC-98 object; revisions 1.7 and 1.7). 1997-03-09 16:56:18 +00:00
KATO Takenori ec8d8f8d52 YAMFC (PC-98 battery status code; revision 1.16). 1997-03-09 16:52:49 +00:00
KATO Takenori 9668f9bcc8 Synchronize with sys/i386/isa/syscons.{c,h} revisions 1.182.2.15 and
1.23.2.3, respectively.
1997-03-09 13:30:08 +00:00
Paul Traina 7b4e38e0a6 Merge from current.
Reviewed by:	jkh
1997-03-09 09:28:29 +00:00
Bruce Evans b6546c8a6a YAMFC (added forgotten directories netns and pccard). 1997-03-09 06:58:45 +00:00
Kazutaka YOKOTA d206b50808 YAMFC - at last, kbdio with keyboard/mouse data queues is brought
to 2.2.
1997-03-09 06:32:30 +00:00
Mike Pritchard d6063caca2 YAMFC: Fix fts_set declaration, and update specify the correct
function in pause.
1997-03-09 00:51:58 +00:00
Mike Pritchard a4ab3288cc YAMFC: Fix example. 1997-03-09 00:50:47 +00:00
Mike Pritchard be0a15870e YAMFC: Fix some typos. 1997-03-09 00:34:37 +00:00
Mike Pritchard ef3e1ddfdf YAMFC: document the MAIL env variable. Sync up hier with reality. 1997-03-09 00:25:10 +00:00
Mike Pritchard 06f5f562aa YAMFC: From rev 1.7: make "fd" static. 1997-03-09 00:16:23 +00:00
Jordan K. Hubbard f1836b812a Merge r1.24 from -current, modulo one small change to avoid line-wrap. 1997-03-08 23:57:22 +00:00
Jordan K. Hubbard 4a2aa32363 Update version on samba package. 1997-03-08 23:47:04 +00:00
Bruce Evans 3a109e38e0 YAMFC (don't use dot in a chown command). 1997-03-08 19:48:05 +00:00
Bruce Evans 672eda858a YAMFC (don't use a dot in the chown commands - only use install commands). 1997-03-08 19:29:54 +00:00
Paul Traina 291827ef18 Merge API fixes from current.
Reviewed by:	jkh
1997-03-08 19:09:24 +00:00
Bruce Evans bcf16a2550 YAMFC (fixed substitution of @TMAC_S_PREFIX@ and @TMAC_M_PREFIX@). 1997-03-08 19:09:01 +00:00
Jordan K. Hubbard d462bb102e o Be just a wee bit more paranoid about saving configuration data before
running off to invoke the XFree86 setup tool or the package manager or
  anything else which might die badly.

o Tidy up the label editor a bit.
1997-03-08 16:16:15 +00:00
KATO Takenori e3d8f93fdd Synchronize with sys/i386/boot/biosboot/Makefile revision 1.50.2.3. 1997-03-08 15:48:18 +00:00
Guido van Rooij c6cae98b06 Fix style and other bug in NFS fix. 1997-03-08 15:16:18 +00:00
Jordan K. Hubbard 6ceab96a3b Add ports as a distribution target.
Clean up the way distributions are added post-install time (make it easier).
Describe boot managers and drive geometry a little more elaborately
in the relevant docfile.  It's 5am and I'm probably rambling incoherently
at this point, so perhaps someone should also review help/drives.hlp if they
get the chance. :)
1997-03-08 12:56:23 +00:00
Jordan K. Hubbard 94f52bf536 Remove overly chatty debuging. 1997-03-08 11:13:22 +00:00
Jordan K. Hubbard 71b0ec5043 Update Apache to correct version. 1997-03-08 11:06:09 +00:00
Jordan K. Hubbard 6ef2311075 Correct some of my late-night attempts at using the english language. 1997-03-08 10:18:29 +00:00
Jordan K. Hubbard 9c8e81767c Fix style bogons noticed while merging into -current. 1997-03-07 17:36:48 +00:00
Jordan K. Hubbard 7144d76f46 Add some additional protection for a NULL media device.
Noticed-By: Neil J Long <[email protected]>
1997-03-07 16:16:58 +00:00
Jordan K. Hubbard be568c1ee7 Prepare this documentation a little more for its upcoming release day. 1997-03-07 13:24:48 +00:00
Joerg Wunsch bd8cb93189 YAMFC (rev 1.7: activate chio(1), which has been tagged into the branch) 1997-03-07 09:39:06 +00:00
Joerg Wunsch 75fdc89614 YAMFC (new medium changer driver) 1997-03-07 09:34:48 +00:00
Joerg Wunsch ce16f788cf YAMFC (rev 1.26: try a no-wait malloc first in clist_alloc_cblocks().) 1997-03-07 09:22:57 +00:00
Joerg Wunsch d00d48e97c YAMFC (rev 1.27: supply the mount point when getting a vnode) 1997-03-07 09:21:36 +00:00
Joerg Wunsch 7a924bc194 YAMFC (rev 1.27: check for NULL pointer before dereffing) 1997-03-07 09:20:08 +00:00
Joerg Wunsch 0195cf74be YAMFC (rev 1.1: make this texinfo file info-aware) 1997-03-07 09:14:30 +00:00
Joerg Wunsch 2c08ee2b9e YAMFC (rev 1.8: Fixed handling of input failure by the scanf family.) 1997-03-07 09:12:11 +00:00
Joerg Wunsch 062db0d664 YAMFC (rev 1.7, and 1.4 resp: don't exit immediately on short file if -e
is given, so alternate screen buffers can be used at all)
1997-03-07 09:04:01 +00:00
Joerg Wunsch 1b6a4dc3b7 YAMFC (rev 1.8, and 1.18 resp: empty group wheel semantics) 1997-03-07 09:01:23 +00:00
Joerg Wunsch bc36e9dd0c YAMFC (fix the characterset designation code so box character drawing
will work as in VTxxx)
1997-03-07 08:58:27 +00:00
Gary Palmer 7eb3fa8a45 Fix (I hope) the NFS hole. This is only compile tested.
Submitted by:	(partly) [email protected] via BUGTRAQ
1997-03-07 07:48:00 +00:00
Jordan K. Hubbard 7337d34dc1 Fix bogus reference to /etc/update.
Pointed-out-by:  Someone on the net who's email I now can't find.
1997-03-07 07:46:40 +00:00
Mike Pritchard 16b906ec80 YAMFC: clean up this man page. 1997-03-07 07:45:39 +00:00
Mike Pritchard 099426dba3 Some months ago I accidently committed a change that allowed the
2.2 version of adduser to accept user names longer than 8 characters.
Back this part of the change out.

Submitted by:	 Marc Slemko <[email protected]>
1997-03-07 06:23:00 +00:00
Mike Pritchard eaeae9c9f9 YAMFC: add a missing semi-colon. 1997-03-07 06:17:09 +00:00
Mike Pritchard e3a1b47d04 YAMFC: add missing cvs Id strings. 1997-03-07 04:18:30 +00:00
Mike Pritchard 0f1b409dfb YAMFC: minor mdoc cleanup. 1997-03-07 03:43:05 +00:00
Mike Pritchard 4e91a6e488 YAMFC: add missing cvs Id lines. 1997-03-07 03:08:41 +00:00
Mike Pritchard 8cf50cdd84 YAMFC: typo fix. 1997-03-07 02:00:30 +00:00
Mike Pritchard aa8916c463 YAMFC: Fix a couple of typos. 1997-03-07 01:50:30 +00:00
Joerg Wunsch 3c996673c2 YAMFC (rev 1.13: don't clobber $TERM if already set) 1997-03-06 22:27:37 +00:00
KATO Takenori 0299f215cc YAMFC (revision 1.18; missing i8251 code). 1997-03-06 15:09:27 +00:00
Wolfram Schneider c019b24d18 Merge: Fix broken output due the obj dir changes in make(1) 1997-03-06 12:21:31 +00:00
Joerg Wunsch 4e3c4a518c YAMFC (rev 1.23: fix the daily prune example) 1997-03-06 10:57:14 +00:00
Jordan K. Hubbard a7f1456b9c YAMFC 1997-03-06 10:23:02 +00:00
Satoshi Asami c1f72c5bcd Merge 1.254. 1997-03-06 08:33:34 +00:00
Mike Pritchard a5b108bc51 YAMFC:
- sort xrefs
- typo fixes.
1997-03-06 08:01:10 +00:00
Mike Pritchard a7261a4ea8 Fix some more $ FreeBSD $ lines that made it into 2.2. 1997-03-06 07:54:19 +00:00
Joerg Wunsch 8d64d78a5f YAMFC (rev 1.279: still need RELEASEDIR) 1997-03-06 07:53:11 +00:00
Mike Pritchard 5f391b7e81 YAMFC:
- typo fixes
- sort xrefs
- some other minor cleanup.
1997-03-06 07:45:28 +00:00
Mike Pritchard c6864fc4fc Fix couple of $ FreeBSD $ lines that made it into 2.2.
I noticed these while looking for 2.2 -> 3.0 man page changes,
so there may be more of these.
1997-03-06 07:21:40 +00:00
Mike Pritchard ab1413285d YAMFC: Update the .Os, .Fx, and .Nx macros. Add the .Ox macro. 1997-03-06 07:08:07 +00:00
Mike Pritchard 598199b3a5 YAMFC: add some more Minnestoa Cities. 1997-03-06 06:25:55 +00:00
Mike Pritchard da600acca1 YAMFC: typo fix. 1997-03-06 05:34:43 +00:00
Mike Pritchard e2e226b38b YAMFC: fix a couple of typos. 1997-03-06 05:22:24 +00:00
Paul Traina 8da1d91e69 Remove ckRELEASEDIR checks that were missed during merge. 1997-03-06 00:10:39 +00:00
Bruce Evans 19ffddc927 YAMFC (made FPU stuff conditional on npx as well as I586_CPU). 1997-03-05 16:31:51 +00:00
KATO Takenori 14134c617e Synchronize with sys/i386/isa/clock.c revision 1.72.2.3. 1997-03-05 16:21:28 +00:00
Bruce Evans e1d109ba5e YAMFC (added -mno-486 to CFLAGS). 1997-03-05 15:50:20 +00:00
Joerg Wunsch b9f759ce33 YAMFC (rev 1.138: fix permissions of worm devices) 1997-03-05 14:05:38 +00:00
Joerg Wunsch c8d2ac2c6c YAMFC (rev 1.135: add bdev entries for worm(4)) 1997-03-05 13:58:16 +00:00
Joerg Wunsch 424090734c YAMFC: rev 1.32 of worm.c. This brings the ability to also read media
using /dev/wormN, and uses restructured code that is supposed to avoid
problems that arose in the old code e.g. with the HP6020i (although i
have yet to see any positive respsonse to this).

Additional cleanup will follow, but it's easier for me to do this if i
merge this one first.
1997-03-05 13:56:28 +00:00
Bruce Evans 5f98e8fe8e YAMFC (1.41: force null termination after 2 errant strncpy()s; 1.35:
include <sys/time.he> and fix up some other #include messes).
1997-03-05 12:30:08 +00:00
Bruce Evans 661c69b39b YAMFC (fixed wrong magic numbers in scaling). 1997-03-05 11:54:54 +00:00
Bruce Evans 77553ccede YAMFC (shorten the main clock calibration message, only print clock
calibration messages if the system was booted with -v, and corrupt
a tab).
1997-03-05 08:19:02 +00:00
David Greenman 476e9ce6a5 Brought in fix from rev 1.80: vinvalbuf/splbio fix. 1997-03-05 04:58:43 +00:00
Doug Rabson 8081bf16e2 Merge a bugfix from current which prevented nfsv3 commits from working
at all and include a simple performance optimisation (clustering commits).

Reviewed by:	[email protected] (J Wunsch)
1997-03-04 17:59:42 +00:00
Doug Rabson 9f21280dee YAMFC 1997-03-04 10:08:16 +00:00
KATO Takenori 7ce1a53095 YAMFC (fixed devfs code; revision 1.17). 1997-03-04 06:52:04 +00:00
KATO Takenori 29025a4bb3 Synchronize with sys/i386/isa/syscons.c revision 1.182.2.14. 1997-03-04 06:49:40 +00:00
Mike Pritchard 55fc7c214c YAMFC: add the VFS_*/VOP_* v* man pages.
All of the new man pages were tagged onto the RELENG_2_2 branch by hand.
1997-03-04 06:32:12 +00:00
cvs2svn bb92c09e2c This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-03-04 06:20:49 +00:00
Alexander Langer 087ab6aea2 YAMFC (rev 1.5, disable definition of _POSIX_THREAD_PRIORITY_SCHEDULING). 1997-03-04 01:35:21 +00:00
Nate Williams 97c31386d4 YAMFC:
Moved pccard_configure() to the end of the configure() list.  This
  avoids problems with the PCIC controller grabbing an interrupt that
  another card needs.

Ok'd by:	joerg
1997-03-04 00:31:13 +00:00
Nate Williams de6d2cb7e5 YAMFC:
- Added PCIC resume function
- Cleaned up includes
- Better handling of PCIC controller IRQ's (Dynamically determine a free
  IRQ instead of just grabbing one.)
- Cleaned up VLSI-PCIC chipset detection better, necessary for some newer
  laptops such as the NEC 6030H.

OK'd by:	joerg
1997-03-04 00:27:35 +00:00
Bruce Evans 7e64a9cd0a YAMFC (improved description of the device names). 1997-03-03 18:48:11 +00:00
Bruce Evans 7a7238f66d YAMFC (updated descriptions of minor numbers and filees, etc.). 1997-03-03 18:40:13 +00:00
Bruce Evans 2b76afd7dc YAMFC (fixed struct access bug). 1997-03-03 16:36:13 +00:00
Bruce Evans e054a15e04 YAMFC (extend the unit field to 9 bits for disk devices). 1997-03-03 16:07:30 +00:00
Bruce Evans d37fafaf19 YAMFC (lots of cleanups). 1997-03-03 15:11:52 +00:00
Bruce Evans 113f6d8634 YAMFC (use install flags ${COPY} instead of -C). 1997-03-03 14:57:06 +00:00
Bruce Evans 66b24d028d YAMFC (use log10() instead of a home made version). 1997-03-03 14:52:07 +00:00
Bruce Evans 331f06654c YAMFC (use log10f() instead of log10()). 1997-03-03 14:51:17 +00:00
Bruce Evans 513641e110 YAMFC (sort cross references). 1997-03-03 14:46:33 +00:00
Bruce Evans 9bbc1e268e YAMFC (split up Bessel function wrapper files). 1997-03-03 14:21:08 +00:00
Bruce Evans 558655a970 YAMFC (avoid easily avoidable loss of precision when |x| is nearly 1). 1997-03-03 14:17:20 +00:00
Warner Losh 4e5fe43329 Backport changes from current:
1) getopt returnes -1 and remove 'h:' that isn't needed
 2) -l needs super user now to work
 3) check to make sure that address returned from gethostbyname will fit in
    sin_addr
 4) Fix minor strncpy bug.
 5) Don't leak information about ICMP packets that aren't for you, unless
    superuser.
1997-03-03 09:44:16 +00:00
David Greenman ab8e448055 Merged with -current: improved PCB hash algorithm. 1997-03-03 09:24:40 +00:00
Mike Pritchard 216a0aac23 YAMFC: remove the -g option from the "find ... | xargs ls ..." line. 1997-03-03 07:05:47 +00:00
Mike Pritchard 85bcbd5f7a YAMFC:
Mostly xrefs sorts, but some general man page cleanup and mdoc
cleanup.
1997-03-03 07:01:52 +00:00
Adam David cf05d67b8c sync with -current 1997-03-03 05:06:19 +00:00
Bill Fenner a64f983145 Bring in comment fix from -current.
Ok'd by:	jkh
1997-03-02 19:03:01 +00:00
Jordan K. Hubbard bfb12a9b40 Properly segregate CDs into their own release dirs. 1997-03-02 15:28:58 +00:00
Joerg Wunsch d4ded98203 YAMFC (rev 1.19, and 1.4 resp.: allow piping to subprocess) 1997-03-02 14:59:49 +00:00
Joerg Wunsch b4155293fd YAMFC (sync with revs 1.9, and 1.6, resp.) 1997-03-02 14:56:50 +00:00
Joerg Wunsch c4449cb256 YAMFC (rev 1.19: use find -print0 and xargs -0) 1997-03-02 14:50:31 +00:00
Joerg Wunsch d9893762d6 YAMFC (rev 1.6: try using /dev/urandom) 1997-03-02 14:48:25 +00:00
Joerg Wunsch d6b9f0f39a YAMFC (rev 1.7: minor problem for other-endian machines) 1997-03-02 14:43:51 +00:00
Joerg Wunsch 3643b3db58 Ick, the previous commit was a little pointless. Sync this file with
-current now.
1997-03-02 14:40:36 +00:00
Joerg Wunsch 3371efedb4 YAMFC (rev 1.6: add version control system template) 1997-03-02 14:37:30 +00:00
Joerg Wunsch 7213b30c36 YAMFC (rev 1.31: overflow and cursor placement fixes) 1997-03-02 14:35:57 +00:00
Joerg Wunsch 060ff5394c YAMFC (rev 1.205: check validity of signals) 1997-03-02 14:34:06 +00:00
Joerg Wunsch aeb0aaa71b YAMFC (rev 1.9: check validity of signals) 1997-03-02 14:31:40 +00:00
Joerg Wunsch 9ec400a387 Add the ex(4) driver to the hardware.hlp, and fix some stray tabs.
Add some more items to the relnotes where i remember that they went
in lately.

Again, my dear developers: please, please read this file, and watch
out whether something's missing that went into the tree between 2.1.x
and 2.2.
1997-03-02 14:23:38 +00:00
Joerg Wunsch 860319f79c YAMFC:
. remove ${RELEASEDIR}
. add scsi_modes to fixit

Not from -current:

. bump RELNAME to "2.2-RELEASE", so we don't forget about this (it was
  still at GAMMA which was quite somewhat out of date)
1997-03-02 12:03:31 +00:00
Joerg Wunsch 8383e3914a YAMFC (rev 1.5/1.8, resp. Avoid inconsitent usage.) 1997-03-02 11:27:09 +00:00
Joerg Wunsch 28fb9d9eed YAMFC (rev 1.12: remove extraneous shift op) 1997-03-02 09:20:22 +00:00
KATO Takenori af19acb140 Synchronize with sys/i386/conf/options.i386 revision 1.26.2.6. 1997-03-01 11:10:34 +00:00
KATO Takenori c979e2cde7 Synchronize with sys/i386/isa/clock.c revision 1.72.2.2. 1997-03-01 11:07:51 +00:00
KATO Takenori ab510b97db Synchronize with sys/i386/isa/syscons.c up to revision 1.182.2.13. 1997-03-01 10:57:15 +00:00
Justin T. Gibbs 21a48510e3 Somehow these file had their Id changed to FreeBSD.
Sync aic7xxx.c with current

Pointed out by:	[email protected]
1997-03-01 06:53:37 +00:00
Justin T. Gibbs bde4810ce6 Somehow this file had its Id changed to FreeBSD.
Pointed out by:	[email protected]
1997-03-01 06:53:07 +00:00
Bruce Evans 4004fff4e0 YAMFC (rev.1.91: don't redefine SCSI_NCR_DFLT_TAGS). 1997-03-01 06:23:33 +00:00
Bruce Evans 1b13c48dbc YAMFC (add missing #include <machine/segments.h>). 1997-03-01 06:10:44 +00:00
Adam David 1298790f23 added 8859-2 stuff from -current 1997-03-01 01:19:30 +00:00
Mike Pritchard cf051f307b YAMFC: sync with the new bsd-copyright. 1997-02-28 22:58:28 +00:00
Adam David d7ef05ed1d added ko_KR.EUC and lt_LN.ISO_8859-2
sync with -current
1997-02-28 22:54:47 +00:00
Adam David 41971a3e9a add lt_LN.ISO_8859-2 from -current 1997-02-28 20:14:09 +00:00
Bruce Evans c67e8bf9ee YAMFC (in DELAY(), don't adjust the delay by -20 usec, and use a better
method to convert from usec to ticks).
1997-02-28 17:26:10 +00:00
Bruce Evans 70974df7db YAMFC (added KBD_MAXRETRY). 1997-02-28 16:59:52 +00:00
Bruce Evans 9f19a95bf2 YAFC (added INCLUDE_CONFIG_FILE, LINT_PCCARD_HACK and zillions of
undocumented options).
1997-02-28 16:09:01 +00:00
Bruce Evans c1194b5b47 YAMFC (include "opt_config.h", don't clobber timestamp, and don't
generate non-C).
1997-02-28 15:49:29 +00:00
Bruce Evans cbe28762a4 YAMFC (put INCLUDE_CONFIG_FILE into opt_config.h rather than the CFLAGS
line).
1997-02-28 15:41:25 +00:00
Bruce Evans 0432e0f9ba Fixed spelling error in a variable name here too. 1997-02-28 14:28:53 +00:00
Bruce Evans 4605357768 YAMFC (print syscall numbers in the current radix, etc). 1997-02-28 12:39:23 +00:00
Jordan K. Hubbard b11d2ed3b6 Update this ancient document and add more labels for easy cross-reference. 1997-02-28 12:10:59 +00:00
Bruce Evans e924648f8c YAMFC (turned off _POSIX_SAVED_IDS. Everything in /usr/src that
depended on this misfeature has already been synced with -current.
Syncing was easy because nothing really depended on it.  Also merged
some tiny xref and standards changes in the man page).
1997-02-28 12:03:03 +00:00
Bruce Evans 0dffd04e0e YAMFC (nuked EXTRAVNODES option). 1997-02-28 11:12:00 +00:00
Bruce Evans 1ba87f5fbd Removed warnings that don't apply in this branch. 1997-02-28 10:17:29 +00:00
cvs2svn 58c1412c7b This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-02-28 10:14:25 +00:00
Bruce Evans 695d072d41 YAMFC (everything except INCLUDE_CONFIG_FILE, CHILD_MAX, OPEN_MAX and
ARP_PROXYALL.  This merge is mainly to start nuking EXTRAVNODES.  It
also removes some non-optional MSG* and SEM* "options" and sorts the
options).
1997-02-28 09:10:26 +00:00
Kazutaka YOKOTA debaa35e88 Removed a obsolete test which prevented mouse movement from quiting
screen saver. Added a missing `break' statement  in set_normal_mode().

Reviewed by: sos
1997-02-28 08:47:34 +00:00
KATO Takenori 6cb62f7dc6 YAMFC (synchronize with NetBSD/pc98 patch level 81). 1997-02-28 08:40:13 +00:00
Mike Pritchard 37c2653dd1 YAMFC:
- misc cleanup.
- sort xrefs.
1997-02-28 07:54:48 +00:00
Mike Pritchard 8df56bf066 YAMFC: add a missing period. 1997-02-28 07:34:37 +00:00
Mike Pritchard 31ed8fb267 YAMFC: sort xrefs. 1997-02-28 07:28:48 +00:00
Mike Pritchard 6bf2c9e247 YAMFC: remove an extra comma. 1997-02-28 07:25:11 +00:00
Mike Pritchard 722f0ff4e1 YAMFC: sort xrefs. 1997-02-28 07:23:19 +00:00
Bruce Evans a59f490a9f YAMFC (use gcc features if available to get proper varargs handling
for old-style varargs functions).
1997-02-28 07:21:04 +00:00
Mike Pritchard 15d1d9dd9c YAMFC: minor mdoc changes. 1997-02-28 06:48:13 +00:00
Mike Pritchard 80df5a3374 YAMFC: sort xrefs. 1997-02-28 06:43:48 +00:00
Mike Pritchard e8115fb7f2 YAMFC: sync up with the -current ch.4. 1997-02-28 06:10:08 +00:00
Mike Pritchard b343a69fdd Update fs.5 to reflect the 2.2 fs.h. 1997-02-28 06:05:52 +00:00
Mike Pritchard d53055b7e8 Updated to reflect the current 2.2 types.h. 1997-02-28 05:53:25 +00:00
Mike Pritchard e6864ce05b YAMFC:
Commit all of the -current changes that apply to 2.2.  These fall into
several categories:

- Cosmetic/mdoc changes.  They don't really afect the output
  at all, but having them in 2.2 will make it easier to diff the man
  pages later when looking for real changes.
- Update some man pages to reflect the current 2.2 header files.
- Sort xrefs.
- A few typo fixes.
- And a few changes that actualy added text to the man page that should
  be reflected in 2.2.
- Add some missing MLINKS.

Requested by: bde
1997-02-28 05:51:15 +00:00
Bruce Evans 30255d6255 YAMFC (don't hide inconsistencies by #undef'ing MSGMAX). 1997-02-28 05:29:04 +00:00
Justin T. Gibbs 47b81c7f4d Sync with current. 1997-02-28 04:31:04 +00:00
Mike Pritchard c2fd089d26 YAMFC:
Commit all of the -current changes that apply to 2.2.  These fall into
several categories:

- Cosmetic/mdoc changes.  They don't really afect the output
  at all, but having them in 2.2 will make it easier to diff the man
  pages later when looking for real changes.
- Remove a few $FreeBSD$ lines that made it into 2.2 :-(.
- Update some man pages to reflect the current 2.2 header files.
  I still need to go through some of these man pages by hand and
  complete this job.
- Sort xrefs.
- A few typo fixes.
- And a few changes that actualy added text to the man page that should
  be reflected in 2.2.

Requested by: bde
1997-02-28 03:27:31 +00:00
Adam David 51c3452d11 YAMFC (hr_HR and de_AT) 1997-02-27 17:41:47 +00:00
Bruce Evans 9dffc61f80 YAMFC (moved definition of FUNCTION_ALIGNMENT to a machine-dependent
place and changed it from 4 to 16 for i386's).
1997-02-27 17:24:46 +00:00
Adam David feb04644ee YAMFC (entries for Croatia and Korea) 1997-02-27 16:03:47 +00:00
Jordan K. Hubbard 05a2b453a6 Add partition and label editors in a few more menus with various
aliases.
1997-02-27 12:56:44 +00:00
Jordan K. Hubbard a8a0474845 Fix an ftp-retry bug which is probably responsible for all those folks
with funky network connections having FTP problems in 2.1.7. :-(
1997-02-27 11:48:39 +00:00
Mike Pritchard 91322dd77a Login names are still only 8 characters long in 2.2, not 16.
Closes PR# 2820.

Submitted by:	 Fred Cawthorne <[email protected]>
1997-02-26 17:29:20 +00:00
Mike Pritchard 212c14bc97 YAMFC: make this compile again by removing -lrpclib. 1997-02-26 06:59:14 +00:00
Warner Losh 910d59af8e YAMFC(1.12: buffer overflow) 1997-02-26 06:14:11 +00:00
Mike Pritchard 18a219a4b2 YAMFC: fix default jobname calculation. 1997-02-26 02:31:53 +00:00
Mike Pritchard 44ee0824d1 YAMFC: From rev 1.29: create /var/games/larn. 1997-02-26 01:18:15 +00:00
Adam David dae2cd6398 YAMFC fix man path for no X 1997-02-25 17:52:00 +00:00
Jordan K. Hubbard 516fea4749 Don't be so greedy about using argument space. The actual "secret"
threshold is somewhere below what sysconf() tells us so just divide
this number in two and be satisfied with 32K or thereabours.

Fixes PR#2459
1997-02-25 07:19:32 +00:00
Mike Pritchard 746b3dd00b YAMFC: From rev 1.3: initialize umask later. 1997-02-25 06:13:26 +00:00
Justin T. Gibbs 8919fc8de8 Sync with current. 1997-02-25 03:06:22 +00:00
Mike Pritchard 192d6d9064 YAMFC: sync up all of the calendars with -current. 1997-02-25 01:58:11 +00:00
Mike Pritchard 6b48cb2e17 YAMFC: From rev 1.11: add missing period; document depreciated -g option. 1997-02-25 00:38:13 +00:00
Eivind Eklund 2919a5feb9 YAMFC (Corresponds t rev 1.2/1.3 - security fixes) 1997-02-24 21:21:05 +00:00
Joerg Wunsch 941faf963e YAMFC (1997/01/02: merge the `a' option) 1997-02-24 12:12:38 +00:00
Jordan K. Hubbard 231a1e21e9 Correct minor formatting nits.
Submitted-By: gpalmer
1997-02-24 05:03:04 +00:00
Bill Fenner 329a83ad9f Add mtest. The files in the mtest subdirectory were tagged seperately.
Ok'd by:	jkh
1997-02-24 04:43:26 +00:00
Bill Fenner 3590d16a9f Merge multicast additions (ping.c rev 1.15, ping.8 rev 1.4) from current.
Ok'd by:	jkh
1997-02-24 04:14:58 +00:00
Jordan K. Hubbard 34e50ed326 Sync to Peter's latest version.
Submitted-By: pds
1997-02-24 00:23:26 +00:00
Joerg Wunsch 43d0d0e4ee Un-break RELENG_2_2 again. Sigh, it used to be un-broken for just
some 3 hours or so only. :-(

Forgotten-by: eiind
1997-02-23 23:44:01 +00:00
Joerg Wunsch aec04a773f YAMFC (make dotfile perms more sane, comment out rarely used or bogus
cruft)
1997-02-23 20:57:42 +00:00
Brian Somers b86e9f2ff2 Pointed out by: Joerg
Fix broken signal.h include
1997-02-23 19:30:15 +00:00
Mike Pritchard 3831584c2e YAMFC: Correct section number in .Dt line. 1997-02-23 18:00:53 +00:00
Joerg Wunsch f58cd85384 Also add `printing'. 1997-02-23 17:06:02 +00:00
Joerg Wunsch c9a97b033b YAMFC (rev 1.83 through 1.85; some of them are not strictly necessary yet
in RELENG_2_2, but they don't hurt here either)
1997-02-23 16:55:53 +00:00
Eivind Eklund 905a1bafc7 YAMFC (Remove buffer overflow) 1997-02-23 16:55:15 +00:00
Joerg Wunsch a62b18d55f YAMFC (rev 1.8; makes mrouted in RELENG_2_2 compilable again) 1997-02-23 16:53:27 +00:00
Joerg Wunsch c332172e2c YAMFC (rev 1.277: install /etc when bootstrapping) 1997-02-23 15:53:25 +00:00
Joerg Wunsch b5ba9b5b72 YAMFC (rev 1.13: rename START_ENTRY to _START_ENTRY; this makes msun
compilable again on RELENG_2_2)
1997-02-23 15:48:14 +00:00
Jordan K. Hubbard 01ba62d67b YAMFC 1997-02-23 15:07:42 +00:00
Satoshi Asami cc95b0e8b1 Merge 1.251, 1.252 and 1.253. 1997-02-23 13:27:40 +00:00
Joerg Wunsch f15f2c057c YAMFC (rev 1.2: turn into legal texinfo; this eases bootstrapping 2.2
from 3.0-current)
1997-02-23 11:48:16 +00:00
Joerg Wunsch dac585682d YAMFC (rev 1.3: remove bogus redeclaration of getenv()) 1997-02-23 11:46:32 +00:00
Joerg Wunsch 5ab47bf0c0 Mega-merge Bruce's msun changes into 2.2. This should bring the
FPU autodetecting code here.
1997-02-23 11:03:23 +00:00
Joerg Wunsch cf9e07cfa0 YAMFC (rev 1.60: add suport for the SMC9332BDT) 1997-02-23 11:00:44 +00:00
Joerg Wunsch 1f9608ebc3 YAMFC (rev 1.2: security fix)
NB: RELENG_2_1_0 still to be done.
1997-02-23 10:48:53 +00:00
Joerg Wunsch ed0ff6f519 YAMFC (rev 1.4: security fixes)
NB: RELENG_2_1_0 still to be done.
1997-02-23 10:47:44 +00:00
KATO Takenori e5ef9193c5 Synchronize with sys/i386/isa/wd.c revision 1.119.2.3. 1997-02-23 05:21:54 +00:00
Joerg Wunsch fbc7b0e509 Update (f)lex to 2.5.4.
Closes PR # bin/2674.
1997-02-23 01:37:13 +00:00
Wolfram Schneider 4e7d561f99 YAMFC: This man page will appear in 2.2, not 3.0. 1997-02-22 23:48:47 +00:00
Mike Pritchard 3d17db0dcf YAMFC: this man page will first appear in 2.2, and is i386 specific. 1997-02-22 23:38:11 +00:00
cvs2svn dd99818c30 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-02-22 22:50:58 +00:00
Mike Pritchard 974c0777cc YAMFC: Bring in sysmouse.4.
The new file sysmouse.4 was tagged onto the RELENG_2_2 branch.
1997-02-22 21:28:37 +00:00
Joerg Wunsch e5bb55672b YAMFC (rev 1.35: allow for cdev LKMs) 1997-02-22 20:50:43 +00:00
Joerg Wunsch 6813038dde Enable ex0. It has been commented out accidentally only. 1997-02-22 20:31:26 +00:00
Joerg Wunsch 1b3d1898b6 YAMFC (danny's change from 97/02/11) 1997-02-22 20:27:07 +00:00
Joerg Wunsch c8dc0e1c0c YAMFC (rev 1.19 and 1.8, resp; move _PathLocale into table.c) 1997-02-22 20:17:22 +00:00
Joerg Wunsch 86a15af733 YAMFC (rev 1.4, Reorder the default man sections) 1997-02-22 20:15:06 +00:00
Joerg Wunsch f6109ac0ba YAMFC (rev 1.27 and 1.39, resp; add -q flag and other fixes) 1997-02-22 20:12:46 +00:00
Joerg Wunsch 637938f272 YAMFC (rev 1.11, fixes PR#2686) 1997-02-22 19:47:28 +00:00
Joerg Wunsch c3f1838328 Humm, should have committed this together with the previous one. 1997-02-22 19:38:46 +00:00
Joerg Wunsch 6915509db8 YAMFC (rev 1.11: fix EOF handling)
Peter or Andrey: please have a look at this.  The diff from rev 1.10
to 1.11 partially failed patching.
1997-02-22 19:36:44 +00:00
Joerg Wunsch cce50feb48 YAMFC (rev 1.5: prevent buffer overrung) 1997-02-22 19:32:49 +00:00
Joerg Wunsch 15468857a8 YAMFC (rev 1.15: fix expansion bug) 1997-02-22 19:31:23 +00:00
Joerg Wunsch 5f9fe6fb8a Merge the revamped fetch(1) from -current. 1997-02-22 19:14:04 +00:00
Joerg Wunsch b0da4f99a3 YAMFC (rev 1.5, and 1.7 respectively) 1997-02-22 18:08:04 +00:00
Joerg Wunsch fe8278e78f YAMFC (rev 1.124: prevent numerical overflow) 1997-02-22 18:02:04 +00:00
Joerg Wunsch 11c9b76503 YAMFC: clean up the signal handling, as committed to -current by
Brian on 97/02/18 17:14:44.
1997-02-22 17:59:11 +00:00
Jordan K. Hubbard 81cb9671d5 Commit a very minor typo fix to a prototype.
Submitted-By: Bill Richter <[email protected]>
1997-02-22 07:34:11 +00:00
Nate Williams 761b159955 Changed FreeBSD -> Id in the release, since the whole FreeBSD matter is
unresolved and the tools don't support it.  It's better to not ship
*anything* with the new ID until things are resolved.
1997-02-22 05:16:10 +00:00
Nate Williams 49a9d4f853 YAMFC: Add ${.CURDIR}/ to relative path to contrib. 1997-02-22 05:00:19 +00:00
Bill Fenner fff8b0e6e4 Bring in fix for PR#misc/2733 from rev 1.32: use interface MTU
instead of TUNMTU constant, and allow "ifconfig ... mtu"

Ok'd by:	jkh
1997-02-21 17:35:37 +00:00
Bill Fenner dc824c3006 Bring in fix for PR#kern/2647 & kern/2783 from rev 1.25 .
Ok'd by:	joerg
1997-02-21 17:30:17 +00:00
Garrett Wollman d028ae87b8 Daring greatly, since everyone else seems to defer to him in these matters,
ourt fearless network person dons his asbestos suit and commits a
security/crash bug fix to the 2.2 release branch.

This merge includes revs. 1.28 (delete mondo switch statement form Hell) and
1.30 (fix bug where ordinary users could panic the system)).
Rev. 1.29 was not merged because of outside dependencies.
1997-02-21 16:48:34 +00:00
Ollivier Robert 9c554cd98b Import security fix from -current:
Security patch from OpenBSD: fixes potential buffer overflow.

Reviewed by:	Warner Losh
Obtained from:	OpenBSD
1997-02-21 08:25:22 +00:00
Adam David a2e146f240 added {de,es,is}_* collates from -current 1997-02-21 02:48:30 +00:00
Jordan K. Hubbard e586c18cb5 Calm down signal behavior here too. 1997-02-20 16:46:39 +00:00
Jordan K. Hubbard 214e44ba18 Merge r1.4 from -current 1997-02-20 07:22:43 +00:00
Mike Pritchard 126ad52993 YAMFC: sort xrefs and fix typo. 1997-02-20 07:05:48 +00:00
Jordan K. Hubbard 3dd3fa5fea YAMFC 1997-02-19 17:12:26 +00:00
David Greenman 0aeb8cb2ed Brought in change from rev 1.15: protect from stack overrun. 1997-02-19 08:09:20 +00:00
Mike Pritchard 289c42d817 YAMFC: Add history section. 1997-02-19 07:13:40 +00:00
Mike Pritchard 1b036924a6 YAMFC: sort xrefs, fix ranges. 1997-02-19 07:09:16 +00:00
Satoshi Asami bcaf230c7a Merge from -current (well, sort of). Make RELDATE=220000 so that we
can add new releases (2.1.8, 2.1.9, whatever) without crossing
lines again.

Silently approved by:	current, core
1997-02-19 06:08:42 +00:00
Mark Murray 627b5340af YAMFC (fix default whois server)
OK'ed by: jkh
1997-02-19 05:48:25 +00:00
Adam David e70b568c25 sync with current 1997-02-19 04:12:35 +00:00
David Greenman a527226685 Brought in change from rev 1.51: preserve P_SUGID if {u,g}gid != r{u,g}id
Note that this doesn't actually fix any known security holes, it just
protects against sloppy programming.
1997-02-19 03:53:35 +00:00
Justin T. Gibbs a3854291d7 Sync with current. 1997-02-19 01:02:21 +00:00
David Greenman 306386c0b9 Brought in change from rev 1.6: update to Jan 22, 1997 rev. 1997-02-18 23:39:17 +00:00
John Dyson 80af0cab46 Move -current's na.phone into release 2.2. 1997-02-18 21:55:10 +00:00
Justin T. Gibbs c2bba5201e Sync with HEAD. 1997-02-18 20:31:44 +00:00
Justin T. Gibbs 65515dc44a Kill the initialization of two old scratch ram variables. They were removed
to make space for the larger message buffer.
1997-02-18 20:01:36 +00:00
Justin T. Gibbs 63a4bcfeb5 Enlarge the message out buffer from 6 to 8 bytes. Now that sync and wide
negotiation messages may be tagged, we were overrunning the old buffer.
The variable that was getting squashed is updated before the message goes
out, causing corrupted SDTR or WDTR messages.  Depending on the phases
traversed before message out, this could cause the wrong offset to be
negotiated allowing data overruns to occur.  The problem is easier to
detect with wide targets on the chain since the allowed offset is smaller.

Also removed the unnecessary  clearing of SPIORDY during the message out
phase.  We don't rely on SPIORDY any more.
1997-02-18 20:00:38 +00:00
Jordan K. Hubbard e691d32024 YAMFC 1997-02-18 16:23:10 +00:00
Bruce Evans 2c09824abe YAMFC (quad_t -> rlim_t in struct rlimit). 1997-02-18 08:09:30 +00:00
Bruce Evans 57dbe911a3 YAMFC (rev.1.9: HAVE_SAVED_SETUID 1 -> 0) to prepare for killing
_POSIX_SAVED_IDS in 2.2.  This change actually has no effect at
runtime, since uucp prefers to use setreuid() for everything.
1997-02-18 07:09:20 +00:00
Jordan K. Hubbard 331fe8330f YAMFC 1997-02-18 04:39:18 +00:00
Justin T. Gibbs b32ee09c8f Sync with current - Disable use of AAP in queueing commands and fix a few
error recovery bugs.
1997-02-18 04:27:08 +00:00
Jordan K. Hubbard 9422a6d178 merge ftp timeout fix. 1997-02-18 01:36:53 +00:00
Jordan K. Hubbard 6582763782 YAMFC 1997-02-17 22:09:41 +00:00
Mike Pritchard df8e89cdb9 YAMFC: These will appear in 2.2, not 3.0. 1997-02-17 16:40:35 +00:00
Mike Pritchard d7275460e4 YAMFC: From rev 1.3: This man page will appear in 2.2, not 3.0. 1997-02-17 16:01:20 +00:00
Mike Pritchard b0f110daff YAMFC: These man pages will first appear in FreeBSD 2.2, not 3.0. 1997-02-17 15:23:00 +00:00
Mike Pritchard df289582fc YAMFC: Sort xrefs, bring man page into line with reality. 1997-02-17 15:03:33 +00:00
Mike Pritchard 2855038af9 YAMFC: From rev 1.25: MLINK fts_set.3 -> fts.3 1997-02-17 14:50:42 +00:00
Jordan K. Hubbard 7eb46df189 YAMFC 1997-02-17 13:42:53 +00:00
Jordan K. Hubbard c132df4a7b YAMFC 1997-02-17 13:31:52 +00:00
David Greenman 9d71d451b9 Brought in change from rev 1.31: pass P_SUGID on to the child of fork(). 1997-02-17 10:59:40 +00:00
Jordan K. Hubbard fab6f7b788 YAMFC 1997-02-17 04:56:34 +00:00
Jordan K. Hubbard 79011b4f90 YAMFC 1997-02-16 23:55:32 +00:00
Jordan K. Hubbard d026de01dd YAMFC 1997-02-16 23:36:45 +00:00
Mike Pritchard a5f5026375 YAMFC: From rev 1.8: fix typos in error messages
From rev 1.9: don't call sendmail with "-f root".
1997-02-16 18:26:18 +00:00
Bruce Evans 319ad1705e YAMFC (use log10() instead of a home made version). 1997-02-16 17:55:41 +00:00
Bruce Evans 4b4336a91d YAMFC (fixed exp(+-Inf), etc.). 1997-02-16 17:40:11 +00:00
Bruce Evans 7d79becfbd YAMFC (don't include <sys/dir.h>). 1997-02-16 17:23:01 +00:00
Bruce Evans ea90c5aaa6 YAMFC (fixed FP register printing, and don't include <sys/dir.h>). 1997-02-16 17:21:16 +00:00
Mike Pritchard b675c197ce YAMFC: From rev 1.6: Add xrefs. 1997-02-16 16:45:18 +00:00
Mike Pritchard 39a8a91c10 YAMFC: Add man6 to SUBDIRS.
The new man6 files were tagged onto the RELENG_2_2 branch.
1997-02-16 16:41:16 +00:00
Mike Pritchard 746a26eb74 YAMFC: add intro(5).
The new file intro.5 was tagged onto the RELENG_2_2 branch.
1997-02-16 16:40:25 +00:00
cvs2svn 2db9c7a614 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-02-16 16:36:32 +00:00
Jordan K. Hubbard e32f43c694 YAMFC 1997-02-16 10:29:51 +00:00
Mike Pritchard 788ddff855 YAMFC: From rev 1.5: mdoc'ify man page. 1997-02-16 07:18:39 +00:00
Mike Pritchard f451897ae7 YAMFC: From rev 1.6: update description of screen layout. 1997-02-16 07:07:11 +00:00
Jordan K. Hubbard 4a99364b5c YAMFC 1997-02-16 00:55:36 +00:00
Bruce Evans bec90bdd5c YAMFC (don't use private versions of vasprintf(), strerror() or
install rule).
1997-02-15 16:55:51 +00:00
Jordan K. Hubbard 7df4319b3e YAMFC 1997-02-15 16:36:16 +00:00
Jordan K. Hubbard a8500cf25d Bring share/examples/mdoc over from -current. Not sure about drivers
or printing, so I'll leave that out for now.
1997-02-15 16:09:33 +00:00
Jordan K. Hubbard 9fb6f4bc07 Sync. 1997-02-15 15:41:44 +00:00
Eivind Eklund f9fc83ddba YAMFC. (Removed a setuid permissions, updated man-page to reflect
this, and removed a now largely irrelevant buffer-overflow.)

Approved by:	joerg
1997-02-15 14:51:47 +00:00
Eivind Eklund 72ab9614f3 YAMFC. (Remove setuid bit and update man-page to reflect this)
Approved by:	joerg
1997-02-15 14:43:35 +00:00
Jordan K. Hubbard ca84108c43 YAMFC42.2 1997-02-15 14:19:04 +00:00
Jordan K. Hubbard 196e927400 Add back missing .endif in 2.2 also.
I don't know if it was the intention to make this no longer
depend on HAVE_FPU or just a slip of the delete finger over the .endif,
but either way it was broke. :)
1997-02-15 14:07:05 +00:00
Jordan K. Hubbard 1287944895 YAMFC 1997-02-15 13:21:19 +00:00
Masafumi Max NAKANE 0cc9e8a2d7 Merge from -current (Addition of -h option). 1997-02-15 11:23:49 +00:00
Joerg Wunsch 6e5da338ec YAMFC (rev 1.2: plug a security hole) 1997-02-15 10:18:12 +00:00
Bruce Evans 296cc427f1 YAMFC (deleted confusing -D's and disabled log1p()). 1997-02-15 05:33:05 +00:00
Bill Paul 8cd5129a74 Merge from -current: disallow empty keys. 1997-02-15 04:37:16 +00:00
Bill Paul d830b1de0e Merge from -current: update the ypservers map first and fix small bogon
in publickey target.
1997-02-15 04:34:30 +00:00
John Polstra cd2995a11b Sync with main branch, except Id->FreeBSD. This is a merge
of 1.10 -> 1.13.
1997-02-14 22:09:15 +00:00
Jordan K. Hubbard 29dab0d8f3 YAMFC 1997-02-14 21:29:27 +00:00
Bruce Evans 35997c43cb YAMFC (moved definitions of PIC* and fixed START_ENTRY). 1997-02-14 11:08:47 +00:00
Mike Pritchard 971ab02ae2 YAMFC: Style fixes. 1997-02-14 07:53:01 +00:00
Mike Pritchard a7d36b2a89 YAMFC: Add boot(9).
The new file boot.9 was tagged onto the RELENG_2_2 branch.
1997-02-14 07:10:05 +00:00
Mike Pritchard c4f3341e83 YAMFC: Add MD5(9). 1997-02-14 06:43:55 +00:00
Mike Pritchard 0745c2980d YAMFC: Document /usr/share/examples/mdoc. 1997-02-14 06:01:04 +00:00
KATO Takenori 148dcd2c00 Synchronize with sys/i386/i386/machdep.c revision 1.209.2.9. 1997-02-14 05:37:48 +00:00
KATO Takenori 39b4b59298 Synchronize with sys/i386/conf/Makefile.i386 revision 1.89.2.2. 1997-02-14 05:35:07 +00:00
John Polstra 5ed050e322 Merge from main branch 1.17 -> 1.18: Always remove old-style "obj"
links in the "cleanobj" target.
1997-02-14 05:11:07 +00:00
Jordan K. Hubbard 3f5bbac8b8 Add entry for the Cortex frame grabber.
Requested-By: Mark Taylor <[email protected]>
1997-02-14 04:37:56 +00:00
David Greenman de965d524d Changed timeout for requesting sense from 100ms to 1 second.
Submitted by:	gibbs
1997-02-14 03:13:37 +00:00
Jordan K. Hubbard c8d3cc14a8 YAMFC (configResolv()). 1997-02-14 02:56:10 +00:00
Jean-Marc Zucconi 20c114834b Apply fix from current (rev 1.49): asssembler->assembler 1997-02-14 01:54:28 +00:00
Jordan K. Hubbard 04ada11a89 YAMFC (pst change to restore @owner/@group/@mode behavior for all files). 1997-02-14 01:53:29 +00:00
Bruce Evans 31687f30cf YAMFC (1.223: don't use magic number 0 in useracc() calls.
1.226: initialize and configure npx stuff better...).
1997-02-14 01:11:30 +00:00
Bruce Evans 6d10ebd1c9 YAMFC (moved nonstandard compiler profiling options out of config).
The 2.2 mkmakefile.c is now the same as rev.1.20 (this commit merges
rev.1.19; rev 1.20 was already merged; 1.21 hasn't been merged).
1997-02-14 00:08:10 +00:00
Bruce Evans c826bcdacb YAMFC (added LINT_PCCARD_HACK stuff so that LINT can be built). 1997-02-13 22:46:43 +00:00
Masafumi Max NAKANE f3c10a6811 Merge from current (Rev.1.2). (Typo fix.) 1997-02-13 22:41:19 +00:00
Bruce Evans bdbc9b998e YAMFC (correctly account for header length in m_pkthdr.len). 1997-02-13 22:36:06 +00:00
Guido van Rooij a13b63d54b YAMFC 1997-02-13 20:07:16 +00:00
Mike Pritchard 7100359a84 YAMFC: sort xrefs and xref vn(4). 1997-02-13 19:00:21 +00:00
Mike Pritchard 251479d8f3 YAMFC: Add sl(4) and ppp(4).
The new files were tagged onto the RELENG_2_2 branch.
1997-02-13 18:49:52 +00:00
KATO Takenori 32a155b983 Synchronize with sys/i386/isa/syscons.c revision 1.182.2.11. 1997-02-13 18:46:01 +00:00
Mike Pritchard 5cc842d4b3 YAMFC: add vn(4).
The new file vn.4 was tagged onto the RELENG_2_2 branch.

Note: the original commit message never went out due to my
aborting part of the commit.

Obtained from: NetBSD
1997-02-13 18:39:10 +00:00
Mike Pritchard 8d171aab67 YAMFC: add motd(5).
The new file motd.5 was tagged onto the RELENG_2_2 branch.
1997-02-13 18:04:53 +00:00
Mike Pritchard f0c81c7d74 YAMFC: From rev 1.3: typo fix. 1997-02-13 17:39:23 +00:00
Mike Pritchard a599a6544a YAMFC: Add psignal(9).
The new file psignal.9 was tagged onto the RELENG_2_2 branch.
1997-02-13 17:22:49 +00:00
Mike Pritchard c5205e865b YAMFC: Add panic(9).
The new file panic.9 was tagged onto the RELENG_2_2 branch.
1997-02-13 17:04:17 +00:00
KATO Takenori 972af13e36 Synchronize with sys/i386/i386/trap.c revision 1.83.2.2. 1997-02-13 12:32:37 +00:00
KATO Takenori 0b0e2c09e5 Synchronize with sys/i386/i386/userconfig.c revision .163.2.15. 1997-02-13 12:30:13 +00:00
KATO Takenori 54222cc0b9 Synchronize with sys/i386/isa/isa.c revision 1.74.2.1. 1997-02-13 12:26:42 +00:00
KATO Takenori f36f8e69e5 Synchronize with sys/i386/isa/npx.c revision 1.31.2.6. 1997-02-13 12:22:35 +00:00
Søren Schmidt 64c944dd10 Oops, cut/paste could be done on tthe WRONG vty :(
pointed out by Kazu.
1997-02-13 11:58:49 +00:00
Bruce Evans ac84106d13 YAMFC (align text to 16-byte boundaries if profiling). 1997-02-13 08:34:40 +00:00
Bruce Evans 764e29ea40 YAMFC (do spl0() in fork1() and not in kernel processes). 1997-02-13 08:17:32 +00:00
Bruce Evans 788bd3dc89 YAMFC (remove some dead code from trapwrite). 1997-02-13 07:51:53 +00:00
Bruce Evans ed29dd348e YAMFC (add the userconfig part of the `ex' driver). 1997-02-13 07:49:51 +00:00
Bruce Evans 23949df397 YAMFC (fixed pedantic syntax error). 1997-02-13 07:33:37 +00:00
Bruce Evans 36b1a75460 YAMFC (don't sync the directory entry for every successful write). 1997-02-13 07:27:18 +00:00
Bruce Evans a19ccc06ec YAMFC (0xa0000 -> ISA_HOLE_START). 1997-02-13 07:20:42 +00:00
Mike Pritchard e6906093bd YAMFC: From rev 1.2: correctly document the ranges of the dom/month
parameters.
1997-02-13 07:18:39 +00:00
Bruce Evans 57180617c4 YAMFC (added a missing prototype). 1997-02-13 07:16:56 +00:00
Satoshi Asami b8b3e79c89 Merge 1.3. 1997-02-13 07:14:55 +00:00
Bruce Evans 5973a24e47 YAMFC (fixed printing of small offsets). 1997-02-13 07:13:19 +00:00
Bruce Evans f0d11942ef YAMFC (fixed benign bogus linkage of one of the ddb linker sets). 1997-02-13 07:10:19 +00:00
Bruce Evans 3ed07c30b6 YAMFC (fixed benign type mismatch; fixed writing just above etext); 1997-02-13 07:06:53 +00:00
Bruce Evans 5b8b7a92ca YAMFC (reenabled i586_optimized_copyin/out yet again). 1997-02-13 06:59:51 +00:00
Jordan K. Hubbard 9715f661f8 Merge recent changes. 1997-02-13 00:32:02 +00:00
Justin T. Gibbs 7ce550ea4b Sync with current. 1997-02-12 18:29:02 +00:00
Justin T. Gibbs 4a4fd54cf6 Sync with current. Clear up data overrun problems. 1997-02-12 18:28:29 +00:00
KATO Takenori f034e62cbd Synchronize with sys/i386/isa/syscons.c revision 1.182.2.10. 1997-02-12 17:52:12 +00:00
Mike Pritchard 4e98f30779 YAMFC: From rev 1.3: typo fix. 1997-02-12 13:50:45 +00:00
KATO Takenori f849645ee2 YAMFC (revision 1.22; check routine for memory window config). 1997-02-12 13:41:21 +00:00
KATO Takenori f88e4783cf YAMFC (revision 1.16; memory address of ed8). 1997-02-12 13:35:52 +00:00
Steven Wallace 3c7741ac29 Bug fix for SNDCTL_DSP_GETOSPACE ioctl. It would report 0 bytes
available in buffer when buffer was completely empty.
It now correctly reports the total buffer space available.

Reviewed by:    jkh, davidg
Obtained from:  Linux 1.3.20's sound driver code (same copyright)
1997-02-12 07:09:14 +00:00
Masafumi Max NAKANE 07fb93e9a2 Merge from -current, rev.1.2. 1997-02-11 18:59:31 +00:00
KATO Takenori 1ce32669fa YAMFC (deleted prototypes; revision 1.11). 1997-02-11 15:02:20 +00:00
KATO Takenori 52d7038694 YAMFC (moved BIOS work area related macros to pc98_machdep.h). 1997-02-11 14:24:55 +00:00
Bill Fenner 0dd7b60d43 Another fix related to pr#bin/2585 . That'll teach me to
grep h_length *.c ...
1997-02-10 06:46:37 +00:00
Bill Fenner 397f220718 Merge mtrace 5.1 from -current. mtrace.h got tagged seperately. 1997-02-10 01:29:40 +00:00
Bill Fenner 70ec6a1c15 Fix possible gethostbyname-related overflows as pointed out in
PR#bin/2585 .

OK'd-by:	joerg
1997-02-10 00:56:38 +00:00
Jordan K. Hubbard bb8a3d7dca Merge r1.12 from HEAD 1997-02-09 23:19:24 +00:00
Mark Murray fecc0c61eb YAMFC (Julian Assange's buffer length fixes) 1997-02-09 21:39:39 +00:00
Mike Pritchard 0773f3467b YAMFC: From rev 1.2: typo police. 1997-02-09 21:19:12 +00:00
Mike Pritchard 94cc32c946 YAMFC: Fix typos. 1997-02-09 21:11:13 +00:00
Joerg Wunsch 06b7ab6997 YAMFC (fix xrefs) 1997-02-09 20:40:46 +00:00
Joerg Wunsch c51e3ae17c YAMFC (add bradelf.1, and merge rev 1.3 of brandelf.c) 1997-02-09 20:38:03 +00:00
cvs2svn f732ee7ed2 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-02-09 20:35:55 +00:00
Joerg Wunsch 68c4e97c48 Various additions from -current: SCSI-related pages, uio.9.
I'm uncertain about ifnet.9, and thus have left it out.
1997-02-09 20:34:08 +00:00
Mark Murray 3dff96feaa YAMFC (Fix the way obj/ is found) 1997-02-09 15:46:43 +00:00
Mark Murray 9a2b8c3aa1 YAMFC (Security fixes and buffer overruns) 1997-02-09 15:26:51 +00:00
KATO Takenori 49dec39aa9 Synchronize with sys/i386/conf/files.i386 revision 1.141.2.7. 1997-02-09 11:01:37 +00:00
KATO Takenori 26c9d108dc Synchronize with sys/i386/conf/files.i386 revision 1.141.2.6. 1997-02-09 10:37:07 +00:00
KATO Takenori c2dfa024ee Synchronize with sys/i386/i386/userconfig.c revision 1.63.2.14. 1997-02-09 10:35:35 +00:00
Mike Pritchard 3d9565db10 YAMFC: From rev 1.7: check return value from system(). 1997-02-09 07:58:34 +00:00
Mike Pritchard d5545015ef YAMFC: From rev 1.4: s/-depth/-d/ 1997-02-09 07:55:05 +00:00
Mike Pritchard 9c027e79d9 YAMFC: From rev 1.7: really drop privs when run with "calendar -a". 1997-02-09 07:47:33 +00:00
Mike Pritchard 8191cddc17 YAMFC: typo fix. 1997-02-09 07:04:16 +00:00
Warner Losh 95736afb74 backport 1.11 (possible security hole in rcmd.c) 1997-02-09 06:57:54 +00:00
Warner Losh a04ca26cbf Merge buffer oflow from -current (rev 1.5) 1997-02-09 05:20:06 +00:00
Warner Losh 18e7b43363 Merge buffer oflow from -current (rev 1.3) 1997-02-09 05:10:04 +00:00
Warner Losh 24f5e22778 Merge buffer oflow from -current (rev 1.4) 1997-02-09 05:05:43 +00:00
Warner Losh 8c96e7942d Merge 1.3 from -current (buffer overflow from OpenBSD) 1997-02-09 04:53:42 +00:00
Warner Losh 8ad09cf030 buffer overflow merge from -current 1.12 1997-02-09 04:41:22 +00:00
Warner Losh 2f4d298701 Backport IP option parsing from -current 1997-02-09 04:34:54 +00:00
John Polstra 6c75387d25 Merge from main branch 1.21 -> 1.22: don't include encrypted passwords
in master.passwd diff output.
1997-02-09 02:08:35 +00:00
Joerg Wunsch b45ea39946 Another driver merge from current: ex(4).
I had to change one line of code, in order to address the changed
syntax/semantics of the address list handling.  Please somebody with
such a card test this driver again in RELENG_2_2.
1997-02-08 15:42:26 +00:00
Joerg Wunsch da207089b6 YAMFC (rev 1.321: correct usage of fea0 driver) 1997-02-08 15:22:39 +00:00
Joerg Wunsch 77cc0a07e9 YAMFC (rev 1.6 and 1.7) 1997-02-08 15:20:28 +00:00
Joerg Wunsch d1d7010e5c Mega-merge from -current: bring in the FDDI driver update.
OKed by:	davidg
1997-02-08 15:14:03 +00:00
Joerg Wunsch f1d1aa0b46 No such thing like too much constant string bloat in the kernel. :-)
YAMFC, no feedback is good feedback, brinng in the help functionality
from rev 1.80.
1997-02-08 14:19:48 +00:00
Joerg Wunsch 2cd42b9ff9 YAMFC: use setlocale.h instead of hardcoded constants and `private'
external declarations all over the place.
1997-02-08 14:16:11 +00:00
Joerg Wunsch b8f0e2e3c7 YAMFC (rev 1.78: add entry for the Nakamichi 4-disk changer) 1997-02-08 13:27:56 +00:00
KATO Takenori d668fc5de5 YAMFC (revision 1.10; hardcoded unit number). 1997-02-08 10:01:29 +00:00
KATO Takenori 472be89b7c Deleted DDB, DIAGNOSTIC and KTRACE. 1997-02-08 06:39:38 +00:00
Daniel O'Callaghan 6f5db6157a Reviewed by: Gary jennejohn
Submitted by:	Bruce Murphy <[email protected]>

Add '-a' audible flag to 2.2, and fix up earlier confusion.
1997-02-08 04:11:36 +00:00
Daniel O'Callaghan 6d6b708d6d Back out the 'audible' changes which went to the wrong branch. 1997-02-08 01:33:34 +00:00
Jordan K. Hubbard f64ca7742b Merge PR#2642 fix from -current 1997-02-07 20:04:53 +00:00
KATO Takenori 33f0d2fc11 YAMFC (revision 1.19; enabled pccard code). 1997-02-07 19:10:01 +00:00
Paul Traina 5f6195af04 Put libopie.a in libnames 1997-02-07 17:06:24 +00:00
David Nugent 883d8d0e9d Change group -P formatting for consistency. 1997-02-07 11:24:51 +00:00
David Nugent fc88536775 Bring in changes from -current:
Corrected usage of MAXLOGNAME (to include NUL)
	Format -P changes.
	rmskey() when deleting user.
1997-02-07 11:21:46 +00:00
Kazutaka YOKOTA 241d2d762b Fix for the Compaq Armada laptop.
The PS/2 mouse device responds to a reset command with a sequence of
ACK(fa), RESULT(aa) and ID(00).  Most PS/2 mice immediately returns
ACK, but spend sometime before sending RESULT. The Armada takes time
before ACK; extra delay is necessary before the call to read ACK.

The problem was reported in comp.unix.bsd.freebsd.misc and the patch
was tested by the reporter. No PR was filed, by the way.
1997-02-07 11:02:44 +00:00
John Fieber 66384342a9 Merge from current.
Approved by:	Jordan
1997-02-07 02:47:27 +00:00
John Fieber 70d202889b Merge from current.
Approved by:	Jordan
1997-02-07 02:40:45 +00:00
John Fieber 52b8f2c72b Merge revision 1.81 changes from current (add share/sgml/docbook). 1997-02-07 02:32:33 +00:00
John Fieber cc43410934 Merge from current.
Approved by:	Jordan
1997-02-07 02:29:33 +00:00
Daniel O'Callaghan d925c163b6 Submitted by: Bruce Murphy <[email protected]>
Update man page to reflect '-a' audible flag.
1997-02-06 22:52:29 +00:00
Daniel O'Callaghan 5e149c858e Reviewed by: Gary Jennejohn
Submitted by:	Bruce Murphy <[email protected]>
Modified files:
	ping.c
Add the '-a' audible flag to ping, useful for debugging ethernets
without requiring the operator to jump up and look at the ping results
every 15 seconds.
1997-02-06 22:48:25 +00:00
cvs2svn 02dc1b38dc This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-02-06 17:52:31 +00:00
Mike Pritchard c374a1f622 YAMFC: s/mfs/mount_mfs/ in the NAME section. 1997-02-06 17:50:44 +00:00
KATO Takenori 9a8ecff9c0 YAMFC (deleted ioskip member; if_ed.c and if_ed98.h revisions 1.20 and
1.12, respectively).
1997-02-06 14:54:22 +00:00
KATO Takenori 4038ce187a YAMFC (revison 1.9; cosmetic change). 1997-02-06 14:13:17 +00:00
Mike Pritchard 7eceaf6714 YAMFC:
- Remove PATH_LOCALE references.
- Don't use hardcoded font changes.
- sort xrefs.
1997-02-06 13:38:34 +00:00
Brian Somers 13e681f359 Roll in info about ip_sum not being zero'd from -current. 1997-02-06 11:38:42 +00:00
Brian Somers e3a85c2378 Roll ip_sum mods into 2.2:
Don't zero ip->ip_sum during sum validation.  This should only
    affect programs that sit on top of divert(4) sockets.  The
    multicast routing code already unconditionally zeros the sum
    before recalculating.

    Any code that unconditionaly sums a packet without first zeroing
    the sum (assuming that it's already zero'd) will break.  No such
    code seems to exist.
1997-02-06 11:33:38 +00:00
Paul Traina df761b7872 Merge from -current 1997-02-06 08:32:55 +00:00
Mike Pritchard a8384ba264 YAMFC: From revs 1.7, and 1.8: fix the -t option, and
don't print strange stuff on Jan 1st.
1997-02-06 05:49:56 +00:00
Mike Pritchard 3ecb22a80b YAMFC: init group list on uid switch, drop privs on exec. 1997-02-06 05:44:32 +00:00
Bill Paul cb20b66654 Merge from -current: close PR# 2645. (Add forgotten curly braces.) 1997-02-06 05:31:10 +00:00
Mike Pritchard 2c96b9b24c YAMFC: From rev 1.3: add some xrefs. 1997-02-06 05:23:07 +00:00
Joerg Wunsch 59ed9f9a48 YAMFC (rev 1.20: fix -a handling upon receipt of SIGHUP) 1997-02-05 23:25:10 +00:00
Joerg Wunsch f708c3addf YAMFC (rev 1.15: comment update) 1997-02-05 23:22:13 +00:00
Joerg Wunsch 8cb12e4158 YAMFC (comment fixes, now that we no longer call getenv(), plus
the initialization fix from rev 1.8 of setrunelocale)
1997-02-05 23:20:54 +00:00
David Greenman 54c0930bf7 Brought in fix from rev 1.4: added missing ioport offset 1997-02-05 22:20:10 +00:00
KATO Takenori cd2621e849 YAMFC (move PC-98 code to pc98_machdep.c; pc98_machdep.c,
pc98_machdep.h, sd.c revisions 1.8, 1.5, 1.100, respectively).
1997-02-05 19:02:22 +00:00
KATO Takenori f7e6b011ab YAMFC (revision 1.2; encoding system). 1997-02-05 16:54:33 +00:00
Mike Pritchard b0596a4a03 YAMFC: sync up with -current. 1997-02-05 14:32:24 +00:00
Mike Pritchard ead16f740d YAMFC: From rev 1.13: don't force postscript output w/man -t. 1997-02-05 14:24:30 +00:00
Mike Pritchard 94b5898f8d YAMFC: From rev 1.8: s/ngen/count/ 1997-02-05 14:18:24 +00:00
KATO Takenori a22ab7531b YAMFC (number of I/O ports; if_ed.c and if_ed98.h revisions 1.19 and
1.11, respectively).
1997-02-05 13:27:22 +00:00
David Greenman 98abd65ab2 Brought in change from rev 1.14: nuke getenv(PATH_LOCALE) 1997-02-05 09:56:14 +00:00
Thomas Gellekum d471695aea Merge from rev 1.4: typos. 1997-02-05 07:39:50 +00:00
Peter Wemm eaa6f67a71 Update 8.8.4 -> 8.8.5 on 2.2 branch 1997-02-05 07:29:29 +00:00
Paul Traina 5e2ef6007b Merge man page (only) with -current 1997-02-05 06:02:38 +00:00
Paul Traina 589b31cbeb Merge with -current 1997-02-05 06:01:06 +00:00
Paul Traina eb148c60f5 Merge from head:
revision 1.48
    date: 1997/01/26 01:37:05;  author: pst;  state: Exp;  lines: +1 -1
    Don't use /tmp for afterdepend cleanup target
1997-02-05 05:09:13 +00:00
Jordan K. Hubbard b5a3c3e7fc Propagate "real filesystem" changes to 2.2. 1997-02-05 04:36:42 +00:00
Joerg Wunsch 2795d6e0e2 Resurrect the broken `doc' subdir, now that i've got access to a real
2.2 machine.
1997-02-05 00:37:28 +00:00
KATO Takenori 88c978ca37 YAMFC (revision 1.10; deleted struct pc98_device). 1997-02-04 22:32:31 +00:00
Joerg Wunsch 9cbc895934 Remove extraneous cruft we don't need anymore. This fixes the
compilation problems people have been seeing (which were caused by the
compilation picking up the old header files).

I've already wondered while doing the mega-merge why these files had
magically disappeared... of course, they weren't cvs rm'ed yet.
1997-02-04 22:26:53 +00:00
John Hay 1b4463c060 Merge the ntp changes from current. This is the latest code from David Mills
and is needed for the latest versions of xntpd.
1997-02-04 21:04:17 +00:00
David Greenman 23341251a4 Brough in changes from rev 1.28: changes to configuration options 1997-02-04 11:45:02 +00:00
David Greenman 3ff13177ef Brought in changes from main branch: do selective rather than full reset. 1997-02-04 10:54:00 +00:00
David Greenman 1cfaa777c5 Brought in fix from rev 1.26: don't count a short frame as an input error. 1997-02-04 07:41:01 +00:00
Thomas Gellekum b9f48c3707 Merge from rev. 1.10: typo. 1997-02-04 07:08:44 +00:00
Joerg Wunsch b7f68923a3 Fix my misplaced patch from yesterday... *blush* 1997-02-03 23:15:51 +00:00
Justin T. Gibbs 4d250fe326 AHC_FORCE_PIO hasn't existed for a while now. Remove it from here.
Memory mapped I/O is now a "positive" option AHC_ALLOW_MEMIO.
1997-02-03 22:53:24 +00:00
KATO Takenori 9bdc010363 YAMFC (revision 1.13; retry count and deleted extra DEALY). 1997-02-03 17:56:27 +00:00
Justin T. Gibbs 7edc5cfbbe Initialization of a variable got lost in the last commit when I moved
a piece of code into a subroutine.
1997-02-03 17:24:25 +00:00
Justin T. Gibbs bd0cb3611b Sync with -current. 1997-02-03 16:29:29 +00:00
KATO Takenori 6801fcf5ea Synchronize with sys/i386/isa{clock.c,if_fe.c} revisions 1.72.2.1 and
1.20.2.2, respectively.
1997-02-03 11:00:42 +00:00
Justin T. Gibbs 432cad44e2 Sync with current. 1997-02-03 02:18:18 +00:00
John Polstra d1c849bab3 Merge two bug fixes from main branch:
Use xmalloc instead of malloc:
        ld.c            1.38 -> 1.39
        support.c       1.2  -> 1.3

    Fix miscounting of N_INDR (alias) symbols:
        ld.c            1.39 -> 1.40
1997-02-03 00:50:35 +00:00
Joerg Wunsch 6ca99aea7a YAMFC (rev 1.76: don't default a failing device to T_DIRECT) 1997-02-02 20:58:31 +00:00
Joerg Wunsch 27386147e5 Mega-merge to bring over the new gdb (now from `contrib').
Note that the `doc' subdir is currently broken and disabled, but i
need to see all this on a true 2.2 machine before i can fix this, and
therefore need this commit first.
1997-02-02 20:50:26 +00:00
Joerg Wunsch ddb3f981e5 YAMFC (rev 1.30, fix a typo) 1997-02-02 19:14:08 +00:00
Joerg Wunsch 6b6d5f89f3 YAMFC (various timer fixes -- rev 1.30, 1.7, 1.7 resp.) 1997-02-02 19:06:21 +00:00
Joerg Wunsch 2bf15eb191 YAMFC (rev 1.19: avoid illegal tags in <TITLE>) 1997-02-02 18:58:52 +00:00
Joerg Wunsch 180023a2d7 YAMFC (rev 1.11: fix handling the name "msdos") 1997-02-02 18:57:22 +00:00
Joerg Wunsch 8f4f036260 YAMFC (revisions 1.4, 1.56, and 1.48, respectively) 1997-02-02 18:55:34 +00:00
Joerg Wunsch e8c76d4d79 YAMFC (rev 1.26: put newlines after log messages) 1997-02-02 18:52:09 +00:00
Joerg Wunsch 75fd7b88d9 YAMFC (rev 1.74: guard against unititialized timer etc.) 1997-02-02 18:50:13 +00:00
Joerg Wunsch 378fefac4f YAMFC (rev 1.11 & 1.12: identify AMD CPUs) 1997-02-02 18:47:05 +00:00
Joerg Wunsch a362408f6b YAMFC (rev 1.76 & 1.77, eliminate im and ei caps for VTxxx-style ttys) 1997-02-02 18:44:45 +00:00
Joerg Wunsch 87a161ec5d YAMFC: add the ex.4 man page. 1997-02-02 18:34:54 +00:00
Joerg Wunsch 4346598573 YAMFC (rev 1.5 Use collate in [a-z] ranges) 1997-02-02 18:30:54 +00:00
Joerg Wunsch 200f358489 YAMFC (rev 1.12) 1997-02-02 18:12:29 +00:00
Joerg Wunsch 6816d661e3 YAMFC (rev 1.72: add dtterm) 1997-02-02 18:11:01 +00:00
Masafumi Max NAKANE 44da356598 Merge from -current:
- Better handling of command-line arguments.
  - Drop the privilege right after the program execution so that it doesn't
    have problem with saving game in progress.

backgammon/main.c (Rev.1.5)
common_source/back.h (Rev.1.2)
              init.c (Rev.1.2)
              subs.c (Rev.1.6)
teachgammon/teach.c (Rev.1.5)
1997-02-02 13:18:45 +00:00
KATO Takenori a943dcb724 YAMFC (deleted i386_cpus[]). 1997-02-02 10:51:24 +00:00
KATO Takenori ef4608e82a Synchronize with sys/i386/isa/sio.c revision 1.147.2.7. 1997-02-02 08:10:39 +00:00
Mike Pritchard b5c00e6e60 YAMFC: From rev 1.8: update some path refs. 1997-02-02 01:01:50 +00:00
Joerg Wunsch 5693435cc2 YAMFC (rev 1.3: correct synopsis of PCI driver) 1997-02-01 19:56:04 +00:00
John Hay 29f9a22a0d Bring in v1.5 from -current which fix pr 2595. 1997-02-01 18:36:27 +00:00
Bruce Evans ce6f3eb6e4 YAMFC (everything except $FreeBSD$, i.e., ESP fixes from rev.1.157 and
SMC-fix fix and DCD timestamp fix from rev.1.158.  The SMC-fix fix
isn't really necessary here yet since DELAY() still subtracts 20).
1997-02-01 16:19:05 +00:00
KATO Takenori b3865af487 Synchronize with sys/i386/i386/locore.s revision 1.75.2.2. 1997-02-01 15:55:17 +00:00
David Greenman 6541c2e8da Merge changes from main branch: kill use of PG_N. It's confirmed that
this was the cause of the panics when using the Cyclades PCI card with
FreeBSD. (Yeah!)
1997-02-01 12:11:03 +00:00
John Polstra 94025afd98 Merge from main branch 1.4 -> 1.5: update list of mirror sites. 1997-02-01 05:43:41 +00:00
Jordan K. Hubbard f0b17814b2 Add 2.2 GAMMA site to FTP site list. 1997-02-01 03:03:02 +00:00
Jordan K. Hubbard 150ba25539 Merge this file too, from previous set of changes. 1997-02-01 02:49:50 +00:00
Jordan K. Hubbard f3f6dfe8d8 Merge helpfile changes from -current. 1997-02-01 01:32:23 +00:00
KATO Takenori e57bbcf3b6 YAMFC (KNFize). 1997-01-31 17:47:35 +00:00
KATO Takenori 8e6865783d Synchronize with sys/i386/conf/options.i386 revision 1.26.2.5. 1997-01-31 11:25:54 +00:00
Jordan K. Hubbard aeda4adfb0 Set branch to GAMMA 1997-01-31 09:09:25 +00:00
David Greenman 30eeff9b56 Brought in change from rev 1.26: extend disk units to 512. 1997-01-31 05:40:46 +00:00
John Dyson e324519f9c Move forward the inherit fix from copy on write segs from -current.
Submitted by:	Alan Cox <[email protected]>
1997-01-31 04:17:20 +00:00
Mike Pritchard 75218277dd YAMFC: From rev 1.2: add more arguments. 1997-01-31 02:26:24 +00:00
Mike Pritchard c4234a8c67 YAMFC: Correct Sydney's settlement date. 1997-01-31 02:25:08 +00:00
Mike Pritchard b57cf10195 YAMFC: From rev 1.5: fix a typo. 1997-01-31 00:16:15 +00:00
Mike Pritchard c37c596aa3 YAMFC: From rev 1.2: improve example. 1997-01-31 00:15:27 +00:00
Joerg Wunsch cfe71dcfa5 YAMFC (type mismatch, rev 1.43) 1997-01-30 22:49:29 +00:00
KATO Takenori 5a2eb6a516 Synchronize with sys/i386/isa/sio.c revision 1.147.2.6. 1997-01-30 12:00:59 +00:00
KATO Takenori ba994902a5 Synchronize with sys/i386/isa/npx.c revision 1.31.2.5. 1997-01-30 11:57:44 +00:00
Kazutaka YOKOTA 93876b521a Modified to include option headers. No functional change. 1997-01-30 11:42:02 +00:00
Kazutaka YOKOTA 36ed0fef31 Listed PSM_XXX and KBDIO_XXX options. 1997-01-30 11:38:57 +00:00
Satoshi Asami 2963eaba88 Merge 1.11 -> 1.12 and 1.13 -> 1.14 (rlim_t). The one missing revision
is (of course) $FreeBSD$.
1997-01-30 11:08:01 +00:00
Thomas Gellekum 974763d9b1 Merge from rev. 1.28: PRINTER -> PRINTERDEVICE. 1997-01-30 07:37:14 +00:00
Jordan K. Hubbard d470daecc3 Fix typo. 1997-01-30 06:36:56 +00:00
Jordan K. Hubbard 0812916a8c Sync with Justin's latest.
Requested-By: gibbs
1997-01-30 01:14:17 +00:00
Jordan K. Hubbard a30424396e Allow user to delete as well as install packages from the package
installer menu.

Fix status line code so informationals show up properly again.
1997-01-29 22:35:05 +00:00
Jordan K. Hubbard 50e199358e Merge. 1997-01-29 21:46:13 +00:00
Bruce Evans 54d4400365 Disabled resetting of fifos in siostop(). It wedges Hayes ESPs. 1997-01-29 21:41:02 +00:00
Jordan K. Hubbard c08597167b MFC. 1997-01-29 21:16:36 +00:00
Bruce Evans 5f6eb1011e YAMFC (removed `Debugger("sdopen: no slices")'). 1997-01-29 14:20:16 +00:00
Bruce Evans 33d8f81e70 YAMFC (disabled logging of masked exceptions on exit). 1997-01-29 13:47:29 +00:00
Adam David f96090af37 sync with -current
(pick up some debris)
1997-01-29 13:25:26 +00:00
Adam David 7336d9e0b5 merge improvements from -current
("not" keyword)
1997-01-29 13:15:43 +00:00
KATO Takenori 28d18b3fe2 YAMFC (reset port address of PC-9801-108). 1997-01-29 12:49:29 +00:00
Jordan K. Hubbard 5c16f4c852 Merge 1.97 FC. 1997-01-29 03:30:46 +00:00
Jordan K. Hubbard 0c95cba4f1 Merge 1.43 FC. 1997-01-29 01:23:22 +00:00
Jordan K. Hubbard 9a83ffce5e Sync with -current. 1997-01-29 01:11:29 +00:00
Poul-Henning Kamp 59f767f587 YAMFC (8K buffer instead of 4K) 1997-01-28 11:28:36 +00:00
Poul-Henning Kamp 0246071dc0 YAMFC (if_vx is always in promiscous mode) 1997-01-28 11:22:25 +00:00
David Greenman 42165f24a1 Brought in fixes from 1.30/1.31: fix for signal handler race condition 1997-01-28 07:15:44 +00:00
Mike Pritchard 05ec449cf0 YAMFC: From rev 1.6: update man page to reflect current
state of fstab.h.
1997-01-28 06:17:31 +00:00
Mike Pritchard d08a245552 YAMFC: from rev 1.2: fix the comment on fs_passno. 1997-01-28 06:15:55 +00:00
Mike Pritchard 8a4586b4f7 YAMFC: from rev 1.6: add some additional xrefs. 1997-01-28 05:44:09 +00:00
Mike Pritchard 48efa2070b YAMFC:
From rev 1.5 of mkfifio.2 and rev 1.4 of mknod.2:

Add some additional xrefs.
1997-01-28 05:43:20 +00:00
Joerg Wunsch e0dde95954 YAMFC (local copy of fromname from rev. 1.11) 1997-01-27 15:39:28 +00:00
Poul-Henning Kamp 0d434c76d3 YAMFC (netatalk entries) 1997-01-26 09:21:39 +00:00
Mike Pritchard 4b20a12169 YAMFC: from rev 1.6: re-document the "-v" option. 1997-01-26 07:48:21 +00:00
Mike Pritchard 9ce30cea88 YAMFC: From rev 1.5: fix some grammar. 1997-01-26 05:51:55 +00:00
Mike Pritchard 953e4e95fd YAMFC: add a couple of missing errno's. 1997-01-26 03:57:11 +00:00
John Dyson 07806cbe19 Move a missing object (panic fix) in vmspace_fork from -current
into 2.2.
1997-01-26 03:14:59 +00:00
Mike Pritchard 7716bdd089 YAMFC:
From rev 1.7: typo fix
From rev 1.5: sort xrefs
1997-01-26 02:35:15 +00:00
Mike Pritchard aea254eca8 YAMFC:
Install the new de.4, fxp.4, ix.4, le.4, lnc.4, ze.4 and zp.4 man
pages.  They have all been tagged onto the RELENG_2_2 branch.
1997-01-25 20:51:30 +00:00
KATO Takenori c0baec9032 YAMFC (revision 1.11; default IORT). 1997-01-25 10:43:18 +00:00
Warner Losh f4ddc6009c Apply patch from pr2536, after testing locally.
Fixes: PR2446 and PR2536

Submitted by: Flemming Jacobsen <[email protected]>
1997-01-25 05:28:20 +00:00
John Dyson e1b2d1f0b8 Move i386 support.s fixes into the 2.2 branch. 1997-01-25 03:23:09 +00:00
Satoshi Asami 2c212bcf3c Merge from 1.249 minus $FreeBSD$ changes. 1997-01-25 02:52:10 +00:00
Satoshi Asami 95459e3032 Merge from 1.5: explain interleave and mirroring. 1997-01-25 02:13:02 +00:00
Stefan Eßer d29f638121 Merge in 1.62 -> 1.63 from main branch. 1997-01-25 02:02:40 +00:00
Jordan K. Hubbard 609f1afc83 Merge slicing naming changes from -current. 1997-01-24 21:08:30 +00:00
Jordan K. Hubbard af0719316a Merge the last 3 days worth of hackery from -current. This will also require
a merge of libdisk (coming next).
1997-01-24 21:06:06 +00:00
Stefan Eßer 349a45442f Merge in diff from 1.61 to 1.62 from -current: Make pci_map_int() reject
a request to use IRQ 0 for a PCI card interrupt. The PCI standard requires
255 to be put into the INTERRUPT LINE register if no IRQ has been routed to
some PCI device, but a value of 0 is used by many PCI BIOS implementations.

This patch fixes a panic for a system with an on-board AMD SCSI chip, that
was disabled in the BIOS setup, but got attached with IRQ 0 by the previous
code.
1997-01-23 23:28:14 +00:00
Jordan K. Hubbard 22a63264ba Merge fixes for mondo-brokenness from -current (my face is red). 1997-01-22 00:29:00 +00:00
David Nugent 5ec8eddb49 Merge from current: copy proc resource before modification. 1997-01-21 16:40:21 +00:00
KATO Takenori 394e4817a9 Synchronize with sys/i386/isa/syscons.h revision 1.23.2.2. 1997-01-21 08:11:20 +00:00
KATO Takenori f4dd6e9335 Synchronize with sys/i386/isa/syscons.c revision 1.182.2.10. 1997-01-21 07:24:37 +00:00
Søren Schmidt 7150fcec2a Update usage of load_palette to mach reality... 1997-01-20 19:59:47 +00:00
Søren Schmidt 37f318c694 Oops dont define SC_SPLASH_SCREEN as default :( 1997-01-20 19:59:31 +00:00
John Polstra 561a4a3115 Merge bug fix from main branch 1.43 -> 1.44: If a library is found
in the hints file, but the library doesn't exist, ignore the hint.
1997-01-20 19:37:13 +00:00
KATO Takenori 13fa038b31 Synchronize with sys/i386/i386/machdep.c revision 1.209.2.8. 1997-01-20 18:30:45 +00:00
Jordan K. Hubbard bd56e1cac2 Merge David O'Brien's changes from -current. 1997-01-20 16:15:30 +00:00
Jordan K. Hubbard 5ed4d4ff27 Merge fix for +DISPLAY files. 1997-01-20 15:42:57 +00:00
Mike Smith bacd92f6bd Fix prototype for load_palette to match reality. Tsk. 1997-01-20 12:44:10 +00:00
KATO Takenori a18e956177 Synchronize with sys/i386/isa/syscons.c revision 1.182.2.8. 1997-01-20 12:39:07 +00:00
Søren Schmidt 542f144a0b Fix the bug that caused CTRL & ALT keys to be hanging sometimes after
an X seesion. Really stupid error of me, and I've been looking at
this code SO many times. Thanks to Kazutaka YOKOTA for seeing this..

Submitted by: Kazutaka YOKOTA
1997-01-20 08:14:33 +00:00
Søren Schmidt 8984b3eb9f Modified moused to use select rather than read. This fixes using
the PS/2 mouse (psm device).
Submitted by:   Kazutaka YOKOTA <[email protected]>
1997-01-20 08:12:07 +00:00
Bill Paul 82948804fa Bring in fix from -current (remember to set index pointer). 1997-01-20 03:34:55 +00:00
Søren Schmidt 4d68f8cff8 Oops the position of the savefont code was wrong, cur_console
wasn't set yet..
1997-01-19 17:32:51 +00:00
Jordan K. Hubbard 159634069a Whups! Eliminate one small change which shouldn't have been merged. 1997-01-19 10:59:06 +00:00
Jordan K. Hubbard d024529317 Merge 1.159 and 1.31 (respectively). 1997-01-19 10:27:58 +00:00
Jordan K. Hubbard 5b8ca72619 Syncronize with -current; too many merge lines to really put here. 1997-01-19 09:59:43 +00:00
KATO Takenori 62eb84fb2b YAMFC (staticize PC98 functions). 1997-01-18 16:16:52 +00:00
KATO Takenori dc5712fbc2 YAMFC (device_info[]; revision 1.26). 1997-01-18 16:01:38 +00:00
Paul Traina 578a8776c7 Fix buffer overrun problem. 1997-01-18 08:35:17 +00:00
Joerg Wunsch 61dfdc30ed Bump the escapetime here, too. 1997-01-17 23:12:33 +00:00
Joerg Wunsch cd39ec838a YAMFC (rev 1.11: Matsushita 634 MB PhaseChange Drive) 1997-01-17 23:07:31 +00:00
David Greenman 2cb0b70080 Brought in fixes from current: fix for network/map entry alloc panic. 1997-01-17 19:28:39 +00:00
Joerg Wunsch 606b584c67 YAMFC (page 0x10 from rev 1.5) 1997-01-17 18:57:12 +00:00
Joerg Wunsch cd989fcb86 YAMFC (off-by-one error from rev 1.4) 1997-01-17 18:56:47 +00:00
KATO Takenori 953048e352 YAMFC (fix unit select; revision 1.16). 1997-01-17 17:02:33 +00:00
KATO Takenori a7dff83e9a YAMFC (LPC_ENA in lpt driver related change). 1997-01-17 14:56:54 +00:00
Jordan K. Hubbard 9aef5b5c3c Merge:
1.53      +3 -1      src/release/sysinstall/Makefile
  1.36      +1 -2      src/release/sysinstall/main.c
1997-01-17 10:59:22 +00:00
Jordan K. Hubbard 6af2152dde Merge last 3 days worth of -current changes. 1997-01-17 08:53:50 +00:00
Jordan K. Hubbard 943b5ee50a Merge:
1.32      +50 -40    src/gnu/lib/libdialog/checklist.c
  1.9       +4 -0      src/gnu/lib/libdialog/dialog.priv.h
  1.30      +74 -65    src/gnu/lib/libdialog/menubox.c
  1.34      +61 -52    src/gnu/lib/libdialog/radiolist.c

From -current [do people like that format better?]
1997-01-17 08:28:42 +00:00
KATO Takenori 5b8cb7bb4c YAMFC (ds_subtype and ds_name fix in revision 1.7). 1997-01-16 08:31:47 +00:00
Jordan K. Hubbard 38fce2654f Merge serial device selection fix, better FTP error handling, etc. from
-current
1997-01-16 01:19:27 +00:00
Jordan K. Hubbard 7dd33c60bc Merge r1.41 from -current 1997-01-15 15:32:26 +00:00
Jordan K. Hubbard 634237a465 Merge fixes to upgrade and ppp/slip registration. 1997-01-15 13:46:16 +00:00
Søren Schmidt db156c4427 Oops upgrade the docs in the 2.2 branch
Reviewed by:
Submitted by:
Obtained from:
1997-01-15 12:13:39 +00:00
Søren Schmidt 73d3688442 Latest fixes for the psm mouse device, also updates the docs
to reflect the new options etc..

Submitted by:	Kazutaka YOKOTA <[email protected]>
1997-01-15 12:04:11 +00:00
Jordan K. Hubbard 4c5d22195d Merge signal handler bug. 1997-01-15 08:01:32 +00:00
Jordan K. Hubbard b9e6b2024a Get a head start on GAMMA 1997-01-15 07:44:50 +00:00
Jordan K. Hubbard 4b9e037d02 Merge this up-to-date. 1997-01-15 07:31:24 +00:00
KATO Takenori 13b4fb51ba Undo dirty fix for the overfolw of wdp_cylinder, becasue wdreg.h
revision 1.15, was merged.
1997-01-15 05:39:12 +00:00
Jordan K. Hubbard ab1d6ce62a Merge the current state of sysinstall into 2.2. 1997-01-15 04:50:23 +00:00
Mike Pritchard 7062700ba4 YAMFC: From rev 1.11: document the "more" command. 1997-01-15 04:47:23 +00:00
Jordan K. Hubbard 71aa8f61b0 Merge emacs command support from -current 1997-01-15 04:33:27 +00:00
Bruce Evans 695756726e YAMFC (fixed type of wdp_cylinders, etc.). 1997-01-14 17:32:07 +00:00
Nate Williams 116a3e078e Bring in the apm & pccard devices into 2.2. 1997-01-14 17:19:38 +00:00
Bruce Evans 99144cad40 YAMFC (made this work again). 1997-01-14 16:54:20 +00:00
Bruce Evans 88ae6de546 YAMFC (everything from rev.1.17). 1997-01-14 16:43:51 +00:00
Bruce Evans 58efa27338 YAMFC (fixed context switching of FPU state after a fault in
i586_optimized_copyin/out).

i586_optimized_copyin/out is still disabled in 2.2.

Not a full merge - $FreeBSD$ gets in the way now.
1997-01-14 16:17:21 +00:00
Bruce Evans 5eb0eb940e YAMFC (fixed misapplied patch in rev.1.3 (not in rev.1.2 like the HEAD
log says)).
1997-01-14 10:35:10 +00:00
Bill Paul 844f16e692 Sync ypserv with current. This brings in the async resolver support,
which is needed to help prevent ypserv from blocking due to repeated
DNS lookup requests. (Sendmail seems to be a source of lots of these;
if you mail to an domain who's nameserver is dead or unreachable, lots of
child ypservs can accumulate while waiting for the timeout. This is
no longer a problem with the async resolver.)

Tested and suggested by: Peter Wemm
1997-01-14 01:33:57 +00:00
Bill Paul 8d84153a09 change yp_errno to enum ypstat (another merge from -current) 1997-01-14 01:27:41 +00:00
Bill Paul 697b58ad00 Bring in __dns_getanswer() wrapper from -current. 1997-01-14 01:26:38 +00:00
David Nugent 11a58db513 This is a partial close on PR bin/1387 for the RELENG2_2 branch.
Skip invalid lines in /etc/group rather than bailing out and
losing all remaining groups in the file after the error.
syslog message at LOG_ALERT issued (this may get a little
verbose, unfortunately, but I can't see any way of avoiding
that).
1997-01-13 17:52:14 +00:00
Poul-Henning Kamp e07d8383ef YAMFC (fix BB profiling) 1997-01-13 12:16:21 +00:00
Satoshi Asami aec050dd2a Merge from 1.16: skip non-existent SUBDIRs. 1997-01-13 02:15:40 +00:00
Joerg Wunsch 3140a58b50 YAMFC (The ``Logical unit is in the process of becoming ready''
fix from rev 1.40)
1997-01-12 22:09:53 +00:00
Joerg Wunsch b0cf53ede5 YAMFC (rev 1.75) 1997-01-12 22:08:57 +00:00
Joerg Wunsch ab5eb680ec YAMFC (add libgmp.so.2.0) 1997-01-12 22:08:03 +00:00
Joerg Wunsch c7f3ae3b92 YAMFC (don't log twice to wtmp file) 1997-01-12 22:06:13 +00:00
Joerg Wunsch eec2bf7d68 YAMFC (various corrections up to rev 1.6) 1997-01-12 22:04:52 +00:00
Joerg Wunsch b9ab266923 YAMFC (buffer overflow fixes) 1997-01-12 22:02:49 +00:00
Joerg Wunsch c263d83522 YAMFC (workaround for fg pipelines failing on tcsetpgrp) 1997-01-12 21:58:49 +00:00
Joerg Wunsch d82f9fa210 YAMFC (buffer overrun fixes, don't check for username starting with
a dash)
1997-01-12 21:56:36 +00:00
Joerg Wunsch 979943e28c YAMFC (fix some fd leaks) 1997-01-12 21:54:32 +00:00
Joerg Wunsch e68599c201 YAMFC (various buffer overflow condx, imp's commit from 97/01/09 23:53:31) 1997-01-12 21:52:50 +00:00
Joerg Wunsch 3e3413d2cb YAMFC (rev 1.20) 1997-01-12 21:44:54 +00:00
Joerg Wunsch 6a5706b5ab YAMFC (rev 1.4 of swap.c) 1997-01-12 19:39:21 +00:00
Satoshi Asami 7ccbdf2b62 Merge in rev. 1.245 and 1.246. 1997-01-12 12:40:51 +00:00
Mike Pritchard b1f8852f84 YAMFC: add missing RETURN VALUES/ERRORS sections 1997-01-12 00:39:28 +00:00
Mike Pritchard c7fd256104 YAMFC: DIAGNOSTICS -> RETURN VALUES 1997-01-12 00:09:35 +00:00
Mike Pritchard 25e2834400 YAMFC:
Remove error definitions about path arguments having
the high-order bit set.
1997-01-12 00:00:45 +00:00
Mike Pritchard 7257d9ea3b YAMFC:
Minor mdoc cleanup and add missing RETURN VALUES/ERRORS sections.
1997-01-11 23:34:47 +00:00
Mike Pritchard d1ddff807e YAMFC: From rev 1.6: remove the comment about file
names having to be 7 bit clean.
1997-01-11 22:32:26 +00:00
Mike Pritchard 7047728be3 YAMFC: bring the stat(2) manpage into line with what
is actually in stat.h.
1997-01-11 21:46:43 +00:00
Mike Pritchard e780e210db YAMFC: add a note to the -l option about configuring syslog. 1997-01-11 20:20:08 +00:00
Mike Pritchard 8f0398b23f YAMFC: add some xrefs. 1997-01-11 20:01:47 +00:00
Satoshi Asami ddf26eb51e Merge 1.244 - "!(" -> "! (". 1997-01-11 11:33:49 +00:00
KATO Takenori 0aa9d5efd8 YAMFC (rev. 1.9; fix typo). 1997-01-11 09:03:39 +00:00
KATO Takenori 47b1da8f2c YAMFC (rev. 1.8; initialize routine of Cyrix 5x86). 1997-01-11 07:34:22 +00:00
Poul-Henning Kamp 67ef4dfb9a YAMFC (aha1 doesn't work) 1997-01-10 09:08:46 +00:00
KATO Takenori c2665e8ab1 Very dirty fix for the overflow of the number of cylinders problem.
This fix use casts to the wdp_cylinder ralated variables, because
wdreg.h has not yet been merged.

I will remove those casts, when wdreg.h, revision 1.15, is merged from
current.

Reviewed by:	H. Nokubi <[email protected]>
            	Akinobu Tanaka <[email protected]>
1997-01-10 09:04:00 +00:00
Nate Williams 1e7cf1d995 The 2.2-Beta version doesn't have the brackets after the if statement.
This has the effect of making every link a "passthrough" which means the
TCP or UDP port won't be freed after link deletion -- so there could be
eventual port exhaustion if the program were allowed to operate long
enough.

Submitted by:	Charles Mott <[email protected]>
1997-01-10 08:32:05 +00:00
KATO Takenori 95e773d574 YAMFC (revision 1.8; fix ft driver panics). 1997-01-10 06:54:36 +00:00
Mike Pritchard 6064ff51d3 YAMFC: add a man page for mixer(8).
The new file mixer.8 was tagged onto the RELENG_2_2 branch.
1997-01-10 06:34:46 +00:00
Mike Pritchard 46cdecc8f3 YAMFC: install the linux(8) man page.
The new man page was tagged onto the RELENG_2_2 branch.
1997-01-10 05:54:36 +00:00
Mike Pritchard 6607514e50 YAMFC: fix some spelling errors. 1997-01-10 05:30:42 +00:00
Mike Pritchard 9845480ec7 YAMFC: From rev 1.8: xref cd(1). 1997-01-10 05:07:47 +00:00
John Dyson 8c503437a8 Fix CCD for bounced devices. 1997-01-10 04:09:13 +00:00
John Polstra 89ebd1bc49 Sync with main branch: return sysexits(3) status codes on failure. 1997-01-09 20:01:47 +00:00
Poul-Henning Kamp ada021190f YAMFC (i386/2427: 2.2-BETA ft driver panics when there're no floppy drives) 1997-01-09 12:51:33 +00:00
Mike Pritchard 77cfd388b2 YAMFC:
From rev 1.7: make the man page agree with the command output.

Closes PR# 646.
1997-01-09 06:50:34 +00:00
Mike Pritchard 29b303100b YAMFC:
From rev 1.10: EAGAIN, not EACESS is returned when F_SETLK
collides with an existing lock.
1997-01-09 05:31:08 +00:00
Alexander Langer 695d72618d YAMFC (typo fix from rev 1.55). 1997-01-09 02:42:45 +00:00
John Polstra 1fa5aafa53 Bring in "lockf" from the main branch.
Approved by:	joerg, phk
1997-01-08 23:35:09 +00:00
cvs2svn e60a1ae5dd This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-01-08 20:13:00 +00:00
Joerg Wunsch 844e36350c YAMFC (rev 1.8) 1997-01-08 12:03:59 +00:00
Joerg Wunsch 6c389d217d YAMFC (round offset down to page boundary, and fix an uninitialized
variable).
1997-01-08 12:03:20 +00:00
Mike Pritchard d9ec28f982 YAMFC:
A collection of spelling fixes and minor grammar corrections.
1997-01-08 07:18:28 +00:00
Mike Pritchard bb40138019 YAMFC:
From rev 1.2: Correct some misleading text.
1997-01-08 07:13:29 +00:00
Mike Pritchard 34bf612540 YAMFC:
Fix some typos and remove some duplicate fortunes.
1997-01-08 07:08:05 +00:00
Mike Pritchard ce09c14eb9 YAMFC
Fix some formatting problems.
1997-01-08 06:43:36 +00:00
Mike Pritchard 5d8c96c6c3 YAMFC:
From rev 1.3: Fix a couple of typos.
1997-01-08 06:38:49 +00:00
Peter Wemm 87d4c57515 Fix double typo that breaks the build 1997-01-08 03:02:09 +00:00
Warner Losh ee81c82fec Fix many buffer overflows, correct usage of strcat and implement
$TAPE.  Inspired by OpenBSD's work in this area.

Reviewed by:	Peter Wemm, Guido van Rooij and Jordan Hubbard.
Obtained from: OpenBSD
1997-01-07 20:48:24 +00:00
Satoshi Asami 8f5ce86a9d Merge from 1.10: -C error message fix. 1997-01-07 10:46:31 +00:00
Satoshi Asami 78f34660c1 Regenerate these from tcl_bmake/mkMakefile.sh so expect and friends
compile again.  (Sort of a YAMFC, I guess.)
1997-01-07 06:22:36 +00:00
Bill Paul a7a5e2ff03 Bring in fix for 'panic: sillyrename dir' crash from -current. (Don't
sillyrename directories in nfs_rename().)
1997-01-07 06:18:27 +00:00
Stefan Eßer 14c2e8fb7b Merge in 1.93 from main branch: Fix typo ...
Submitted by:	sos
1997-01-06 21:12:40 +00:00
Stefan Eßer 741a5baf4d Fix NetBSD pr kern/3067, which also applies to FreeBSD:
NCR driver dies when "xmcd" accesses the CD-ROM drive

Restrict cacheing of INQUIRY results to LUN 0.

Thanks to Dave Huang <[email protected]> for reporting the problem
and suggesting a fix, though I chose a slightly different one.
1997-01-05 23:10:23 +00:00
Nate Williams 7eddd59e83 BIOSETIF -> BIOCSETIF. 1997-01-05 22:17:18 +00:00
Joerg Wunsch 469644f0bf Add a few notes of a warning regarding SCB paging on the `ahc' driver,
and use of tagged command queuing in general.  Too many people get
hosed by this.

By now, only done in the release candidate.  Matters in -current are
more of a moving target.

Closes (basically) PR # kern/2371: SCSI disk corruption
1997-01-05 16:13:44 +00:00
KATO Takenori 6306d1dc2f Merge from current (Undo RCS keyword change). 1997-01-05 07:25:14 +00:00
Nate Williams b9e8885465 Bring in pointer validation fix from -current. 1997-01-05 06:34:11 +00:00
KATO Takenori 769e8242e4 Merge from current, revision 1.11 (declaration of the rtc_outb). 1997-01-05 05:12:06 +00:00
David Nugent 657f308675 Merge from -current (fix dup #include). 1997-01-05 04:55:32 +00:00
David Nugent 18ab2258f2 Merge typo fix from -current. 1997-01-05 04:06:43 +00:00
KATO Takenori 496830aff2 Merge from current rev. 1.10 (disable i586_optimized_copyin/out). 1997-01-05 02:49:13 +00:00
KATO Takenori 3be071ece6 YAMFC (from rev. 1.14: fix collapse code). 1997-01-04 20:18:34 +00:00
KATO Takenori 857ec2877f Change $NetBSD$ into $Id$. 1997-01-04 19:53:44 +00:00
KATO Takenori b6362673fd Merge from elink.h revision 1.2 and if_ep.c revision 1.55 (3COM 3C569
support on PC98).
1997-01-04 19:04:58 +00:00
KATO Takenori bc01087993 The reference to b_cylin was removed in revision 1.11.2.3. Undo. 1997-01-04 18:42:46 +00:00
KATO Takenori fefe0bb8a5 Merge from revision 1.2 (fix cursor address calculation). 1997-01-04 18:05:35 +00:00
KATO Takenori ccbc5de87d YAMFC (use breakpoint instead of Debugger). 1997-01-04 17:05:45 +00:00
KATO Takenori c695660a97 YAMFC (fix typo). 1997-01-04 17:03:55 +00:00
KATO Takenori 9a1148eda0 YAMFC (staticize). 1997-01-04 17:02:27 +00:00
KATO Takenori f3b8430a6c YAMFC (fix IMR in isa_defaultirq). 1997-01-04 17:01:01 +00:00
KATO Takenori 56d12bc8e0 YAMFC (test in mseopen). 1997-01-04 16:59:17 +00:00
KATO Takenori 1a5ffb430b YAMFC (correct include file). 1997-01-04 16:58:31 +00:00
KATO Takenori cd300f685d YAMFC (fix I/O port table). 1997-01-04 16:52:36 +00:00
KATO Takenori 9a448be597 YAMFC (fix uninitialized block of memory). 1997-01-04 16:50:53 +00:00
KATO Takenori 59e6adf4a8 YAMFC (C-NET(98) support). 1997-01-04 16:48:26 +00:00
KATO Takenori 3f6d6d8487 YAMFC (cosmetic change). 1997-01-04 16:32:38 +00:00
KATO Takenori c91d3fedc2 YAMFC (from rev. 1.19). 1997-01-04 16:31:24 +00:00
KATO Takenori 7b874305ea YAMFC (up to rev. 1.14). 1997-01-04 16:29:37 +00:00
KATO Takenori 11f809b1ee YAMFC (clean up). 1997-01-04 16:19:16 +00:00
KATO Takenori ef7557a989 YAMFC. 1997-01-04 16:16:06 +00:00
Poul-Henning Kamp fffd976e09 YAMFC (keep dmesg.boot in /var/run) 1997-01-03 08:18:58 +00:00
Jordan K. Hubbard 5dda5c003d Merge r1.17 from current 1997-01-03 07:24:16 +00:00
Jordan K. Hubbard 21089c9020 Merge. 1997-01-03 06:41:51 +00:00
Jordan K. Hubbard a4dcbe5762 Merge all the -current changes in /usr/src/release. 1997-01-03 06:38:42 +00:00
David Nugent 1e6ba99b30 Brings /usr symlink kludge into 2.2 branch. 1997-01-03 06:33:15 +00:00
Mike Pritchard f1825b4272 YAMFC:
From rev 1.2: correct short description of the function
1997-01-02 20:18:13 +00:00
Mike Pritchard 84840809b7 YAMFC:
Change the description for section 4 man pages.
1997-01-02 20:03:17 +00:00
Mike Pritchard 2951b6480c YAMFC: various minor man page cleanups 1997-01-02 17:48:16 +00:00
Mike Pritchard e638b2b555 YAMFC:
From rev 1.3: Grammatical changes.
1997-01-02 16:45:32 +00:00
cvs2svn 848077bb79 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1997-01-02 10:14:19 +00:00
John Dyson 49a79574c8 By mistake (my omission) did not include Alan Cox for previous contributions.
This is now remedied for 2.2-RELEASE also.
1997-01-02 04:27:59 +00:00
Stefan Eßer b03fd3ad93 Merge from -current: Copy LDT on fork, if necessary.
Approved by: jkh
1997-01-02 02:21:09 +00:00
Stefan Eßer 4f1edbefe8 Merge from -current: Add Intel VX chip set. 1997-01-02 01:26:18 +00:00
Warner Losh 04f88c6864 Merge into 2.2, per jordan.
Various security related deltas from OpenBSD

dirs.c:
	From OpenBSD 1.2, 1.3, 1.5, 1.8, 1.10, 1.11, 1.12
	1.2:
		use unique temporary files; netbsd pr#2544;
		[email protected]
	1.3:
		updated patch from [email protected]
		to also make -r and -R work again
	1.5:
		mktemp open & fdopen
	1.8:
		/tmp// -> /tmp/
	1.10:
		Fix strncpy usage and correct strncat length field,
		from Theo.  Also change some occurrence of MAXPATHLEN
		with sizeof(foo).
	1.11:
		does noone know how to use strncat correctly?
	1.12:
		use mkstemp()
	From NetBSD:
		Use open rather than create so we can specify
		exclusive open mode.

main.c:
	From OpenBSD 1.2, 1.5
	1.2:
		From NetBSD: support $TAPE.
	1.5
		Set umask to be read only by owner until we set real
		file permissions.
tape.c:
	From NetBSD:
		Use open rather than create so we can specify
		exclusive open mode.
1997-01-01 00:05:22 +00:00
Mike Pritchard 98879271af YAMFC:
Sort xrefs.
1996-12-31 22:58:00 +00:00
Mike Pritchard dcad4baeb2 YAMFC:
sort xrefs
1996-12-31 22:50:44 +00:00
Mike Pritchard 0d4f1e61ad YAMFC:
- sort xrefs
- add i386 to .Dt macro
- mdoc police
1996-12-31 22:44:49 +00:00
Mike Pritchard 5a025b743a YAMFC:
Give each manual section a unique name.
1996-12-31 22:34:15 +00:00
Bill Paul 806f378fa2 Merge in rest of YP buffer/NUL termination fixes. 1996-12-31 17:42:32 +00:00
Bill Paul 85921a688f Bring in YP buffer size/NUL termination fixes from -current. 1996-12-31 16:22:35 +00:00
Satoshi Asami 7fe6940156 Merge from 1.22. 1996-12-31 14:02:05 +00:00
Mike Smith bc552e377a YAMFC (add 'de' capability)
Approved-by:	jkh
1996-12-31 05:50:28 +00:00
Joerg Wunsch 1ae18b6ed0 YAMFC (rev 1.22: fix a NULL dereference) 1996-12-30 21:18:32 +00:00
Mike Pritchard f14e86f4e2 YAMFC:
Install the new login*.3 man pages and pty.3.
mdoc changes to setproctitle.3.

The new man pages were tagged onto the RELENG_2_2.
branch.
1996-12-30 21:15:45 +00:00
Joerg Wunsch 9323e8f562 YAMFC (rev 1.130: make all the gsc devs) 1996-12-30 20:52:22 +00:00
Joerg Wunsch 7c6605ed8b YAMFC (rev 1.23, fix a NULL dereference) 1996-12-30 20:46:19 +00:00
Peter Wemm bb641fdbaa Provide weak references to functions that will replace certain names in
the 4.9.4-P1 resolver that we have in libc as of 2.2 and current 3.0.

When 4.9.5-P1 is imported, certain well known functions will "go away"
and be replaced by functions under new names.. which just happen to be
what these weak references point to.

The result should be that while 2.2 and 3.0 keep using libc.so.3.0, they
should be binary compatable even though they have a different version of
the resolver in their libc's.  Of course, if the new resolver makes it into
2.2-RELEASE (which it probably should if it's stable), then this is
irrelevant. :-)
1996-12-30 12:35:20 +00:00
David Nugent f6324c7720 Merge hyphen fix and base homedir creation from -current. 1996-12-30 12:06:23 +00:00
Jordan K. Hubbard 4075bea7ed Merge ^Q fix from current. 1996-12-30 09:06:10 +00:00
Poul-Henning Kamp ef00de5be9 YAMFC (document MD5 option) 1996-12-30 08:20:26 +00:00
Poul-Henning Kamp 6a38ef7676 YAMFC (Make md5 available in kernel.) 1996-12-30 08:18:18 +00:00
Poul-Henning Kamp c15e202a5b YAMFC (md5 is now available in the kernel too) 1996-12-30 08:16:09 +00:00
Alexander Langer 0fdb40467e Bring in thread locking fix from rev 1.19.
Approved by:	jkh
1996-12-30 01:35:15 +00:00
Bruce Evans e254454834 YAMFC (fixed keeping track of interrupt nesting level across ASTs). 1996-12-29 22:06:49 +00:00
Joerg Wunsch 70257027f1 YAMFC (staticize from rev 1.12) 1996-12-29 11:05:57 +00:00
Joerg Wunsch 490c6897ca YAMFC (revert to trailing space abbrevs) 1996-12-29 11:04:35 +00:00
Joerg Wunsch e0ceff1ee9 YAMFC (use strcoll() instead of strcmp()) 1996-12-29 11:02:19 +00:00
Joerg Wunsch 8295b2b6a6 YAMFC (rev 1.11, 1.7, and 1.13 resp.) 1996-12-29 11:01:36 +00:00
Joerg Wunsch 84f5c83a10 YAMFC (rev 1.17: turn off debug) 1996-12-29 10:56:49 +00:00
David Greenman fba82b9e7a Brought in change from rev 1.8: delete bogus inconsistency check. 1996-12-29 09:23:37 +00:00
Mike Pritchard 9528d56cf3 YAMFC:
From rev 1.9: add examples for mount_mfs
From rev 1.8: Update default values, misc cleanup
1996-12-28 23:54:14 +00:00
Mike Pritchard 719eb902bd YAMFC:
From rev 1.6: Note that sysconf isn't completely POSIX conforming.
1996-12-28 23:47:37 +00:00
Mike Pritchard 06979aa7b7 YMAFC:
Teach mdoc about section 9 and i386 man pages
Teach the FreeBSD (.Fx) macro about 2.1.6 and 3.0.
1996-12-28 22:53:35 +00:00
Bruce Evans 510c2423d2 Disabled i586-optimized copyin and copyout again. The fault handler
is still broken - it doesn't restore the floating point state.

2.2-BETA users should disable it using npx0 flags 0x04 the same as
2.2-ALPHA users should have.
1996-12-28 12:19:25 +00:00
Warner Losh f216293217 Merge Marc Slemko's overflow patches from -current.
Approved by:	[email protected]
1996-12-27 05:52:11 +00:00
John Polstra 5829140eff Sync with main branch: add src-release and src-tools collections. 1996-12-27 04:09:59 +00:00
Mike Pritchard 7635785c65 YAMFC:
Bring in various man page cleanups.
1996-12-26 22:54:52 +00:00
Joerg Wunsch 5a00ef4e01 Sync documentation with HEAD (rev 1.15 and rev 1.29, resp.) 1996-12-26 21:31:42 +00:00
Joerg Wunsch 08cfa6778d YAMFC (rev 1.15) 1996-12-26 18:54:46 +00:00
Joerg Wunsch 267f2ccd8a YAMFC (rev 1.10 for Makefile, with en_US.ISO_8859-1.src being tagged
into 2.2 behind the scene)
1996-12-26 18:52:45 +00:00
Joerg Wunsch 271c7565fa Remove a bogus free() to a variable that was alloca'ed.
Mmmmaybe closes PR # misc/2281: sysinstall panics...
1996-12-26 18:46:13 +00:00
Joerg Wunsch 7dcc9e9d95 Merge the patch from -current to enable the `eisa' keyword in the CLI
UserConfig.  I've unfortunately missed this one before the BETA. :-(
1996-12-26 18:44:35 +00:00
Joerg Wunsch 56bde78c23 YAMFC (rev 1.77: allow ports up to 0xffff) 1996-12-26 18:42:38 +00:00
Jordan K. Hubbard 60d598e641 Whups, back out this change which made it in erroneously in the last commit. 1996-12-26 04:52:55 +00:00
Jordan K. Hubbard a9b1d7e43b Merge r1.146. 1996-12-26 03:33:19 +00:00
Bill Paul 4213c47f70 Merge from current: remember to NUL terminate local result buffer. 1996-12-24 17:15:16 +00:00
Steven Wallace ca80cc518a In the IBCS2 semctl system call, the last parameter arg is passed by
value, but in the FreeBSD semctl system call implementation, is passed
by  reference.

Submitted by:    [email protected] <Miguel Angel Sagreras>
1996-12-24 07:06:35 +00:00
Jordan K. Hubbard 0a89823eef YAMFC 1996-12-24 01:10:25 +00:00
Jordan K. Hubbard 48fafb06a7 Whups, nuke release.10 over here too. 1996-12-23 23:27:50 +00:00
Jordan K. Hubbard 519bf94796 YAMFC 1996-12-23 21:47:59 +00:00
cvs2svn 91823711a8 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1996-12-23 21:19:31 +00:00
Bruce Evans dc73e5cef6 YAMFC (use breakpoint() instead of Debugger() in siointr1()). 1996-12-23 19:59:08 +00:00
Joerg Wunsch ab3fde8480 YAMFC (de-quote the DFLDSIZ and MAXDSIZ options) 1996-12-23 18:59:06 +00:00
Bruce Evans 9466d1ad0f YAMFC (fixed spelling of SCSI_NCR_MAX*). 1996-12-23 18:58:25 +00:00
Joerg Wunsch 95f3cfd06c YAMFC (fix a logico in the manpath handling, and drop locate's stderr). 1996-12-23 18:56:53 +00:00
Nate Williams e33ea312cf Style issues.
Used complete sentences in the error messages (including punctuation), and
re-ordered the include files to be more consistant.

Not done:

Dynamically determine if the old drivers and the new drivers both exist,
since LINT currently won't compile now with both sets included. (This
will be fixed when we can remove the old drivers permanently.)

Suggested by:	bde
1996-12-23 18:42:38 +00:00
Jordan K. Hubbard 7043e4bae9 Document new features of ppp. 1996-12-23 18:16:45 +00:00
Jordan K. Hubbard 1b56107ab7 Merge from -current. 1996-12-23 18:13:50 +00:00
Joerg Wunsch 6eb5e8ec19 YAMFC (from rev 1.79) 1996-12-23 12:35:16 +00:00
Joerg Wunsch cdac2477b3 YAMFC (security enhancements) 1996-12-23 12:30:24 +00:00
Joerg Wunsch bff34fa53a Merge from -current: add kernelopts.sgml. 1996-12-23 12:27:51 +00:00
Jordan K. Hubbard 799705e20d Fix breakage from -current. 1996-12-23 06:37:48 +00:00
Peter Wemm 03e827f3c1 Almost forgot the sample entries in make.conf to turn on the compat stuff. 1996-12-23 06:21:53 +00:00
Peter Wemm 2fc7d538ec Use the new compat dist build method so Jordan can use it. 1996-12-23 05:56:51 +00:00
Peter Wemm ff89164460 Add compat to SUBDIR so Jordan can use it. 1996-12-23 05:54:57 +00:00
Satoshi Asami 10cd5b4b04 Merge from 1.241: checksum code improvements. 1996-12-23 02:53:12 +00:00
Mike Pritchard d78a110902 YAMFC:
More man page cleanup.
1996-12-23 02:20:37 +00:00
Mike Pritchard a668d5a7b8 YAMFC:
Convert some man pages to mdoc format.  Other minor
mdoc/style/spelling/grammar fixes.
1996-12-23 02:09:59 +00:00
Jordan K. Hubbard 190dda712d Syncronize the entire /usr/src/share/doc tree with -current.
I'm sure John Fieber will scream at me concerning some magic symbol
buried *somewhere* in this, but I can't find the last mail he sent me
about such things so if my fears prove correct, we can just fix it
for the release.
1996-12-23 02:03:46 +00:00
Joerg Wunsch 5ef42f014e YAMFC (rev 1.36) 1996-12-23 01:55:21 +00:00
Jordan K. Hubbard f12d340f1b Some last-minute tweaks for the BETA. 1996-12-23 01:52:16 +00:00
Jordan K. Hubbard 350480d9d8 Correct breakage from -current. 1996-12-23 01:28:54 +00:00
Joerg Wunsch b868bfb31a Merge the fix from rev 1.108: consider all ptys. 1996-12-23 00:36:58 +00:00
Mike Pritchard 60fea1acec YAMC:
Add the appropriate MLINKS for the new skey.3 man page,
and skey.3 was tagged onto the 2.2 branch.
1996-12-22 23:21:58 +00:00
Joerg Wunsch 9b04918f3b YAMFC: Make DFLDSIZ and MAXDSIZ fully-supported options.
(This commit is in the RELENG_2_2 branch, in case this ain't obvious
from the message.  I just don't know yet for sure.)
1996-12-22 23:21:26 +00:00
Mike Pritchard 8192cecc4c YAMFC:
- Correct various man page xrefs
- Fix some spelling errors
- Add misssing documentation bits in some man pages
- mount_std.8 now documents mount_{devfs,fdesc,kernfs,procfs}
- New man pages for moused(8), devfs(5), fdesc(5), kernfs(5), procfs(5)
  were tagged onto the 2.2 branch.
1996-12-22 23:05:40 +00:00
John Dyson 51aa0fbfe3 Support the DFLDSIZ and MAXDSIZ options in LINT. 1996-12-22 20:25:52 +00:00
Jordan K. Hubbard 195cd56e1a Merge revision 1.7 from -current. 1996-12-22 18:04:25 +00:00
Joerg Wunsch c5c14b6a39 Back out the change from rev 1.3.2.2: the overflow is already handled
elsewhere.
1996-12-22 15:46:43 +00:00
Joerg Wunsch 21fbeb540e YAMFC (rev 1.2) 1996-12-22 15:39:20 +00:00
Joerg Wunsch 7f2ed5ccbe YAMFC (Add \' to valid escapes list to be compatible with printf) 1996-12-22 15:38:42 +00:00
Joerg Wunsch ce29a74cca YAMFC (cvsup client moved from sbin to bin) 1996-12-22 15:37:52 +00:00
Joerg Wunsch 1e818beb7b Part 2 of backing out the botched localtime merge from -current. 1996-12-22 15:36:08 +00:00
Joerg Wunsch 8cc1a336c1 Back out my botched merge of the libc_r ctime functions.
(More commits to follow.)
1996-12-22 15:34:31 +00:00
Joerg Wunsch 1e4b25596c YAMFC (Whitespace handling in <start>, <end> and <replace>...) 1996-12-22 15:32:27 +00:00
Joerg Wunsch ac633b67ad YAMFC (rev 1.2, buffer overrun condition) 1996-12-22 15:28:04 +00:00
Joerg Wunsch 3e076a19b7 YAMFC (Fix the tclsh build environment.) 1996-12-22 15:17:59 +00:00
Joerg Wunsch d67bce6c2c YAMFC (Close PR #2193: support backslash line continuations.) 1996-12-22 15:13:03 +00:00
Joerg Wunsch ef0f098c83 YAMFC: rev 1.14. 1996-12-22 15:10:27 +00:00
Joerg Wunsch 8bdcd94e29 YAMFC (merged rev 1.2). 1996-12-22 15:05:14 +00:00
Joerg Wunsch c0808fc268 YAMFC:
Initialize the upper 16 bits of the memory sizes properly (to 0).
1996-12-22 15:04:15 +00:00
Joerg Wunsch cb566ccbd3 YAMFC (rev 1.3, fix for PR#bin/2212) 1996-12-22 15:03:05 +00:00
Joerg Wunsch 0a241f8499 YAMFC (everything up to rev 1.78) 1996-12-22 15:01:42 +00:00
Joerg Wunsch 55b59b472d YAMFC (various buffer overflow fixes) 1996-12-22 14:57:53 +00:00
David Nugent 369f28e650 Fix for -d home directory in usermod.
Approved by: joerg
1996-12-22 10:48:48 +00:00
Mike Pritchard 2d21c22f9d YAMFC:
Convert various man pages to mdoc format.

Grammar/style/misc changes in calendar.1.

Update mdoc.template(7) to reflect two required requests.
1996-12-21 23:59:59 +00:00
Satoshi Asami 848120aac4 Merge from HEAD (1.10): NLS support. 1996-12-21 22:47:17 +00:00
Joerg Wunsch feddc8e960 Fix a bug i've introduced in rev 1.4 of options.c. A missing trailing
`foo' in `-b foo' caused an access to never-never-land.

(The version in -current is changed, so this fix is not applicable
there but only in the 2.2 branch.)
1996-12-21 21:10:25 +00:00
Nate Williams 8919369190 YAMFC (buffer over-run problems, fixed IP cksum code)
Ok'd by:	jkh
1996-12-21 20:09:57 +00:00
Nate Williams 8f1ab9ea75 Bring in PCCARD safety belts from the HEAD.
Ok'd by:	jkh
1996-12-21 20:03:36 +00:00
Bruce Evans 52ce0e98ad YAMFC (fixed spelling in comments). 1996-12-21 19:26:09 +00:00
Bruce Evans dc03510277 YAMFC (fixed lseek() on named pipes by adding new descriptor type
DTYPE_FIFO).
1996-12-21 19:04:32 +00:00
Bruce Evans 26077d50d8 YAMFC (allow harmless sigactions for SIGKILL and SIGSTOP). 1996-12-21 18:57:24 +00:00
Poul-Henning Kamp d4e935b63f YAMFC (MFS_ROOT before NFS) 1996-12-21 18:55:34 +00:00
Mark Murray caf2429980 YAMFC (Fix separate streams fom mixing their output) 1996-12-21 18:55:18 +00:00
Bruce Evans 2533321273 YAMFC (don't accept negative pgids in setpgid()). 1996-12-21 18:50:15 +00:00
Bruce Evans 4df87281a9 YAMFC (fixed arg checking in if_advlock()). 1996-12-21 18:46:21 +00:00
Bruce Evans 9a7e03d399 YAMFC (fixed nonexistent checking of lock type for F_GETLK). 1996-12-21 18:44:04 +00:00
Bruce Evans 5f6a8c30c5 YAMFC (disabled half-baked disk statistics support). 1996-12-21 18:33:49 +00:00
Bruce Evans 7eafa1dd4c YAMFC (only handle copyin/out/etc faults when not in an interrupt handler). 1996-12-21 18:27:28 +00:00
Bill Paul d6aae70445 >Date: Fri, 20 Dec 1996 11:46:33 -0800
>Message-ID: <[email protected]>
>From: "Jordan K. Hubbard" <[email protected]>
>Status: O

>Permission granted!

>> wpaul       96/12/20 11:41:16
>>
>>   Modified:    lib/libc/yp  yplib.c
>>   Log:
>>   Fix for bug noticed by Christoph Kukulies.
[file descriptors getting host by _yp_dobind()]
>>   This is basically a one-liner. Once I confirm that it fixes Christoph's
>>   problem, I'd like permission to put it in the 2.2-RELENG branch.

Target confirmed destroyed.
1996-12-21 18:17:42 +00:00
Bruce Evans 347feb399c YAMFC (moved printing of BIOS geometries to correct place). 1996-12-21 18:16:22 +00:00
Bruce Evans 114067edf0 YAMFC (fixed formatting of KERN_DUMPDEV). 1996-12-21 18:03:38 +00:00
Stefan Eßer 636d90ebac Partial merge from -current:
Remove unused struct element ns_async.
Add support for larger offsets support by 53c825A and 53c875.
Modify negotiation message to report actual MB/s (taking WIDE into account).
1996-12-21 12:25:29 +00:00
Stefan Eßer cd8e4119d2 Merge from -current: Remove unused struct element ns_async. 1996-12-21 12:13:40 +00:00
Stefan Eßer e8c2e7ac64 Add options for NCR PCI SCSI driver. 1996-12-21 02:23:23 +00:00
Stefan Eßer 0ca566d112 Merge in some -current changes:
1) Remove MAX_LUN=2 hack, 8 LUNs are probed now, even if FAILSAFE is defined.
2) Include "opt_ncr.h" for driver options.
3) Rename SCSI_DEBUG_FLAGS to SCSI_NCR_DEBUG.
4) Add brackets to expansion of OUTx macros.
5) Fix recognition of 53c810A and 53c825A chips.
6) Improve snooptest failure message.
7) Removed (previously disabled) timeout code.
1996-12-21 02:22:34 +00:00
Stefan Eßer a59d796a6d Add "controller amd0" to enable AMD 53c974 PCI SCSI driver. 1996-12-21 02:10:51 +00:00
Stefan Eßer 8aeef2dacd Add amd driver.
List NCR/Symbios chips supported by ncr driver.
1996-12-21 02:05:51 +00:00
Stefan Eßer c0276ffe11 Add "amd" driver: AMD 53c974 PCI SCSI (eg. Tekram DC-390 and DC-390T) 1996-12-21 02:01:57 +00:00
Stefan Eßer 395e9b6d91 Merge in rev. 1.6 from -current: Add ProLAN and Compex PCI IDs. 1996-12-21 01:56:48 +00:00
Andrey A. Chernov 06b0068a37 Merge with current 1996-12-21 01:24:08 +00:00
Joerg Wunsch 038377282f Merge the fix from rev 1.4. 1996-12-20 22:28:54 +00:00
cvs2svn 33317389ba This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1996-12-20 21:52:12 +00:00
Joerg Wunsch 8cfed4babe Merge the fix from rev 1.73 into 2.2. 1996-12-20 20:49:09 +00:00
Satoshi Asami 8cf9852d19 Merge from HEAD, -DALLLANG explanation. 1996-12-20 08:20:06 +00:00
Joerg Wunsch d102185c03 Merge the fix form rev 1.29: refuse to open the device if not configured. 1996-12-19 18:34:49 +00:00
Joerg Wunsch ca1ec5cff4 Merge rev 1.107: add /usr/local/sbin to $PATH. 1996-12-19 18:08:00 +00:00
David Greenman f6d5d2430b Merge with -current: Digiboard driver improvements from davidn. 1996-12-19 14:57:36 +00:00
Satoshi Asami cc0bc1b4dc Back out my "moving HEAD" fix, apparently this was just a tip of an iceberg
of ugly hacks, and causes many side-effects in places it shouldn't.

The cvs people are aware of the problem but can't solve it, so I don't think
I should be touching it either.  Instead, I'll fix the documentation to say
"HEAD is meaningless if you have a sticky tag in a file".
1996-12-19 08:53:49 +00:00
Jordan K. Hubbard 5be747a14d YAMFC, drop man privs before calling popen(). 1996-12-19 00:31:20 +00:00
Bruce Evans 9af4dc78d2 YAMFC (updated _POSIX_VERSION). 1996-12-18 13:18:37 +00:00
Bruce Evans 78dc821756 YAMFC (made O_NOCTTY distinct). 1996-12-18 13:08:08 +00:00
Bruce Evans 2b55b6092c YAMFC (fixed unportabilities in calibration of nullfunc_loop_profiled()). 1996-12-18 13:03:56 +00:00
Bruce Evans 6e8049bcfd YAMFC (updated comments to reflect IEXTEN fixes in tty.c). 1996-12-18 12:49:51 +00:00
Bruce Evans 078b6507fe Merged revs 1.85-1.88 from -current: fixed handling of IEXTEN, BREAK and
orphaned process groups, and help broken d_stop() routines.
1996-12-18 12:38:40 +00:00
Bruce Evans 84890e0612 YAMFC (fixed garbage being returned for constant int values. The log
message for rev.1.67 neglected to say that there is only a problem for
values of 0).
1996-12-18 11:45:41 +00:00
Satoshi Asami 15ea322f05 Merge from HEAD. 1996-12-18 02:29:17 +00:00
Jordan K. Hubbard 2eb03efcdd Merge -r1.21 from current. 1996-12-17 20:28:06 +00:00
Jordan K. Hubbard 62bb4104e0 Merge r1.6 (fix for PR#1864). 1996-12-17 19:30:37 +00:00
Jordan K. Hubbard 29566ebf6d Don't use CBREAK, use RAW. 1996-12-17 15:20:20 +00:00
Stephen McKay bde343ed7f Fix from main branch: a Makefile that installs ctm_dequeue.1 instead of just
looking like it could install it.  It might be a bit soon for me to get the
pointy hat, but I think I should try it on for size, just in case...

Approved by: joerg (I hope)
1996-12-17 14:40:40 +00:00
Stephen McKay fac24c27e3 Brought in ctm_dequeue documentation from the main branch.
Approved by: joerg
1996-12-17 14:07:51 +00:00
Satoshi Asami 6bb58cd48a Merge from HEAD. 1996-12-17 12:24:44 +00:00
David Greenman 89f1e2ea47 Sync with ../i386/i386/machdep.c changes for buffer/map allocations. 1996-12-17 04:37:25 +00:00
Nate Williams 216dea5a61 Added comments on how to setup syscons to work on older ThinkPads.
Ok'd by:	jkh
1996-12-17 00:54:52 +00:00
Joerg Wunsch f6dc336fdb Merge the buffer overflow fix from HEAD. 1996-12-16 17:39:02 +00:00
John Polstra aadcaa4ec1 Sync with the main branch. 1996-12-16 17:36:13 +00:00
Bruce Evans d1ec3bf6e4 Merged revs 1.150-1.154 from -current: cleaned up CONSPEED changes and
fixed handling of CREAD, TS_BUSY, flushing and BREAKs.
1996-12-15 20:24:39 +00:00
Bruce Evans f95983b84c YAMFC (added -I for keyboard #defines). 1996-12-15 19:46:10 +00:00
Bruce Evans 1122dc8b88 YAMFC (don't clobber the SIGCONT bit in the signal mask in sigreturn()). 1996-12-15 19:25:41 +00:00
Jordan K. Hubbard ce0ec49084 Merge r1.16 by request of Bill Fenner. 1996-12-15 18:59:49 +00:00
Jordan K. Hubbard 32664a7872 Merge from HEAD.
Also forgot to mention in previous commit that all the help changes are
my attempt to update things a bit before 2.2 BETA.
1996-12-15 18:29:54 +00:00
Bruce Evans 4c3ef1e2db Merge from -current (don't use space below the CPU stack). 1996-12-15 15:23:17 +00:00
Bruce Evans 855b9610a8 Merge from -current (clean up the FPU stack before returning). 1996-12-15 15:15:45 +00:00
Bruce Evans 710f53404d YAMFC (added -I for keyboard #defines). 1996-12-15 15:05:23 +00:00
Bruce Evans 99fb6017f4 YAMFC (give up early for empty partitions). 1996-12-15 14:52:14 +00:00
Joerg Wunsch 3506b1e893 Merge from HEAD: increase the size of the execv() vector. 1996-12-15 11:29:24 +00:00
David Greenman fd9e75afff Merge from -current: vm_map_entry leak fix, John's vm_map coallesce fixes,
and changes for dynamically-sized buffers.
1996-12-15 09:57:15 +00:00
David Greenman 9947fb2825 Merge from -current: John's dynamically-sized buffer changes. Needed to
fix msdosfs corruption.
1996-12-15 09:54:28 +00:00
Jordan K. Hubbard b5d4a968bf Merge simplification of Makefile. 1996-12-14 23:54:42 +00:00
Jordan K. Hubbard a90a687539 Reference floppy readme.txt and toplevel about.txt files appropriately. 1996-12-14 22:50:25 +00:00
Jordan K. Hubbard 7aae518ae0 Bring in changes for better -c behavior from -current. 1996-12-14 22:37:54 +00:00
Jordan K. Hubbard 91e116b49f Sync doc fixes from current 1996-12-14 22:32:31 +00:00
Jordan K. Hubbard 0925934a27 To use the dosio library fully, I also (duh!) have to retain full
use of stdio, I can't just go handing fileno(fp) around and expect
that to work.  Since this means I need to have sysinstall play pipeline
on single file distributions now, that means I can also finally add a
progress indicator for them.

Change installation instructions to note that there's no dists directory
anymore on CDROMs.
1996-12-14 22:23:37 +00:00
Joerg Wunsch 683d60d301 Merge the fixes for the more embarassing bugs from HEAD, mostly
potential buffer overflow conditions.
1996-12-14 19:57:01 +00:00
Joerg Wunsch 863d888fa8 sync this file with the HEAD version. 1996-12-14 18:10:47 +00:00
Jordan K. Hubbard 452117852a Fix some very minor cosmetic cruft I couldn't help tweaking when
I went over the code.

Add shortcuts for addUser and addGroup, documenting same.

Add a password field for adduser and use no-echo string field for it.
This requires my latest libdialog changes (in RELENG_2_2 or -current) to work.
1996-12-14 16:24:01 +00:00
Jordan K. Hubbard 13a9ed8dc4 Merge from -current so that sysinstall can stay the same in 2.2 and 3.0 (the
user.c changes in sysinstall require the no-echo string fields which these
patches implement).
1996-12-14 16:18:15 +00:00
Joerg Wunsch 808602d2d5 YAMFC 1996-12-14 14:52:48 +00:00
Joerg Wunsch d0f4c70000 YAMFC 1996-12-14 14:42:07 +00:00
Joerg Wunsch 09b61f6e64 YAMFC 1996-12-14 14:32:59 +00:00
Joerg Wunsch 2796078a72 YAMFC 1996-12-14 14:04:52 +00:00
Joerg Wunsch 6614561c3d YAMFC 1996-12-14 13:57:58 +00:00
Joerg Wunsch ab157260c5 YAMFC 1996-12-14 13:46:49 +00:00
Joerg Wunsch 03ae2d20fd YAMFC 1996-12-14 11:59:07 +00:00
Joerg Wunsch be85758a53 YAMFC 1996-12-14 11:36:00 +00:00
Joerg Wunsch 2cb00a8f4a YAMFC 1996-12-14 11:26:10 +00:00
Joerg Wunsch ae0f252d4c YAMFC (Now that Jordan did already merge /etc.) 1996-12-14 10:10:45 +00:00
Joerg Wunsch 466e8541a5 ...and into 2.2 as well. 1996-12-14 10:00:07 +00:00
Poul-Henning Kamp be3d2f30aa Restore a couple of crucial variables here. 1996-12-14 09:46:18 +00:00
Satoshi Asami 9dca203f8e Merge from 1.2.
Reviewed by:	peter
Pre-approved by:	jkh
1996-12-13 19:36:28 +00:00
Joerg Wunsch e1ced5ee97 YAMFC 1996-12-13 17:15:11 +00:00
Joerg Wunsch cd90937335 Merge rev 1.3: fix the fix. 1996-12-13 13:31:48 +00:00
Jordan K. Hubbard 45e057b331 This one merits its own comment: Merge in the IP alias features from
-current.  There is *strong* support for this going into 2.2.
1996-12-13 11:30:45 +00:00
Jordan K. Hubbard e0320585b7 YIYAMFCOK? 1996-12-13 10:25:29 +00:00
Jordan K. Hubbard 1ad635a7d6 Close PR#2198:
I've added an installation from optical disk drive facility.
	This enables FreeBSD to be installed from an optical disk, which
	may be formatted in "super floppy" style or sliced into MSDOS-FS
	and UFS partitions.

	Note:  ncr.c should be reviewed by Stefan Esser <[email protected]>
	and cd.c by Joerg Wunsch <[email protected]> before bringing this
	into 2.2.

Submitted-By: Shunsuke Akiyama <[email protected]>
1996-12-13 07:55:14 +00:00
Joerg Wunsch aee9ddd759 Merge the fix from scsiconf.c 1.71: update `od' entries. 1996-12-13 00:06:59 +00:00
Joerg Wunsch 7412592f9c YAMFC 1996-12-12 23:53:19 +00:00
Jordan K. Hubbard efdc77ca2a OGIYAMFC 1996-12-12 23:13:15 +00:00
Jordan K. Hubbard c28cabbcc4 YAMFC 1996-12-12 22:57:01 +00:00
Joerg Wunsch f94c70c905 Merge the fix from rev 1.2: uninitialized local variable use. 1996-12-12 21:22:59 +00:00
Jordan K. Hubbard 861b05e390 YAMFC 1996-12-12 20:03:48 +00:00
Jordan K. Hubbard 9ff735d1ad YAMFC 1996-12-12 19:47:05 +00:00
Jordan K. Hubbard 7be67f38cf YAMFC
Requested-By: swallace
1996-12-12 19:39:19 +00:00
Jordan K. Hubbard 17d47d00ac YAMFC 1996-12-12 19:35:40 +00:00
Jordan K. Hubbard 93dfb3962d Soften range-check for LDTs, as in -current.
Requested-By: swallace
1996-12-12 16:51:23 +00:00
Jordan K. Hubbard ea47cf9f3a YAMFC 1996-12-12 12:11:05 +00:00
Jordan K. Hubbard 4d347eff29 YAMFC, now that I'm happy with sysinstall again. It should now be safe
to build releases in both 2.2 and 3.0-current.
1996-12-12 11:18:37 +00:00
Jordan K. Hubbard 3581ef2de9 YAMFC 1996-12-12 11:06:32 +00:00
Satoshi Asami 3460dd628d Merge from HEAD.
Approved by: phk, jkh (in order of arrival).
1996-12-12 10:46:08 +00:00
Satoshi Asami b48e760dfa Merge in rev. 1.238. 1996-12-12 04:49:53 +00:00
David Greenman ecc4cbacf2 Partial merge from main branch: make exech_map 16*PAGE_SIZE. 1996-12-12 04:30:06 +00:00
Joerg Wunsch c2d5daf530 YAMFC 1996-12-11 15:17:10 +00:00
Satoshi Asami 8080b06dee Merge from rev. 1.237. 1996-12-11 10:25:04 +00:00
Satoshi Asami 1043d75814 Bring in all of 1.236. No more HEAD crap. 1996-12-11 04:53:35 +00:00
Joerg Wunsch a88ae1dd19 Merge David's copyright updates from HEAD. 1996-12-11 00:14:19 +00:00
Joerg Wunsch 69a825ccf7 Mea maxima culpa. Previous merge was in error.
Pointed out by:	ache
1996-12-10 23:56:02 +00:00
Joerg Wunsch 1d9df7afd1 YAMFC 1996-12-10 22:05:57 +00:00
Joerg Wunsch d3ee664668 YAMFC 1996-12-10 21:59:42 +00:00
Joerg Wunsch abab9471bd YAMFC 1996-12-10 21:08:53 +00:00
Joerg Wunsch ce67681ee3 YAMFC 1996-12-10 20:59:06 +00:00
Joerg Wunsch c0621c83c9 YAMFC 1996-12-10 17:24:10 +00:00
Joerg Wunsch 36faf98976 YAMFC 1996-12-10 16:53:56 +00:00
Joerg Wunsch 6dca99bf55 YAMFC 1996-12-10 16:46:32 +00:00
Jordan K. Hubbard e8df6853f1 YAMFC 1996-12-10 07:53:08 +00:00
Joerg Wunsch 6b924af4b2 YAMFC 1996-12-10 00:32:03 +00:00
cvs2svn cab7562f08 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1996-12-09 15:36:55 +00:00
Jordan K. Hubbard 75f7dd61e2 Merge. 1996-12-09 15:18:50 +00:00
Jordan K. Hubbard db03f0e3fc Merge one-liner from HEAD. 1996-12-09 15:18:39 +00:00
Jordan K. Hubbard a23e671ff7 Merge-o-matic. 1996-12-09 09:29:16 +00:00
Jordan K. Hubbard 5a7c7ec0b6 Merge. 1996-12-09 06:45:23 +00:00
Jordan K. Hubbard 88defe7480 Merge with HEAD. 1996-12-09 06:41:43 +00:00
Joerg Wunsch 00d9d07947 YAMFC
Requested by:	ache
1996-12-08 18:45:53 +00:00
Joerg Wunsch e1679b91ee Merge rev 1.16 from HEAD: synchronize with main syscons.c.
Requested by:	kato
1996-12-08 18:40:08 +00:00
Joerg Wunsch 4f390903d3 Merge from HEAD: add the tar replacement script. (Makefile rev 1.260,
the actual tar.sh file has been tagged behind the scene.)
1996-12-08 18:24:26 +00:00
Joerg Wunsch 596640ff0a Merge from rev 1.2: don't lookup rsh(1) at bogus pathnames. 1996-12-08 14:21:23 +00:00
Andrey A. Chernov d68500f3f1 Link Dutch catalog to nl_NL instead of da_DK
Requested-by: joerg
1996-12-08 14:10:46 +00:00
Jordan K. Hubbard cd7f325fc4 Merge revisions 1.52, 1.80, 1.20, 1.34, 1.99 and 1.17 (respectively). 1996-12-08 12:32:22 +00:00
Joerg Wunsch 37ba690bf1 Merge the fix from rev 1.70: opnly one LUN for CDs. 1996-12-07 22:48:42 +00:00
Søren Schmidt f035d401ed Fix the broken support for monochrome VGA's.
It was MY fault after all, damn..
1996-12-07 22:33:05 +00:00
Poul-Henning Kamp 73ae6fecac Back out this change. 1996-12-04 19:07:52 +00:00
Poul-Henning Kamp 9d0a97d053 YAMFC 1996-12-04 16:12:00 +00:00
Satoshi Asami 45e4924e18 Merge 1.233, sort -u optimization.
Pre-approved by:	phk
1996-12-04 05:56:03 +00:00
Poul-Henning Kamp e56cec74b4 YAMFC 1996-12-03 15:55:45 +00:00
Poul-Henning Kamp 4420bcc126 YAMFC 1996-12-03 15:25:18 +00:00
Poul-Henning Kamp 1c9966455e YAMFC 1996-12-03 11:06:25 +00:00
Poul-Henning Kamp 245110794e YAMFC 1996-12-03 10:53:06 +00:00
Joerg Wunsch 0a950567fc Merge from rev 1.11: simplify the disklabel trickery. 1996-12-01 17:20:49 +00:00
Jordan K. Hubbard 1c77154fa0 Merge r1.143 from HEAD 1996-12-01 12:28:29 +00:00
Poul-Henning Kamp ba97584a87 YAMFC 1996-11-30 12:02:02 +00:00
Satoshi Asami 9a4aea776f (1) Add ${DIST_SUBDIR} in front of filename in files/md5. This will make
it possible to obtain the list of distfiles/patchfiles by only
    looking at files/md5 instead of parsing the Makefile.

    Also, we can now share the same files/md5 for distfiles of same
    names.  (If you are wondering why this is good, look at the
    www/netscape3 port.)

Submitted by: max
(2) Fix handling of ${DIST_SUBDIR} when ${DISTDIR} is defined by the
    user.

(3) Use and define variable ${MASTER_SITE_BACKUP} instead of repeating
    ftp.freebsd.org all over the place.  In addition to being more
    aesthetically pleasing (bsd.port.mk thrives in this, you know),
    the user can define this to be their closest FreeBSD mirror in
    order to reduce the load on ftp.freebsd.org.

Submitted by: fenner
(4) Print out descriptive messages when the port is being ignored, for
    example, because it IS_INTERACTIVE and BATCH is set.

Submitted by: max
(5) Make clean-depends target as non-fallible as possible.

Submitted by: max
(6) Misc, cleanup, fix typo, remove "test ! -d" in front of ${MKDIR}
    (which already has the -p flag and can't fail), etc.

This should go into 2.2.
1996-11-30 09:53:38 +00:00
Poul-Henning Kamp 0c60a50211 YAMFC 1996-11-29 19:52:49 +00:00
Joerg Wunsch 71bfa3647d YAMFC. The appropriate changes to the mtree files have already
been commited, so 2.2 did no longer install.

Forgotten by:	phk
1996-11-29 18:41:08 +00:00
Poul-Henning Kamp f1709b7eea YAMFC 1996-11-28 22:07:16 +00:00
Joerg Wunsch d9f69d3a36 Mergomanic. (1.2->1.3 of fixit.profile) 1996-11-28 08:58:25 +00:00
Poul-Henning Kamp f72f5a58cc YAMFC 1996-11-28 08:28:35 +00:00
Poul-Henning Kamp 716ca698cf YAMFC 1996-11-28 08:09:56 +00:00
Poul-Henning Kamp 6da12f666a YAMFC 1996-11-25 18:40:36 +00:00
Poul-Henning Kamp 010de69620 YAMFC 1996-11-25 07:32:38 +00:00
Poul-Henning Kamp ecffe94354 YAMFC 1996-11-25 07:23:37 +00:00
Poul-Henning Kamp 3814657f3e YAMFC 1996-11-24 07:54:08 +00:00
Poul-Henning Kamp ed12016a9d YAMFC 1996-11-23 18:22:27 +00:00
Poul-Henning Kamp 3b020d9f64 YAMFC 1996-11-23 08:35:39 +00:00
Poul-Henning Kamp 8e6f97674c YAMFC 1996-11-22 07:51:40 +00:00
Nate Williams 98890d6198 More missing bits from the AWE32 sound support merge. 1996-11-22 00:23:40 +00:00
Nate Williams 2dc2f43bb2 Bring in the rest of the AWE sound driver changes from the HEAD. Sound
support was broken w/out these changes.
1996-11-22 00:03:33 +00:00
Poul-Henning Kamp e327282419 YAMFC 1996-11-21 16:51:15 +00:00
Joerg Wunsch a384ea263c Merge from HEAD: don't duplicate the Posix regex stuff in libregex,
it's already in libc (and both implementations clash when linking both
libs simultaneously).
1996-11-20 15:05:51 +00:00
cvs2svn c6431fb76a This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1996-11-19 23:21:53 +00:00
Nate Williams 1f6094077f Add kbdio.[ch] since they are necessary for the new syscons & PS/2
drivers.
1996-11-19 18:35:43 +00:00
Nate Williams 909b8efc13 Go ahead and merge in the now working syscons and PS/2 mouse driver that
use the new shared kbdio routines.
1996-11-19 17:25:31 +00:00
Poul-Henning Kamp 6abe331786 YAMFC 1996-11-18 19:14:57 +00:00
David Greenman 838a0b30cb Fixed obsolete comment. 1996-11-18 02:45:46 +00:00
Joerg Wunsch ed93b122dd Merge from rev 1.6: initilaize memory obtained with malloc(). 1996-11-16 22:50:21 +00:00
Joerg Wunsch 149348ab9e Merge from rev 1.142. 1996-11-16 22:46:17 +00:00
Joerg Wunsch 7c0884065f Merge from rev 1.258. 1996-11-16 22:45:51 +00:00
Peter Wemm eed1a21eae Redo last merge from -current.. phk accidently spammed a slightly
older version over the previous fix.

Damn, and I can't even come up with some sarcastic comment.. :-)
1996-11-16 21:45:35 +00:00
Poul-Henning Kamp c49818001a YAMFC 1996-11-16 21:34:19 +00:00
Peter Wemm 42ff3e9e3a merge rev 1.8 from -current 1996-11-16 16:44:25 +00:00
Jordan K. Hubbard fc476a58e6 Merge r1.257 1996-11-15 22:18:44 +00:00
Peter Wemm 58dceb6fa6 bring in rev 1.2: initialise length variable so that accept()
doesn't EFAULT, depending on random stack values.

bring in rev 1.3: initialise length in sockaddr_un.sun_len, and account
for the sun_len field that is new since 4.3BSD.

(Approved by: phk :-)
1996-11-15 18:25:51 +00:00
Jordan K. Hubbard ce7e86be94 Merge from HEAD (be thorough!). 1996-11-15 18:15:45 +00:00
Peter Wemm fa07a91825 bring in rev 1.8 from -current, don't return pointers to a non-static
stack variable.. causes random chpass failures in some circumstances.
1996-11-15 18:12:25 +00:00
Satoshi Asami 5dd007e4c0 Merge from HEAD.
Approved by:	phk
1996-11-15 09:34:41 +00:00
Jordan K. Hubbard 2bcb06a690 D'oh! I did change this one, but never committed it. Too many source
trees.
1996-11-15 08:44:24 +00:00
Poul-Henning Kamp e0b2d75e45 Darn! This slipped under my nose. 1996-11-14 12:53:15 +00:00
Poul-Henning Kamp 44e8268080 Grumble, I messed up the last commit here. 1996-11-14 08:04:50 +00:00
Poul-Henning Kamp ba0f8ead95 YAMFC 1996-11-13 20:30:16 +00:00
Poul-Henning Kamp 55207c2d12 YAMFC 1996-11-13 20:19:36 +00:00
Poul-Henning Kamp 1ab306b335 Ok, guys, you missed the ALPHA, now we're "POST-ALPHA"
And more than 600 packages, (each with it's own signature theme :-)
1996-11-13 20:05:56 +00:00
Jordan K. Hubbard a70a83f9d2 Merge from HEAD (compat dist changes) 1996-11-13 14:14:17 +00:00
Jordan K. Hubbard 1697699b9a Merge from 1.4 (back out freebsd local changes).
Requested-By: pst
1996-11-13 12:32:31 +00:00
Jordan K. Hubbard 624c3e13e7 Merge from HEAD. Why? Because the Meistersinger asked me to. 1996-11-13 12:28:27 +00:00
Jordan K. Hubbard afd4757fab Actually, it's over 600 packages now. 1996-11-13 12:15:26 +00:00
Jordan K. Hubbard 9ea6fa13e5 Update the documentation for 2.2-ALPHA 1996-11-13 11:49:44 +00:00
Poul-Henning Kamp 41c841ccec YAMFC 1996-11-12 22:19:13 +00:00
Jordan K. Hubbard 37dbbb898f Bring back-out of r1.7 to 2.2.
Requested-By: peter
1996-11-12 19:23:44 +00:00
Jordan K. Hubbard 805b7660a6 Merge from r1.140 1996-11-12 18:41:29 +00:00
Poul-Henning Kamp 330c3f7085 yamfc 1996-11-12 13:54:49 +00:00
Poul-Henning Kamp b5f8fcfeba YAMFC 1996-11-12 11:29:17 +00:00
Poul-Henning Kamp 17adef6fc2 Mega-merge from -current 1996-11-12 09:11:51 +00:00
Poul-Henning Kamp 567e9f9540 Merge from -current 1996-11-12 08:02:24 +00:00
Poul-Henning Kamp 2f4ed0f31b Merge from -current 1996-11-11 23:42:30 +00:00
Poul-Henning Kamp 0d97ecc09a Merge from -current 1996-11-11 22:37:26 +00:00
Søren Schmidt afec3c65ed 1. Avoid a race in scclose(). tty.c has kludges so that the race is
actually harmless.

2. Fixed code to match comment in scintr().

3. Don't allow even root to take control of the machine when securelevel > 0.
   I've secured the accesses to PSL_IOPL in all drivers and asked pst to
   review it, but he seems to be busy.  Write access to /dev/kmem and
   other critival devices currently leaks across raisings of securelevel
   via open fd's, so there may as well be a similar leak for PSL_IOPL.

4. (Most important.)  Don't corrupt memory beyond the screen buffers if
   the cursor happens to be off the 80x25 screen when syscons starts.

5. Fix console cursor update (not perfect yet).
Submitted by:	bruce
1996-11-11 22:07:17 +00:00
Poul-Henning Kamp 17a55a6941 Merge from -current 1996-11-11 21:24:26 +00:00
Jordan K. Hubbard 35ac24c699 Mr. Snake is 2.2-RELEASE in this branch. 1996-11-11 14:17:35 +00:00
Poul-Henning Kamp ab74d3fb25 Merge from -current 1996-11-10 12:15:19 +00:00
Poul-Henning Kamp 8b62f74164 Merge from -current 1996-11-10 12:03:38 +00:00
Joerg Wunsch fd61a027dd Being here, also add the description of MNT_FORCE for mount(2). 1996-11-10 09:26:58 +00:00
Joerg Wunsch e654624bb8 Merge David O'Brien's description of the new mount flags. 1996-11-10 09:24:53 +00:00
Poul-Henning Kamp 223741ae0b Merge from -current 1996-11-09 21:51:14 +00:00
Poul-Henning Kamp 2dc41d6bf5 Remove advansys driver from 2.2 1996-11-09 21:36:42 +00:00
Jordan K. Hubbard 03e783dbec Merge 1996-11-09 21:16:09 +00:00
Poul-Henning Kamp 452eae5de8 Merge from -current 1996-11-09 21:16:08 +00:00
Jordan K. Hubbard 6b48679c13 Merge Makefile fix, an old disks.c fix which somehow didn't get in
and kill the mysterious extra copy of keymap.c appended to itself.
1996-11-09 21:04:03 +00:00
Jordan K. Hubbard ba2399849f Merge. 1996-11-09 19:56:25 +00:00
Jordan K. Hubbard 22a0665099 Merge. 1996-11-09 19:26:19 +00:00
Jordan K. Hubbard ea5e30913d Merge from HEAD. 1996-11-09 18:13:38 +00:00
Joerg Wunsch 1bb386962c Merge from HEAD: enable the installation of a keymap early in the game. 1996-11-09 16:49:16 +00:00
cvs2svn 87e7c5616f This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1996-11-09 16:47:09 +00:00
Joerg Wunsch 6aa90e5e21 Merge from HEAD: various improvements to the fixit floppy. 1996-11-09 16:34:21 +00:00
Joerg Wunsch a816720e5b Merge the -L option from HEAD; sysinstall will need it. 1996-11-09 16:17:48 +00:00
Jordan K. Hubbard d30487f10f Merge list from HEAD as requested by Justin. 1996-11-09 13:52:34 +00:00
Joerg Wunsch 6e63ff8f7c Merge from rev 1.6: fix rename for different parent dirs.
Requested by:	bde
1996-11-09 12:13:56 +00:00
Joerg Wunsch ac6f1989ed Merge from HEAD: try mounting the fixit floppy with MNT_FORCE if all
else fails.
1996-11-09 12:00:15 +00:00
Joerg Wunsch 6acb8030bb Merge the fix from rev 1.48: fix an ordering bug.
Requested by:	dyson
1996-11-09 10:42:28 +00:00
Joerg Wunsch de5fe9e9af Merge from rev 1.3: fix a syntax error. 1996-11-09 03:05:40 +00:00
Joerg Wunsch f85d01574b Merge the fix from rev 1.25: sanity checks etc. 1996-11-08 23:21:17 +00:00
Joerg Wunsch 7f6109e927 Merge from rev 1.16: fix the ldconfig handling for non-existant
directories.
1996-11-08 23:20:38 +00:00
Jordan K. Hubbard e50b5f9464 It slices! It dices! It surges! It merges! NOW how much would you pay? 1996-11-08 05:39:46 +00:00
Jordan K. Hubbard 3b64d1be73 Merge. 1996-11-07 18:31:38 +00:00
Jordan K. Hubbard 17d3f4664f Merge from HEAD. 1996-11-07 16:34:37 +00:00
Jordan K. Hubbard 9048021e9b Install an evil work-around for /etc/sendmail.cw 1996-11-07 15:45:08 +00:00
Jordan K. Hubbard 109c629653 Merge. 1996-11-07 15:36:38 +00:00
Joerg Wunsch af1a4a5973 Activate the ISO 8859-1 -> CP437 screeenmap also in 2.2.
Reviewed by:	jkh
1996-11-07 14:53:02 +00:00
Joerg Wunsch 514951087d Merge Bruce's fast interrupt handler fix from rev 1.23. 1996-11-07 14:47:07 +00:00
Joerg Wunsch b4d97e34a4 Merge Bruce's fixes for the message buffer mapping.
Reviewed by:	davidg
Submitted by:	bde
1996-11-07 14:45:41 +00:00
Jordan K. Hubbard a628ec42ca Merge from HEAD. 1996-11-07 14:20:08 +00:00
Jordan K. Hubbard e59bfaaada Merge from HEAD. 1996-11-07 09:08:23 +00:00
Joerg Wunsch 51a4e988b1 Update to HEAD. 1996-11-07 08:53:52 +00:00
Joerg Wunsch f1afedd412 Merge the fix from rev 1.65: make the "piix" device known (and
hidden), so it cannot accidentally be removed.
1996-11-07 08:52:16 +00:00
Joerg Wunsch 7867148daf Merge the syslog.conf changes from rev 1.6. 1996-11-06 23:42:04 +00:00
Joerg Wunsch b687d11813 Fix the name of our vi inside the fixit_crunch file.
Activate the hook to build the vi on the fixit floppy without Tcl or
Perl APIs.
1996-11-06 22:48:03 +00:00
Joerg Wunsch de424e8b2f Add hooks to allow the build of a vi without Tcl or Perl APIs in an
environment where either or both are normally to be built.

The next commit to release/Makefile will use these hooks for the
creation of the `fixit' floppy.

(Failing to find a better method, we might also consider pulling them
into -current.  By now, they just live in the 2.2 branch only.)

Agreed by:	jkh,phk,peter
1996-11-06 22:46:26 +00:00
Joerg Wunsch a7bd1576fd Merge from HEAD: mention that we also support the Philips CDD2000. 1996-11-06 19:32:31 +00:00
Joerg Wunsch 230fede891 Merge the fixes from rev 1.30 worm.c and 1.65 scsiconf.c:
. support for the Philips CDD2000
. fix the CD-DA blocksize handling and multitrack handling

(Again, i'm certainly the most knowledgable committer for this stuff.)
1996-11-06 19:21:53 +00:00
Joerg Wunsch a13a7ffd28 Merge the change from rev. 1.23: make the `od' driver work again with
media of different size.

(I dare to commit this myself to the 2.2 branch since i think there's
nobody else around who could even test it at all.)
1996-11-06 19:12:01 +00:00
Joerg Wunsch 79c8e4b873 Merge the changes from rev 1.12 of fdisk.c and 1.7 of fdisk.8: allow
a script-driven automated configuration.

Reviewed by:	joerg
1996-11-06 19:02:18 +00:00
Poul-Henning Kamp e7a72d31ae Merge from -current 1996-11-06 11:31:07 +00:00
Poul-Henning Kamp 714fb74c24 Merge from -current 1996-11-06 11:19:51 +00:00
Poul-Henning Kamp aaadd24076 Merge from -current 1996-11-06 10:33:28 +00:00
Poul-Henning Kamp 2077e4e6a4 Merge from -current 1996-11-06 10:23:48 +00:00
Poul-Henning Kamp 2f12b88ae7 Merge from -current 1996-11-06 10:14:01 +00:00
Poul-Henning Kamp 80e0dad1c8 Merge from -current 1996-11-06 10:08:33 +00:00
Poul-Henning Kamp 97fd70d685 Merge from -current 1996-11-06 09:39:45 +00:00
Poul-Henning Kamp baae2b6f3c Merge from -current 1996-11-06 09:25:51 +00:00
Poul-Henning Kamp 5a0156c1fc Merge from -current 1996-11-06 08:46:44 +00:00
Poul-Henning Kamp a50e0de122 Merge from -current. 1996-11-06 08:43:35 +00:00
Poul-Henning Kamp 5bc589fc3f Merge from -current 1996-11-05 20:18:00 +00:00
Poul-Henning Kamp a1ec9373e1 Merge from -current. 1996-11-05 20:14:23 +00:00
Poul-Henning Kamp c9a6465a45 Merger from -current. 1996-11-05 20:07:46 +00:00
Søren Schmidt 94782a8b1f Fix the hanging keyboard problem under Xaccel. Apprently we are loosing
an interrupt somewhere. The solution here is to check for keyboard
input each time the screen update timer ticks. Not pretty, but works.
1996-11-04 20:40:00 +00:00
Poul-Henning Kamp ddae0b00e5 Merge from -current. 1996-11-04 19:47:11 +00:00
Poul-Henning Kamp 385b5b1262 Merge from -current. 1996-11-04 10:11:50 +00:00
Poul-Henning Kamp 21df92fc11 Set RELDATE=199612 1996-11-03 12:04:55 +00:00
Poul-Henning Kamp 40235fd9cb Set the BUILDNAME, RELEASETAG and fix a bug Joerg found a couple of seconds
before me.
1996-11-03 12:01:12 +00:00
Poul-Henning Kamp 76da2e9a28 Merge from -current.
Back out daemon.* addition, ssh port should be fixed instead
1996-11-02 21:04:22 +00:00
Poul-Henning Kamp 6372d68ce3 Merge from -current.
bin/1942 curses problem in systat
truncate if too long for field.
1996-11-02 20:35:53 +00:00
Poul-Henning Kamp 7796e18bc5 Merge from -current.
Fill in BIOS geometries in struct bootinfo.
1996-11-02 20:32:18 +00:00
cvs2svn 2fce0b4e66 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1996-11-02 10:41:29 +00:00
8734 changed files with 848585 additions and 923275 deletions

No files matched your search

+367 -176
View File
@@ -1,14 +1,13 @@
#
# $Id: Makefile,v 1.108 1996/10/25 14:22:50 bde Exp $
# $Id: Makefile,v 1.109.2.32 1998/06/29 10:15:32 jkh Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
# -DMAKE_LOCAL to add ./local to the SUBDIR list
# -DMAKE_PORTS to add ./ports to the SUBDIR list
# -DMAKE_EBONES to build eBones (KerberosIV)
# -DMAKE_KERBEROS4 to build KerberosIV
#
# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
# -DNOCLEAN do not clean at all
# -DNOTOOLS do not rebuild any tools first
# -DNOCRYPT will prevent building of crypt versions
# -DNOLKM do not build loadable kernel modules
# -DNOOBJDIR do not run ``${MAKE} obj''
@@ -16,11 +15,16 @@
# -DNOSECURE do not go into secure subdir
# -DNOGAMES do not go into games subdir
# -DNOSHARE do not go into share subdir
# -DNOINFO do not make or install info files
# -DNOLIBC_R do not build libc_r.
# -DNOPERL do not make or install perl
# LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list
#
# The intended user-driven targets are:
# world - rebuild *everything*, including glue to help do upgrades.
# reinstall - use an existing (eg: NFS mounted) build to do an update.
# buildworld - rebuild *everything*, including glue to help do upgrades
# installworld- install everything built by "buildworld"
# world - buildworld + installworld
# update - convenient way to update your source tree (eg: sup/cvs)
# most - build user commands, no libraries or include files
# installmost - install user commands, no libraries or include files
@@ -29,10 +33,20 @@
# /usr/share/mk. These include:
# obj depend all install clean cleandepend cleanobj
.if (!make(world)) && (!make(buildworld)) && (!make(installworld))
.MAKEFLAGS:= ${.MAKEFLAGS} -m ${.CURDIR}/share/mk
.endif
# Put initial settings here.
SUBDIR=
# We must do share/info early so that installation of info `dir'
# entries works correctly. Do it first since it is less likely to
# grow dependencies on include and lib than vice versa.
.if exists(share/info)
SUBDIR+= share/info
.endif
# We must do include and lib first so that the perl *.ph generation
# works correctly as it uses the header files installed by this.
.if exists(include)
@@ -51,8 +65,8 @@ SUBDIR+= games
.if exists(gnu)
SUBDIR+= gnu
.endif
.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
SUBDIR+= eBones
.if exists(kerberosIV) && exists(crypto) && !defined(NOCRYPT) && defined(MAKE_KERBEROS4)
SUBDIR+= kerberosIV
.endif
.if exists(libexec)
SUBDIR+= libexec
@@ -86,11 +100,12 @@ SUBDIR+= etc
# These are last, since it is nice to at least get the base system
# rebuilt before you do them.
.if defined(MAKE_LOCAL) & exists(local) & exists(local/Makefile)
SUBDIR+= local
.if defined(LOCAL_DIRS)
.for _DIR in ${LOCAL_DIRS}
.if exists(${_DIR}) & exists(${_DIR}/Makefile)
SUBDIR+= ${_DIR}
.endif
.if defined(MAKE_PORTS) & exists(ports) & exists(ports/Makefile)
SUBDIR+= ports
.endfor
.endif
# Handle -DNOOBJDIR, -DNOCLEAN and -DNOCLEANDIR
@@ -110,14 +125,14 @@ CLEANDIR= cleandir
.endif
.endif
SUP?= sup
SUPFLAGS?= -v
SUP?= cvsup
SUPFLAGS?= -g -L 2 -P -
#
# While building tools for bootstrapping, we dont need to waste time on
# profiled libraries or man pages. This speeds things up somewhat.
#
MK_FLAGS= -DNOMAN -DNOPROFILE
MK_FLAGS= -DNOINFO -DNOMAN -DNOPROFILE
#
# world
@@ -129,90 +144,17 @@ MK_FLAGS= -DNOMAN -DNOPROFILE
#
world:
@echo "--------------------------------------------------------------"
@echo "make world started on `LC_TIME= date`"
@echo "make world started on `LC_TIME=C date`"
@echo "--------------------------------------------------------------"
.if target(pre-world)
@echo
@echo "--------------------------------------------------------------"
@echo " Making 'pre-world' target"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} pre-world
@echo
.endif
@echo "--------------------------------------------------------------"
@echo " Making hierarchy"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} hierarchy
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding /usr/share/mk"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} mk
@echo
@echo "--------------------------------------------------------------"
@echo " Cleaning up the source tree"
@echo "--------------------------------------------------------------"
.if defined(NOCLEAN)
@echo "Not cleaning anything! I sure hope you know what you are doing!"
.else
cd ${.CURDIR} && ${MAKE} ${CLEANDIR}
.endif
@echo
.if !defined(NOOBJDIR)
@echo "--------------------------------------------------------------"
@echo " Rebuilding the obj tree"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} obj
@echo
.endif
@echo "--------------------------------------------------------------"
@echo " Rebuilding bootstrap tools"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} bootstrap
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding tools necessary to build the include files"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} include-tools
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding /usr/include"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} includes
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding tools needed to build the libraries"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} lib-tools
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding /usr/lib"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} libraries
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding sgml tools, symorder, groff and zic(8)"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} build-tools
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding dependencies"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} depend
@echo
@echo "--------------------------------------------------------------"
@echo " Building everything.."
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} all
@echo
@echo "--------------------------------------------------------------"
@echo " Installing everything.."
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} install
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding man page indexes"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/share/man && ${MAKE} makedb
cd ${.CURDIR} && ${MAKE} buildworld
cd ${.CURDIR} && ${MAKE} -B installworld
.if target(post-world)
@echo
@echo "--------------------------------------------------------------"
@@ -222,9 +164,149 @@ world:
.endif
@echo
@echo "--------------------------------------------------------------"
@echo "make world completed on `LC_TIME= date`"
@echo "make world completed on `LC_TIME=C date`"
@echo "--------------------------------------------------------------"
.if defined(MAKEOBJDIRPREFIX)
WORLDTMP= ${MAKEOBJDIRPREFIX}${.CURDIR}/tmp
.else
WORLDTMP= /usr/obj${.CURDIR}/tmp
.endif
STRICTTMPPATH= ${WORLDTMP}/sbin:${WORLDTMP}/usr/sbin:${WORLDTMP}/bin:${WORLDTMP}/usr/bin
TMPPATH= ${STRICTTMPPATH}:${PATH}
# XXX COMPILER_PATH is needed for finding cc1, ld and as
# XXX GCC_EXEC_PREFIX is for *crt.o. It is probably unnecssary now
# tbat LIBRARY_PATH is set. We still can't use -nostdlib, since gcc
# wouldn't link *crt.o or libgcc if it were used.
# XXX LD_LIBRARY_PATH is for ld.so. It is also used by ld, although we don't
# want that - all compile-time library paths should be resolved by gcc.
# It fails for set[ug]id executables (are any used?).
COMPILER_ENV= BISON_SIMPLE=${WORLDTMP}/usr/share/misc/bison.simple \
COMPILER_PATH=${WORLDTMP}/usr/libexec:${WORLDTMP}/usr/bin \
GCC_EXEC_PREFIX=${WORLDTMP}/usr/lib/ \
LD_LIBRARY_PATH=${WORLDTMP}${SHLIBDIR} \
LIBRARY_PATH=${WORLDTMP}${SHLIBDIR}:${WORLDTMP}/usr/lib
BMAKEENV= PATH=${TMPPATH} ${COMPILER_ENV} NOEXTRADEPEND=t
XMAKEENV= PATH=${STRICTTMPPATH} ${COMPILER_ENV} \
CC='cc -nostdinc' # XXX -nostdlib
# used to compile and install 'make' in temporary build tree
IBMAKE= ${BMAKEENV} ${MAKE} DESTDIR=${WORLDTMP}
# bootstrap make
BMAKE= ${BMAKEENV} ${WORLDTMP}/usr/bin/${MAKE} DESTDIR=${WORLDTMP}
# cross make used for compilation
XMAKE= ${XMAKEENV} ${WORLDTMP}/usr/bin/${MAKE} DESTDIR=${WORLDTMP}
# cross make used for final installation
IXMAKE= ${XMAKEENV} ${WORLDTMP}/usr/bin/${MAKE}
#
# buildworld
#
# Attempt to rebuild the entire system, with reasonable chance of
# success, regardless of how old your existing system is.
#
buildworld:
.if !defined(NOCLEAN)
@echo
@echo "--------------------------------------------------------------"
@echo " Cleaning up the temporary build tree"
@echo "--------------------------------------------------------------"
mkdir -p ${WORLDTMP}
chflags -R noschg ${WORLDTMP}/
rm -rf ${WORLDTMP}
.endif
.if !defined(NOTOOLS)
@echo
@echo "--------------------------------------------------------------"
@echo " Making make"
@echo "--------------------------------------------------------------"
mkdir -p ${WORLDTMP}/usr/bin
.if !defined(NOCLEAN) || !defined(NOOBJDIR)
cd ${.CURDIR}/usr.bin/make && \
${IBMAKE} -I${.CURDIR}/share/mk ${CLEANDIR} ${OBJDIR}
.endif
cd ${.CURDIR}/usr.bin/make && \
${IBMAKE} -I${.CURDIR}/share/mk depend && \
${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} all && \
${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} install && \
${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} clean cleandepend
.endif
@echo
@echo "--------------------------------------------------------------"
@echo " Making hierarchy"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${BMAKE} hierarchy
.if !defined(NOCLEAN)
@echo
@echo "--------------------------------------------------------------"
@echo " Cleaning up the obj tree"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${BMAKE} par-${CLEANDIR}
.endif
.if !defined(NOOBJDIR)
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding the obj tree"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${BMAKE} par-obj
.endif
.if !defined(NOTOOLS)
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding bootstrap tools"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${BMAKE} bootstrap
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding tools necessary to build the include files"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${BMAKE} include-tools
.endif
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding /usr/include"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && SHARED=symlinks ${BMAKE} includes
.if !defined(NOTOOLS)
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding tools needed to build the libraries"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${BMAKE} lib-tools
.endif
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding /usr/lib"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${BMAKE} libraries
.if !defined(NOTOOLS)
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding all other tools needed to build the world"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${BMAKE} build-tools
.endif
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding dependencies"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${XMAKE} ${.MAKEFLAGS} par-depend
@echo
@echo "--------------------------------------------------------------"
@echo " Building everything.."
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${XMAKE} all
#
# installworld
#
# Installs everything compiled by a 'buildworld'.
#
installworld:
cd ${.CURDIR} && ${IXMAKE} reinstall
#
# reinstall
#
@@ -239,21 +321,20 @@ reinstall:
cd ${.CURDIR} && ${MAKE} hierarchy
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding /usr/share/mk"
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} mk
@echo
@echo "--------------------------------------------------------------"
@echo " Installing everything.."
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} install
@echo
@echo "--------------------------------------------------------------"
@echo " Re-scanning the shared libraries.."
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && ldconfig -R
@echo
@echo "--------------------------------------------------------------"
@echo " Rebuilding man page indexes"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/share/man && ${MAKE} makedb
#
# update
#
@@ -263,7 +344,7 @@ reinstall:
update:
.if defined(SUP_UPDATE)
@echo "--------------------------------------------------------------"
@echo "Running sup"
@echo "Running ${SUP}"
@echo "--------------------------------------------------------------"
@${SUP} ${SUPFLAGS} ${SUPFILE}
.if defined(SUPFILE1)
@@ -277,10 +358,9 @@ update:
@echo "--------------------------------------------------------------"
@echo "Updating /usr/src from cvs repository" ${CVSROOT}
@echo "--------------------------------------------------------------"
cd ${.CURDIR} && cvs -q update -P -d
cd ${.CURDIR} && cvs -q update -P -d -r RELENG_2_2
.endif
#
# most
#
@@ -298,8 +378,8 @@ most:
cd ${.CURDIR}/gnu/libexec && ${MAKE} ${.MAKEFLAGS} all
cd ${.CURDIR}/gnu/usr.bin && ${MAKE} ${.MAKEFLAGS} all
cd ${.CURDIR}/gnu/usr.sbin && ${MAKE} ${.MAKEFLAGS} all
#.if defined(MAKE_EBONES) && !defined(NOCRYPT)
# cd ${.CURDIR}/eBones && ${MAKE} ${.MAKEFLAGS} most
#.if defined(MAKE_KERBEROS4) && !defined(NOCRYPT)
# cd ${.CURDIR}/kerberosIV && ${MAKE} ${.MAKEFLAGS} most
#.endif
#.if !defined(NOSECURE) && !defined(NOCRYPT)
# cd ${.CURDIR}/secure && ${MAKE} ${.MAKEFLAGS} most
@@ -323,8 +403,8 @@ installmost:
cd ${.CURDIR}/gnu/libexec && ${MAKE} ${.MAKEFLAGS} install
cd ${.CURDIR}/gnu/usr.bin && ${MAKE} ${.MAKEFLAGS} install
cd ${.CURDIR}/gnu/usr.sbin && ${MAKE} ${.MAKEFLAGS} install
#.if defined(MAKE_EBONES) && !defined(NOCRYPT)
# cd ${.CURDIR}/eBones && ${MAKE} ${.MAKEFLAGS} installmost
#.if defined(MAKE_KERBEROS4) && !defined(NOCRYPT)
# cd ${.CURDIR}/kerberos4 && ${MAKE} ${.MAKEFLAGS} installmost
#.endif
#.if !defined(NOSECURE) && !defined(NOCRYPT)
# cd ${.CURDIR}/secure && ${MAKE} ${.MAKEFLAGS} installmost
@@ -347,34 +427,43 @@ installmost:
hierarchy:
cd ${.CURDIR}/etc && ${MAKE} distrib-dirs
#
# mk - update the /usr/share/mk makefiles.
#
mk:
cd ${.CURDIR}/share/mk && ${MAKE} install
#
# bootstrap - [re]build tools needed to run the actual build, this includes
# tools needed by 'make depend', as some tools are needed to generate source
# for the dependency information to be gathered from.
#
bootstrap:
.if defined(DESTDIR)
rm -f ${DESTDIR}/usr/src/sys
ln -s ${.CURDIR}/sys ${DESTDIR}/usr/src
cd ${.CURDIR}/include && find -dx . | cpio -dump ${DESTDIR}/usr/include
cd ${.CURDIR}/include && make symlinks
.endif
cd ${.CURDIR}/usr.bin/make && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/xinstall && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/lex && ${MAKE} bootstrap && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} -DNOLIB all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} -DNOLIB all && \
${MAKE} ${MK_FLAGS} -DNOLIB -B install ${CLEANDIR}
.if !defined(NOOBJDIR)
cd ${.CURDIR}/usr.bin/lex && ${MAKE} obj
.endif
#
# include-tools - generally the same as 'bootstrap', except that it's for
# things that are specifically needed to generate include files.
#
# XXX should be merged with bootstrap, it's not worth keeeping them seperate
# XXX should be merged with bootstrap, it's not worth keeeping them separate.
# Well, maybe it is now. We force 'cleandepend' here to avoid dependencies
# on cleaned away headers in ${WORLDTMP}.
#
include-tools:
cd ${.CURDIR}/usr.bin/rpcgen && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/rpcgen && ${MAKE} -B cleandepend depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
#
# includes - possibly generate and install the include files.
@@ -385,25 +474,31 @@ includes:
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
-p ${DESTDIR}/usr/include
.endif
cd ${.CURDIR}/include/rpcsvc && ${MAKE} all
cd ${.CURDIR}/include && ${MAKE} install
cd ${.CURDIR}/include && ${MAKE} -B all install
cd ${.CURDIR}/gnu/include && ${MAKE} install
cd ${.CURDIR}/gnu/lib/libreadline && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libregex && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libstdc++ && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libdialog && ${MAKE} beforeinstall
.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
cd ${.CURDIR}/eBones/include && ${MAKE} beforeinstall
cd ${.CURDIR}/eBones/lib/libkrb && ${MAKE} beforeinstall
cd ${.CURDIR}/eBones/lib/libkadm && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libstdc++ && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libdialog && ${MAKE} beforeinstall
.if exists(kerberosIV) && !defined(NOCRYPT) && defined(MAKE_KERBEROS4)
cd ${.CURDIR}/kerberosIV/lib/libacl && ${MAKE} beforeinstall
cd ${.CURDIR}/kerberosIV/lib/libkadm && ${MAKE} beforeinstall
cd ${.CURDIR}/kerberosIV/lib/libkafs && ${MAKE} beforeinstall
cd ${.CURDIR}/kerberosIV/lib/libkdb && ${MAKE} beforeinstall
cd ${.CURDIR}/kerberosIV/lib/libkrb && ${MAKE} beforeinstall
cd ${.CURDIR}/kerberosIV/lib/libtelnet && ${MAKE} beforeinstall
.else
cd ${.CURDIR}/lib/libtelnet && ${MAKE} beforeinstall
.endif
cd ${.CURDIR}/lib/csu/i386 && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libalias && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libcurses && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libedit && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libftpio && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libmd && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libmytinfo && ${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
@@ -411,103 +506,199 @@ includes:
cd ${.CURDIR}/lib/libpcap && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/librpcsvc && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libskey && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libtcl && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libtermcap && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libcom_err && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libss && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libscsi && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libutil && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libz && ${MAKE} beforeinstall
#
# lib-tools - build tools to compile and install the libraries.
#
# XXX gperf is required for cc
# XXX a new ld and tsort is required for cc
lib-tools:
cd ${.CURDIR}/usr.bin/tsort && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/ld && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/as && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/ar && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/ranlib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/nm && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/lex/lib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/compile_et && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} && \
rm -f /usr/sbin/compile_et
cd ${.CURDIR}/usr.bin/mk_cmds && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/bison && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/gperf && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/cc && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
.for d in \
gnu/usr.bin/gperf \
gnu/usr.bin/ld \
usr.bin/tsort \
gnu/usr.bin/as \
gnu/usr.bin/bison \
usr.bin/ar \
usr.bin/compile_et \
usr.bin/lex/lib \
usr.bin/mk_cmds \
usr.bin/nm \
usr.bin/ranlib \
usr.bin/uudecode \
gnu/usr.bin/cc
cd ${.CURDIR}/$d && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endfor
#
# libraries - build and install the libraries
#
libraries:
.if exists(lib/csu/i386)
cd ${.CURDIR}/lib/csu/i386 && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib/libcompat)
cd ${.CURDIR}/lib/libcompat && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib/libc)
cd ${.CURDIR}/lib/libc && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib/libmytinfo)
cd ${.CURDIR}/lib/libmytinfo && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib/libncurses)
cd ${.CURDIR}/lib/libncurses && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib/libtermcap)
cd ${.CURDIR}/lib/libtermcap && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib)
cd ${.CURDIR}/lib/csu/i386 && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(gnu)
cd ${.CURDIR}/gnu/lib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
cd ${.CURDIR}/secure/lib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib)
cd ${.CURDIR}/lib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(usr.bin/lex/lib)
cd ${.CURDIR}/usr.bin/lex/lib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
cd ${.CURDIR}/eBones/lib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
.if exists(kerberosIV) && exists(crypto) && !defined(NOCRYPT) && defined(MAKE_KERBEROS4)
cd ${.CURDIR}/kerberosIV/lib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(usr.sbin/pcvt/keycap)
cd ${.CURDIR}/usr.sbin/pcvt/keycap && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
# Exclude perl from the build-tools if NOPERL is defined.
.if defined(NOPERL)
_perl=
.else
_perl= gnu/usr.bin/perl/perl
.endif
#
# build-tools - build and install any other tools needed to complete the
# compile and install.
# ifdef stale
# bc and cpp are required to build groff. Otherwise, the order here is
# mostly historical, i.e., bogus.
# chmod is used to build gcc's tmpmultilib[2] at obscure times.
# endif stale
# XXX uname is a bug - the target should not depend on the host.
#
build-tools:
.for d in \
usr.bin/symorder \
usr.bin/sgmls \
usr.bin/sgmlfmt \
share/sgml \
usr.sbin/zic \
bin/cat \
bin/chmod \
bin/cp \
bin/date \
bin/dd \
bin/echo \
bin/expr \
bin/hostname \
bin/ln \
bin/ls \
bin/mkdir \
bin/mv \
bin/rm \
bin/test \
gnu/usr.bin/awk \
gnu/usr.bin/groff
gnu/usr.bin/bc \
gnu/usr.bin/grep \
gnu/usr.bin/groff \
gnu/usr.bin/gzip \
gnu/usr.bin/man/makewhatis \
gnu/usr.bin/patch \
${_perl} \
gnu/usr.bin/sort \
gnu/usr.bin/texinfo \
usr.bin/basename \
usr.bin/cap_mkdb \
usr.bin/chflags \
usr.bin/cmp \
usr.bin/col \
usr.bin/cpp \
usr.bin/expand \
usr.bin/file2c \
usr.bin/find \
usr.bin/gencat \
usr.bin/id \
usr.bin/lorder \
usr.bin/m4 \
usr.bin/mkdep \
usr.bin/paste \
usr.bin/sed \
usr.bin/size \
usr.bin/soelim \
usr.bin/strip \
usr.bin/symorder \
usr.bin/touch \
usr.bin/tr \
usr.bin/true \
usr.bin/uname \
usr.bin/uuencode \
usr.bin/vgrind \
usr.bin/vi \
usr.bin/wc \
usr.bin/yacc \
usr.sbin/chown \
usr.sbin/mtree \
usr.sbin/zic \
bin/sh
cd ${.CURDIR}/$d && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endfor
.for __target in clean cleandir obj depend
.for entry in ${SUBDIR}
${entry}.${__target}__D: .PHONY
if test -d ${.CURDIR}/${entry}.${MACHINE}; then \
${ECHODIR} "===> ${DIRPRFX}${entry}.${MACHINE}"; \
edir=${entry}.${MACHINE}; \
cd ${.CURDIR}/$${edir}; \
else \
${ECHODIR} "===> ${DIRPRFX}${entry}"; \
edir=${entry}; \
cd ${.CURDIR}/$${edir}; \
fi; \
${MAKE} ${__target} DIRPRFX=${DIRPRFX}$${edir}/
.endfor
par-${__target}: ${SUBDIR:S/$/.${__target}__D/}
.endfor
.include <bsd.subdir.mk>
+76
View File
@@ -0,0 +1,76 @@
This is the top level of the FreeBSD source directory. This file
was last revised on: $Id: README,v 1.7.2.2 1998/02/15 10:47:57 jkh Exp $
For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).
The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel and the contents of /etc. Please see the top of the Makefile
in this directory for more information on the standard build targets
and compile-time flags.
Building a kernel with config(8) is a somewhat more involved process,
documentation for which can be found at:
http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.
The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel. The file LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).
Source Roadmap:
---------------
bin System/User commands.
contrib Packages contributed by 3rd parties.
crypto Export controlled stuff (see crypto/README).
etc Template files for /etc
games Amusements.
gnu Various commands and libraries under the GNU Public License.
Please see gnu/COPYING* for more information.
include System include files.
kerberosIV Kerberos package - also export controlled.
lib System libraries.
libexec System daemons.
lkm Loadable Kernel Modules.
release Release building Makefile & associated tools.
sbin System commands.
secure DES and DES-related utilities - NOT FOR EXPORT!
share Shared resources.
sys Kernel sources.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.
For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:
http://www.freebsd.org/handbook/synching.html
+2 -2
View File
@@ -1,7 +1,7 @@
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.3 1995/09/29 19:31:55 ache Exp $
# $Id: Makefile,v 1.4 1995/10/01 14:24:01 markm Exp $
SUBDIR= cat chmod cp csh date dd df domainname echo ed expr hostname \
SUBDIR= cat chio chmod cp csh date dd df domainname echo ed expr hostname \
kill ln ls mkdir mv pax ps pwd rcp rm rmail rmdir sh sleep \
stty sync test
+21 -24
View File
@@ -32,10 +32,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)cat.1 8.1 (Berkeley) 6/29/93
.\" $Id: cat.1,v 1.2 1994/09/24 02:53:25 davidg Exp $
.\" @(#)cat.1 8.3 (Berkeley) 5/2/95
.\" $Id: cat.1,v 1.3.2.2 1998/06/30 06:42:19 charnier Exp $
.\"
.Dd June 29, 1993
.Dd May 2, 1995
.Dt CAT 1
.Os BSD 3
.Sh NAME
@@ -48,7 +48,7 @@
.Op Ar
.Sh DESCRIPTION
The
.Nm cat
.Nm
utility reads files sequentially, writing them to the standard output.
The
.Ar file
@@ -56,49 +56,44 @@ operands are processed in command line order.
A single dash represents the standard input.
.Pp
The options are as follows:
.Bl -tag -width Ds
.Bl -tag -width indent
.It Fl b
Implies the
.Fl n
option but doesn't number blank lines.
Number the non-blank output lines, starting at 1.
.It Fl e
Implies the
Display non-printing characters (see the
.Fl v
option, and displays a dollar sign
option), and display a dollar sign
.Pq Ql \&$
at the end of each line
as well.
at the end of each line.
.It Fl n
Number the
.Ar output
lines, starting at 1.
Number the output lines, starting at 1.
.It Fl s
Squeeze multiple adjacent empty lines, causing the output to be
single spaced.
.It Fl t
Implies the
Display non-printing characters (see the
.Fl v
option, and displays tab characters as
.Pq Ql ^I
as well.
option), and display tab characters as
.Ql ^I .
.It Fl u
The
.Fl u
option guarantees that the output is unbuffered.
.It Fl v
Displays non-printing characters so they are visible.
Display non-printing characters so they are visible.
Control characters print as
.Ql ^X
for control-X; the delete
character (octal 0177) prints as
.Ql ^?
Non-ascii characters (with the high bit set) are printed as
.Pf Non- Tn ASCII
characters (with the high bit set) are printed as
.Ql M-
(for meta) followed by the character for the low 7 bits.
.El
.Pp
The
.Nm cat
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh BUGS
Because of the shell language mechanism used to perform output
@@ -109,7 +104,8 @@ will cause the original data in file1 to be destroyed!
.Xr head 1 ,
.Xr more 1 ,
.Xr pr 1 ,
.Xr tail 1
.Xr tail 1 ,
.Xr vis 1
.Rs
.%A Rob Pike
.%T "UNIX Style, or cat -v Considered Harmful"
@@ -120,7 +116,8 @@ will cause the original data in file1 to be destroyed!
A
.Nm
command appeared in Version 1 AT&T UNIX.
Dennis Ritchie designed and wrote the first man page.
.An Dennis Ritchie
designed and wrote the first man page.
It appears to have been
.Xr cat 1 .
+4 -4
View File
@@ -33,17 +33,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cat.c,v 1.4 1996/09/28 21:19:27 imp Exp $
* $Id: cat.c,v 1.5 1996/09/30 15:45:36 ache Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
static char const sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
#endif /* not lint */
#include <sys/param.h>
@@ -78,7 +78,7 @@ main(argc, argv)
setlocale(LC_CTYPE, "");
while ((ch = getopt(argc, argv, "benstuv")) != EOF)
while ((ch = getopt(argc, argv, "benstuv")) != -1)
switch (ch) {
case 'b':
bflag = nflag = 1; /* -b implies -n */
-9
View File
@@ -1,9 +0,0 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
NOSHARED= true
PROG= chflags
SRCS= chflags.c stat_flags.c
.PATH: ${.CURDIR}/../../bin/ls
.include <bsd.prog.mk>
-125
View File
@@ -1,125 +0,0 @@
.\" Copyright (c) 1989, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 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.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)chflags.1 8.2 (Berkeley) 3/31/94
.\"
.Dd March 31, 1994
.Dt CHFLAGS 1
.Os
.Sh NAME
.Nm chflags
.Nd change file flags
.Sh SYNOPSIS
.Nm chflags
.Oo
.Fl R
.Op Fl H | Fl L | Fl P
.Oc
.Ar flags
.Ar file ...
.Sh DESCRIPTION
The
.Nm chflags
utility modifies the file flags of the listed files
as specified by the
.Ar flags
operand.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl H
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.)
.It Fl L
If the
.Fl R
option is specified, all symbolic links are followed.
.It Fl P
If the
.Fl R
option is specified, no symbolic links are followed.
.It Fl R
Change the file flags for the file hierarchies rooted
in the files instead of just the files themselves.
.El
.Pp
Flags are a comma separated list of keywords.
The following keywords are currently defined:
.Bd -literal -offset indent compact
arch set the archived flag (super-user only)
dump set the dump flag
sappnd set the system append-only flag (super-user only)
schg set the system immutable flag (super-user only)
uappnd set the user append-only flag (owner or super-user only)
uchg set the user immutable flag (owner or super-user only)
archived, sappend, schange, simmutable, uappend, uchange, uimmutable
aliases for the above
.Ed
.Pp
Putting the letters
.Dq no
before an option causes the flag to be turned off.
For example:
.Bd -literal -offset indent compact
nodump the file should never be dumped
.Ed
.Pp
Symbolic links do not have flags, so unless the
.Fl H
or
.Fl L
option is set,
.Nm chflags
on a symbolic link always succeeds and has no effect.
The
.Fl H ,
.Fl L
and
.Fl P
options are ignored unless the
.Fl R
option is specified.
In addition, these options override each other and the
command's actions are determined by the last one specified.
.Pp
The
.Nm chflags
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr chflags 2 ,
.Xr stat 2 ,
.Xr fts 3 ,
.Xr symlink 7
-180
View File
@@ -1,180 +0,0 @@
/*
* Copyright (c) 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 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.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1992, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
u_long string_to_flags __P((char **, u_long *, u_long *));
void usage __P((void));
int
main(argc, argv)
int argc;
char *argv[];
{
FTS *ftsp;
FTSENT *p;
u_long clear, set;
long val;
int Hflag, Lflag, Pflag, Rflag, ch, fts_options, oct, rval;
char *flags, *ep;
Hflag = Lflag = Pflag = Rflag = 0;
while ((ch = getopt(argc, argv, "HLPR")) != EOF)
switch (ch) {
case 'H':
Hflag = 1;
Lflag = Pflag = 0;
break;
case 'L':
Lflag = 1;
Hflag = Pflag = 0;
break;
case 'P':
Pflag = 1;
Hflag = Lflag = 0;
break;
case 'R':
Rflag = 1;
break;
case '?':
default:
usage();
}
argv += optind;
argc -= optind;
if (argc < 2)
usage();
fts_options = FTS_PHYSICAL;
if (Rflag) {
if (Hflag)
fts_options |= FTS_COMFOLLOW;
if (Lflag) {
fts_options &= ~FTS_PHYSICAL;
fts_options |= FTS_LOGICAL;
}
}
flags = *argv;
if (*flags >= '0' && *flags <= '7') {
errno = 0;
val = strtol(flags, &ep, 8);
if (val < 0)
errno = ERANGE;
if (errno)
err(1, "invalid flags: %s", flags);
if (*ep)
errx(1, "invalid flags: %s", flags);
set = val;
oct = 1;
} else {
if (string_to_flags(&flags, &set, &clear))
errx(1, "invalid flag: %s", flags);
clear = ~clear;
oct = 0;
}
if ((ftsp = fts_open(++argv, fts_options , 0)) == NULL)
err(1, NULL);
for (rval = 0; (p = fts_read(ftsp)) != NULL;) {
switch (p->fts_info) {
case FTS_D:
if (Rflag) /* Change it at FTS_DP. */
continue;
fts_set(ftsp, p, FTS_SKIP);
break;
case FTS_DNR: /* Warn, chflag, continue. */
warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
rval = 1;
break;
case FTS_ERR: /* Warn, continue. */
case FTS_NS:
warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
rval = 1;
continue;
case FTS_SL: /* Ignore. */
case FTS_SLNONE:
/*
* The only symlinks that end up here are ones that
* don't point to anything and ones that we found
* doing a physical walk.
*/
continue;
default:
break;
}
if (oct) {
if (!chflags(p->fts_accpath, set))
continue;
} else {
p->fts_statp->st_flags |= set;
p->fts_statp->st_flags &= clear;
if (!chflags(p->fts_accpath, p->fts_statp->st_flags))
continue;
}
warn("%s", p->fts_path);
rval = 1;
}
if (errno)
err(1, "fts_read");
exit(rval);
}
void
usage()
{
(void)fprintf(stderr,
"usage: chflags [-R [-H | -L | -P]] flags file ...\n");
exit(1);
}
+7
View File
@@ -0,0 +1,7 @@
# $Id: Makefile,v 1.1.1.1 1997/03/06 15:30:06 joerg Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= chio
SRCS= chio.c
.include <bsd.prog.mk>
+205
View File
@@ -0,0 +1,205 @@
.\" $NetBSD: $
.\"
.\" Copyright (c) 1996 Jason R. Thorpe <[email protected]>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgements:
.\" This product includes software developed by Jason R. Thorpe
.\" for And Communications, http://www.and.com/
.\" 4. The name of the author may not be used to endorse or promote products
.\" derived from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id$
.\"
.Dd April 2, 1996
.Dt CHIO 1
.Os
.Sh NAME
.Nm chio
.Nd medium changer control utility
.Sh SYNOPSIS
.Nm chio
.Op Fl f Ar changer
.Ar command
.Ar arg1
.Ar arg2
.Oo
.Ar arg3 Oo ...
.Oc
.Oc
.Sh DESCRIPTION
.Nm Chio
is used to control the operation of medium changers, such as those found
in tape and optical disk jukeboxes.
.Pp
The options are as follows:
.Bl -tag -width indent
.It Fl f Ar changer
Use the device
.Pa changer
rather than the default device
.Pa /dev/ch0 .
.El
.Pp
The default changer may be overridden by setting the environment variable
.Ev CHANGER
to the desired changer device.
.Pp
A medium changer apparatus is made up of
.Em elements .
There are four element types:
.Em picker
(medium transport),
.Em slot
(storage),
.Em portal
(import/export), and
.Em drive
(data transfer). In this command description, the shorthand
.Em ET
will be used to represent an element type, and
.Em EU
will be used to represent an element unit. For example, to represent
the first robotic arm in the changer, the
.Em ET
would be
.Dq picker
and the
.Em EU
would be
.Dq 0 .
.Pp
.Sh SUPPORTED COMMANDS
.Bl -tag -width indent
.It Xo Nm chio move
.Ar <from ET> <from EU> <to ET> <to EU>
.Op Ar inv
.Xc
Move the media unit from
.Pa <from ET/EU>
to
.Pa <to ET/EU> .
If the optional modifier
.Pa inv
is specified, the media unit will be inverted before insertion.
.It Xo Nm chio exchange
.Ar <src ET> <src EU> <dst1 ET> <dst1 EU>
.Op Ar <dst2 ET> <dst2 ET>
.Op Ar inv1
.Op Ar inv2
.Xc
Perform a media unit exchange operation. The media unit in
.Pa <src ET/EU>
is moved to
.Pa <dst1 ET/EU>
and the media unit previously in
.Pa <dst1 ET/EU>
is moved to
.Pa <dst2 ET/EU> .
In the case of a simple exchange,
.Pa <dst2 ET/EU>
is omitted and the values
.Pa <src ET/EU>
are used in their place.
The optional modifiers
.Pa inv1
and
.Pa inv2
specify whether the media units are to be inverted before insertion into
.Pa <dst1 ET/EU>
and
.Pa <dst2 ET/EU>
respectively.
.Pp
Note that not all medium changers support the
.Nm exchange
operation; The changer must have multiple free pickers or emulate
multiple free pickers with transient storage.
.It Xo Nm chio position
.Ar <to ET> <to EU>
.Op Ar inv
.Xc
Position the picker in front of the element described by
.Pa <to ET/EU> .
If the optional modifier
.Pa inv
is specified, the media unit will be inverted before insertion.
.Pp
Note that not all changers behave as expected when issued this command.
.It Nm chio params
Report the number of slots, drives, pickers, and portals in the changer,
and which picker unit the changer is currently configured to use.
.It Nm chio getpicker
Report which picker unit the changer is currently configured to use.
.It Xo Nm chio setpicker
.Ar <unit>
.Xc
Configure the changer to use picker
.Pa <unit> .
.It Xo Nm chio status
.Op Ar <type>
.Xc
Report the status of all elements in the changer. If
.Pa <type>
is specified, report the status of all elements of type
.Pa <type> .
.El
.Pp
The status bits are defined as follows:
.Bl -tag -width indent
.It FULL
Element contains a media unit.
.It IMPEXP
Media was deposited into element by an outside human operator.
.It EXCEPT
Element is in an abnormal state.
.It ACCESS
Media in this element is accessible by a picker.
.It EXENAB
Element supports passing media (exporting) to an outside human operator.
.It INENAB
Element supports receiving media (importing) from an outside human operator.
.El
.Sh EXAMPLES
.Bl -tag -width indent
.It Nm chio move slot 3 drive 0
Move the media in slot 3 (fourth slot) to drive 0 (first drive).
.It Nm chio setpicker 2
Configure the changer to use picker 2 (third picker) for operations.
.El
.Sh FILES
.Bl -tag -width /dev/ch0 -compact
.It Pa /dev/ch0
default changer device
.El
.Sh SEE ALSO
.Xr mt 1 ,
.Xr ch 4 ,
.Xr mount 8
.Sh AUTHORS
The
.Nm
program and SCSI changer driver were written by
.An Jason R. Thorpe Aq [email protected]
for And Communications, http://www.and.com/
+667
View File
@@ -0,0 +1,667 @@
/* $Id: chio.c,v 1.1.1.1.2.2 1997/08/24 10:29:16 jkh Exp $ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgements:
* This product includes software developed by Jason R. Thorpe
* for And Communications, http://www.and.com/
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/chio.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "defs.h"
#include "pathnames.h"
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 int parse_special __P((char *));
static int is_special __P((char *));
static char *bits_to_string __P((int, const 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 **));
/* Valid changer element types. */
const struct element_type elements[] = {
{ "picker", CHET_MT },
{ "slot", CHET_ST },
{ "portal", CHET_IE },
{ "drive", CHET_DT },
{ NULL, 0 },
};
/* Valid commands. */
const struct changer_command commands[] = {
{ "move", do_move },
{ "exchange", do_exchange },
{ "position", do_position },
{ "params", do_params },
{ "getpicker", do_getpicker },
{ "setpicker", do_setpicker },
{ "status", do_status },
{ NULL, 0 },
};
/* Valid special words. */
const struct special_word specials[] = {
{ "inv", SW_INVERT },
{ "inv1", SW_INVERT1 },
{ "inv2", SW_INVERT2 },
{ NULL, 0 },
};
static int changer_fd;
static char *changer_name;
int
main(argc, argv)
int argc;
char **argv;
{
int ch, i;
while ((ch = getopt(argc, argv, "f:")) != -1) {
switch (ch) {
case 'f':
changer_name = optarg;
break;
default:
usage();
}
}
argc -= optind;
argv += optind;
if (argc == 0)
usage();
/* Get the default changer if not already specified. */
if (changer_name == NULL)
if ((changer_name = getenv(CHANGER_ENV_VAR)) == NULL)
changer_name = _PATH_CH;
/* Open the changer device. */
if ((changer_fd = open(changer_name, O_RDWR, 0600)) == -1)
err(1, "%s: open", changer_name);
/* Register cleanup function. */
if (atexit(cleanup))
err(1, "can't register cleanup function");
/* Find the specified command. */
for (i = 0; commands[i].cc_name != NULL; ++i)
if (strcmp(*argv, commands[i].cc_name) == 0)
break;
if (commands[i].cc_name == NULL)
errx(1, "unknown command: %s", *argv);
/* Skip over the command name and call handler. */
++argv; --argc;
exit ((*commands[i].cc_handler)(commands[i].cc_name, argc, argv));
}
static int
do_move(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_move cmd;
int val;
/*
* On a move command, we expect the following:
*
* <from ET> <from EU> <to ET> <to EU> [inv]
*
* where ET == element type and EU == element unit.
*/
if (argc < 4) {
warnx("%s: too few arguments", cname);
goto usage;
} else if (argc > 5) {
warnx("%s: too many arguments", cname);
goto usage;
}
bzero(&cmd, sizeof(cmd));
/* <from ET> */
cmd.cm_fromtype = parse_element_type(*argv);
++argv; --argc;
/* <from EU> */
cmd.cm_fromunit = parse_element_unit(*argv);
++argv; --argc;
/* <to ET> */
cmd.cm_totype = parse_element_type(*argv);
++argv; --argc;
/* <to EU> */
cmd.cm_tounit = parse_element_unit(*argv);
++argv; --argc;
/* Deal with optional command modifier. */
if (argc) {
val = parse_special(*argv);
switch (val) {
case SW_INVERT:
cmd.cm_flags |= CM_INVERT;
break;
default:
errx(1, "%s: inappropriate modifier `%s'",
cname, *argv);
/* NOTREACHED */
}
}
/* Send command to changer. */
if (ioctl(changer_fd, CHIOMOVE, (char *)&cmd))
err(1, "%s: CHIOMOVE", changer_name);
return (0);
usage:
fprintf(stderr, "usage: chio %s "
"<from ET> <from EU> <to ET> <to EU> [inv]\n", cname);
return (1);
}
static int
do_exchange(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_exchange cmd;
int val;
/*
* On an exchange command, we expect the following:
*
* <src ET> <src EU> <dst1 ET> <dst1 EU> [<dst2 ET> <dst2 EU>] [inv1] [inv2]
*
* where ET == element type and EU == element unit.
*/
if (argc < 4) {
warnx("%s: too few arguments", cname);
goto usage;
} else if (argc > 8) {
warnx("%s: too many arguments", cname);
goto usage;
}
bzero(&cmd, sizeof(cmd));
/* <src ET> */
cmd.ce_srctype = parse_element_type(*argv);
++argv; --argc;
/* <src EU> */
cmd.ce_srcunit = parse_element_unit(*argv);
++argv; --argc;
/* <dst1 ET> */
cmd.ce_fdsttype = parse_element_type(*argv);
++argv; --argc;
/* <dst1 EU> */
cmd.ce_fdstunit = parse_element_unit(*argv);
++argv; --argc;
/*
* If the next token is a special word or there are no more
* arguments, then this is a case of simple exchange.
* dst2 == src.
*/
if ((argc == 0) || is_special(*argv)) {
cmd.ce_sdsttype = cmd.ce_srctype;
cmd.ce_sdstunit = cmd.ce_srcunit;
goto do_special;
}
/* <dst2 ET> */
cmd.ce_sdsttype = parse_element_type(*argv);
++argv; --argc;
/* <dst2 EU> */
cmd.ce_sdstunit = parse_element_unit(*argv);
++argv; --argc;
do_special:
/* Deal with optional command modifiers. */
while (argc) {
val = parse_special(*argv);
++argv; --argc;
switch (val) {
case SW_INVERT1:
cmd.ce_flags |= CE_INVERT1;
break;
case SW_INVERT2:
cmd.ce_flags |= CE_INVERT2;
break;
default:
errx(1, "%s: inappropriate modifier `%s'",
cname, *argv);
/* NOTREACHED */
}
}
/* Send command to changer. */
if (ioctl(changer_fd, CHIOEXCHANGE, (char *)&cmd))
err(1, "%s: CHIOEXCHANGE", changer_name);
return (0);
usage:
fprintf(stderr,
"usage: chio %s <src ET> <src EU> <dst1 ET> <dst1 EU>\n"
" [<dst2 ET> <dst2 EU>] [inv1] [inv2]\n", cname);
return (1);
}
static int
do_position(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_position cmd;
int val;
/*
* On a position command, we expect the following:
*
* <to ET> <to EU> [inv]
*
* where ET == element type and EU == element unit.
*/
if (argc < 2) {
warnx("%s: too few arguments", cname);
goto usage;
} else if (argc > 3) {
warnx("%s: too many arguments", cname);
goto usage;
}
bzero(&cmd, sizeof(cmd));
/* <to ET> */
cmd.cp_type = parse_element_type(*argv);
++argv; --argc;
/* <to EU> */
cmd.cp_unit = parse_element_unit(*argv);
++argv; --argc;
/* Deal with optional command modifier. */
if (argc) {
val = parse_special(*argv);
switch (val) {
case SW_INVERT:
cmd.cp_flags |= CP_INVERT;
break;
default:
errx(1, "%s: inappropriate modifier `%s'",
cname, *argv);
/* NOTREACHED */
}
}
/* Send command to changer. */
if (ioctl(changer_fd, CHIOPOSITION, (char *)&cmd))
err(1, "%s: CHIOPOSITION", changer_name);
return (0);
usage:
fprintf(stderr, "usage: chio %s <to ET> <to EU> [inv]\n", cname);
return (1);
}
static int
do_params(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_params data;
/* No arguments to this command. */
if (argc) {
warnx("%s: no arguments expected", cname);
goto usage;
}
/* Get params from changer and display them. */
bzero(&data, sizeof(data));
if (ioctl(changer_fd, CHIOGPARAMS, (char *)&data))
err(1, "%s: CHIOGPARAMS", changer_name);
printf("%s: %d slot%s, %d drive%s, %d picker%s",
changer_name,
data.cp_nslots, (data.cp_nslots > 1) ? "s" : "",
data.cp_ndrives, (data.cp_ndrives > 1) ? "s" : "",
data.cp_npickers, (data.cp_npickers > 1) ? "s" : "");
if (data.cp_nportals)
printf(", %d portal%s", data.cp_nportals,
(data.cp_nportals > 1) ? "s" : "");
printf("\n%s: current picker: %d\n", changer_name, data.cp_curpicker);
return (0);
usage:
fprintf(stderr, "usage: chio %s\n", cname);
return (1);
}
static int
do_getpicker(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
int picker;
/* No arguments to this command. */
if (argc) {
warnx("%s: no arguments expected", cname);
goto usage;
}
/* Get current picker from changer and display it. */
if (ioctl(changer_fd, CHIOGPICKER, (char *)&picker))
err(1, "%s: CHIOGPICKER", changer_name);
printf("%s: current picker: %d\n", changer_name, picker);
return (0);
usage:
fprintf(stderr, "usage: chio %s\n", cname);
return (1);
}
static int
do_setpicker(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
int picker;
if (argc < 1) {
warnx("%s: too few arguments", cname);
goto usage;
} else if (argc > 1) {
warnx("%s: too many arguments", cname);
goto usage;
}
picker = parse_element_unit(*argv);
/* Set the changer picker. */
if (ioctl(changer_fd, CHIOSPICKER, (char *)&picker))
err(1, "%s: CHIOSPICKER", changer_name);
return (0);
usage:
fprintf(stderr, "usage: chio %s <picker>\n", cname);
return (1);
}
static int
do_status(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_element_status cmd;
struct changer_params data;
u_int8_t *statusp;
int i, count, chet, schet, echet;
char *description;
count = 0;
description = NULL;
/*
* On a status command, we expect the following:
*
* [<ET>]
*
* where ET == element type.
*
* If we get no arguments, we get the status of all
* known element types.
*/
if (argc > 1) {
warnx("%s: too many arguments", cname);
goto usage;
}
/*
* Get params from changer. Specifically, we need the element
* counts.
*/
bzero(&data, sizeof(data));
if (ioctl(changer_fd, CHIOGPARAMS, (char *)&data))
err(1, "%s: CHIOGPARAMS", changer_name);
if (argc)
schet = echet = parse_element_type(*argv);
else {
schet = CHET_MT;
echet = CHET_DT;
}
for (chet = schet; chet <= echet; ++chet) {
switch (chet) {
case CHET_MT:
count = data.cp_npickers;
description = "picker";
break;
case CHET_ST:
count = data.cp_nslots;
description = "slot";
break;
case CHET_IE:
count = data.cp_nportals;
description = "portal";
break;
case CHET_DT:
count = data.cp_ndrives;
description = "drive";
break;
}
if (count == 0) {
if (argc == 0)
continue;
else {
printf("%s: no %s elements\n",
changer_name, description);
return (0);
}
}
/* Allocate storage for the status bytes. */
if ((statusp = (u_int8_t *)malloc(count)) == NULL)
errx(1, "can't allocate status storage");
bzero(statusp, count);
bzero(&cmd, sizeof(cmd));
cmd.ces_type = chet;
cmd.ces_data = statusp;
if (ioctl(changer_fd, CHIOGSTATUS, (char *)&cmd)) {
free(statusp);
err(1, "%s: CHIOGSTATUS", changer_name);
}
/* Dump the status for each element of this type. */
for (i = 0; i < count; ++i) {
printf("%s %d: %s\n", description, i,
bits_to_string(statusp[i], CESTATUS_BITS));
}
free(statusp);
}
return (0);
usage:
fprintf(stderr, "usage: chio %s [<element type>]\n", cname);
return (1);
}
static int
parse_element_type(cp)
char *cp;
{
int i;
for (i = 0; elements[i].et_name != NULL; ++i)
if (strcmp(elements[i].et_name, cp) == 0)
return (elements[i].et_type);
errx(1, "invalid element type `%s'", cp);
}
static int
parse_element_unit(cp)
char *cp;
{
int i;
char *p;
i = (int)strtol(cp, &p, 10);
if ((i < 0) || (*p != '\0'))
errx(1, "invalid unit number `%s'", cp);
return (i);
}
static int
parse_special(cp)
char *cp;
{
int val;
val = is_special(cp);
if (val)
return (val);
errx(1, "invalid modifier `%s'", cp);
}
static int
is_special(cp)
char *cp;
{
int i;
for (i = 0; specials[i].sw_name != NULL; ++i)
if (strcmp(specials[i].sw_name, cp) == 0)
return (specials[i].sw_value);
return (0);
}
static char *
bits_to_string(v, cp)
int v;
const char *cp;
{
const char *np;
char f, sep, *bp;
static char buf[128];
bp = buf;
bzero(buf, sizeof(buf));
for (sep = '<'; (f = *cp++) != 0; cp = np) {
for (np = cp; *np >= ' ';)
np++;
if ((v & (1 << (f - 1))) == 0)
continue;
bp += snprintf(bp, sizeof(buf) - (bp - &buf[0]),
"%c%.*s", sep, np - cp, cp);
sep = ',';
}
if (sep != '<')
*bp = '>';
return (buf);
}
static void
cleanup()
{
/* Simple enough... */
(void)close(changer_fd);
}
static void
usage()
{
int i;
fprintf(stderr, "usage: chio [-f changer] command [args ...]\n");
fprintf(stderr, "commands:");
for (i = 0; commands[i].cc_name; i++)
fprintf(stderr, " %s", commands[i].cc_name);
fprintf(stderr, "\n");
exit(1);
}
+57
View File
@@ -0,0 +1,57 @@
/* $Id: $ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgements:
* This product includes software developed by Jason R. Thorpe
* for And Communications, http://www.and.com/
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
struct element_type {
char *et_name; /* name; i.e. "picker, "slot", etc. */
int et_type; /* type number */
};
struct changer_command {
char *cc_name; /* command name */
/* command handler */
int (*cc_handler) __P((char *, int, char **));
};
struct special_word {
char *sw_name; /* special word */
int sw_value; /* token value */
};
/* sw_value */
#define SW_INVERT 1 /* set "invert media" flag */
#define SW_INVERT1 2 /* set "invert media 1" flag */
#define SW_INVERT2 3 /* set "invert media 2" flag */
/* Environment variable to check for default changer. */
#define CHANGER_ENV_VAR "CHANGER"
+35
View File
@@ -0,0 +1,35 @@
/* $Id: $ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgements:
* This product includes software developed by Jason R. Thorpe
* for And Communications, http://www.and.com/
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#define _PATH_CH "/dev/ch0"
+53 -22
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
.\" $Id: chmod.1,v 1.3 1996/02/16 00:08:53 joerg Exp $
.\" $Id: chmod.1,v 1.4.2.3 1998/05/22 10:41:45 jkoshy Exp $
.\"
.Dd March 31, 1994
.Dt CHMOD 1
@@ -51,7 +51,7 @@
.Ar file ...
.Sh DESCRIPTION
The
.Nm chmod
.Nm
utility modifies the file mode bits of the listed files
as specified by the
.Ar mode
@@ -82,7 +82,7 @@ Symbolic links do not have modes, so unless the
or
.Fl L
option is set,
.Nm chmod
.Nm
on a symbolic link always succeeds and has no effect.
The
.Fl H ,
@@ -99,35 +99,63 @@ Only the owner of a file or the super-user is permitted to change
the mode of a file.
.Pp
The
.Nm chmod
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh MODES
Modes may be absolute or symbolic.
An absolute mode is an octal number constructed by
.Ar or-ing
the following values:
An absolute mode is an octal number constructed from the sum of
one or more of the following values:
.Pp
.Bl -tag -width 6n -compact -offset indent
.It Li 4000
set-user-ID-on-execution
(the set-user-ID-on-execution bit) Executable files with this bit set
will run with effective uid set to the uid of the file owner.
Directories with the set-user-id bit set will force all files and
sub-directories created in them to be owned by the directory owner
and not by the uid of the creating process, if the underlying file
system supports this feature: see
.Xr chmod 2
and the
.Ar suiddir
option to
.Xr mount 1 .
.It Li 2000
set-group-ID-on-execution
(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.
.It Li 1000
sticky bit, see chmod(2)
(the sticky bit)
When set on a directory, unprivileged users can delete and rename
only those files in the directory that are owned by them, regardless of
the permissions on the directory. Under FreeBSD, the sticky bit is
ignored for executable files and may only be set for directories (see
.Xr sticky 8 ).
.It Li 0400
read by owner
Allow read by owner.
.It Li 0200
write by owner
Allow write by owner.
.It Li 0100
execute (or search for directories) by owner
.It Li 0070
read, write, execute/search by group
.It Li 0007
read, write, execute/search by others
For files, allow execution by owner. For directories, allow the owner to
search in the directory.
.It Li 0040
Allow read by group members.
.It Li 0020
Allow write by group members.
.It Li 0010
For files, allow execution by group members. For directories, allow
group members to search in the directory.
.It Li 0004
Allow read by others.
.It Li 0002
Allow write by others.
.It Li 0001
For files, allow execution by others. For directories allow others to
search in the directory.
.El
.Pp
The read, write, and execute/search values for group and others
are encoded as described for owner.
For example, the absolute mode that permits read, write and execute by
the owner, read and execute by group members, read and execute by
others, and no set-uid or set-gid behaviour is 755
(400+200+100+040+010+004+001).
.Pp
The symbolic mode is described by the following grammar:
.Bd -literal -offset indent
@@ -276,17 +304,20 @@ option for the naughty bits.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr install 1 ,
.Xr mount 1 ,
.Xr chmod 2 ,
.Xr stat 2 ,
.Xr umask 2 ,
.Xr fts 3 ,
.Xr setmode 3 ,
.Xr symlink 7 ,
.Xr chown 8
.Xr chown 8 ,
.Xr sticky 8
.Sh STANDARDS
The
.Nm chmod
utility is expected to be POSIX 1003.2
.Nm
utility is expected to be
.St -p1003.2
compatible with the exception of the
.Ar perm
symbols
+4 -4
View File
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: chmod.c,v 1.4 1995/03/19 13:27:43 joerg Exp $
* $Id: chmod.c,v 1.5.2.1 1997/08/24 10:30:25 jkh Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
static char const sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#endif /* not lint */
#include <sys/types.h>
@@ -73,7 +73,7 @@ main(argc, argv)
set = NULL;
omode = 0;
Hflag = Lflag = Pflag = Rflag = fflag = hflag = 0;
while ((ch = getopt(argc, argv, "HLPRXfgorstuwx")) != EOF)
while ((ch = getopt(argc, argv, "HLPRXfgorstuwx")) != -1)
switch (ch) {
case 'H':
Hflag = 1;
+12 -12
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
.\" $Id: cp.1,v 1.5 1996/03/08 06:58:05 wosch Exp $
.\" $Id: cp.1,v 1.6.2.1 1997/02/28 07:54:27 mpp Exp $
.\"
.Dd April 18, 1994
.Dt CP 1
@@ -60,7 +60,7 @@
.Ar source_file ... target_directory
.Sh DESCRIPTION
In the first synopsis form, the
.Nm cp
.Nm
utility copies the contents of the
.Ar source_file
to the
@@ -72,7 +72,7 @@ is copied to the destination
.Ar target_directory .
The names of the files themselves are not changed.
If
.Nm cp
.Nm
detects an attempt to copy a file to itself, the copy will fail.
.Pp
The following options are available:
@@ -94,11 +94,11 @@ option is specified, no symbolic links are followed.
If
.Ar source_file
designates a directory,
.Nm cp
.Nm
copies the directory and the entire subtree connected at that point.
This option also causes symbolic links to be copied, rather than
indirected through, and for
.Nm cp
.Nm
to create special files rather than copying them as normal files.
Created directories have the same mode as the corresponding source
directory, unmodified by the process' umask.
@@ -112,8 +112,8 @@ option overrides any previous
.Fl i
options.)
.It Fl i
Causes
.Nm cp
Cause
.Nm
to write a prompt to the standard error output before copying a file
that would overwrite an existing file.
If the response from the standard input begins with the character
@@ -127,8 +127,8 @@ option overrides any previous
.Fl f
options.)
.It Fl p
Causes
.Nm cp
Cause
.Nm
to preserve in the copy as many of the modification time, access time,
file flags, file mode, user ID, and group ID as allowed by permissions.
.Pp
@@ -200,7 +200,7 @@ command's actions are determined by the last one specified.
exits 0 on success, >0 if an error occurred.
.Sh COMPATIBILITY
Historic versions of the
.Nm cp
.Nm
utility had a
.Fl r
option.
@@ -213,9 +213,9 @@ or fifo's.
.Xr umask 2 ,
.Xr fts 3 ,
.Xr symlink 7
.Sh HISTORY
.Sh STANDARDS
The
.Nm cp
.Nm
command is expected to be
.St -p1003.2
compatible.
+14 -6
View File
@@ -33,17 +33,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cp.c,v 1.9 1996/02/19 05:56:33 pst Exp $
* $Id: cp.c,v 1.10.2.1 1997/08/24 10:34:45 jkh Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1988, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
static char const sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
#endif /* not lint */
/*
@@ -51,7 +51,7 @@ static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
*
* The global PATH_T structure "to" always contains the path to the
* current target file. Since fts(3) does not change directories,
* this path can be either absolute or dot-realative.
* this path can be either absolute or dot-relative.
*
* The basic algorithm is to initialize "to" and use fts(3) to traverse
* the file hierarchy rooted in the argument list. A trivial case is the
@@ -105,7 +105,7 @@ main(argc, argv)
char *target;
Hflag = Lflag = Pflag = 0;
while ((ch = getopt(argc, argv, "HLPRfipr")) != EOF)
while ((ch = getopt(argc, argv, "HLPRfipr")) != -1)
switch (ch) {
case 'H':
Hflag = 1;
@@ -253,7 +253,7 @@ copy(argv, type, fts_options)
struct stat to_stat;
FTS *ftsp;
FTSENT *curr;
int base, dne, nlen, rval;
int base = 0, dne, nlen, rval;
char *p, *target_mid;
if ((ftsp = fts_open(argv, fts_options, mastercmp)) == NULL)
@@ -261,6 +261,7 @@ copy(argv, type, fts_options)
for (rval = 0; (curr = fts_read(ftsp)) != NULL;) {
switch (curr->fts_info) {
case FTS_NS:
case FTS_DNR:
case FTS_ERR:
warnx("%s: %s",
curr->fts_path, strerror(curr->fts_errno));
@@ -341,6 +342,13 @@ copy(argv, type, fts_options)
(void)fts_set(ftsp, curr, FTS_SKIP);
continue;
}
if (!S_ISDIR(curr->fts_statp->st_mode) &&
S_ISDIR(to_stat.st_mode)) {
warnx("cannot overwrite directory %s with non-directory %s",
to.p_path, curr->fts_path);
rval = 1;
continue;
}
dne = 0;
}
+52 -23
View File
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: utils.c,v 1.6 1996/02/18 18:48:26 wosch Exp wosch $
* $Id: utils.c,v 1.9.2.2 1998/02/15 10:53:17 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)utils.c 8.3 (Berkeley) 4/1/94";
static char const sccsid[] = "@(#)utils.c 8.3 (Berkeley) 4/1/94";
#endif /* not lint */
#include <sys/param.h>
@@ -60,7 +60,8 @@ copy_file(entp, dne)
{
static char buf[MAXBSIZE];
struct stat to_stat, *fs;
int ch, checkch, from_fd, rcount, rval, to_fd, wcount;
int ch, checkch, from_fd, rcount, rval, to_fd, wcount, wresid;
char *bufp;
#ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED
char *p;
#endif
@@ -81,13 +82,16 @@ copy_file(entp, dne)
* modified by the umask.)
*/
if (!dne) {
#define YESNO "(y/n [n]) "
if (iflag) {
(void)fprintf(stderr, "overwrite %s? ", to.p_path);
(void)fprintf(stderr, "overwrite %s? %s",
to.p_path, YESNO);
checkch = ch = getchar();
while (ch != '\n' && ch != EOF)
ch = getchar();
if (checkch != 'y' && checkch != 'Y') {
(void)close(from_fd);
(void)fprintf(stderr, "not overwritten\n");
return (0);
}
}
@@ -121,11 +125,17 @@ copy_file(entp, dne)
#ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED
if (fs->st_size <= 8 * 1048576) {
if ((p = mmap(NULL, (size_t)fs->st_size, PROT_READ,
0, from_fd, (off_t)0)) == (char *)-1) {
MAP_SHARED, from_fd, (off_t)0)) == MAP_FAILED) {
warn("%s", entp->fts_path);
rval = 1;
} else {
if (write(to_fd, p, fs->st_size) != fs->st_size) {
for (bufp = p, wresid = fs->st_size; ;
bufp += wcount, wresid -= wcount) {
wcount = write(to_fd, bufp, wresid);
if (wcount >= wresid || wcount <= 0)
break;
}
if (wcount != wresid) {
warn("%s", to.p_path);
rval = 1;
}
@@ -139,8 +149,13 @@ copy_file(entp, dne)
#endif
{
while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) {
wcount = write(to_fd, buf, rcount);
if (rcount != wcount || wcount == -1) {
for (bufp = buf, wresid = rcount; ;
bufp += wcount, wresid -= wcount) {
wcount = write(to_fd, bufp, wresid);
if (wcount >= wresid || wcount <= 0)
break;
}
if (wcount != wresid) {
warn("%s", to.p_path);
rval = 1;
break;
@@ -192,7 +207,7 @@ copy_link(p, exists)
int len;
char link[MAXPATHLEN];
if ((len = readlink(p->fts_path, link, sizeof(link))) == -1) {
if ((len = readlink(p->fts_path, link, sizeof(link) - 1)) == -1) {
warn("readlink: %s", p->fts_path);
return (1);
}
@@ -247,7 +262,9 @@ setfile(fs, fd)
int fd;
{
static struct timeval tv[2];
struct stat ts;
int rval;
int gotstat;
rval = 0;
fs->st_mode &= S_ISUID | S_ISGID | S_ISVTX |
@@ -259,30 +276,42 @@ setfile(fs, fd)
warn("utimes: %s", to.p_path);
rval = 1;
}
if (fd ? fstat(fd, &ts) : stat(to.p_path, &ts))
gotstat = 0;
else {
gotstat = 1;
ts.st_mode &= S_ISUID | S_ISGID | S_ISVTX |
S_IRWXU | S_IRWXG | S_IRWXO;
}
/*
* Changing the ownership probably won't succeed, unless we're root
* or POSIX_CHOWN_RESTRICTED is not set. Set uid/gid before setting
* the mode; current BSD behavior is to remove all setuid bits on
* chown. If chown fails, lose setuid/setgid bits.
*/
if (fd ? fchown(fd, fs->st_uid, fs->st_gid) :
chown(to.p_path, fs->st_uid, fs->st_gid)) {
if (errno != EPERM) {
if (!gotstat || fs->st_uid != ts.st_uid || fs->st_gid != ts.st_gid)
if (fd ? fchown(fd, fs->st_uid, fs->st_gid) :
chown(to.p_path, fs->st_uid, fs->st_gid)) {
if (errno != EPERM) {
warn("chown: %s", to.p_path);
rval = 1;
}
fs->st_mode &= ~(S_ISUID | S_ISGID);
}
if (!gotstat || fs->st_mode != ts.st_mode)
if (fd ? fchmod(fd, fs->st_mode) : chmod(to.p_path, fs->st_mode)) {
warn("chown: %s", to.p_path);
rval = 1;
}
fs->st_mode &= ~(S_ISUID | S_ISGID);
}
if (fd ? fchmod(fd, fs->st_mode) : chmod(to.p_path, fs->st_mode)) {
warn("chown: %s", to.p_path);
rval = 1;
}
if (fd ?
fchflags(fd, fs->st_flags) : chflags(to.p_path, fs->st_flags)) {
warn("chflags: %s", to.p_path);
rval = 1;
}
if (!gotstat || fs->st_flags != ts.st_flags)
if (fd ?
fchflags(fd, fs->st_flags) : chflags(to.p_path, fs->st_flags)) {
warn("chflags: %s", to.p_path);
rval = 1;
}
return (rval);
}
+15 -15
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $Id: Makefile,v 1.5 1994/09/24 02:53:44 davidg Exp $
#
# C Shell with process control; VM/UNIX VAX Makefile
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
@@ -11,7 +11,7 @@ DFLAGS=-DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS
CFLAGS+=-I${.CURDIR} -I. ${DFLAGS}
SRCS= alloc.c char.c const.c csh.c dir.c dol.c err.c exec.c exp.c file.c \
func.c glob.c hist.c init.c lex.c misc.c parse.c printf.c proc.c \
sem.c set.c str.c time.c const.h err.h
sem.c set.c str.c time.c const.h errnum.h
.PATH: ${.CURDIR}/../../usr.bin/printf
MAN1= csh.1
@@ -19,23 +19,23 @@ 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
CLEANFILES+=err.h const.h
CLEANFILES+=const.h errnum.h
const.h: err.h
const.h: errnum.h
err.h: err.c
@rm -f $@
@echo '/* Do not edit this file, make creates it. */' > $@
@echo '#ifndef _h_sh_err' >> $@
@echo '#define _h_sh_err' >> $@
egrep 'ERR_' ${.CURDIR}/$*.c | egrep '^#define' >> $@
@echo '#endif /* _h_sh_err */' >> $@
errnum.h: err.c
@rm -f ${.TARGET}
@echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
@echo '#ifndef _h_sh_error' >> ${.TARGET}
@echo '#define _h_sh_error' >> ${.TARGET}
egrep 'ERR_' ${.ALLSRC} | egrep '^#define' >> ${.TARGET}
@echo '#endif /* _h_sh_error */' >> ${.TARGET}
const.h: const.c
@rm -f $@
@echo '/* Do not edit this file, make creates it. */' > $@
${CC} -E ${CFLAGS} ${.CURDIR}/$*.c | egrep 'Char STR' | \
@rm -f ${.TARGET}
@echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
${CC} -E ${CFLAGS} ${.ALLSRC} | egrep 'Char STR' | \
sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
sort >> $@
sort >> ${.TARGET}
.include <bsd.prog.mk>
+87 -78
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.1 8.2 (Berkeley) 1/21/94
.\" $Id: csh.1,v 1.4 1996/04/06 09:47:15 mpp Exp $
.\" $Id: csh.1,v 1.5.2.2 1998/06/30 06:42:24 charnier Exp $
.\"
.Dd January 21, 1994
.Dt CSH 1
@@ -46,15 +46,15 @@
.Op Fl l
.Sh DESCRIPTION
The
.Nm csh
.Nm
is a command language interpreter
incorporating a history mechanism (see
.Nm History Substitutions ) ,
.Sx History Substitutions ) ,
job control facilities (see
.Nm Jobs ) ,
.Sx Jobs ) ,
interactive file name
and user name completion (see
.Nm File Name Completion ) ,
.Sx File Name Completion ) ,
and a C-like syntax. It is used both as an interactive
login shell and a shell script command processor.
.Ss Argument list processing
@@ -100,7 +100,7 @@ is the only flag specified).
The shell loads
.Pa .cshrc
even if it does not belong to the effective user.
.Xr su 1
.Xr Su 1
can pass
.Fl m
to the shell.
@@ -116,16 +116,16 @@ A
may be used to escape the newline at the end of this
line and continue onto another line.
.It Fl v
Causes the
Cause the
.Ar verbose
variable to be set, with the effect
that command input is echoed after history substitution.
.It Fl x
Causes the
Cause the
.Ar echo
variable to be set, so that commands are echoed immediately before execution.
.It Fl V
Causes the
Cause the
.Ar verbose
variable to be set even before
.Pa .cshrc
@@ -157,7 +157,7 @@ Remaining arguments initialize the variable
.Ar argv .
.Pp
An instance of
.Nm csh
.Nm
begins by executing commands from the file
.Pa /etc/csh.cshrc
and,
@@ -256,7 +256,7 @@ showing that the job which was started asynchronously was job number
1 and had one (top-level) process, whose process id was 1234.
.Pp
If you are running a job and wish to do something else you may hit the key
.Nm ^Z
.Em ^Z
(control-Z) which sends a STOP signal to the current job.
The shell will then normally show that the job has been `Stopped',
and print another prompt. You can then manipulate the state of this job,
@@ -271,11 +271,11 @@ the
command
.Ar fg .
A
.Nm ^Z
.Em ^Z
takes effect immediately and
is like an interrupt in that pending output and unread input are discarded
when it is typed. There is another special key
.Nm ^Y
.Em ^Y
that does not generate a STOP signal until a program attempts to
.Xr read 2
it.
@@ -353,7 +353,7 @@ the shell variable
.Ar filec
(see
.Ic set ) ,
.Nm csh
.Nm
will
interactively complete file names and user names from unique
prefixes, when they are input from the terminal followed by
@@ -370,7 +370,7 @@ and the input is
.Pp
.Dl % vi ch<escape>
.Pp
.Nm csh
.Nm
will complete the prefix ``ch''
to the only matching file name ``chaosnet'', changing the input
line to
@@ -381,7 +381,7 @@ However, given
.Pp
.Dl % vi D<escape>
.Pp
.Nm csh
.Nm
will only expand the input to
.Pp
.Dl % vi DSC.
@@ -391,7 +391,7 @@ incomplete, since there are two file names matching the prefix ``D''.
.Pp
If a partial file name is followed by the end-of-file character
(usually control-D), then, instead of completing the name,
.Nm csh
.Nm
will list all file names matching the prefix. For example,
the input
.Pp
@@ -455,7 +455,7 @@ in the previous command with little typing and a high degree of confidence.
History substitutions begin with the character `!' and may begin
.Ar anywhere
in the input stream (with the proviso that they
.Nm "do not"
.Em "do not"
nest.)
This `!' may be preceded by a `\e' to prevent its special meaning; for
convenience, an `!' is passed unchanged when it is followed by a blank,
@@ -631,7 +631,7 @@ Strings enclosed in `"' may be expanded as described below.
.Pp
In both cases the resulting text becomes (all or part of) a single word;
only in one special case (see
.Em Command Substitution
.Sx Command Substitution
below) does a `"' quoted string yield parts of more than one word;
`\'' quoted strings never do.
.Ss Alias substitution
@@ -708,7 +708,7 @@ occurs, and within `\''s where it
.Em never
occurs.
Strings quoted by `\*(ga' are interpreted later (see
.Nm "Command substitution"
.Sx "Command substitution"
below) so `$' substitution does not occur there until later, if at all.
A `$' is passed unchanged if followed by a blank, tab, or end-of-line.
.Pp
@@ -764,11 +764,11 @@ It is not an error for a range to be empty if the second argument is omitted
or in range.
.It $#name
.It ${#name}
Gives the number of words in the variable.
Give the number of words in the variable.
This is useful for later use in a
`$argv[selector]'.
.It $0
Substitutes the name of the file from which command input is being read.
Substitute the name of the file from which command input is being read.
An error occurs if the name is not known.
.It $number
.It ${number}
@@ -788,16 +788,16 @@ The following substitutions may not be modified with `:' modifiers.
.Bl -tag -width Ds -compact -offset indent
.It $?name
.It ${?name}
Substitutes the string `1' if name is set, `0' if it is not.
Substitute the string `1' if name is set, `0' if it is not.
.It $?0
Substitutes `1' if the current input filename is known, `0' if it is not.
Substitute `1' if the current input filename is known, `0' if it is not.
.It \&$\&$\&
Substitute the (decimal) process number of the (parent) shell.
.It $!
Substitute the (decimal) process number of the last background process
started by this shell.
.It $<
Substitutes a line from the standard
Substitute a line from the standard
input, with no further interpretation.
It can be used to read from the keyboard in a shell script.
.El
@@ -922,7 +922,7 @@ is expanded in the same way as `<' input filenames are.
.It >>& name
.It >>! name
.It >>&! name
Uses file
Use file
.Ar name
as the standard output;
like `>' but places output at the end of the file.
@@ -961,11 +961,11 @@ Several of the builtin commands (to be described later)
take expressions, in which the operators are similar to those of C, with
the same precedence.
These expressions appear in the
.Nm @,
.Ar exit ,
.Ar if ,
.Em @ ,
.Em exit ,
.Em if ,
and
.Ar while
.Em while
commands.
The following operators are available:
.Bd -ragged -offset indent
@@ -1076,7 +1076,7 @@ or
.Ar unalias .
.Pp
.It Ic alloc
Shows the amount of dynamic memory acquired, broken down into used and
Show the amount of dynamic memory acquired, broken down into used and
free memory.
With an argument shows the number of free and used blocks in each size
category. The categories start at size 8 and double at each step.
@@ -1085,11 +1085,11 @@ systems other than the VAX may use a different memory allocator.
.Pp
.It Ic bg
.It Ic bg \&% Ns Ar job ...
Puts the current or specified jobs into the background, continuing them
Put the current or specified jobs into the background, continuing them
if they were stopped.
.Pp
.It Ic break
Causes execution to resume after the
Cause execution to resume after the
.Ic end
of the nearest enclosing
.Ic foreach
@@ -1099,7 +1099,7 @@ The remaining commands on the current line are executed.
Multi-level breaks are thus possible by writing them all on one line.
.Pp
.It Ic breaksw
Causes a break from a
Cause a break from a
.Ic switch ,
resuming after the
.Ic endsw .
@@ -1137,7 +1137,7 @@ or
The rest of the commands on the current line are executed.
.Pp
.It Ic default :
Labels the default case in a
Label the default case in a
.Ic switch
statement.
The default should come after all
@@ -1145,7 +1145,7 @@ The default should come after all
labels.
.Pp
.It Ic dirs
Prints the directory stack; the top of the stack is at the left,
Print the directory stack; the top of the stack is at the left,
the first directory in the stack being the current directory.
.Pp
.It Ic echo Ar wordlist
@@ -1192,7 +1192,7 @@ variable (first form) or with the value of the specified
.Pp
.It Ic fg
.It Ic fg % Ns Ar job ...
Brings the current or specified jobs into the foreground, continuing them if
Bring the current or specified jobs into the foreground, continuing them if
they were stopped.
.Pp
.It Ic foreach Ar name (wordlist)
@@ -1252,7 +1252,7 @@ that does not begin with a `/'.
.It Ic history Ar n
.It Ic history Fl r Ar n
.It Ic history Fl h Ar n
Displays the history event list; if
Display the history event list; if
.Ar n
is given only the
.Ar n
@@ -1324,7 +1324,7 @@ must appear alone on its input line or after an
.Pp
.It Ic jobs
.It Ic jobs Fl l
Lists the active jobs; the
List the active jobs; the
.Fl l
option lists process id's in addition to the normal information.
.Pp
@@ -1332,10 +1332,10 @@ option lists process id's in addition to the normal information.
.It Ic kill Ar pid
.It Ic kill Fl sig Ar pid ...
.It Ic kill Fl l
Sends either the TERM (terminate) signal or the
Send either the TERM (terminate) signal or the
specified signal to the specified jobs or processes.
Signals are either given by number or by names (as given in
.Pa /usr/include/signal.h,
.Pa /usr/include/signal.h ,
stripped of the prefix ``SIG'').
The signal names are listed by ``kill \-l''.
There is no default, just saying `kill' does not
@@ -1349,7 +1349,7 @@ then the job or process will be sent a CONT (continue) signal as well.
.It Ic limit Fl h
.It Ic limit Fl h Ar resource
.It Ic limit Fl h Ar resource maximum-use
Limits the consumption by the current process and each process
Limit the consumption by the current process and each process
it creates to not individually exceed
.Ar maximum-use
on the
@@ -1405,7 +1405,7 @@ of the names suffice.
.Pp
.It Ic login
Terminate a login shell, replacing it with an instance of
.Pa /usr/bin/login.
.Pa /usr/bin/login .
This is one way to log off, included for compatibility with
.Xr sh 1 .
.Pp
@@ -1448,7 +1448,7 @@ All processes detached with `&' are effectively
.Pp
.It Ic notify
.It Ic notify % Ns Ar job ...
Causes the shell to notify the user asynchronously when the status of the
Cause the shell to notify the user asynchronously when the status of the
current or specified jobs change; normally notification is presented
before a prompt. This is automatic if the shell variable
.Ic notify
@@ -1478,7 +1478,7 @@ are disabled (/etc/csh.cshrc, /etc/csh.login).
.Pp
.It Ic popd
.It Ic popd Ar +n
Pops the directory stack, returning to the new top directory.
Pop the directory stack, returning to the new top directory.
With an argument
.Ns \`+ Ar n Ns \'
discards the
@@ -1511,7 +1511,7 @@ stack around to be the top element and changes to it. The members
of the directory stack are numbered from the top starting at 0.
.Pp
.It Ic rehash
Causes the internal hash table of the contents of the directories in
Cause the internal hash table of the contents of the directories in
the
.Ic path
variable to be recomputed. This is needed if new commands are added
@@ -1589,7 +1589,7 @@ The most commonly used environment variables
and
.Ev PATH
are automatically imported to and exported from the
.Nm csh
.Nm
variables
.Ar user ,
.Ar term ,
@@ -1625,19 +1625,21 @@ commands.
Normally input during
.Ic source
commands is not placed on the history list;
the \-h option causes the commands to be placed on the
the
.Fl h
option causes the commands to be placed on the
history list without being executed.
.Pp
.It Ic stop
.It Ic stop % Ns Ar job ...
Stops the current or specified jobs that are executing in the background.
Stop the current or specified jobs that are executing in the background.
.Pp
.It Ic suspend
Causes the shell to stop in its tracks, much as if it had been sent a stop
Cause the shell to stop in its tracks, much as if it had been sent a stop
signal with
.Ic ^Z .
.Em ^Z .
This is most often used to stop shells started by
.Xr su 1 .
.Xr su 1 .
.Pp
.It Ic switch Ar (string)
.It Ic case Ar str1 :
@@ -1699,7 +1701,7 @@ is disabled.
.It Ic unlimit Ar resource
.It Ic unlimit Fl h
.It Ic unlimit Fl h Ar resource
Removes the limitation on
Remove the limitation on
.Ar resource .
If no
.Ar resource
@@ -1718,7 +1720,7 @@ It is not an error for nothing to be
.Ic unset .
.Pp
.It Ic unsetenv Ar pattern
Removes all variables whose name match the specified pattern from the
Remove all variables whose name match the specified pattern from the
environment. See also the
.Ic setenv
command above and
@@ -1730,7 +1732,7 @@ If the shell is interactive, then an interrupt can disrupt the wait.
After the interrupt, the shell prints names and job numbers of all jobs
known to be outstanding.
.It Ic which Ar command
Displays the resolved command that will be executed by the shell.
Display the resolved command that will be executed by the shell.
.Pp
.It Ic while Ar (expr)
.It \&...
@@ -1755,10 +1757,10 @@ Prompting occurs here the first time through the loop as for the
statement if the input is a terminal.
.Pp
.It Ic % Ns Ar job
Brings the specified job into the foreground.
Bring the specified job into the foreground.
.Pp
.It Ic % Ns Ar job Ic &
Continues the specified job in the background.
Continue the specified job in the background.
.Pp
.It Ic @
.It Ic @ Ar name Ns = Ns expr
@@ -1831,7 +1833,7 @@ is likewise handled; it is not
necessary to worry about its setting other than in the file
.Ar \&.cshrc
as inferior
.Nm csh
.Nm
processes will import the definition of
.Ar path
from the environment, and re-export it if you then change it.
@@ -1842,7 +1844,7 @@ positional parameters are substituted, i.e., `$1' is replaced by
`$argv[1]',
etc.
.It Ic cdpath
Gives a list of alternate directories searched to find subdirectories
Give a list of alternate directories searched to find subdirectories
in
.Ar chdir
commands.
@@ -1910,10 +1912,9 @@ files are not accidentally destroyed, and that `>>' redirections
refer to existing files.
.It Ic noglob
If set, filename expansion is inhibited.
This inhibition is most useful in shell scripts that
are not dealing with filenames,
or after a list of filenames has been obtained and further expansions
are not desirable.
This inhibition is most useful in shell scripts that are not dealing with
filenames, or after a list of filenames has been obtained and further
expansions are not desirable.
.It Ic nonomatch
If set, it is not an error for a filename expansion to not match any
existing files; instead the primitive pattern is returned.
@@ -1981,7 +1982,7 @@ If it terminated abnormally, then 0200 is added to the status.
Builtin commands that fail return exit status `1',
all other builtin commands set status to `0'.
.It Ic time
Controls automatic timing of commands.
Control automatic timing of commands.
If set, then any command that takes more than this many cpu seconds
will cause a line giving user, system, and real times and a utilization
percentage which is the ratio of user plus system times to real time
@@ -2080,27 +2081,35 @@ signal; otherwise this signal is passed on to children from the state in the
shell's parent.
Interrupts are not allowed when a login shell is reading the file
.Pa \&.logout .
.Sh AUTHOR
William Joy.
Job control and directory stack features first implemented by J.E. Kulp of
IIASA, Laxenburg, Austria,
.Sh AUTHORS
.An William Joy .
.Pp
Job control and directory stack features first implemented by
.An J.E. Kulp
of IIASA, Laxenburg, Austria,
with different syntax than that used now.
File name completion code written by Ken Greer, HP Labs.
Eight-bit implementation Christos S. Zoulas, Cornell University.
.Pp
File name completion code written by
.An Ken Greer ,
HP Labs.
.Pp
Eight-bit implementation
.An Christos S. Zoulas ,
Cornell University.
.Sh FILES
.Bl -tag -width /etc/passwd -compact
.It Pa ~/.cshrc
Read at beginning of execution by each shell.
read at beginning of execution by each shell.
.It Pa ~/.login
Read by login shell, after `.cshrc' at login.
read by login shell, after `.cshrc' at login.
.It Pa ~/.logout
Read by login shell, at logout.
read by login shell, at logout.
.It Pa /bin/sh
Standard shell, for shell scripts not starting with a `#'.
standard shell, for shell scripts not starting with a `#'.
.It Pa /tmp/sh*
Temporary file for `<<'.
temporary file for `<<'.
.It Pa /etc/passwd
Source of home directories for `~name'.
source of home directories for `~name'.
.El
.Sh LIMITATIONS
Word lengths \-
@@ -2121,13 +2130,13 @@ substitutions on a single line to 20.
.Xr fork 2 ,
.Xr killpg 2 ,
.Xr pipe 2 ,
.Xr setrlimit 2 ,
.Xr sigvec 2 ,
.Xr umask 2 ,
.Xr setrlimit 2 ,
.Xr wait 2 ,
.Xr tty 4 ,
.Xr a.out 5 ,
.Xr environ 7 ,
.Xr environ 7
.br
.Em An introduction to the C shell
.Sh HISTORY
+26 -25
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: csh.c,v 1.5 1995/07/07 23:14:36 ache Exp $
* $Id: csh.c,v 1.6.2.2 1998/01/31 17:06:13 joerg Exp $
*/
#ifndef lint
@@ -46,6 +46,7 @@ static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93";
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <fcntl.h>
#include <errno.h>
#include <pwd.h>
@@ -114,10 +115,10 @@ main(argc, argv)
int argc;
char **argv;
{
register Char *cp;
register char *tcp;
register int f;
register char **tempv;
Char *cp;
char *tcp;
int f;
char **tempv;
struct sigvec osv;
cshin = stdin;
@@ -229,7 +230,7 @@ main(argc, argv)
*/
set(STRstatus, Strsave(STR0));
if ((tcp = getenv("HOME")) != NULL)
if ((tcp = getenv("HOME")) != NULL && strlen(tcp) < MAXPATHLEN)
cp = SAVE(tcp);
else
cp = NULL;
@@ -524,7 +525,7 @@ notty:
{
int osetintr = setintr;
sig_t oparintr = parintr;
sigset_t omask = sigblock(sigmask(SIGINT));
int omask = sigblock(sigmask(SIGINT));
setintr = 0;
parintr = SIG_IGN; /* Disable onintr */
@@ -603,9 +604,9 @@ void
importpath(cp)
Char *cp;
{
register int i = 0;
register Char *dp;
register Char **pv;
int i = 0;
Char *dp;
Char **pv;
int c;
for (dp = cp; *dp; dp++)
@@ -623,7 +624,7 @@ importpath(cp)
if ((c = *dp) == ':' || c == 0) {
*dp = 0;
if (*cp != '/' && (euid == 0 || uid == 0) &&
(intact || intty && isatty(SHOUT)))
(intact || (intty && isatty(SHOUT))))
(void) fprintf(csherr,
"Warning: imported path contains relative components\n");
pv[i++] = Strsave(*cp ? cp : STRdot);
@@ -647,7 +648,7 @@ static int
srccat(cp, dp)
Char *cp, *dp;
{
register Char *ep = Strspl(cp, dp);
Char *ep = Strspl(cp, dp);
char *ptr = short2str(ep);
xfree((ptr_t) ep);
@@ -662,7 +663,7 @@ srcfile(f, onlyown, flag)
char *f;
bool onlyown, flag;
{
register int unit;
int unit;
if ((unit = open(f, O_RDONLY)) == -1)
return 0;
@@ -680,7 +681,7 @@ srcfile(f, onlyown, flag)
int insource;
static void
srcunit(unit, onlyown, hflg)
register int unit;
int unit;
bool onlyown, hflg;
{
/* We have to push down a lot of state here */
@@ -695,7 +696,7 @@ srcunit(unit, onlyown, hflg)
bool otell = cantell;
struct Bin saveB;
volatile sigset_t omask;
volatile int omask;
jmp_buf oldexit;
/* The (few) real local variables */
@@ -731,7 +732,7 @@ srcunit(unit, onlyown, hflg)
if (setintr)
omask = sigblock(sigmask(SIGINT));
/* Setup the new values of the state stuff saved above */
bcopy((char *) &B, (char *) &(saveB), sizeof(B));
memmove((char *) &(saveB), (char *) &B, sizeof(B));
fbuf = NULL;
fseekp = feobp = fblocks = 0;
oSHIN = SHIN, SHIN = unit, arginp = 0, onelflg = 0;
@@ -756,7 +757,7 @@ srcunit(unit, onlyown, hflg)
if (setintr)
(void) sigsetmask(omask);
if (oSHIN >= 0) {
register int i;
int i;
/* We made it to the new state... free up its storage */
/* This code could get run twice but xfree doesn't care */
@@ -765,7 +766,7 @@ srcunit(unit, onlyown, hflg)
xfree((ptr_t) fbuf);
/* Reset input arena */
bcopy((char *) &(saveB), (char *) &B, sizeof(B));
memmove((char *) &B, (char *) &(saveB), sizeof(B));
(void) close(SHIN), SHIN = oSHIN;
arginp = oarginp, onelflg = oonelflg;
@@ -931,9 +932,9 @@ pintr1(wantnl)
bool wantnl;
{
Char **v;
sigset_t omask;
int omask;
omask = sigblock((sigset_t) 0);
omask = sigblock(0);
if (setintr) {
(void) sigsetmask(omask & ~sigmask(SIGINT));
if (pjobs) {
@@ -1003,7 +1004,7 @@ process(catch)
* Interruptible during interactive reads
*/
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
/*
* For the sake of reset()
@@ -1120,7 +1121,7 @@ dosource(v, t)
struct command *t;
{
register Char *f;
Char *f;
bool hflg = 0;
Char buf[BUFSIZ];
@@ -1150,8 +1151,8 @@ dosource(v, t)
static void
mailchk()
{
register struct varent *v;
register Char **vp;
struct varent *v;
Char **vp;
time_t t;
int intvl, cnt;
struct stat stb;
@@ -1338,7 +1339,7 @@ defaultpath()
void
printprompt()
{
register Char *cp;
Char *cp;
if (!whyles) {
for (cp = value(STRprompt); *cp; cp++)
+4 -6
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)csh.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: csh.h,v 1.2 1994/09/24 02:53:52 davidg Exp $
*/
/*
@@ -84,7 +84,7 @@ typedef void *ptr_t;
#include "const.h"
#include "char.h"
#include "err.h"
#include "errnum.h"
#define xmalloc(i) Malloc(i)
#define xrealloc(p, i) Realloc(p, i)
@@ -187,8 +187,8 @@ jmp_buf reslab;
#define setexit() (setjmp(reslab))
#define reset() longjmp(reslab, 1)
/* Should use structure assignment here */
#define getexit(a) bcopy((char *)reslab, ((char *)(a)), sizeof reslab)
#define resexit(a) bcopy((char *)(a), (char *)reslab, sizeof reslab)
#define getexit(a) memmove((char *)(a), (char *)reslab, sizeof reslab)
#define resexit(a) memmove((char *)reslab, (char *)(a), sizeof reslab)
Char *gointr; /* Label for an onintr transfer */
@@ -421,8 +421,6 @@ struct varent {
#define v_right v_link[1]
#define v_parent v_link[2]
struct varent *adrof1();
#define adrof(v) adrof1(v, &shvhed)
#define value(v) value1(v, &shvhed)
+27 -29
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: dir.c,v 1.3 1995/05/30 00:06:30 rgrimes Exp $
* $Id: dir.c,v 1.4.2.1 1997/08/24 21:41:30 jkh Exp $
*/
#ifndef lint
@@ -75,9 +75,9 @@ void
dinit(hp)
Char *hp;
{
register char *tcp;
register Char *cp;
register struct directory *dp;
char *tcp;
Char *cp;
struct directory *dp;
char path[MAXPATHLEN];
static char *emsg = "csh: Trying to start from \"%s\"\n";
@@ -145,7 +145,7 @@ Char *dp;
* Don't call set() directly cause if the directory contains ` or
* other junk characters glob will fail.
*/
register Char **vec = (Char **) xmalloc((size_t) (2 * sizeof(Char **)));
Char **vec = (Char **) xmalloc((size_t) (2 * sizeof(Char **)));
vec[0] = Strsave(dp);
vec[1] = 0;
@@ -203,7 +203,7 @@ dodirs(v, t)
static void
printdirs()
{
register struct directory *dp;
struct directory *dp;
Char *s, *hp = value(STRhome);
int idx, len, cur;
@@ -240,7 +240,7 @@ printdirs()
void
dtildepr(home, dir)
register Char *home, *dir;
Char *home, *dir;
{
if (!eq(home, STRslash) && prefix(home, dir))
@@ -340,8 +340,8 @@ dochngd(v, t)
Char **v;
struct command *t;
{
register Char *cp;
register struct directory *dp;
Char *cp;
struct directory *dp;
skipargs(&v, " [<dir>]");
printd = 0;
@@ -389,7 +389,7 @@ dgoto(cp)
Char *dp;
if (*cp != '/') {
register Char *p, *q;
Char *p, *q;
int cwdlen;
for (p = dcwd->di_name; *p++;)
@@ -423,9 +423,9 @@ dgoto(cp)
*/
static Char *
dfollow(cp)
register Char *cp;
Char *cp;
{
register Char *dp;
Char *dp;
struct varent *c;
char ebuf[MAXPATHLEN];
int serrno;
@@ -449,7 +449,7 @@ dfollow(cp)
if (cp[0] != '/' && !prefix(STRdotsl, cp) && !prefix(STRdotdotsl, cp)
&& (c = adrof(STRcdpath))) {
Char **cdp;
register Char *p;
Char *p;
Char buf[MAXPATHLEN];
for (cdp = c->vec; *cdp; cdp++) {
@@ -491,7 +491,7 @@ dopushd(v, t)
Char **v;
struct command *t;
{
register struct directory *dp;
struct directory *dp;
skipargs(&v, " [<dir>|+<n>]");
printd = 1;
@@ -523,7 +523,7 @@ dopushd(v, t)
stderror(ERR_SYSTEM, tmp, strerror(errno));
}
else {
register Char *ccp;
Char *ccp;
ccp = dfollow(*v);
dp = (struct directory *) xcalloc(sizeof(struct directory), 1);
@@ -542,11 +542,11 @@ dopushd(v, t)
*/
static struct directory *
dfind(cp)
register Char *cp;
Char *cp;
{
register struct directory *dp;
register int i;
register Char *ep;
struct directory *dp;
int i;
Char *ep;
if (*cp++ != '+')
return (0);
@@ -576,7 +576,7 @@ dopopd(v, t)
Char **v;
struct command *t;
{
register struct directory *dp, *p = NULL;
struct directory *dp, *p = NULL;
skipargs(&v, " [+<n>]");
printd = 1;
@@ -614,7 +614,7 @@ dopopd(v, t)
*/
void
dfree(dp)
register struct directory *dp;
struct directory *dp;
{
if (dp->di_count != 0) {
@@ -633,10 +633,10 @@ dfree(dp)
*/
Char *
dcanon(cp, p)
register Char *cp, *p;
Char *cp, *p;
{
register Char *sp;
register Char *p1, *p2; /* general purpose */
Char *sp;
Char *p1, *p2; /* general purpose */
bool slash;
Char link[MAXPATHLEN];
@@ -702,8 +702,7 @@ dcanon(cp, p)
*/
*--sp = 0; /* form the pathname for readlink */
if (sp != cp && !adrof(STRignore_symlinks) &&
(cc = readlink(short2str(cp), tlink,
sizeof tlink)) >= 0) {
(cc = readlink(short2str(cp), tlink, sizeof(tlink) - 1)) >= 0) {
(void) Strcpy(link, str2short(tlink));
link[cc] = '\0';
@@ -787,8 +786,7 @@ dcanon(cp, p)
if (sp != cp && adrof(STRchase_symlinks) &&
!adrof(STRignore_symlinks) &&
(cc = readlink(short2str(cp), tlink,
sizeof tlink)) >= 0) {
(cc = readlink(short2str(cp), tlink, sizeof(tlink) - 1)) >= 0) {
(void) Strcpy(link, str2short(tlink));
link[cc] = '\0';
@@ -923,7 +921,7 @@ dcanon(cp, p)
*/
static void
dnewcwd(dp)
register struct directory *dp;
struct directory *dp;
{
dcwd = dp;
dset(dcwd->di_name);
+23 -23
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: dol.c,v 1.2 1994/09/24 02:53:56 davidg Exp $
* $Id: dol.c,v 1.3 1995/05/30 00:06:31 rgrimes Exp $
*/
#ifndef lint
@@ -105,10 +105,10 @@ static void Dtestq __P((int));
*/
void
Dfix(t)
register struct command *t;
struct command *t;
{
register Char **pp;
register Char *p;
Char **pp;
Char *p;
if (noexec)
return;
@@ -130,7 +130,7 @@ Dfix(t)
*/
Char *
Dfix1(cp)
register Char *cp;
Char *cp;
{
Char *Dv[2];
@@ -173,8 +173,8 @@ static Char *
Dpack(wbuf, wp)
Char *wbuf, *wp;
{
register int c;
register int i = MAXWLEN - (wp - wbuf);
int c;
int i = MAXWLEN - (wp - wbuf);
for (;;) {
c = DgetC(DODOL);
@@ -220,11 +220,11 @@ Dpack(wbuf, wp)
static int
Dword()
{
register int c, c1;
int c, c1;
Char wbuf[BUFSIZ];
register Char *wp = wbuf;
register int i = MAXWLEN;
register bool dolflg;
Char *wp = wbuf;
int i = MAXWLEN;
bool dolflg;
bool sofar = 0, done = 0;
while (!done) {
@@ -340,9 +340,9 @@ Dword()
*/
static int
DgetC(flag)
register int flag;
int flag;
{
register int c;
int c;
top:
if ((c = Dpeekc) != '\0') {
@@ -401,8 +401,8 @@ dolerror(s)
static void
Dgetdol()
{
register Char *np;
register struct varent *vp = NULL;
Char *np;
struct varent *vp = NULL;
Char name[4 * MAXVARLEN + 1];
int c, sc;
int subscr = 0, lwb = 1, upb = 0;
@@ -574,7 +574,7 @@ Dgetdol()
else if (*np != '-')
stderror(ERR_MISSING, '-');
else {
register int i = upb;
int i = upb;
np++;
if (Isdigit(*np)) {
@@ -632,7 +632,7 @@ eatbrac:
static void
fixDolMod()
{
register int c;
int c;
c = DgetC(0);
if (c == ':') {
@@ -691,9 +691,9 @@ fixDolMod()
static void
setDolp(cp)
register Char *cp;
Char *cp;
{
register Char *dp;
Char *dp;
int i;
if (dolnmod == 0 || dolmcnt == 0) {
@@ -804,7 +804,7 @@ unDredc(c)
static int
Dredc()
{
register int c;
int c;
if ((c = Dpeekrd) != '\0') {
Dpeekrd = 0;
@@ -822,7 +822,7 @@ Dredc()
static void
Dtestq(c)
register int c;
int c;
{
if (cmap(c, QUOTES))
@@ -839,11 +839,11 @@ void
heredoc(term)
Char *term;
{
register int c;
int c;
Char *Dv[2];
Char obuf[BUFSIZ], lbuf[BUFSIZ], mbuf[BUFSIZ];
int ocnt, lcnt, mcnt;
register Char *lbp, *obp, *mbp;
Char *lbp, *obp, *mbp;
Char **vp;
bool quoted;
char *tmp;
+3 -3
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: err.c,v 1.2.8.1 1997/08/24 21:41:31 jkh Exp $
*/
#ifndef lint
@@ -307,7 +307,7 @@ seterror(id, va_alist)
#endif
if (id < 0 || id > sizeof(errorlist) / sizeof(errorlist[0]))
id = ERR_INVALID;
vsprintf(berr, errorlist[id], va);
vsnprintf(berr, sizeof(berr), errorlist[id], va);
va_end(va);
seterr = strsave(berr);
@@ -342,7 +342,7 @@ stderror(id, va_alist)
#endif
{
va_list va;
register Char **v;
Char **v;
int flags = id & ERR_FLAGS;
id &= ~ERR_FLAGS;
+27 -27
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: exec.c,v 1.3 1995/05/30 00:06:32 rgrimes Exp $
* $Id: exec.c,v 1.4.2.1 1997/08/24 21:41:31 jkh Exp $
*/
#ifndef lint
@@ -113,10 +113,10 @@ doexec(v, t)
Char **v;
struct command *t;
{
register Char *dp, **pv, **av, *sav;
register struct varent *pathv;
register bool slash;
register int hashval = 0, hashval1, i;
Char *dp, **pv, **av, *sav;
struct varent *pathv;
bool slash;
int hashval = 0, hashval1, i;
Char *blk[2];
/*
@@ -193,7 +193,7 @@ doexec(v, t)
* We must do this AFTER any possible forking (like `foo` in glob) so that
* this shell can still do subprocesses.
*/
(void) sigsetmask((sigset_t) 0);
(void) sigsetmask(0);
/*
* If no path, no words in path, or a / in the filename then restrict the
* command search.
@@ -265,12 +265,12 @@ pexerr()
static void
texec(sf, st)
Char *sf;
register Char **st;
Char **st;
{
register char **t;
register char *f;
register struct varent *v;
register Char **vp;
char **t;
char *f;
struct varent *v;
Char **vp;
Char *lastsh[2];
int fd;
unsigned char c;
@@ -361,7 +361,7 @@ texec(sf, st)
void
execash(t, kp)
Char **t;
register struct command *kp;
struct command *kp;
{
int saveIN, saveOUT, saveDIAG, saveSTD;
int oSHIN;
@@ -446,8 +446,8 @@ dohash(v, t)
struct command *t;
{
DIR *dirp;
register struct dirent *dp;
register int cnt;
struct dirent *dp;
int cnt;
int i = 0;
struct varent *pathv = adrof(STRpath);
Char **pv;
@@ -504,9 +504,9 @@ hashstat(v, t)
*/
static int
hashname(cp)
register Char *cp;
Char *cp;
{
register long h = 0;
long h = 0;
while (*cp)
h = hash(h, *cp++);
@@ -517,11 +517,11 @@ static int
iscommand(name)
Char *name;
{
register Char **pv;
register Char *sav;
register struct varent *v;
register bool slash = any(short2str(name), '/');
register int hashval = 0, hashval1, i;
Char **pv;
Char *sav;
struct varent *v;
bool slash = any(short2str(name), '/');
int hashval = 0, hashval1, i;
v = adrof(STRpath);
if (v == 0 || v->vec[0] == 0 || slash)
@@ -618,7 +618,7 @@ executable(dir, name, dir_ok)
/*ARGSUSED*/
void
dowhich(v, c)
register Char **v;
Char **v;
struct command *c;
{
struct wordent lex[3];
@@ -652,9 +652,9 @@ static void
tellmewhat(lex)
struct wordent *lex;
{
register int i;
register struct biltins *bptr;
register struct wordent *sp = lex->next;
int i;
struct biltins *bptr;
struct wordent *sp = lex->next;
bool aliased = 0;
Char *s0, *s1, *s2, *cmd;
Char qc;
@@ -706,8 +706,8 @@ tellmewhat(lex)
sp->word = cmd = globone(sp->word, G_IGNORE);
if ((i = iscommand(strip(sp->word))) != 0) {
register Char **pv;
register struct varent *v;
Char **pv;
struct varent *v;
bool slash = any(short2str(sp->word), '/');
v = adrof(STRpath);
+45 -45
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: exp.c,v 1.2 1994/09/24 02:54:00 davidg Exp $
*/
#ifndef lint
@@ -91,23 +91,23 @@ static void etraci __P((char *, int, Char ***));
int
expr(vp)
register Char ***vp;
Char ***vp;
{
return (exp0(vp, 0));
}
int
exp0(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register int p1 = exp1(vp, ignore);
int p1 = exp1(vp, ignore);
#ifdef EDEBUG
etraci("exp0 p1", p1, vp);
#endif
if (**vp && eq(**vp, STRor2)) {
register int p2;
int p2;
(*vp)++;
p2 = exp0(vp, (ignore & IGNORE) || p1);
@@ -121,16 +121,16 @@ exp0(vp, ignore)
static int
exp1(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register int p1 = exp2(vp, ignore);
int p1 = exp2(vp, ignore);
#ifdef EDEBUG
etraci("exp1 p1", p1, vp);
#endif
if (**vp && eq(**vp, STRand2)) {
register int p2;
int p2;
(*vp)++;
p2 = exp1(vp, (ignore & IGNORE) || !p1);
@@ -144,16 +144,16 @@ exp1(vp, ignore)
static int
exp2(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register int p1 = exp2a(vp, ignore);
int p1 = exp2a(vp, ignore);
#ifdef EDEBUG
etraci("exp3 p1", p1, vp);
#endif
if (**vp && eq(**vp, STRor)) {
register int p2;
int p2;
(*vp)++;
p2 = exp2(vp, ignore);
@@ -167,16 +167,16 @@ exp2(vp, ignore)
static int
exp2a(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register int p1 = exp2b(vp, ignore);
int p1 = exp2b(vp, ignore);
#ifdef EDEBUG
etraci("exp2a p1", p1, vp);
#endif
if (**vp && eq(**vp, STRcaret)) {
register int p2;
int p2;
(*vp)++;
p2 = exp2a(vp, ignore);
@@ -190,16 +190,16 @@ exp2a(vp, ignore)
static int
exp2b(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register int p1 = exp2c(vp, ignore);
int p1 = exp2c(vp, ignore);
#ifdef EDEBUG
etraci("exp2b p1", p1, vp);
#endif
if (**vp && eq(**vp, STRand)) {
register int p2;
int p2;
(*vp)++;
p2 = exp2b(vp, ignore);
@@ -213,12 +213,12 @@ exp2b(vp, ignore)
static int
exp2c(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register Char *p1 = exp3(vp, ignore);
register Char *p2;
register int i;
Char *p1 = exp3(vp, ignore);
Char *p2;
int i;
#ifdef EDEBUG
etracc("exp2c p1", p1, vp);
@@ -261,11 +261,11 @@ exp2c(vp, ignore)
static Char *
exp3(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register Char *p1, *p2;
register int i;
Char *p1, *p2;
int i;
p1 = exp3a(vp, ignore);
#ifdef EDEBUG
@@ -307,11 +307,11 @@ exp3(vp, ignore)
static Char *
exp3a(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register Char *p1, *p2, *op;
register int i;
Char *p1, *p2, *op;
int i;
p1 = exp4(vp, ignore);
#ifdef EDEBUG
@@ -337,18 +337,18 @@ exp3a(vp, ignore)
static Char *
exp4(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register Char *p1, *p2;
register int i = 0;
Char *p1, *p2;
int i = 0;
p1 = exp5(vp, ignore);
#ifdef EDEBUG
etracc("exp4 p1", p1, vp);
#endif
if (isa(**vp, ADDOP)) {
register Char *op = *(*vp)++;
Char *op = *(*vp)++;
p2 = exp4(vp, ignore);
#ifdef EDEBUG
@@ -374,18 +374,18 @@ exp4(vp, ignore)
static Char *
exp5(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
register Char *p1, *p2;
register int i = 0;
Char *p1, *p2;
int i = 0;
p1 = exp6(vp, ignore);
#ifdef EDEBUG
etracc("exp5 p1", p1, vp);
#endif
if (isa(**vp, MULOP)) {
register Char *op = *(*vp)++;
Char *op = *(*vp)++;
p2 = exp5(vp, ignore);
#ifdef EDEBUG
@@ -421,11 +421,11 @@ exp5(vp, ignore)
static Char *
exp6(vp, ignore)
register Char ***vp;
Char ***vp;
bool ignore;
{
int ccode, i = 0;
register Char *cp, *dp, *ep;
Char *cp, *dp, *ep;
if (**vp == 0)
stderror(ERR_NAME | ERR_EXPRESSION);
@@ -461,7 +461,7 @@ exp6(vp, ignore)
return (putn(ccode));
}
if (eq(**vp, STRLbrace)) {
register Char **v;
Char **v;
struct command faket;
Char *fakecom[2];
@@ -600,18 +600,18 @@ exp6(vp, ignore)
static void
evalav(v)
register Char **v;
Char **v;
{
struct wordent paraml1;
register struct wordent *hp = &paraml1;
struct wordent *hp = &paraml1;
struct command *t;
register struct wordent *wdp = hp;
struct wordent *wdp = hp;
set(STRstatus, Strsave(STR0));
hp->prev = hp->next = hp;
hp->word = STRNULL;
while (*v) {
register struct wordent *new =
struct wordent *new =
(struct wordent *) xcalloc(1, sizeof *wdp);
new->prev = wdp;
@@ -631,8 +631,8 @@ evalav(v)
static int
isa(cp, what)
register Char *cp;
register int what;
Char *cp;
int what;
{
if (cp == 0)
return ((what & RESTOP) != 0);
@@ -680,7 +680,7 @@ isa(cp, what)
static int
egetn(cp)
register Char *cp;
Char *cp;
{
if (*cp && *cp != '-' && !Isdigit(*cp))
stderror(ERR_NAME | ERR_EXPRESSION);
+2 -2
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: extern.h,v 1.2 1994/09/24 02:54:02 davidg Exp $
*/
#include <sys/cdefs.h>
@@ -161,7 +161,7 @@ Char *globone __P((Char *, int));
int Gmatch __P((Char *, Char *));
void ginit __P((void));
Char **globall __P((Char **));
void rscan __P((Char **, void (*)()));
void rscan __P((Char **, void (*)(int)));
void tglob __P((Char **));
void trim __P((Char **));
#ifdef FILEC
+29 -29
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: file.c,v 1.3 1995/05/30 00:06:33 rgrimes Exp $
* $Id: file.c,v 1.4.2.1 1997/08/24 21:41:33 jkh Exp $
*/
#ifndef lint
@@ -160,7 +160,7 @@ static void
pushback(string)
Char *string;
{
register Char *p;
Char *p;
struct termios tty, tty_normal;
int omask;
char c;
@@ -184,8 +184,8 @@ pushback(string)
*/
static void
catn(des, src, count)
register Char *des, *src;
register int count;
Char *des, *src;
int count;
{
while (--count >= 0 && *des)
des++;
@@ -201,8 +201,8 @@ catn(des, src, count)
*/
static void
copyn(des, src, count)
register Char *des, *src;
register int count;
Char *des, *src;
int count;
{
while (--count >= 0)
if ((*des++ = *src++) == 0)
@@ -251,7 +251,7 @@ print_by_column(dir, items, count)
Char *dir, *items[];
int count;
{
register int i, rows, r, c, maxwidth = 0, columns;
int i, rows, r, c, maxwidth = 0, columns;
if (ioctl(SHOUT, TIOCGWINSZ, (ioctl_t) & win) < 0 || win.ws_col == 0)
win.ws_col = 80;
@@ -266,7 +266,7 @@ print_by_column(dir, items, count)
for (c = 0; c < columns; c++) {
i = c * rows + r;
if (i < count) {
register int w;
int w;
(void) fprintf(cshout, "%s", vis_str(items[i]));
(void) fputc(dir ? filetype(dir, items[i]) : ' ', cshout);
@@ -292,8 +292,8 @@ static Char *
tilde(new, old)
Char *new, *old;
{
register Char *o, *p;
register struct passwd *pw;
Char *o, *p;
struct passwd *pw;
static Char person[40];
if (old[0] != '~')
@@ -375,7 +375,7 @@ static void
extract_dir_and_name(path, dir, name)
Char *path, *dir, *name;
{
register Char *p;
Char *p;
p = Strrchr(path, '/');
if (p == NULL) {
@@ -393,8 +393,8 @@ getentry(dir_fd, looking_for_lognames)
DIR *dir_fd;
int looking_for_lognames;
{
register struct passwd *pw;
register struct dirent *dirp;
struct passwd *pw;
struct dirent *dirp;
if (looking_for_lognames) {
if ((pw = getpwent()) == NULL)
@@ -408,9 +408,9 @@ getentry(dir_fd, looking_for_lognames)
static void
free_items(items)
register Char **items;
Char **items;
{
register int i;
int i;
for (i = 0; items[i]; i++)
xfree((ptr_t) items[i]);
@@ -436,9 +436,9 @@ tsearch(word, command, max_word_length)
int max_word_length;
{
static Char **items = NULL;
register DIR *dir_fd;
register numitems = 0, ignoring = TRUE, nignored = 0;
register name_length, looking_for_lognames;
DIR *dir_fd;
int numitems = 0, ignoring = TRUE, nignored = 0;
int name_length, looking_for_lognames;
Char tilded_dir[MAXPATHLEN + 1], dir[MAXPATHLEN + 1];
Char name[MAXNAMLEN + 1], extended_name[MAXNAMLEN + 1];
Char *entry;
@@ -450,7 +450,7 @@ tsearch(word, command, max_word_length)
looking_for_lognames = (*word == '~') && (Strchr(word, '/') == NULL);
if (looking_for_lognames) {
(void) setpwent();
setpwent();
copyn(name, &word[1], MAXNAMLEN); /* name sans ~ */
dir_fd = NULL;
}
@@ -498,7 +498,7 @@ again: /* search for matches */
ignoring = FALSE;
nignored = 0;
if (looking_for_lognames)
(void) setpwent();
setpwent();
else
rewinddir(dir_fd);
goto again;
@@ -547,8 +547,8 @@ recognize(extended_name, entry, name_length, numitems)
if (numitems == 1) /* 1st match */
copyn(extended_name, entry, MAXNAMLEN);
else { /* 2nd & subsequent matches */
register Char *x, *ent;
register int len = 0;
Char *x, *ent;
int len = 0;
x = extended_name;
for (ent = entry; *x && *x == *ent++; x++, len++)
@@ -567,7 +567,7 @@ recognize(extended_name, entry, name_length, numitems)
*/
static int
is_prefix(check, template)
register Char *check, *template;
Char *check, *template;
{
do
if (*check == 0)
@@ -584,7 +584,7 @@ static int
is_suffix(check, template)
Char *check, *template;
{
register Char *c, *t;
Char *c, *t;
for (c = check; *c++;)
continue;
@@ -603,7 +603,7 @@ tenex(inputline, inputline_size)
Char *inputline;
int inputline_size;
{
register int numitems, num_read;
int numitems, num_read;
char tinputline[BUFSIZ];
@@ -613,8 +613,8 @@ tenex(inputline, inputline_size)
int i;
static Char delims[] = {' ', '\'', '"', '\t', ';', '&', '<',
'>', '(', ')', '|', '^', '%', '\0'};
register Char *str_end, *word_start, last_Char, should_retype;
register int space_left;
Char *str_end, *word_start, last_Char, should_retype;
int space_left;
COMMAND command;
for (i = 0; i < num_read; i++)
@@ -671,10 +671,10 @@ tenex(inputline, inputline_size)
static int
ignored(entry)
register Char *entry;
Char *entry;
{
struct varent *vp;
register Char **cp;
Char **cp;
if ((vp = adrof(STRfignore)) == NULL || (cp = vp->vec) == NULL)
return (FALSE);
+54 -55
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: func.c,v 1.4 1995/10/23 23:08:26 ache Exp $
* $Id: func.c,v 1.5.2.1 1997/08/24 21:41:33 jkh Exp $
*/
#ifndef lint
@@ -72,8 +72,8 @@ struct biltins *
isbfunc(t)
struct command *t;
{
register Char *cp = t->t_dcom[0];
register struct biltins *bp, *bp1, *bp2;
Char *cp = t->t_dcom[0];
struct biltins *bp, *bp1, *bp2;
static struct biltins label = {"", dozip, 0, 0};
static struct biltins foregnd = {"%job", dofg1, 0, 0};
static struct biltins backgnd = {"%job &", dobg1, 0, 0};
@@ -96,7 +96,7 @@ isbfunc(t)
* one past the end.
*/
for (bp1 = bfunc, bp2 = bfunc + nbfunc; bp1 < bp2;) {
register i;
int i;
bp = bp1 + ((bp2 - bp1) >> 1);
if ((i = *cp - *bp->bname) == 0 &&
@@ -112,8 +112,8 @@ isbfunc(t)
void
func(t, bp)
register struct command *t;
register struct biltins *bp;
struct command *t;
struct biltins *bp;
{
int i;
@@ -133,8 +133,8 @@ doonintr(v, t)
Char **v;
struct command *t;
{
register Char *cp;
register Char *vv = v[1];
Char *cp;
Char *vv = v[1];
if (parintr == SIG_IGN)
return;
@@ -194,8 +194,8 @@ doalias(v, t)
Char **v;
struct command *t;
{
register struct varent *vp;
register Char *p;
struct varent *vp;
Char *p;
v++;
p = *v++;
@@ -265,8 +265,8 @@ doif(v, kp)
Char **v;
struct command *kp;
{
register int i;
register Char **vv;
int i;
Char **vv;
v++;
i = expr(&v);
@@ -302,7 +302,7 @@ doif(v, kp)
*/
static void
reexecute(kp)
register struct command *kp;
struct command *kp;
{
kp->t_dflg &= F_SAVE;
kp->t_dflg |= F_REPEAT;
@@ -339,7 +339,7 @@ void
gotolab(lab)
Char *lab;
{
register struct whyle *wp;
struct whyle *wp;
/*
* While we still can, locate any unknown ends of existing loops. This
* obscure code is the WORST result of the fact that we don't really parse.
@@ -365,7 +365,7 @@ doswitch(v, t)
Char **v;
struct command *t;
{
register Char *cp, *lp;
Char *cp, *lp;
v++;
if (!*v || *(*v++) != '(')
@@ -419,8 +419,8 @@ doforeach(v, t)
Char **v;
struct command *t;
{
register Char *cp, *sp;
register struct whyle *nwp;
Char *cp, *sp;
struct whyle *nwp;
v++;
sp = cp = strip(*v);
@@ -463,8 +463,8 @@ dowhile(v, t)
Char **v;
struct command *t;
{
register int status;
register bool again = whyles != 0 && SEEKEQ(&whyles->w_start, &lineloc) &&
int status;
bool again = whyles != 0 && SEEKEQ(&whyles->w_start, &lineloc) &&
whyles->w_fename == 0;
v++;
@@ -479,7 +479,7 @@ dowhile(v, t)
if (*v)
stderror(ERR_NAME | ERR_EXPRESSION);
if (!again) {
register struct whyle *nwp =
struct whyle *nwp =
(struct whyle *) xcalloc(1, sizeof(*nwp));
nwp->w_start = lineloc;
@@ -507,7 +507,7 @@ preread()
{
whyles->w_end.type = I_SEEK;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
search(T_BREAK, 0, NULL); /* read the expression in */
if (setintr)
@@ -564,8 +564,8 @@ dorepeat(v, kp)
Char **v;
struct command *kp;
{
register int i;
register sigset_t omask = 0;
int i;
int omask = 0;
i = getn(v[1]);
if (setintr)
@@ -593,10 +593,10 @@ doswbrk(v, t)
int
srchx(cp)
register Char *cp;
Char *cp;
{
register struct srch *sp, *sp1, *sp2;
register i;
struct srch *sp, *sp1, *sp2;
int i;
/*
* Binary search Sp1 is the beginning of the current search range. Sp2 is
@@ -622,12 +622,12 @@ static Char *Sgoal;
static void
search(type, level, goal)
int type;
register int level;
int level;
Char *goal;
{
Char wordbuf[BUFSIZ];
register Char *aword = wordbuf;
register Char *cp;
Char *aword = wordbuf;
Char *cp;
Stype = type;
Sgoal = goal;
@@ -722,10 +722,10 @@ search(type, level, goal)
static int
getword(wp)
register Char *wp;
Char *wp;
{
register int found = 0;
register int c, d;
int found = 0;
int c, d;
int kwd = 0;
Char *owp = wp;
@@ -851,7 +851,7 @@ wfree()
btell(&o);
for (; whyles; whyles = nwp) {
register struct whyle *wp = whyles;
struct whyle *wp = whyles;
nwp = wp->w_next;
/*
@@ -901,13 +901,13 @@ doglob(v, t)
static void
xecho(sep, v)
int sep;
register Char **v;
Char **v;
{
register Char *cp;
Char *cp;
int nonl = 0;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
v++;
if (*v == 0)
return;
@@ -924,7 +924,7 @@ xecho(sep, v)
if (sep == ' ' && *v && eq(*v, STRmn))
nonl++, v++;
while ((cp = *v++) != NULL) {
register int c;
int c;
while ((c = *cp++) != '\0')
(void) vis_fputc(c | QUOTE, cshout);
@@ -952,10 +952,10 @@ dosetenv(v, t)
v++;
if ((vp = *v++) == 0) {
register Char **ep;
Char **ep;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
for (ep = STR_environ; *ep; ep++)
(void) fprintf(cshout, "%s\n", vis_str(*ep));
return;
@@ -1045,8 +1045,8 @@ void
Setenv(name, val)
Char *name, *val;
{
register Char **ep = STR_environ;
register Char *cp, *dp;
Char **ep = STR_environ;
Char *cp, *dp;
Char *blk[2];
Char **oep = ep;
@@ -1078,8 +1078,8 @@ static void
Unsetenv(name)
Char *name;
{
register Char **ep = STR_environ;
register Char *cp, *dp;
Char **ep = STR_environ;
Char *cp, *dp;
Char **oep = ep;
for (; *ep; ep++) {
@@ -1104,8 +1104,8 @@ doumask(v, t)
Char **v;
struct command *t;
{
register Char *cp = v[1];
register int i;
Char *cp = v[1];
int i;
if (cp == 0) {
i = umask(0);
@@ -1151,7 +1151,7 @@ static struct limits *
findlim(cp)
Char *cp;
{
register struct limits *lp, *res;
struct limits *lp, *res;
res = (struct limits *) NULL;
for (lp = limits; lp->limconst >= 0; lp++)
@@ -1173,8 +1173,8 @@ dolimit(v, t)
Char **v;
struct command *t;
{
register struct limits *lp;
register RLIM_TYPE limit;
struct limits *lp;
RLIM_TYPE limit;
char hard = 0;
v++;
@@ -1199,11 +1199,10 @@ dolimit(v, t)
static RLIM_TYPE
getval(lp, v)
register struct limits *lp;
struct limits *lp;
Char **v;
{
register float f;
double atof();
float f;
Char *cp = *v++;
f = atof(short2str(cp));
@@ -1283,7 +1282,7 @@ limtail(cp, str)
/*ARGSUSED*/
static void
plim(lp, hard)
register struct limits *lp;
struct limits *lp;
Char hard;
{
struct rlimit rlim;
@@ -1310,7 +1309,7 @@ dounlimit(v, t)
Char **v;
struct command *t;
{
register struct limits *lp;
struct limits *lp;
int lerr = 0;
Char hard = 0;
@@ -1336,7 +1335,7 @@ dounlimit(v, t)
static int
setlim(lp, hard, limit)
register struct limits *lp;
struct limits *lp;
Char hard;
RLIM_TYPE limit;
{
@@ -1368,7 +1367,7 @@ dosuspend(v, t)
{
int ctpgrp;
void (*old) ();
void (*old) __P((int));
if (loginsh)
stderror(ERR_SUSPLOG);
+15 -15
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: glob.c,v 1.5 1996/08/12 21:32:15 ache Exp $
* $Id: glob.c,v 1.6 1996/10/31 07:22:48 ache Exp $
*/
#ifndef lint
@@ -553,10 +553,10 @@ ginit()
void
rscan(t, f)
register Char **t;
void (*f) ();
Char **t;
void (*f) __P((int));
{
register Char *p;
Char *p;
while ((p = *t++) != NULL)
while (*p)
@@ -565,9 +565,9 @@ rscan(t, f)
void
trim(t)
register Char **t;
Char **t;
{
register Char *p;
Char *p;
while ((p = *t++) != NULL)
while (*p)
@@ -576,9 +576,9 @@ trim(t)
void
tglob(t)
register Char **t;
Char **t;
{
register Char *p, c;
Char *p, c;
while ((p = *t++) != NULL) {
if (*p == '~' || *p == '=')
@@ -622,7 +622,7 @@ dobackp(cp, literal)
Char *cp;
bool literal;
{
register Char *lp, *rp;
Char *lp, *rp;
Char *ep, word[MAXPATHLEN];
if (pargv) {
@@ -667,8 +667,8 @@ backeval(cp, literal)
Char *cp;
bool literal;
{
register int icnt, c;
register Char *ip;
int icnt, c;
Char *ip;
struct command faket;
bool hadnl;
int pvec[2], quoted;
@@ -851,9 +851,9 @@ Gmatch(string, pattern)
static int
pmatch(string, pattern)
register Char *string, *pattern;
Char *string, *pattern;
{
register Char stringc, patternc;
Char stringc, patternc;
int match, negate_range;
Char rangec;
@@ -910,7 +910,7 @@ void
Gcat(s1, s2)
Char *s1, *s2;
{
register Char *p, *q;
Char *p, *q;
int n;
for (p = s1; *p++;)
@@ -934,7 +934,7 @@ Gcat(s1, s2)
#ifdef FILEC
int
sortscmp(a, b)
register const ptr_t a, b;
const ptr_t a, b;
{
#if defined(NLS) && !defined(NOSTRCOLL)
char buf[2048];
+9 -9
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: hist.c,v 1.2.8.1 1997/08/24 21:41:34 jkh Exp $
*/
#ifndef lint
@@ -56,8 +56,8 @@ void
savehist(sp)
struct wordent *sp;
{
register struct Hist *hp, *np;
register int histlen = 0;
struct Hist *hp, *np;
int histlen = 0;
Char *cp;
/* throw away null lines */
@@ -65,7 +65,7 @@ savehist(sp)
return;
cp = value(STRhistory);
if (*cp) {
register Char *p = cp;
Char *p = cp;
while (*p) {
if (!Isdigit(*p)) {
@@ -86,10 +86,10 @@ savehist(sp)
struct Hist *
enthist(event, lp, docopy)
int event;
register struct wordent *lp;
struct wordent *lp;
bool docopy;
{
register struct Hist *np;
struct Hist *np;
np = (struct Hist *) xmalloc((size_t) sizeof(*np));
np->Hnum = np->Href = event;
@@ -109,7 +109,7 @@ enthist(event, lp, docopy)
static void
hfree(hp)
register struct Hist *hp;
struct Hist *hp;
{
freelex(&hp->Hlex);
@@ -127,7 +127,7 @@ dohist(v, t)
if (getn(value(STRhistory)) == 0)
return;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
while (*++v && **v == '-') {
Char *vp = *v;
@@ -177,7 +177,7 @@ dohist1(hp, np, rflg, hflg)
static void
phist(hp, hflg)
register struct Hist *hp;
struct Hist *hp;
int hflg;
{
if (hflg == 0)
+47 -47
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: lex.c,v 1.3 1995/05/30 00:06:35 rgrimes Exp $
* $Id: lex.c,v 1.4 1995/08/10 05:13:42 ache Exp $
*/
#ifndef lint
@@ -142,9 +142,9 @@ static Char getCtmp;
int
lex(hp)
register struct wordent *hp;
struct wordent *hp;
{
register struct wordent *wdp;
struct wordent *wdp;
int c;
btell(&lineloc);
@@ -165,7 +165,7 @@ lex(hp)
* be ready and rarin to go even if it is interrupted.
*/
do {
register struct wordent *new;
struct wordent *new;
new = (struct wordent *) xmalloc((size_t) sizeof(*wdp));
new->word = 0;
@@ -184,7 +184,7 @@ prlex(fp, sp0)
FILE *fp;
struct wordent *sp0;
{
register struct wordent *sp = sp0->next;
struct wordent *sp = sp0->next;
for (;;) {
(void) fprintf(fp, "%s", vis_str(sp->word));
@@ -198,15 +198,15 @@ prlex(fp, sp0)
void
copylex(hp, fp)
register struct wordent *hp;
register struct wordent *fp;
struct wordent *hp;
struct wordent *fp;
{
register struct wordent *wdp;
struct wordent *wdp;
wdp = hp;
fp = fp->next;
do {
register struct wordent *new;
struct wordent *new;
new = (struct wordent *) xmalloc((size_t) sizeof(*wdp));
new->prev = wdp;
@@ -221,9 +221,9 @@ copylex(hp, fp)
void
freelex(vp)
register struct wordent *vp;
struct wordent *vp;
{
register struct wordent *fp;
struct wordent *fp;
while (vp->next != vp) {
fp = vp->next;
@@ -237,11 +237,11 @@ freelex(vp)
static Char *
word()
{
register Char c, c1;
register Char *wp;
Char c, c1;
Char *wp;
Char wbuf[BUFSIZ];
register bool dolflg;
register int i;
bool dolflg;
int i;
wp = wbuf;
i = BUFSIZ - 4;
@@ -358,9 +358,9 @@ ret:
static int
getC1(flag)
register int flag;
int flag;
{
register Char c;
Char c;
while (1) {
if ((c = peekc) != '\0') {
@@ -416,9 +416,9 @@ getC1(flag)
static void
getdol()
{
register Char *np, *ep;
Char *np, *ep;
Char name[4 * MAXVARLEN + 1];
register int c;
int c;
int sc;
bool special = 0, toolong;
@@ -650,9 +650,9 @@ static void
getexcl(sc)
int sc;
{
register struct wordent *hp, *ip;
struct wordent *hp, *ip;
int left, right, dol;
register int c;
int c;
if (sc == 0) {
sc = getC(0);
@@ -727,9 +727,9 @@ static struct wordent *
getsub(en)
struct wordent *en;
{
register Char *cp;
Char *cp;
int delim;
register int c;
int c;
int sc;
bool global;
Char orhsb[sizeof(rhsb) / sizeof(Char)];
@@ -872,12 +872,12 @@ dosub(sc, en, global)
struct wordent lexi;
bool didsub = 0, didone = 0;
struct wordent *hp = &lexi;
register struct wordent *wdp;
register int i = exclc;
struct wordent *wdp;
int i = exclc;
wdp = hp;
while (--i >= 0) {
register struct wordent *new =
struct wordent *new =
(struct wordent *) xcalloc(1, sizeof *wdp);
new->word = 0;
@@ -924,8 +924,8 @@ subword(cp, type, adid)
bool *adid;
{
Char wbuf[BUFSIZ];
register Char *wp, *mp, *np;
register int i;
Char *wp, *mp, *np;
int i;
*adid = 0;
switch (type) {
@@ -996,8 +996,8 @@ domod(cp, type)
Char *cp;
int type;
{
register Char *wp, *xp;
register int c;
Char *wp, *xp;
int c;
switch (type) {
@@ -1042,7 +1042,7 @@ domod(cp, type)
static int
matchs(str, pat)
register Char *str, *pat;
Char *str, *pat;
{
while (*str && *pat && *str == *pat)
str++, pat++;
@@ -1051,11 +1051,11 @@ matchs(str, pat)
static int
getsel(al, ar, dol)
register int *al, *ar;
int *al, *ar;
int dol;
{
register int c = getC(0);
register int i;
int c = getC(0);
int i;
bool first = *al < 0;
switch (c) {
@@ -1139,9 +1139,9 @@ static struct wordent *
gethent(sc)
int sc;
{
register struct Hist *hp;
register Char *np;
register int c;
struct Hist *hp;
Char *np;
int c;
int event;
bool back = 0;
@@ -1258,12 +1258,12 @@ findev(cp, anyarg)
Char *cp;
bool anyarg;
{
register struct Hist *hp;
struct Hist *hp;
for (hp = Histlist.Hnext; hp; hp = hp->Hnext) {
Char *dp;
register Char *p, *q;
register struct wordent *lp = hp->Hlex.next;
Char *p, *q;
struct wordent *lp = hp->Hlex.next;
int argno = 0;
/*
@@ -1307,7 +1307,7 @@ findev(cp, anyarg)
static void
setexclp(cp)
register Char *cp;
Char *cp;
{
if (cp && cp[0] == '\n')
return;
@@ -1325,7 +1325,7 @@ int
readc(wanteof)
bool wanteof;
{
register int c;
int c;
static sincereal;
aret = F_SEEK;
@@ -1440,10 +1440,10 @@ reread:
static int
bgetc()
{
register int buf, off, c;
int buf, off, c;
#ifdef FILEC
register int numleft = 0, roomleft;
int numleft = 0, roomleft;
Char ttyline[BUFSIZ];
#endif
char tbuf[BUFSIZ + 1];
@@ -1474,7 +1474,7 @@ bgetc()
again:
buf = (int) fseekp / BUFSIZ;
if (buf >= fblocks) {
register Char **nfbuf =
Char **nfbuf =
(Char **) xcalloc((size_t) (fblocks + 2),
sizeof(Char **));
@@ -1505,7 +1505,7 @@ again:
goto again;
}
if (c > 0)
bcopy(ttyline, fbuf[buf] + off, c * sizeof(Char));
memmove(fbuf[buf] + off, ttyline, c * sizeof(Char));
numleft = 0;
}
else {
@@ -1549,7 +1549,7 @@ again:
static void
bfree()
{
register int sb, i;
int sb, i;
if (cantell)
return;
+33 -33
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: misc.c,v 1.2 1994/09/24 02:54:10 davidg Exp $
* $Id: misc.c,v 1.3 1996/09/28 14:32:01 bde Exp $
*/
#ifndef lint
@@ -53,8 +53,8 @@ static int renum __P((int, int));
int
any(s, c)
register char *s;
register int c;
char *s;
int c;
{
if (!s)
return (0); /* Check for nil pointer */
@@ -77,10 +77,10 @@ setzero(cp, i)
char *
strsave(s)
register char *s;
char *s;
{
char *n;
register char *p;
char *p;
if (s == NULL)
s = "";
@@ -94,7 +94,7 @@ strsave(s)
Char **
blkend(up)
register Char **up;
Char **up;
{
while (*up)
@@ -106,7 +106,7 @@ blkend(up)
void
blkpr(fp, av)
FILE *fp;
register Char **av;
Char **av;
{
for (; *av; av++) {
@@ -118,9 +118,9 @@ blkpr(fp, av)
int
blklen(av)
register Char **av;
Char **av;
{
register int i = 0;
int i = 0;
while (*av++)
i++;
@@ -130,9 +130,9 @@ blklen(av)
Char **
blkcpy(oav, bv)
Char **oav;
register Char **bv;
Char **bv;
{
register Char **av = oav;
Char **av = oav;
while ((*av++ = *bv++) != NULL)
continue;
@@ -152,7 +152,7 @@ void
blkfree(av0)
Char **av0;
{
register Char **av = av0;
Char **av = av0;
if (!av0)
return;
@@ -163,9 +163,9 @@ blkfree(av0)
Char **
saveblk(v)
register Char **v;
Char **v;
{
register Char **newv =
Char **newv =
(Char **) xcalloc((size_t) (blklen(v) + 1), sizeof(Char **));
Char **onewv = newv;
@@ -177,11 +177,11 @@ saveblk(v)
#ifdef NOTUSED
char *
strstr(s, t)
register char *s, *t;
char *s, *t;
{
do {
register char *ss = s;
register char *tt = t;
char *ss = s;
char *tt = t;
do
if (*tt == '\0')
@@ -199,7 +199,7 @@ strspl(cp, dp)
char *cp, *dp;
{
char *ep;
register char *p, *q;
char *p, *q;
if (!cp)
cp = "";
@@ -221,9 +221,9 @@ strspl(cp, dp)
Char **
blkspl(up, vp)
register Char **up, **vp;
Char **up, **vp;
{
register Char **wp =
Char **wp =
(Char **) xcalloc((size_t) (blklen(up) + blklen(vp) + 1),
sizeof(Char **));
@@ -233,7 +233,7 @@ blkspl(up, vp)
Char
lastchr(cp)
register Char *cp;
Char *cp;
{
if (!cp)
@@ -252,7 +252,7 @@ lastchr(cp)
void
closem()
{
register int f, flimit;
int f, flimit;
for (f = 0, flimit = getdtablesize(); f < flimit; f++)
if (f != SHIN && f != SHOUT && f != SHERR && f != OLDSTD &&
@@ -277,7 +277,7 @@ donefds()
*/
int
dmove(i, j)
register int i, j;
int i, j;
{
if (i == j || i < 0)
@@ -296,7 +296,7 @@ dmove(i, j)
int
dcopy(i, j)
register int i, j;
int i, j;
{
if (i == j || i < 0 || (j < 0 && i > 2))
@@ -311,9 +311,9 @@ dcopy(i, j)
static int
renum(i, j)
register int i, j;
int i, j;
{
register int k = dup(i);
int k = dup(i);
if (k < 0)
return (-1);
@@ -334,10 +334,10 @@ renum(i, j)
*/
void
lshift(v, c)
register Char **v;
register int c;
Char **v;
int c;
{
register Char **u;
Char **u;
for (u = v; *u && --c >= 0; u++)
xfree((ptr_t) *u);
@@ -363,7 +363,7 @@ number(cp)
Char **
copyblk(v)
register Char **v;
Char **v;
{
Char **nv = (Char **) xcalloc((size_t) (blklen(v) + 1), sizeof(Char **));
@@ -373,7 +373,7 @@ copyblk(v)
#ifndef SHORT_STRINGS
char *
strend(cp)
register char *cp;
char *cp;
{
if (!cp)
return (cp);
@@ -388,7 +388,7 @@ Char *
strip(cp)
Char *cp;
{
register Char *dp = cp;
Char *dp = cp;
if (!cp)
return (cp);
@@ -408,7 +408,7 @@ udvar(name)
int
prefix(sub, str)
register Char *sub, *str;
Char *sub, *str;
{
for (;;) {
+30 -30
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: parse.c,v 1.2 1994/09/24 02:54:11 davidg Exp $
* $Id: parse.c,v 1.3 1995/05/30 00:06:37 rgrimes Exp $
*/
#ifndef lint
@@ -79,7 +79,7 @@ static int aleft;
extern int hleft;
void
alias(lex)
register struct wordent *lex;
struct wordent *lex;
{
jmp_buf osetexit;
@@ -99,7 +99,7 @@ alias(lex)
static void
asyntax(p1, p2)
register struct wordent *p1, *p2;
struct wordent *p1, *p2;
{
while (p1 != p2)
if (any(";&\n", p1->word[0]))
@@ -113,10 +113,10 @@ asyntax(p1, p2)
static void
asyn0(p1, p2)
struct wordent *p1;
register struct wordent *p2;
struct wordent *p2;
{
register struct wordent *p;
register int l = 0;
struct wordent *p;
int l = 0;
for (p = p1; p != p2; p = p->next)
switch (p->word[0]) {
@@ -153,11 +153,11 @@ asyn0(p1, p2)
static void
asyn3(p1, p2)
struct wordent *p1;
register struct wordent *p2;
struct wordent *p2;
{
register struct varent *ap;
struct varent *ap;
struct wordent alout;
register bool redid;
bool redid;
if (p1 == p2)
return;
@@ -203,9 +203,9 @@ asyn3(p1, p2)
static struct wordent *
freenod(p1, p2)
register struct wordent *p1, *p2;
struct wordent *p1, *p2;
{
register struct wordent *retp = p1->prev;
struct wordent *retp = p1->prev;
while (p1 != p2) {
xfree((ptr_t) p1->word);
@@ -229,7 +229,7 @@ freenod(p1, p2)
*/
struct command *
syntax(p1, p2, flags)
register struct wordent *p1, *p2;
struct wordent *p1, *p2;
int flags;
{
@@ -251,8 +251,8 @@ syn0(p1, p2, flags)
struct wordent *p1, *p2;
int flags;
{
register struct wordent *p;
register struct command *t, *t1;
struct wordent *p;
struct command *t, *t1;
int l;
l = 0;
@@ -319,8 +319,8 @@ syn1(p1, p2, flags)
struct wordent *p1, *p2;
int flags;
{
register struct wordent *p;
register struct command *t;
struct wordent *p;
struct command *t;
int l;
l = 0;
@@ -360,9 +360,9 @@ syn1a(p1, p2, flags)
struct wordent *p1, *p2;
int flags;
{
register struct wordent *p;
register struct command *t;
register int l = 0;
struct wordent *p;
struct command *t;
int l = 0;
for (p = p1; p != p2; p = p->next)
switch (p->word[0]) {
@@ -401,9 +401,9 @@ syn1b(p1, p2, flags)
struct wordent *p1, *p2;
int flags;
{
register struct wordent *p;
register struct command *t;
register int l = 0;
struct wordent *p;
struct command *t;
int l = 0;
for (p = p1; p != p2; p = p->next)
switch (p->word[0]) {
@@ -441,9 +441,9 @@ syn2(p1, p2, flags)
struct wordent *p1, *p2;
int flags;
{
register struct wordent *p, *pn;
register struct command *t;
register int l = 0;
struct wordent *p, *pn;
struct command *t;
int l = 0;
int f;
for (p = p1; p != p2; p = p->next)
@@ -492,10 +492,10 @@ syn3(p1, p2, flags)
struct wordent *p1, *p2;
int flags;
{
register struct wordent *p;
struct wordent *p;
struct wordent *lp, *rp;
register struct command *t;
register int l;
struct command *t;
int l;
Char **av;
int n, c;
bool specp = 0;
@@ -668,9 +668,9 @@ again:
void
freesyn(t)
register struct command *t;
struct command *t;
{
register Char **v;
Char **v;
if (t == 0)
return;
+2 -2
View File
@@ -1,4 +1,4 @@
/*
/*-
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: pathnames.h,v 1.2 1994/09/24 02:54:12 davidg Exp $
*/
#define _PATH_BIN "/bin"
+55 -53
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: proc.c,v 1.2.8.2 1998/01/31 17:06:15 joerg Exp $
*/
#ifndef lint
@@ -82,10 +82,11 @@ void
pchild(notused)
int notused;
{
register struct process *pp;
register struct process *fp;
register int pid;
struct process *pp;
struct process *fp;
int pid;
extern int insource;
int save_errno = errno;
union wait w;
int jobflags;
struct rusage ru;
@@ -101,6 +102,7 @@ loop:
goto loop;
}
pnoprocesses = pid == -1;
errno = save_errno;
return;
}
for (pp = proclist.p_next; pp != NULL; pp = pp->p_next)
@@ -201,9 +203,9 @@ found:
void
pnote()
{
register struct process *pp;
struct process *pp;
int flags;
sigset_t omask;
int omask;
neednote = 0;
for (pp = proclist.p_next; pp != NULL; pp = pp->p_next) {
@@ -225,8 +227,8 @@ pnote()
void
pwait()
{
register struct process *fp, *pp;
sigset_t omask;
struct process *fp, *pp;
int omask;
/*
* Here's where dead procs get flushed.
@@ -253,11 +255,11 @@ pwait()
*/
void
pjwait(pp)
register struct process *pp;
struct process *pp;
{
register struct process *fp;
struct process *fp;
int jobflags, reason;
sigset_t omask;
int omask;
while (pp->p_pid != pp->p_jobid)
pp = pp->p_friends;
@@ -345,8 +347,8 @@ dowait(v, t)
Char **v;
struct command *t;
{
register struct process *pp;
sigset_t omask;
struct process *pp;
int omask;
pjobs++;
omask = sigblock(sigmask(SIGCHLD));
@@ -354,7 +356,7 @@ loop:
for (pp = proclist.p_next; pp; pp = pp->p_next)
if (pp->p_pid && /* pp->p_pid == pp->p_jobid && */
pp->p_flags & PRUNNING) {
(void) sigpause((sigset_t) 0);
(void) sigpause(0);
goto loop;
}
(void) sigsetmask(omask);
@@ -367,7 +369,7 @@ loop:
static void
pflushall()
{
register struct process *pp;
struct process *pp;
for (pp = proclist.p_next; pp != NULL; pp = pp->p_next)
if (pp->p_pid)
@@ -381,10 +383,10 @@ pflushall()
*/
static void
pflush(pp)
register struct process *pp;
struct process *pp;
{
register struct process *np;
register int idx;
struct process *np;
int idx;
if (pp->p_pid == 0) {
(void) fprintf(csherr, "BUG: process flushed twice");
@@ -415,7 +417,7 @@ pflush(pp)
*/
static void
pclrcurr(pp)
register struct process *pp;
struct process *pp;
{
if (pp == pcurrent)
@@ -443,9 +445,9 @@ static Char *cmdp;
void
palloc(pid, t)
int pid;
register struct command *t;
struct command *t;
{
register struct process *pp;
struct process *pp;
int i;
pp = (struct process *) xcalloc(1, (size_t) sizeof(struct process));
@@ -509,7 +511,7 @@ palloc(pid, t)
static void
padd(t)
register struct command *t;
struct command *t;
{
Char **argp;
@@ -570,7 +572,7 @@ static void
pads(cp)
Char *cp;
{
register int i;
int i;
/*
* Avoid the Quoted Space alias hack! Reported by:
@@ -626,7 +628,7 @@ prestjob()
void
pendjob()
{
register struct process *pp, *tp;
struct process *pp, *tp;
if (pcurrjob && (pcurrjob->p_flags & (PFOREGND | PSTOPPED)) == 0) {
pp = pcurrjob;
@@ -648,10 +650,10 @@ pendjob()
*/
static int
pprint(pp, flag)
register struct process *pp;
struct process *pp;
bool flag;
{
register status, reason;
int status, reason;
struct process *tp;
int jobflags, pstatus;
bool hadnl = 1; /* did we just have a newline */
@@ -814,13 +816,13 @@ prcomd:
static void
ptprint(tp)
register struct process *tp;
struct process *tp;
{
struct timeval tetime, diff;
static struct timeval ztime;
struct rusage ru;
static struct rusage zru;
register struct process *pp = tp;
struct process *pp = tp;
ru = zru;
tetime = ztime;
@@ -842,8 +844,8 @@ dojobs(v, t)
Char **v;
struct command *t;
{
register struct process *pp;
register int flag = NUMBER | NAME | REASON;
struct process *pp;
int flag = NUMBER | NAME | REASON;
int i;
if (chkstop)
@@ -872,7 +874,7 @@ dofg(v, t)
Char **v;
struct command *t;
{
register struct process *pp;
struct process *pp;
okpcntl();
++v;
@@ -892,7 +894,7 @@ dofg1(v, t)
Char **v;
struct command *t;
{
register struct process *pp;
struct process *pp;
okpcntl();
pp = pfind(v[0]);
@@ -909,7 +911,7 @@ dobg(v, t)
Char **v;
struct command *t;
{
register struct process *pp;
struct process *pp;
okpcntl();
++v;
@@ -928,7 +930,7 @@ dobg1(v, t)
Char **v;
struct command *t;
{
register struct process *pp;
struct process *pp;
pp = pfind(v[0]);
pstart(pp, 0);
@@ -955,8 +957,8 @@ dokill(v, t)
Char **v;
struct command *t;
{
register int signum = SIGTERM;
register char *name;
int signum = SIGTERM;
char *name;
v++;
if (v[0] && v[0][0] == '-') {
@@ -998,10 +1000,10 @@ pkill(v, signum)
Char **v;
int signum;
{
register struct process *pp, *np;
register int jobflags = 0;
struct process *pp, *np;
int jobflags = 0;
int pid, err1 = 0;
sigset_t omask;
int omask;
Char *cp;
omask = sigmask(SIGCHLD);
@@ -1081,11 +1083,11 @@ cont:
*/
void
pstart(pp, foregnd)
register struct process *pp;
struct process *pp;
int foregnd;
{
register struct process *np;
sigset_t omask;
struct process *np;
int omask;
long jobflags = 0;
omask = sigblock(sigmask(SIGCHLD));
@@ -1115,7 +1117,7 @@ void
panystop(neednl)
bool neednl;
{
register struct process *pp;
struct process *pp;
chkstop = 2;
for (pp = proclist.p_next; pp; pp = pp->p_next)
@@ -1127,7 +1129,7 @@ struct process *
pfind(cp)
Char *cp;
{
register struct process *pp, *np;
struct process *pp, *np;
if (cp == 0 || cp[1] == 0 || eq(cp, STRcent2) || eq(cp, STRcentplus)) {
if (pcurrent == NULL)
@@ -1151,7 +1153,7 @@ pfind(cp)
for (pp = proclist.p_next; pp; pp = pp->p_next)
if (pp->p_pid == pp->p_jobid) {
if (cp[1] == '?') {
register Char *dp;
Char *dp;
for (dp = pp->p_command; *dp; dp++) {
if (*dp != cp[2])
@@ -1169,7 +1171,7 @@ pfind(cp)
}
if (np)
return (np);
stderror(ERR_NAME | cp[1] == '?' ? ERR_JOBPAT : ERR_NOSUCHJOB);
stderror(ERR_NAME | (cp[1] == '?' ? ERR_JOBPAT : ERR_NOSUCHJOB));
/* NOTREACHED */
return (0);
}
@@ -1180,10 +1182,10 @@ pfind(cp)
*/
static struct process *
pgetcurr(pp)
register struct process *pp;
struct process *pp;
{
register struct process *np;
register struct process *xp = NULL;
struct process *np;
struct process *xp = NULL;
for (np = proclist.p_next; np; np = np->p_next)
if (np != pcurrent && np != pp && np->p_pid &&
@@ -1205,7 +1207,7 @@ donotify(v, t)
Char **v;
struct command *t;
{
register struct process *pp;
struct process *pp;
pp = pfind(*++v);
pp->p_flags |= PNOTIFY;
@@ -1228,10 +1230,10 @@ pfork(t, wanttty)
struct command *t; /* command we are forking for */
int wanttty;
{
register int pid;
int pid;
bool ignint = 0;
int pgrp;
sigset_t omask;
int omask;
/*
* A child will be uninterruptible only under very special conditions.
@@ -1328,7 +1330,7 @@ void
pgetty(wanttty, pgrp)
int wanttty, pgrp;
{
sigset_t omask = 0;
int omask = 0;
/*
* christos: I am blocking the tty signals till I've set things
+13 -13
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sem.c,v 1.2 1994/09/24 02:54:15 davidg Exp $
* $Id: sem.c,v 1.3.6.1 1997/08/24 21:41:38 jkh Exp $
*/
#ifndef lint
@@ -62,7 +62,7 @@ static void chkclob __P((char *));
void
execute(t, wanttty, pipein, pipeout)
register struct command *t;
struct command *t;
int wanttty, *pipein, *pipeout;
{
bool forked = 0;
@@ -70,9 +70,9 @@ execute(t, wanttty, pipein, pipeout)
int pid = 0;
int pv[2];
static sigset_t csigmask;
static int csigmask;
static sigset_t ocsigmask;
static int ocsigmask;
static int onosigchld = 0;
static int nosigchld = 0;
@@ -226,7 +226,7 @@ execute(t, wanttty, pipein, pipeout)
else {
int ochild, osetintr, ohaderr, odidfds;
int oSHIN, oSHOUT, oSHERR, oOLDSTD, otpgrp;
sigset_t omask;
int omask;
/*
* Prepare for the vfork by saving everything that the child
@@ -451,7 +451,7 @@ static void
vffree(i)
int i;
{
register Char **v;
Char **v;
if ((v = gargv) != NULL) {
gargv = 0;
@@ -481,7 +481,7 @@ int i;
*/
static Char *
splicepipe(t, cp)
register struct command *t;
struct command *t;
Char *cp; /* word after < or > */
{
Char *blk[2];
@@ -524,12 +524,12 @@ splicepipe(t, cp)
*/
static void
doio(t, pipein, pipeout)
register struct command *t;
struct command *t;
int *pipein, *pipeout;
{
register int fd;
register Char *cp;
register int flags = t->t_dflg;
int fd;
Char *cp;
int flags = t->t_dflg;
if (didfds || (flags & F_REPEAT))
return;
@@ -620,7 +620,7 @@ doio(t, pipein, pipeout)
void
mypipe(pv)
register int *pv;
int *pv;
{
if (pipe(pv) < 0)
@@ -635,7 +635,7 @@ oops:
static void
chkclob(cp)
register char *cp;
char *cp;
{
struct stat stb;
+48 -47
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: set.c,v 1.3 1995/05/30 00:06:38 rgrimes Exp $
* $Id: set.c,v 1.4.2.1 1997/08/24 21:41:38 jkh Exp $
*/
#ifndef lint
@@ -47,6 +47,7 @@ static char sccsid[] = "@(#)set.c 8.1 (Berkeley) 5/31/93";
#else
# include <varargs.h>
#endif
#include <unistd.h>
#include "csh.h"
#include "extern.h"
@@ -75,7 +76,7 @@ doset(v, t)
Char **v;
struct command *t;
{
register Char *p;
Char *p;
Char *vp, op;
Char **vecp;
bool hadsub;
@@ -116,7 +117,7 @@ doset(v, t)
if (op && op != '=')
stderror(ERR_NAME | ERR_SYNTAX);
if (eq(p, STRLparen)) {
register Char **e = v;
Char **e = v;
if (hadsub)
stderror(ERR_NAME | ERR_SYNTAX);
@@ -143,7 +144,7 @@ doset(v, t)
dohash(NULL, NULL);
}
else if (eq(vp, STRhistchars)) {
register Char *pn = value(STRhistchars);
Char *pn = value(STRhistchars);
HIST = *pn++;
HISTSUB = *pn;
@@ -158,7 +159,7 @@ doset(v, t)
else if (eq(vp, STRterm))
Setenv(STRTERM, value(vp));
else if (eq(vp, STRhome)) {
register Char *cp;
Char *cp;
cp = Strsave(value(vp)); /* get the old value back */
@@ -184,8 +185,8 @@ doset(v, t)
static Char *
getinx(cp, ip)
register Char *cp;
register int *ip;
Char *cp;
int *ip;
{
*ip = 0;
@@ -203,7 +204,7 @@ asx(vp, subscr, p)
int subscr;
Char *p;
{
register struct varent *v = getvx(vp, subscr);
struct varent *v = getvx(vp, subscr);
xfree((ptr_t) v->vec[subscr - 1]);
v->vec[subscr - 1] = globone(p, G_APPEND);
@@ -214,7 +215,7 @@ getvx(vp, subscr)
Char *vp;
int subscr;
{
register struct varent *v = adrof(vp);
struct varent *v = adrof(vp);
if (v == 0)
udvar(vp);
@@ -229,7 +230,7 @@ dolet(v, t)
Char **v;
struct command *t;
{
register Char *p;
Char *p;
Char *vp, c, op;
bool hadsub;
int subscr;
@@ -314,7 +315,7 @@ static Char *
xset(cp, vp)
Char *cp, ***vp;
{
register Char *dp;
Char *dp;
if (*cp) {
dp = Strsave(cp);
@@ -332,9 +333,9 @@ operate(op, vp, p)
{
Char opr[2];
Char *vec[5];
register Char **v = vec;
Char **v = vec;
Char **vecp = v;
register int i;
int i;
if (op != '=') {
if (*vp)
@@ -357,7 +358,7 @@ static Char *putp;
Char *
putn(n)
register int n;
int n;
{
int num;
static Char number[15];
@@ -390,7 +391,7 @@ putn(n)
static void
putn1(n)
register int n;
int n;
{
if (n > 9)
putn1(n / 10);
@@ -399,9 +400,9 @@ putn1(n)
int
getn(cp)
register Char *cp;
Char *cp;
{
register int n;
int n;
int sign;
sign = 0;
@@ -426,7 +427,7 @@ value1(var, head)
Char *var;
struct varent *head;
{
register struct varent *vp;
struct varent *vp;
vp = adrof1(var, head);
return (vp == 0 || vp->vec[0] == 0 ? STRNULL : vp->vec[0]);
@@ -435,9 +436,9 @@ value1(var, head)
static struct varent *
madrof(pat, vp)
Char *pat;
register struct varent *vp;
struct varent *vp;
{
register struct varent *vp1;
struct varent *vp1;
for (; vp; vp = vp->v_right) {
if (vp->v_left && (vp1 = madrof(pat, vp->v_left)))
@@ -450,10 +451,10 @@ madrof(pat, vp)
struct varent *
adrof1(name, v)
register Char *name;
register struct varent *v;
Char *name;
struct varent *v;
{
register cmp;
int cmp;
v = v->v_left;
while (v && ((cmp = *name - *v->v_name) ||
@@ -472,7 +473,7 @@ void
set(var, val)
Char *var, *val;
{
register Char **vec = (Char **) xmalloc((size_t) (2 * sizeof(Char **)));
Char **vec = (Char **) xmalloc((size_t) (2 * sizeof(Char **)));
vec[0] = val;
vec[1] = 0;
@@ -484,7 +485,7 @@ set1(var, vec, head)
Char *var, **vec;
struct varent *head;
{
register Char **oldv = vec;
Char **oldv = vec;
gflag = 0;
tglob(oldv);
@@ -505,10 +506,10 @@ set1(var, vec, head)
void
setq(name, vec, p)
Char *name, **vec;
register struct varent *p;
struct varent *p;
{
register struct varent *c;
register f;
struct varent *c;
int f;
f = 0; /* tree hangs off the header's left link */
while ((c = p->v_link[f]) != NULL) {
@@ -551,11 +552,11 @@ unset(v, t)
void
unset1(v, head)
register Char *v[];
Char *v[];
struct varent *head;
{
register struct varent *vp;
register int cnt;
struct varent *vp;
int cnt;
while (*++v) {
cnt = 0;
@@ -570,7 +571,7 @@ void
unsetv(var)
Char *var;
{
register struct varent *vp;
struct varent *vp;
if ((vp = adrof1(var, &shvhed)) == 0)
udvar(var);
@@ -579,10 +580,10 @@ unsetv(var)
static void
unsetv1(p)
register struct varent *p;
struct varent *p;
{
register struct varent *c, *pp;
register f;
struct varent *c, *pp;
int f;
/*
* Free associated memory first to avoid complications.
@@ -633,8 +634,8 @@ shift(v, t)
Char **v;
struct command *t;
{
register struct varent *argv;
register Char *name;
struct varent *argv;
Char *name;
v++;
name = *v;
@@ -665,7 +666,7 @@ exportpath(val)
break;
}
if (**val != '/' && (euid == 0 || uid == 0) &&
(intact || intty && isatty(SHOUT)))
(intact || (intty && isatty(SHOUT))))
(void) fprintf(csherr,
"Warning: exported path contains relative components.\n");
(void) Strcat(exppath, *val++);
@@ -717,16 +718,16 @@ rright(p)
*/
static void
balance(p, f, d)
register struct varent *p;
register int f, d;
struct varent *p;
int f, d;
{
register struct varent *pp;
struct varent *pp;
#ifndef lint
register struct varent *t; /* used by the rotate macros */
struct varent *t; /* used by the rotate macros */
#endif
register ff;
int ff;
/*
* Ok, from here on, p is the node we're operating on; pp is it's parent; f
@@ -812,13 +813,13 @@ balance(p, f, d)
void
plist(p)
register struct varent *p;
struct varent *p;
{
register struct varent *c;
register len;
struct varent *c;
int len;
if (setintr)
(void) sigsetmask(sigblock((sigset_t) 0) & ~sigmask(SIGINT));
(void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
for (;;) {
while (p->v_left)
+36 -36
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: str.c,v 1.2 1994/09/24 02:54:18 davidg Exp $
* $Id: str.c,v 1.3 1995/05/30 00:06:39 rgrimes Exp $
*/
#ifndef lint
@@ -59,10 +59,10 @@ static char sccsid[] = "@(#)str.c 8.1 (Berkeley) 5/31/93";
Char **
blk2short(src)
register char **src;
char **src;
{
size_t n;
register Char **sdst, **dst;
Char **sdst, **dst;
/*
* Count
@@ -79,10 +79,10 @@ blk2short(src)
char **
short2blk(src)
register Char **src;
Char **src;
{
size_t n;
register char **sdst, **dst;
char **sdst, **dst;
/*
* Count
@@ -99,11 +99,11 @@ short2blk(src)
Char *
str2short(src)
register char *src;
char *src;
{
static Char *sdst;
static size_t dstsize = 0;
register Char *dst, *edst;
Char *dst, *edst;
if (src == NULL)
return (NULL);
@@ -131,11 +131,11 @@ str2short(src)
char *
short2str(src)
register Char *src;
Char *src;
{
static char *sdst = NULL;
static size_t dstsize = 0;
register char *dst, *edst;
char *dst, *edst;
if (src == NULL)
return (NULL);
@@ -162,9 +162,9 @@ short2str(src)
Char *
s_strcpy(dst, src)
register Char *dst, *src;
Char *dst, *src;
{
register Char *sdst;
Char *sdst;
sdst = dst;
while ((*dst++ = *src++) != '\0')
@@ -174,10 +174,10 @@ s_strcpy(dst, src)
Char *
s_strncpy(dst, src, n)
register Char *dst, *src;
register size_t n;
Char *dst, *src;
size_t n;
{
register Char *sdst;
Char *sdst;
if (n == 0)
return(dst);
@@ -195,9 +195,9 @@ s_strncpy(dst, src, n)
Char *
s_strcat(dst, src)
register Char *dst, *src;
Char *dst, *src;
{
register short *sdst;
short *sdst;
sdst = dst;
while (*dst++)
@@ -211,10 +211,10 @@ s_strcat(dst, src)
#ifdef NOTUSED
Char *
s_strncat(dst, src, n)
register Char *dst, *src;
register size_t n;
Char *dst, *src;
size_t n;
{
register Char *sdst;
Char *sdst;
if (n == 0)
return (dst);
@@ -239,7 +239,7 @@ s_strncat(dst, src, n)
Char *
s_strchr(str, ch)
register Char *str;
Char *str;
int ch;
{
do
@@ -251,10 +251,10 @@ s_strchr(str, ch)
Char *
s_strrchr(str, ch)
register Char *str;
Char *str;
int ch;
{
register Char *rstr;
Char *rstr;
rstr = NULL;
do
@@ -266,9 +266,9 @@ s_strrchr(str, ch)
size_t
s_strlen(str)
register Char *str;
Char *str;
{
register size_t n;
size_t n;
for (n = 0; *str++; n++)
continue;
@@ -277,7 +277,7 @@ s_strlen(str)
int
s_strcmp(str1, str2)
register Char *str1, *str2;
Char *str1, *str2;
{
for (; *str1 && *str1 == *str2; str1++, str2++)
continue;
@@ -298,8 +298,8 @@ s_strcmp(str1, str2)
int
s_strncmp(str1, str2, n)
register Char *str1, *str2;
register size_t n;
Char *str1, *str2;
size_t n;
{
if (n == 0)
return (0);
@@ -327,10 +327,10 @@ s_strncmp(str1, str2, n)
Char *
s_strsave(s)
register Char *s;
Char *s;
{
Char *n;
register Char *p;
Char *p;
if (s == 0)
s = STRNULL;
@@ -347,7 +347,7 @@ s_strspl(cp, dp)
Char *cp, *dp;
{
Char *ep;
register Char *p, *q;
Char *p, *q;
if (!cp)
cp = STRNULL;
@@ -368,7 +368,7 @@ s_strspl(cp, dp)
Char *
s_strend(cp)
register Char *cp;
Char *cp;
{
if (!cp)
return (cp);
@@ -379,11 +379,11 @@ s_strend(cp)
Char *
s_strstr(s, t)
register Char *s, *t;
Char *s, *t;
{
do {
register Char *ss = s;
register Char *tt = t;
Char *ss = s;
Char *tt = t;
do
if (*tt == '\0')
@@ -396,11 +396,11 @@ s_strstr(s, t)
char *
short2qstr(src)
register Char *src;
Char *src;
{
static char *sdst = NULL;
static size_t dstsize = 0;
register char *dst, *edst;
char *dst, *edst;
if (src == NULL)
return (NULL);
+10 -10
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: time.c,v 1.4 1995/03/19 13:28:12 joerg Exp $
* $Id: time.c,v 1.5 1995/05/30 00:06:40 rgrimes Exp $
*/
#ifndef lint
@@ -92,7 +92,7 @@ donice(v, t)
Char **v;
struct command *t;
{
register Char *cp;
Char *cp;
int nval = 0;
v++, cp = *v++;
@@ -105,7 +105,7 @@ donice(v, t)
void
ruadd(ru, ru2)
register struct rusage *ru, *ru2;
struct rusage *ru, *ru2;
{
tvadd(&ru->ru_utime, &ru2->ru_utime);
tvadd(&ru->ru_stime, &ru2->ru_stime);
@@ -129,17 +129,17 @@ ruadd(ru, ru2)
void
prusage(r0, r1, e, b)
register struct rusage *r0, *r1;
struct rusage *r0, *r1;
struct timeval *e, *b;
{
register time_t t =
time_t t =
(r1->ru_utime.tv_sec - r0->ru_utime.tv_sec) * 100 +
(r1->ru_utime.tv_usec - r0->ru_utime.tv_usec) / 10000 +
(r1->ru_stime.tv_sec - r0->ru_stime.tv_sec) * 100 +
(r1->ru_stime.tv_usec - r0->ru_stime.tv_usec) / 10000;
register char *cp;
register long i;
register struct varent *vp = adrof(STRtime);
char *cp;
long i;
struct varent *vp = adrof(STRtime);
int ms =
(e->tv_sec - b->tv_sec) * 100 + (e->tv_usec - b->tv_usec) / 10000;
@@ -277,7 +277,7 @@ void
psecs(l)
long l;
{
register int i;
int i;
i = l / 3600;
if (i) {
@@ -298,7 +298,7 @@ void
pcsecs(l) /* PWP: print mm:ss.dd, l is in sec*100 */
long l;
{
register int i;
int i;
i = l / 360000;
if (i) {
+3 -2
View File
@@ -1,8 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $Id: Makefile,v 1.2 1994/09/24 02:54:33 davidg Exp $
PROG= date
SRCS= date.c netdate.c
SRCS= date.c netdate.c vary.c
CFLAGS+=-Wall
DPADD= ${LIBUTIL}
LDADD= -lutil
+107 -20
View File
@@ -32,8 +32,8 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)date.1 8.2 (Berkeley) 11/17/93
.\" $Id: date.1,v 1.7 1996/03/12 05:30:39 nate Exp $
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\" $Id: date.1,v 1.8.2.8 1998/06/30 06:42:44 charnier Exp $
.\"
.Dd November 17, 1993
.Dt DATE 1
@@ -43,12 +43,14 @@
.Nd display or set date and time
.Sh SYNOPSIS
.Nm date
.Op Fl nu
.Op Fl d Ar dst
.Op Fl r Ar seconds
.Op Fl t Ar minutes_west
.Op Fl nu
.Op Fl v Ns Ar [+|-]val Ns Op ymwdHM
.Ar ...
.Op Fl f Ar fmt Ar date | [[[[yy]mm]dd]HH]MM[\&.ss]
.Op Cm + Ns Ar format
.Op [yy[mm[dd[hh]]]]mm[\&.ss]
.Sh DESCRIPTION
.Nm Date
displays the current date and time when invoked without arguments.
@@ -67,6 +69,14 @@ to
.Xr gettimeofday 2
will return a non-zero
.Ql tz_dsttime .
.It Fl f
Use
.Ar fmt
as the format string to parse the date provided rather than using
the default
.Ar [[[[yy]mm]dd]HH]MM[.ss]
format. Parsing is done using
.Xr strptime 3 .
.It Fl n
The utility
.Xr timed 8
@@ -74,12 +84,12 @@ is used to synchronize the clocks on groups of machines.
By default, if
.Xr timed
is running,
.Nm date
.Nm
will set the time on all of the machines in the local group.
The
.Fl n
option stops
.Nm date
.Nm
from setting the time for other than the current machine.
.It Fl r
Print out the date and time in
@@ -97,6 +107,40 @@ by future calls to
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 .
If
.Ar val
is preceded with a plus or minus sign, the date is adjusted forwards
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.
.Pp
If
.Ar val
is numeric, one of either
.Ar y ,
.Ar m ,
.Ar w ,
.Ar d ,
.Ar H
or
.Ar M
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
number. If a name is used with the plus (or minus) sign, the date
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
Refer to the examples below for further details.
.El
.Pp
An operand with a leading plus (``+'') sign signals a user-defined format
@@ -105,9 +149,11 @@ The format string may contain any of the conversion specifications described
in the
.Xr strftime 3
manual page, as well as any arbitrary text.
A <newline> character is always output after the characters specified by
the format string.
The format string for the default display is:
.Bd -literal -offset indent
``%+''.
``+%+''
.Ed
.Pp
If an operand does not have a leading plus sign, it is interpreted as
@@ -116,15 +162,15 @@ The canonical representation for setting the date and time is:
.Pp
.Bl -tag -width Ds -compact -offset indent
.It Ar yy
Year in abbreviated form (.e.g 89 for 1989).
Year in abbreviated form (e.g. 89 for 1989, 06 for 2006).
.It Ar mm
Numeric month.
A number from 1 to 12.
.It Ar dd
Day, a number from 1 to 31.
.It Ar hh
.It Ar HH
Hour, a number from 0 to 23.
.It Ar mm
.It Ar MM
Minutes, a number from 0 to 59.
.It Ar .ss
Seconds, a number from 0 to 61 (59 plus a maximum of two leap seconds).
@@ -137,17 +183,51 @@ and years are handled automatically.
.Sh EXAMPLES
The command:
.Bd -literal -offset indent
date ``+DATE: %m/%d/%y%nTIME: %H:%M:%S%n''
date "+DATE: 19%y-%m-%d%nTIME: %H:%M:%S"
.Ed
.Pp
will display:
.Bd -literal -offset indent
DATE: 11/21/87
DATE: 1987-11-21
TIME: 13:36:16
.Ed
.Pp
The command:
.Bd -literal -offset indent
date -v1m -v+1y
.Ed
.Pp
will display:
.Bd -literal -offset indent
Sun Jan 4 03:15:24 GMT 1998
.Ed
.Pp
(where it is currently Mon Aug 4 04:15:24 BST 1997).
.Pp
The command:
.Bd -literal -offset indent
date -v1d -v3m -v0y -v-1d
.Ed
.Pp
will display the last day of February in the year 2000:
.Bd -literal -offset indent
Tue Feb 29 03:18:00 GMT 2000
.Ed
.Pp
The command:
.Bd -literal -offset indent
date -v1d -v+1m -v-1d -v-fri
.Ed
.Pp
will display the last Friday of the month:
.Bd -literal -offset indent
Fri Aug 29 04:31:11 BST 1997
.Ed
.Pp
(where it is currently Mon Aug 4 04:31:11 BST 1997).
.Pp
The command:
.Bd -literal -offset indent
date 8506131627
.Ed
.Pp
@@ -162,12 +242,18 @@ date 1432
sets the time to
.Li "2:32 PM" ,
without modifying the date.
.Sh ENVIRONMENTAL VARIABLES
The following environment variables affect the execution of
.Nm date :
.Sh ENVIRONMENT
The execution of
.Nm
is affected by the following environment variables:
.Bl -tag -width Ds
.It Ev TZ
The timezone to use when displaying dates.
The normal format is a pathname relative to
.Pa /usr/share/zoneinfo .
For example, the command
.Dq TZ=America/Los_Angeles date
displays the current time in California.
See
.Xr environ 7
for more information.
@@ -175,13 +261,14 @@ for more information.
.Sh FILES
.Bl -tag -width /var/log/messages -compact
.It Pa /var/log/wtmp
A record of date resets and time changes.
a record of date resets and time changes
.It Pa /var/log/messages
A record of the user setting the time.
a record of the user setting the time
.El
.Sh SEE ALSO
.Xr gettimeofday 2 ,
.Xr strftime 3 ,
.Xr strptime 3 ,
.Xr utmp 5 ,
.Xr timed 8
.Rs
@@ -198,14 +285,14 @@ Occasionally, when
synchronizes the time on many hosts, the setting of a new time value may
require more than a few seconds.
On these occasions,
.Nm date
.Nm
prints:
.Ql Network time being set .
The message
.Ql Communication error with timed
occurs when the communication
between
.Nm date
.Nm
and
.Xr timed
fails.
@@ -226,7 +313,7 @@ will be running on
.Tn GMT .
.Sh STANDARDS
The
.Nm date
.Nm
command is expected to be compatible with
.St -p1003.2 .
.Sh HISTORY
+104 -65
View File
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: date.c,v 1.6 1995/10/23 20:26:53 ache Exp $
* $Id: date.c,v 1.7.2.6 1997/10/03 12:54:30 danny Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1985, 1987, 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)date.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)date.c 8.2 (Berkeley) 4/28/95";
#endif /* not lint */
#include <sys/param.h>
@@ -57,11 +57,12 @@ static char sccsid[] = "@(#)date.c 8.1 (Berkeley) 5/31/93";
#include <locale.h>
#include "extern.h"
#include "vary.h"
time_t tval;
int retval, nflag;
static void setthetime __P((char *));
static void setthetime __P((const char *, const char *));
static void badformat __P((void));
static void usage __P((void));
@@ -77,14 +78,19 @@ main(argc, argv)
struct timezone tz;
int ch, rflag;
char *format, buf[1024];
char *endptr;
char *endptr, *fmt;
int set_timezone;
struct vary *v;
const struct vary *badv;
struct tm lt;
v = NULL;
fmt = NULL;
(void) setlocale(LC_TIME, "");
tz.tz_dsttime = tz.tz_minuteswest = 0;
rflag = 0;
set_timezone = 0;
while ((ch = getopt(argc, argv, "d:nr:ut:")) != EOF)
while ((ch = getopt(argc, argv, "d:f:nr:t:uv:")) != -1)
switch((char)ch) {
case 'd': /* daylight savings time */
tz.tz_dsttime = strtol(optarg, &endptr, 10) ? 1 : 0;
@@ -92,6 +98,9 @@ main(argc, argv)
usage();
set_timezone = 1;
break;
case 'f':
fmt = optarg;
break;
case 'n': /* don't set network */
nflag = 1;
break;
@@ -99,9 +108,6 @@ main(argc, argv)
rflag = 1;
tval = atol(optarg);
break;
case 'u': /* do everything in GMT */
(void)setenv("TZ", "GMT0", 1);
break;
case 't': /* minutes west of GMT */
/* error check; don't allow "PST" */
tz.tz_minuteswest = strtol(optarg, &endptr, 10);
@@ -109,6 +115,12 @@ main(argc, argv)
usage();
set_timezone = 1;
break;
case 'u': /* do everything in GMT */
(void)setenv("TZ", "GMT0", 1);
break;
case 'v':
v = vary_append(v, optarg);
break;
default:
usage();
}
@@ -117,7 +129,7 @@ main(argc, argv)
/*
* If -d or -t, set the timezone or daylight savings time; this
* doesn't belong here, there kernel should not know about either.
* doesn't belong here; the kernel should not know about either.
*/
if (set_timezone && settimeofday((struct timeval *)NULL, &tz))
err(1, "settimeofday (timezone)");
@@ -134,78 +146,104 @@ main(argc, argv)
}
if (*argv) {
setthetime(*argv);
setthetime(fmt, *argv);
++argv;
}
} else if (fmt != NULL)
usage();
if (*argv && **argv == '+')
format = *argv + 1;
(void)strftime(buf, sizeof(buf), format, localtime(&tval));
lt = *localtime(&tval);
badv = vary_apply(v, &lt);
if (badv) {
fprintf(stderr, "%s: Cannot apply date adjustment\n",
badv->arg);
vary_destroy(v);
usage();
}
vary_destroy(v);
(void)strftime(buf, sizeof(buf), format, &lt);
(void)printf("%s\n", buf);
exit(retval);
}
#define ATOI2(ar) ((ar)[0] - '0') * 10 + ((ar)[1] - '0'); (ar) += 2;
void
setthetime(p)
register char *p;
setthetime(fmt, p)
const char *fmt;
register const char *p;
{
register struct tm *lt;
struct timeval tv;
char *dot, *t;
const char *dot, *t;
for (t = p, dot = NULL; *t; ++t) {
if (isdigit(*t))
continue;
if (*t == '.' && dot == NULL) {
dot = t;
continue;
if (fmt != NULL) {
lt = localtime(&tval);
t = strptime(p, fmt, lt);
if (t == NULL) {
fprintf(stderr, "Failed conversion of ``%s''"
" using format ``%s''\n", p, fmt);
lt = localtime(&tval);
return;
} else if (*t != '\0')
fprintf(stderr, "Warning: Ignoring %ld extraneous"
" characters in date string (%s)\n",
(long) strlen(t), t);
} else {
for (t = p, dot = NULL; *t; ++t) {
if (isdigit(*t))
continue;
if (*t == '.' && dot == NULL) {
dot = t;
continue;
}
badformat();
}
badformat();
}
lt = localtime(&tval);
lt = localtime(&tval);
if (dot != NULL) { /* .ss */
*dot++ = '\0';
if (strlen(dot) != 2)
badformat();
lt->tm_sec = ATOI2(dot);
if (lt->tm_sec > 61)
badformat();
} else
lt->tm_sec = 0;
if (dot != NULL) { /* .ss */
dot++; /* *dot++ = '\0'; */
if (strlen(dot) != 2)
badformat();
lt->tm_sec = ATOI2(dot);
if (lt->tm_sec > 61)
badformat();
} else
lt->tm_sec = 0;
switch (strlen(p)) {
case 10: /* yy */
lt->tm_year = ATOI2(p);
if (lt->tm_year < 69) /* hack for 2000 ;-} */
lt->tm_year += 100;
/* FALLTHROUGH */
case 8: /* mm */
lt->tm_mon = ATOI2(p);
if (lt->tm_mon > 12)
/* if p has a ".ss" field then let's pretend it's not there */
switch (strlen(p) - ((dot != NULL) ? 3 : 0)) {
case 10: /* yy */
lt->tm_year = ATOI2(p);
if (lt->tm_year < 69) /* hack for 2000 ;-} */
lt->tm_year += 100;
/* FALLTHROUGH */
case 8: /* mm */
lt->tm_mon = ATOI2(p);
if (lt->tm_mon > 12)
badformat();
--lt->tm_mon; /* time struct is 0 - 11 */
/* FALLTHROUGH */
case 6: /* dd */
lt->tm_mday = ATOI2(p);
if (lt->tm_mday > 31)
badformat();
/* FALLTHROUGH */
case 4: /* HH */
lt->tm_hour = ATOI2(p);
if (lt->tm_hour > 23)
badformat();
/* FALLTHROUGH */
case 2: /* MM */
lt->tm_min = ATOI2(p);
if (lt->tm_min > 59)
badformat();
break;
default:
badformat();
--lt->tm_mon; /* time struct is 0 - 11 */
/* FALLTHROUGH */
case 6: /* dd */
lt->tm_mday = ATOI2(p);
if (lt->tm_mday > 31)
badformat();
/* FALLTHROUGH */
case 4: /* hh */
lt->tm_hour = ATOI2(p);
if (lt->tm_hour > 23)
badformat();
/* FALLTHROUGH */
case 2: /* mm */
lt->tm_min = ATOI2(p);
if (lt->tm_min > 59)
badformat();
break;
default:
badformat();
}
}
/* convert broken-down time to GMT clock time */
@@ -237,8 +275,9 @@ badformat()
static void
usage()
{
(void)fprintf(stderr,
"usage: date [-nu] [-d dst] [-r seconds] [-t west] [+format]\n");
(void)fprintf(stderr, " [yy[mm[dd[hh]]]]mm[.ss]]\n");
(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]");
exit(1);
}
+4 -3
View File
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: netdate.c,v 1.2 1994/09/24 02:54:38 davidg Exp $
* $Id: netdate.c,v 1.3.6.1 1997/03/10 19:51:16 guido Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)netdate.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)netdate.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/param.h>
@@ -116,7 +116,8 @@ netsettime(tval)
warn("gethostname");
goto bad;
}
(void)strncpy(msg.tsp_name, hostname, sizeof(hostname));
(void)strncpy(msg.tsp_name, hostname, sizeof(msg.tsp_name) - 1);
msg.tsp_name[sizeof(msg.tsp_name) - 1] = '\0';
msg.tsp_seq = htons((u_short)0);
msg.tsp_time.tv_sec = htonl((u_long)tval);
msg.tsp_time.tv_usec = htonl((u_long)0);
+412
View File
@@ -0,0 +1,412 @@
/*-
* Copyright (c) 1997 Brian Somers <brian@Awfulhak.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
*/
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include "vary.h"
struct trans {
int val;
char *str;
};
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" },
{ -1, NULL }
};
static struct trans trans_wday[] = {
{ 0, "sunday" }, { 1, "monday" }, { 2, "tuesday" }, { 3, "wednesday" },
{ 4, "thursday" }, { 5, "friday" }, { 6, "saturday" },
{ -1, NULL }
};
static char digits[] = "0123456789";
static int
trans(const struct trans t[], const char *arg)
{
int f;
for (f = 0; t[f].val != -1; f++)
if (!strncasecmp(t[f].str, arg, 3) ||
!strncasecmp(t[f].str, arg, strlen(t[f].str)))
return t[f].val;
return -1;
}
struct vary *
vary_append(struct vary *v, char *arg)
{
struct vary *result, **nextp;
if (v) {
result = v;
while (v->next)
v = v->next;
nextp = &v->next;
} else
nextp = &result;
*nextp = (struct vary *)malloc(sizeof(struct vary));
(*nextp)->arg = arg;
(*nextp)->next = NULL;
return result;
}
static int mdays[12] = { 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
static int
daysinmonth(const struct tm *t)
{
int year;
year = t->tm_year + 1900;
if (t->tm_mon == 1)
if (!(year % 400))
return 29;
else if (!(year % 100))
return 28;
else if (!(year % 4))
return 29;
else
return 28;
else if (t->tm_mon >= 0 && t->tm_mon < 12)
return mdays[t->tm_mon];
return 0;
}
static int
adjyear(struct tm *t, char type, int val)
{
switch (type) {
case '+':
t->tm_year += val;
break;
case '-':
t->tm_year -= val;
break;
default:
t->tm_year = val;
if (t->tm_year < 69)
t->tm_year += 100; /* as per date.c */
else if (t->tm_year > 1900)
t->tm_year -= 1900; /* struct tm holds years since 1900 */
break;
}
return mktime(t) != -1;
}
static int
adjmon(struct tm *t, char type, int val, int istext)
{
if (val < 0)
return 0;
switch (type) {
case '+':
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;
break;
case '-':
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;
break;
default:
if (val > 12 || val < 1)
return 0;
t->tm_mon = --val;
}
return mktime(t) != -1;
}
static int
adjday(struct tm *t, char type, int val)
{
int mdays;
switch (type) {
case '+':
while (val) {
mdays = daysinmonth(t);
if (val > mdays - t->tm_mday) {
val -= mdays - t->tm_mday + 1;
t->tm_mday = 1;
if (!adjmon(t, '+', 1, 0))
return 0;
} else {
t->tm_mday += val;
val = 0;
}
}
break;
case '-':
while (val)
if (val >= t->tm_mday) {
val -= t->tm_mday;
t->tm_mday = 1;
if (!adjmon(t, '-', 1, 0))
return 0;
t->tm_mday = daysinmonth(t);
} else {
t->tm_mday -= val;
val = 0;
}
break;
default:
if (val > 0 && val <= daysinmonth(t))
t->tm_mday = val;
else
return 0;
break;
}
return mktime(t) != -1;
}
static int
adjwday(struct tm *t, char type, int val, int istext)
{
if (val < 0)
return 0;
switch (type) {
case '+':
if (istext)
if (val < t->tm_wday)
val = 7 - t->tm_wday + val; /* early next week */
else
val -= t->tm_wday; /* later this week */
else
val *= 7; /* "-W +5" == "5 weeks in the future" */
return adjday(t, '+', val);
case '-':
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);
default:
if (val < t->tm_wday)
return adjday(t, '-', t->tm_wday - val);
else if (val > 6)
return 0;
else if (val > t->tm_wday)
return adjday(t, '+', val - t->tm_wday);
}
return 1;
}
static int
adjhour(struct tm *t, char type, int val)
{
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;
break;
case '-':
if (!adjday(t, '-', val / 24))
return 0;
val %= 24;
if (val > t->tm_hour) {
if (!adjday(t, '-', 1))
return 0;
val -= 24;
}
t->tm_hour -= val;
break;
default:
if (val > 23)
return 0;
t->tm_hour = val;
}
return mktime(t) != -1;
}
static int
adjmin(struct tm *t, char type, int val)
{
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;
break;
case '-':
if (!adjhour(t, '-', val / 60))
return 0;
val %= 60;
if (val > t->tm_min) {
if (!adjhour(t, '-', 1))
return 0;
val -= 60;
}
t->tm_min -= val;
break;
default:
if (val > 59)
return 0;
t->tm_min = val;
}
return mktime(t) != -1;
}
const struct vary *
vary_apply(const struct vary *v, struct tm *t)
{
char type;
char which;
char *arg;
int len;
int val;
for (; v; v = v->next) {
type = *v->arg;
arg = v->arg;
if (type == '+' || type == '-')
arg++;
else
type = '\0';
len = strlen(arg);
if (len < 2)
return v;
if (strspn(arg, digits) != len-1) {
val = trans(trans_wday, arg);
if (val != -1) {
if (!adjwday(t, type, val, 1))
return v;
} else {
val = trans(trans_mon, arg);
if (val != -1) {
if (!adjmon(t, type, val, 1))
return v;
} else
return v;
}
} else {
val = atoi(arg);
which = arg[len-1];
switch (which) {
case 'M':
if (!adjmin(t, type, val))
return v;
break;
case 'H':
if (!adjhour(t, type, val))
return v;
break;
case 'd':
if (!adjday(t, type, val))
return v;
break;
case 'w':
if (!adjwday(t, type, val, 0))
return v;
break;
case 'm':
if (!adjmon(t, type, val, 0))
return v;
break;
case 'y':
if (!adjyear(t, type, val))
return v;
break;
default:
return v;
}
}
}
return 0;
}
void
vary_destroy(struct vary *v)
{
struct vary *n;
while (v) {
n = v->next;
free(v);
v = n;
}
}
+36
View File
@@ -0,0 +1,36 @@
/*-
* Copyright (c) 1997 Brian Somers <brian@Awfulhak.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
*/
struct vary {
char *arg;
struct vary *next;
};
extern struct vary *vary_append(struct vary *v, char *arg);
extern const struct vary *vary_apply(const struct vary *v, struct tm *t);
extern void vary_destroy(struct vary *v);
+6 -3
View File
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: args.c,v 1.3.8.2 1997/08/24 21:45:26 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
@@ -100,7 +100,9 @@ jcl(argv)
in.dbsz = out.dbsz = 512;
while ((oper = *++argv)) {/* JEAG */
while ((oper = *++argv) != NULL) {
if ((oper = strdup(oper)) == NULL)
errx(1, "unable to allocate space for the argument \"%s\"", *argv);
if ((arg = strchr(oper, '=')) == NULL)
errx(1, "unknown operand %s", oper);
*arg++ = '\0';
@@ -282,6 +284,7 @@ static struct conv {
{ "oldebcdic", C_EBCDIC, C_ASCII, a2e_32V },
{ "oldibm", C_EBCDIC, C_ASCII, a2ibm_32V },
{ "osync", C_OSYNC, C_BS, NULL },
{ "sparse", C_SPARSE, 0, NULL },
{ "swab", C_SWAB, 0, NULL },
{ "sync", C_SYNC, 0, NULL },
{ "ucase", C_UCASE, C_LCASE, NULL },
+6 -6
View File
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: conv.c,v 1.3.8.1 1996/11/21 16:30:30 phk Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)conv.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)conv.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>
@@ -61,7 +61,7 @@ def()
int cnt;
u_char *inp, *t;
if ((t = ctab))
if ((t = ctab) != NULL)
for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp)
*inp = t[*inp];
@@ -105,7 +105,6 @@ block()
int ch, cnt, maxlen;
u_char *inp, *outp, *t;
ch = 0;
/*
* Record truncation can cross block boundaries. If currently in a
* truncation state, keep tossing characters until reach a newline.
@@ -130,9 +129,10 @@ block()
* Copy records (max cbsz size chunks) into the output buffer. The
* translation is done as we copy into the output buffer.
*/
ch = 0;
for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) {
maxlen = MIN(cbsz, in.dbcnt);
if ((t = ctab))
if ((t = ctab) != NULL)
for (cnt = 0;
cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
*outp++ = t[ch];
@@ -216,7 +216,7 @@ unblock()
u_char *inp, *t;
/* Translation and case conversion. */
if ((t = ctab))
if ((t = ctab) != NULL)
for (cnt = in.dbrcnt, inp = in.dbp; cnt--;)
*--inp = t[*inp];
/*
+2 -2
View File
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: conv_tab.c,v 1.2 1994/09/24 02:54:47 davidg Exp $
* $Id: conv_tab.c,v 1.3 1995/01/17 23:04:28 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)conv_tab.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)conv_tab.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
+17 -10
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)dd.1 8.2 (Berkeley) 1/13/94
.\" $Id$
.\" $Id: dd.1,v 1.2.8.3 1998/02/15 11:04:28 jkh Exp $
.\"
.Dd January 13, 1994
.Dt DD 1
@@ -52,7 +52,7 @@ Input data is read and written in 512-byte blocks.
If input reads are short, input from multiple reads are aggregated
to form the output block.
When finished,
.Nm dd
.Nm
displays the number of complete and partial input and output blocks
and truncated input records to the standard error output.
.Pp
@@ -148,7 +148,7 @@ is one of the symbols from the following list.
The same as the
.Cm unblock
value except that characters are translated from
.Tn ECBDIC
.Tn EBCDIC
to
.Tn ASCII
before the
@@ -237,7 +237,7 @@ will be positioned past the block in which the error occurred using
Do not truncate the output file.
This will preserve any blocks in the output file not explicitly written
by
.Nm dd .
.Nm Ns .
The
.Cm notrunc
value is not supported for tapes.
@@ -250,6 +250,13 @@ regularly sized blocks to be written.
This option is incompatible with use of the
.Cm bs= Ns Ar n
block size specification.
.It Cm sparse
If one or more output blocks would consist solely of
.Tn NUL
bytes, try to seek the output file by the required space instead of
filling them with
.Tn NULs ,
resulting in a sparse file.
.It Cm swab
Swap every pair of input bytes.
If an input buffer has an odd number of bytes, the last byte will be
@@ -280,7 +287,7 @@ in an integer, respectively.
Two or more numbers may be separated by an ``x'' to indicate a product.
.Pp
When finished,
.Nm dd
.Nm
displays the number of complete and partial input and output blocks,
truncated input records and odd-length byte-swapping blocks to the
standard error output.
@@ -303,7 +310,7 @@ This means that the final output block may be shorter than the output
block size.
.Pp
If
.Nm dd
.Nm
receives a
.Dv SIGINFO
(see the ``status'' argument for
@@ -312,17 +319,17 @@ signal, the current input and output block counts will
be written to the standard error output
in the same format as the standard completion message.
If
.Nm dd
.Nm
receives a
.Dv SIGINT
signal, the current input and output block counts will
be written to the standard error output
in the same format as the standard completion message and
.Nm dd
.Nm
will exit.
.Pp
The
.Nm dd
.Nm
utility exits 0 on success and >0 if an error occurred.
.Sh SEE ALSO
.Xr cp 1 ,
@@ -330,7 +337,7 @@ utility exits 0 on success and >0 if an error occurred.
.Xr tr 1
.Sh STANDARDS
The
.Nm dd
.Nm
utility is expected to be a superset of the
.St -p1003.2
standard.
+53 -20
View File
@@ -34,17 +34,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: dd.c,v 1.4 1995/01/17 23:04:29 ache Exp $
* $Id: dd.c,v 1.5.2.4 1998/01/09 09:13:06 joerg Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1991, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>
@@ -56,12 +56,12 @@ static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94";
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <locale.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <locale.h>
#include "dd.h"
#include "extern.h"
@@ -75,6 +75,7 @@ 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 */
u_int ddflags; /* conversion options */
u_int cbsz; /* conversion block size */
u_int files_cnt = 1; /* # of files to copy */
@@ -85,7 +86,7 @@ main(argc, argv)
int argc;
char *argv[];
{
(void) setlocale(LC_CTYPE, "");
(void)setlocale(LC_CTYPE, "");
jcl(argv);
setup();
@@ -105,6 +106,7 @@ static void
setup()
{
u_int cnt;
struct timeval tv;
if (in.name == NULL) {
in.name = "stdin";
@@ -168,7 +170,7 @@ setup()
* Truncate the output file; ignore errors because it fails on some
* kinds of output files, tapes, for example.
*/
if (ddflags & (C_OF | C_SEEK | C_NOTRUNC) == (C_OF | C_SEEK))
if ((ddflags & (C_OF | C_SEEK | C_NOTRUNC)) == (C_OF | C_SEEK))
(void)ftruncate(out.fd, (off_t)out.offset * out.dbsz);
/*
@@ -213,7 +215,8 @@ setup()
ctab[cnt] = cnt;
}
}
(void)time(&st.start); /* Statistics timestamp. */
(void)gettimeofday(&tv, (struct timezone *)NULL);
st.start = tv.tv_sec + tv.tv_usec * 1e-6;
}
static void
@@ -234,19 +237,18 @@ getfdtype(io)
static void
dd_in()
{
int flags, n;
int n;
for (flags = ddflags;;) {
for (;;) {
if (cpy_cnt && (st.in_full + st.in_part) >= cpy_cnt)
return;
/*
* Zero the buffer first if trying to recover from errors so
* lose the minimum amount of data. If doing block operations
* Zero the buffer first if sync; If doing block operations
* use spaces.
*/
if ((flags & (C_NOERROR|C_SYNC)) == (C_NOERROR|C_SYNC))
if (flags & (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);
@@ -263,7 +265,7 @@ dd_in()
* If noerror not specified, die. POSIX requires that
* the warning message be followed by an I/O display.
*/
if (!(flags & C_NOERROR))
if (!(ddflags & C_NOERROR))
err(1, "%s", in.name);
warn("%s", in.name);
summary();
@@ -314,7 +316,7 @@ dd_in()
}
if (ddflags & C_SWAB) {
if ((n = in.dbcnt) & 1) {
if ((n = in.dbrcnt) & 1) {
++st.swab;
--n;
}
@@ -339,11 +341,14 @@ dd_close()
block_close();
else if (cfunc == unblock)
unblock_close();
if (ddflags & C_OSYNC && out.dbcnt < out.dbsz) {
memset(out.dbp, 0, out.dbsz - out.dbcnt);
if (ddflags & C_OSYNC && out.dbcnt && out.dbcnt < out.dbsz) {
if (ddflags & (C_BLOCK|C_UNBLOCK))
memset(out.dbp, ' ', out.dbsz - out.dbcnt);
else
memset(out.dbp, 0, out.dbsz - out.dbcnt);
out.dbcnt = out.dbsz;
}
if (out.dbcnt)
if (out.dbcnt || pending)
dd_out(1);
}
@@ -352,7 +357,7 @@ dd_out(force)
int force;
{
static int warned;
int cnt, n, nw;
int cnt, n, nw, i, sparse;
u_char *outp;
/*
@@ -374,7 +379,35 @@ dd_out(force)
outp = out.db;
for (n = force ? out.dbcnt : out.dbsz;; n = out.dbsz) {
for (cnt = n;; cnt -= nw) {
nw = write(out.fd, outp, cnt);
sparse = 0;
if (ddflags & C_SPARSE) {
sparse = 1; /* Is buffer sparse? */
for (i = 0; i < cnt; i++)
if (outp[i] != 0) {
sparse = 0;
break;
}
}
if (sparse && !force) {
pending += cnt;
nw = cnt;
} else {
if (pending != 0) {
if (force)
pending--;
if (lseek (out.fd, pending, SEEK_CUR) == -1)
err(2, "%s: seek error creating sparse file",
out.name);
if (force)
write(out.fd, outp, 1);
pending = 0;
}
if (cnt)
nw = write(out.fd, outp, cnt);
else
return;
}
if (nw <= 0) {
if (nw == 0)
errx(1, "%s: end of device", out.name);
+4 -3
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)dd.h 8.3 (Berkeley) 4/2/94
* $Id$
* $Id: dd.h,v 1.2.8.2 1998/02/11 02:24:40 asami Exp $
*/
/* Input/output stream state. */
@@ -69,8 +69,8 @@ typedef struct {
u_long out_part; /* # of partial output blocks */
u_long trunc; /* # of truncated records */
u_long swab; /* # of odd-length swab blocks */
u_long bytes; /* # of bytes written */
time_t start; /* start time of dd */
u_int64_t bytes; /* # of bytes written */
double start; /* start time of dd */
} STAT;
/* Flags (in ddflags). */
@@ -95,3 +95,4 @@ typedef struct {
#define C_UCASE 0x40000
#define C_UNBLOCK 0x80000
#define C_OSYNC 0x100000
#define C_SPARSE 0x200000
+17 -10
View File
@@ -34,16 +34,18 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: misc.c,v 1.2.8.4 1998/02/15 11:04:30 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -56,12 +58,14 @@ static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94";
void
summary()
{
time_t secs;
struct timeval tv;
double secs;
char buf[100];
(void)time(&secs);
if ((secs -= st.start) == 0)
secs = 1;
(void)gettimeofday(&tv, (struct timezone *)NULL);
secs = tv.tv_sec + tv.tv_usec * 1e-6 - st.start;
if (secs < 1e-6)
secs = 1e-6;
/* Use snprintf(3) so that we don't reenter stdio(3). */
(void)snprintf(buf, sizeof(buf),
"%u+%u records in\n%u+%u records out\n",
@@ -78,7 +82,7 @@ summary()
(void)write(STDERR_FILENO, buf, strlen(buf));
}
(void)snprintf(buf, sizeof(buf),
"%u bytes transferred in %u secs (%u bytes/sec)\n",
"%qu bytes transferred in %.6f secs (%.0f bytes/sec)\n",
st.bytes, secs, st.bytes / secs);
(void)write(STDERR_FILENO, buf, strlen(buf));
}
@@ -88,15 +92,18 @@ void
summaryx(notused)
int notused;
{
int save_errno = errno;
summary();
errno = save_errno;
}
/* ARGSUSED */
void
terminate(notused)
int notused;
terminate(sig)
int sig;
{
exit(0);
/* XXX exit() shouldn't call exit() from a signal handler. */
exit(sig == 0 ? 0 : 1);
}
+3 -3
View File
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: position.c,v 1.2 1994/09/24 02:55:03 davidg Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)position.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)position.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
@@ -67,7 +67,7 @@ pos_in()
/* 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 (lseek(in.fd, (off_t)in.offset * in.dbsz, SEEK_CUR) == -1)
err(1, "%s", in.name);
return;
}
+33 -23
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)df.1 8.2 (Berkeley) 1/13/94
.\" $Id: df.1,v 1.3 1994/09/24 02:55:08 davidg Exp $
.\" $Id: df.1,v 1.4.2.3 1998/02/15 11:06:23 jkh Exp $
.\"
.Dd January 13, 1994
.Dt DF 1
@@ -40,7 +40,7 @@
.Nd display free disk space
.Sh SYNOPSIS
.Nm df
.Op Fl ink
.Op Fl ikn
.Op Fl t Ar type
.Op Ar file | Ar filesystem ...
.Sh DESCRIPTION
@@ -72,31 +72,40 @@ This option should be used if it is possible that one or more
filesystems are in a state such that they will not be able to provide
statistics without a long delay.
When this option is specified,
.Nm df
.Nm
will not request new statistics from the filesystems, but will respond
with the possibly stale statistics that were previously obtained.
.It Fl t
Only print out statistics for filesystems of the specified types.
The recognized types are:
ufs, nfs, mfs, lfs, msdos, fdesc, portal, kernfs, procfs, afs and isofs.
along with the aggregates:
all (the default),
local (ufs, mfs, lfs, msdos, isofs),
and misc (fdesc, portal, kernfs, procfs).
The string ``no'' may be prepending to a type to get its complement
(e.g. ``nonfs'' to get non-NFS filesystems). The first
.Fl t
option overrides the default, additional such options will add to
(or subtract from) the current set of types; e.g. either
``df -t ufs -t lfs''
or
``df -t local -t nomfs''
will display statistics for UFS and LFS filesystems.
More than one type may be specified in a comma separated list.
The list of filesystem types can be prefixed with
.Dq no
to specify the filesystem types for which action should
.Em not
be taken.
For example, the
.Nm
command:
.Bd -literal -offset indent
df -t nonfs,mfs
.Ed
.Pp
lists all filesystems except those of type
.Tn NFS
and
.Tn MFS .
The
.Xr sysctl 8
command can be used to find out the types of filesystems
that are available on the system:
.Bd -literal -offset indent
sysctl vfs
.Ed
.El
.Sh ENVIRONMENTAL VARIABLES
.Sh ENVIRONMENT
.Bl -tag -width BLOCKSIZE
.It Ev BLOCKSIZE
If the environmental variable
If the environment variable
.Ev BLOCKSIZE
is set, the block counts will be displayed in units of that size block.
.El
@@ -108,15 +117,16 @@ and
flags are ignored if a file or filesystem is specified.
.Sh SEE ALSO
.Xr quota 1 ,
.Xr statfs 2 ,
.Xr fstatfs 2 ,
.Xr getfsstat 2 ,
.Xr statfs 2 ,
.Xr getmntinfo 3 ,
.Xr fstab 5 ,
.Xr mount 8 ,
.Xr quot 8
.Xr quot 8 ,
.Xr sysctl 8
.Sh HISTORY
A
.Nm df
.Nm
command appeared in
.At v1 .
+4 -2
View File
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: df.c,v 1.7 1995/05/30 00:06:42 rgrimes Exp $
* $Id: df.c,v 1.8.2.1 1996/12/13 17:15:11 joerg Exp $
*/
#ifndef lint
@@ -95,6 +95,8 @@ struct typetab {
{"procfs", MT(MOUNT_PROCFS)},
{"afs", MT(MOUNT_AFS)},
{"iso9660fs", MT(MOUNT_CD9660)},
{"isofs", MT(MOUNT_CD9660)},
{"cd9660", MT(MOUNT_CD9660)},
{"cdfs", MT(MOUNT_CD9660)},
{"misc", MT(MOUNT_LOFS)|MT(MOUNT_FDESC)|MT(MOUNT_PORTAL)|
MT(MOUNT_KERNFS)|MT(MOUNT_PROCFS)},
@@ -127,7 +129,7 @@ main(argc, argv)
iflag = nflag = tflag = 0;
fsmask = MT_NONE;
while ((ch = getopt(argc, argv, "iknt:")) != EOF)
while ((ch = getopt(argc, argv, "iknt:")) != -1)
switch (ch) {
case 'i':
iflag = 1;
+3 -3
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)hostname.1 8.1 (Berkeley) 5/31/93
.\" $Id: domainname.1,v 1.1 1994/09/18 21:23:36 wollman Exp $
.\" $Id: domainname.1,v 1.2.6.1 1997/08/24 21:48:26 jkh Exp $
.\"
.Dd September 18, 1994
.Dt DOMAINNAME 1
@@ -42,11 +42,11 @@
.Nm domainname
.Op Ar ypdomain
.Sh DESCRIPTION
.Nm domainname
.Nm Domainname
prints the name of the current YP/NIS domain. The super-user can
set the domain name by supplying an argument; this is usually done in the
network initialization script
.Pa /etc/netstart ,
.Pa /etc/rc.network ,
normally run at boot
time.
.Sh NOTA BENE
+21 -2
View File
@@ -40,7 +40,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93"; */
static const char rcsid[] =
"$Id: domainname.c,v 1.4 1994/09/26 02:14:27 wollman Exp $";
"$Id: domainname.c,v 1.5 1995/03/19 13:28:17 joerg Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -51,14 +51,26 @@ static const char rcsid[] =
#include <string.h>
#include <unistd.h>
void usage __P((void));
int
main(argc,argv)
int argc;
char *argv[];
{
int ch;
char domainname[MAXHOSTNAMELEN];
argc--, argv++;
while ((ch = getopt(argc, argv, "")) != -1)
switch (ch) {
default:
usage();
}
argc -= optind;
argv += optind;
if (argc > 1)
usage();
if (*argv) {
if (setdomainname(*argv, strlen(*argv)))
@@ -70,3 +82,10 @@ main(argc,argv)
}
exit(0);
}
void
usage()
{
(void)fprintf(stderr, "usage: domainname [ypdomain]\n");
exit(1);
}
+4 -4
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)echo.1 8.1 (Berkeley) 7/22/93
.\" $Id: echo.1,v 1.2 1994/09/24 02:55:17 davidg Exp $
.\" $Id: echo.1,v 1.3 1995/08/31 17:25:54 jkh Exp $
.\"
.Dd July 22, 1993
.Dt ECHO 1
@@ -47,7 +47,7 @@
.Op "string ..."
.Sh DESCRIPTION
The
.Nm echo
.Nm
utility writes any specified operands, separated by single blank (`` '')
characters and followed by a newline (``\en'') character, to the standard
output.
@@ -61,13 +61,13 @@ by iBCS2 compatible systems.
.El
.Pp
The
.Nm echo
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr printf 1
.Sh STANDARDS
The
.Nm echo
.Nm
utility is expected to be
.St -p1003.2
compatible.
+4 -4
View File
@@ -1,11 +1,11 @@
# $Id: Makefile,v 1.12 1995/10/03 15:44:50 markm Exp $
# $Id: Makefile,v 1.13 1995/10/22 20:14:13 ache Exp $
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
CFLAGS+=-DDES
LDADD+= -L${CIPHEROBJDIR} -lcipher
+18 -6
View File
@@ -24,11 +24,15 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: buf.c,v 1.6 1994/09/24 02:55:22 davidg Exp $
*/
#ifndef lint
static char *rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp";
#if 0
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.15 1997/12/31 12:25:33 helbig Exp $";
#endif
#endif /* not lint */
#include <sys/file.h>
@@ -198,14 +202,18 @@ char sfn[15] = ""; /* scratch file name */
int
open_sbuf()
{
int fd = -1;
int u;
isbinary = newline_added = 0;
u = umask(077);
strcpy(sfn, "/tmp/ed.XXXXXX");
if (mktemp(sfn) == NULL || (sfp = fopen(sfn, "w+")) == NULL) {
fprintf(stderr, "%s: %s\n", sfn, strerror(errno));
sprintf(errmsg, "cannot open temp file");
if ((fd = mkstemp(sfn)) == -1 ||
(sfp = fdopen(fd, "w+")) == NULL) {
if (fd != -1)
close(fd);
perror(sfn);
strcpy(errmsg, "cannot open temp file");
umask(u);
return ERR;
}
@@ -260,6 +268,10 @@ init_buffers()
hello, world
EOF */
setbuffer(stdin, stdinbuf, 1);
/* Ensure stdout is line buffered. This avoids bogus delays
of output if stdout is piped through utilities to a terminal. */
setvbuf(stdout, NULL, _IOLBF, 0);
if (open_sbuf() < 0)
quit(2);
REQUE(&buffer_head, &buffer_head);
+440 -548
View File
File diff suppressed because it is too large. Load diff
+1 -2
View File
@@ -25,10 +25,9 @@
* SUCH DAMAGE.
*
* @(#)ed.h,v 1.5 1994/02/01 00:34:39 alm Exp
* $Id: ed.h,v 1.7 1994/09/24 02:55:25 davidg Exp $
* $Id: ed.h,v 1.8 1994/11/03 21:46:55 davidg Exp $
*/
#include <sys/types.h>
#include <sys/param.h> /* for MAXPATHLEN */
#include <errno.h>
#if defined(sun) || defined(__NetBSD__)
+16 -10
View File
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: main.c,v 1.5 1995/05/30 00:06:47 rgrimes Exp $
* $Id: main.c,v 1.6.2.1 1997/08/24 21:50:21 jkh Exp $
*/
#ifndef lint
@@ -57,9 +57,9 @@ static char *rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp";
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <ctype.h>
#include <setjmp.h>
#include <pwd.h>
#include <locale.h>
#include <pwd.h>
#include <setjmp.h>
#include "ed.h"
@@ -100,10 +100,6 @@ char *dps = "*"; /* default command-line prompt */
char *usage = "usage: %s [-] [-sx] [-p string] [name]\n";
extern char errmsg[];
extern int optind;
extern char *optarg;
/* ed: line editor */
int
main(argc, argv)
@@ -112,12 +108,17 @@ main(argc, argv)
{
int c, n;
long status = 0;
#if __GNUC__
/* Avoid longjmp clobbering */
(void) &argc;
(void) &argv;
#endif
(void)setlocale(LC_ALL, "");
red = (n = strlen(argv[0])) > 2 && argv[0][n - 3] == 'r';
top:
while ((c = getopt(argc, argv, "p:sx")) != EOF)
while ((c = getopt(argc, argv, "p:sx")) != -1)
switch(c) {
case 'p': /* set prompt */
prompt = optarg;
@@ -1354,7 +1355,8 @@ signal_hup(signo)
{
if (mutex)
sigflags |= (1 << (signo - 1));
else handle_hup(signo);
else
handle_hup(signo);
}
@@ -1364,7 +1366,8 @@ signal_int(signo)
{
if (mutex)
sigflags |= (1 << (signo - 1));
else handle_int(signo);
else
handle_int(signo);
}
@@ -1414,6 +1417,8 @@ void
handle_winch(signo)
int signo;
{
int save_errno = errno;
struct winsize ws; /* window size structure */
sigflags &= ~(1 << (signo - 1));
@@ -1421,6 +1426,7 @@ handle_winch(signo)
if (ws.ws_row > 2) rows = ws.ws_row - 2;
if (ws.ws_col > 8) cols = ws.ws_col - 8;
}
errno = save_errno;
}
+4 -10
View File
@@ -1,13 +1,7 @@
# /b/source/CVS/src/bin/expr/Makefile,v 1.5 1993/06/14 19:56:06 jtc Exp
# $Id: Makefile,v 1.8 1996/05/07 23:14:17 wosch Exp $
# $Id: Makefile,v 1.10 1996/06/02 17:05:48 phk Exp $
PROG= expr
SRCS= expr.c
CLEANFILES+= expr.c y.tab.h
expr.c:
${YACC} -d ${.IMPSRC}
mv -f y.tab.c expr.c
PROG= expr
SRCS= expr.y
YFLAGS=
.include <bsd.prog.mk>
+11 -11
View File
@@ -28,7 +28,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $Id: expr.1,v 1.3 1994/04/24 01:18:46 jkh Exp $
.\" $Id: expr.1,v 1.4 1996/01/29 22:53:24 mpp Exp $
.\"
.Dd July 3, 1993
.Dt EXPR 1
@@ -41,13 +41,13 @@
.Ar expression
.Sh DESCRIPTION
The
.Nm expr
.Nm
utility evaluates
.Ar expression
and writes the result on standard output.
.Pp
All operators are separate arguments to the
.Nm expr
.Nm
utility.
Characters special to the command interpreter must be escaped.
.Pp
@@ -55,26 +55,26 @@ Operators are listed below in order of increasing precedence.
Operators with equal precedence are grouped within { } symbols.
.Bl -tag -width indent
.It Ar expr1 Li | Ar expr2
Returns the evaluation of
Return the evaluation of
.Ar expr1
if it is neither an empty string nor zero;
otherwise, returns the evaluation of
.Ar expr2 .
.It Ar expr1 Li & Ar expr2
Returns the evaluation of
Return the evaluation of
.Ar expr1
if neither expression evaluates to an empty string or zero;
otherwise, returns zero.
.It Ar expr1 Li "{=, >, >=, <, <=, !=}" Ar expr2
Returns the results of integer comparison if both arguments are integers;
Return the results of integer comparison if both arguments are integers;
otherwise, returns the results of string comparison using the locale-specific
collation sequence.
The result of each comparison is 1 if the specified relation is true,
or 0 if the relation is false.
.It Ar expr1 Li "{+, -}" Ar expr2
Returns the results of addition or subtraction of integer-valued arguments.
Return the results of addition or subtraction of integer-valued arguments.
.It Ar expr1 Li "{*, /, %}" Ar expr2
Returns the results of multiplication, integer division, or remainder of integer-valued arguments.
Return the results of multiplication, integer division, or remainder of integer-valued arguments.
.It Ar expr1 Li : Ar expr2
The
.Dq \:
@@ -115,9 +115,9 @@ The following example returns the number of characters in variable a.
.El
.Sh DIAGNOSTICS
The
.Nm expr
.Nm
utility exits with one of the following values:
.Bl -tag -width Ds -compact
.Bl -tag -width indent -compact
.It 0
the expression is neither an empty string nor 0.
.It 1
@@ -127,6 +127,6 @@ the expression is invalid.
.El
.Sh STANDARDS
The
.Nm expr
.Nm
utility conforms to
.St -p1003.2 .
+7 -7
View File
@@ -29,10 +29,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)hostname.1 8.1 (Berkeley) 5/31/93
.\" $Id: hostname.1,v 1.2 1994/09/24 02:55:40 davidg Exp $
.\" @(#)hostname.1 8.2 (Berkeley) 4/28/95
.\" $Id: hostname.1,v 1.3.2.3 1998/06/30 06:43:13 charnier Exp $
.\"
.Dd May 31, 1993
.Dd April 28, 1995
.Dt HOSTNAME 1
.Os BSD 4.2
.Sh NAME
@@ -41,26 +41,26 @@
.Sh SYNOPSIS
.Nm hostname
.Op Fl s
.Op Ar nameofhost
.Op Ar name-of-host
.Sh DESCRIPTION
.Nm Hostname
prints the name of the current host. The super-user can
set the hostname by supplying an argument; this is usually done in the
network initialization script
.Pa /etc/netstart ,
.Pa /etc/rc.network ,
normally run at boot
time.
.Pp
Options:
.Bl -tag -width flag
.It Fl s
Trims off any domain information from the printed
Trim off any domain information from the printed
name.
.El
.Sh SEE ALSO
.Xr gethostname 3
.Sh HISTORY
The
.Nm hostname
.Nm
command appeared in
.Bx 4.2 .
+18 -8
View File
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: hostname.c,v 1.2 1994/09/24 02:55:40 davidg Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)hostname.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)hostname.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/param.h>
@@ -51,30 +51,32 @@ static char sccsid[] = "@(#)hostname.c 8.1 (Berkeley) 5/31/93";
#include <string.h>
#include <unistd.h>
void usage __P((void));
int
main(argc,argv)
int argc;
char *argv[];
{
extern int optind;
int ch, sflag;
char *p, hostname[MAXHOSTNAMELEN];
sflag = 0;
while ((ch = getopt(argc, argv, "s")) != EOF)
while ((ch = getopt(argc, argv, "s")) != -1)
switch (ch) {
case 's':
sflag = 1;
break;
case '?':
default:
(void)fprintf(stderr,
"usage: hostname [-s] [hostname]\n");
exit(1);
usage();
}
argc -= optind;
argv += optind;
if (argc > 1)
usage();
if (*argv) {
if (sethostname(*argv, strlen(*argv)))
err(1, "sethostname");
@@ -87,3 +89,11 @@ main(argc,argv)
}
exit(0);
}
void
usage()
{
(void)fprintf(stderr, "usage: hostname [-s] [name-of-host]\n");
exit(1);
}
+54 -31
View File
@@ -32,10 +32,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)kill.1 8.1 (Berkeley) 5/31/93
.\" $Id: kill.1,v 1.2 1994/09/24 02:55:43 davidg Exp $
.\" @(#)kill.1 8.2 (Berkeley) 4/28/95
.\" $Id: kill.1,v 1.3.2.2 1998/05/22 10:50:26 jkoshy Exp $
.\"
.Dd May 31, 1993
.Dd April 28, 1995
.Dt KILL 1
.Os
.Sh NAME
@@ -43,75 +43,98 @@
.Nd terminate or signal a process
.Sh SYNOPSIS
.Nm kill
.Op Fl signal_name
.Op Fl s Ar signal_name
.Ar pid
\&...
.Nm kill
.Op Fl signal_number
.Fl l
.Op Ar exit_status
.Nm kill
.Fl signal_name
.Ar pid
\&...
.Nm kill
.Op Fl l
.Fl signal_number
.Ar pid
\&...
.Sh DESCRIPTION
The kill utility sends the
.Dv TERM
signal to the processes specified
by the pid operand(s).
The
.Nm
utility sends a signal to the processes specified by the pid operand(s).
.Pp
Only the super-user may send signals to other users' processes.
.Pp
The options are as follows:
.Pp
.Bl -tag -width Ds
.It Fl l
List the signal names.
.It Fl s Ar signal_name
A symbolic signal name specifying the signal to be sent instead of the
default
.Dv TERM .
.It Fl l Op Ar exit_status
If no operand is given, list the signal names; otherwise, write
the signal name corresponding to
.Ar exit_status .
.It Fl signal_name
A symbolic signal name specifying the signal to be sent instead of the
default
.Dv TERM .
The
.Fl l
option displays the signal names.
.It Fl signal_number
A non-negative decimal integer, specifying the signal to be sent instead
of the default
.Dv TERM .
.El
.Pp
The following pids have special meanings:
.Bl -tag -width Ds -compact
.It -1
If superuser, broadcast the signal to all processes; otherwise broadcast
to all processes belonging to the user.
.El
.Pp
Some of the more commonly used signals:
.Bd -ragged -offset indent -compact
.Bl -column XXX TERM
.It -1 -1 (super-user broadcast to all processes, or user broadcast
to user's processes)
.It 0 0 (sh(1) only, signals all members of process group)
.It 2 INT (interrupt)
.It 3 QUIT (quit)
.It 6 ABRT (abort)
.It 9 KILL (non-catchable, non-ignorable kill)
.It 14 ALRM (alarm clock)
.It 15 TERM (software termination signal)
.Bl -tag -width Ds -compact
.It 1
HUP (hang up)
.It 2
INT (interrupt)
.It 3
QUIT (quit)
.It 6
ABRT (abort)
.It 9
KILL (non-catchable, non-ignorable kill)
.It 14
ALRM (alarm clock)
.It 15
TERM (software termination signal)
.El
.Ed
.Pp
.Nm Kill
is a built-in to
.Xr csh 1 ;
it allows job specifiers of the form ``%...'' as arguments
so process id's are not as often used as
.Nm kill
.Nm
arguments.
See
.Xr csh 1
.Xr csh 1
for details.
.Sh SEE ALSO
.Xr csh 1 ,
.Xr killall 1 ,
.Xr ps 1 ,
.Xr kill 2 ,
.Xr sigvec 2
.Xr sigaction 2
.Sh STANDARDS
The
.Nm
function is expected to be
.St -p1003.2
compatible.
.Sh HISTORY
A
.Nm kill
.Nm
command appeared in
.At v6 .
.Sh BUGS
+75 -32
View File
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: kill.c,v 1.2 1994/09/24 02:55:44 davidg Exp $
* $Id$
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1988, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)kill.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)kill.c 8.4 (Berkeley) 4/28/95";
#endif /* not lint */
#include <ctype.h>
@@ -52,7 +52,8 @@ static char sccsid[] = "@(#)kill.c 8.3 (Berkeley) 4/2/94";
#include <string.h>
void nosig __P((char *));
void printsig __P((FILE *));
void printsignals __P((FILE *));
int signame_to_signum __P((char *));
void usage __P((void));
int
@@ -60,48 +61,70 @@ main(argc, argv)
int argc;
char *argv[];
{
const char *const *p;
int errors, numsig, pid;
char *ep;
if (argc < 2)
usage();
if (!strcmp(*++argv, "-l")) {
printsig(stdout);
numsig = SIGTERM;
argc--, argv++;
if (!strcmp(*argv, "-l")) {
argc--, argv++;
if (argc > 1)
usage();
if (argc == 1) {
if (!isdigit(**argv))
usage();
numsig = strtol(*argv, &ep, 10);
if (!**argv || *ep)
errx(1, "illegal signal number: %s", *argv);
if (numsig >= 128)
numsig -= 128;
if (numsig <= 0 || numsig >= NSIG)
nosig(*argv);
printf("%s\n", sys_signame[numsig]);
exit(0);
}
printsignals(stdout);
exit(0);
}
numsig = SIGTERM;
if (**argv == '-') {
if (!strcmp(*argv, "-s")) {
argc--, argv++;
if (argc < 1) {
warnx("option requires an argument -- s");
usage();
}
if (strcmp(*argv, "0")) {
if ((numsig = signame_to_signum(*argv)) < 0)
nosig(*argv);
} else
numsig = 0;
argc--, argv++;
} else if (**argv == '-') {
++*argv;
if (isalpha(**argv)) {
if (!strncasecmp(*argv, "sig", 3))
*argv += 3;
for (numsig = NSIG, p = sys_signame + 1; --numsig; ++p)
if (!strcasecmp(*p, *argv)) {
numsig = p - sys_signame;
break;
}
if (!numsig)
if ((numsig = signame_to_signum(*argv)) < 0)
nosig(*argv);
} else if (isdigit(**argv)) {
numsig = strtol(*argv, &ep, 10);
if (!*argv || *ep)
if (!**argv || *ep)
errx(1, "illegal signal number: %s", *argv);
if (numsig < 0 || numsig > NSIG)
if (numsig < 0 || numsig >= NSIG)
nosig(*argv);
} else
nosig(*argv);
++argv;
argc--, argv++;
}
if (!*argv)
if (argc == 0)
usage();
for (errors = 0; *argv; ++argv) {
for (errors = 0; argc; argc--, argv++) {
pid = strtol(*argv, &ep, 10);
if (!*argv || *ep) {
if (!**argv || *ep) {
warnx("illegal process id: %s", *argv);
errors = 1;
} else if (kill(pid, numsig) == -1) {
@@ -109,38 +132,58 @@ main(argc, argv)
errors = 1;
}
}
exit(errors);
}
int
signame_to_signum(sig)
char *sig;
{
int n;
if (!strncasecmp(sig, "sig", 3))
sig += 3;
for (n = 1; n < NSIG; n++) {
if (!strcasecmp(sys_signame[n], sig))
return (n);
}
return (-1);
}
void
nosig(name)
char *name;
{
warnx("unknown signal %s; valid signals:", name);
printsig(stderr);
printsignals(stderr);
exit(1);
}
void
printsig(fp)
printsignals(fp)
FILE *fp;
{
const char *const *p;
int cnt;
int n;
for (cnt = NSIG, p = sys_signame + 1; --cnt; ++p) {
(void)fprintf(fp, "%s ", *p);
if (cnt == NSIG / 2)
for (n = 1; n < NSIG; n++) {
(void)fprintf(fp, "%s", sys_signame[n]);
if (n == (NSIG / 2) || n == (NSIG - 1))
(void)fprintf(fp, "\n");
else
(void)fprintf(fp, " ");
}
(void)fprintf(fp, "\n");
}
void
usage()
{
(void)fprintf(stderr, "usage: kill [-l] [-sig] pid ...\n");
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n",
"usage: kill [-s signal_name] pid ...",
" kill -l [exit_status]",
" kill -signal_name pid ...",
" kill -signal_number pid ...");
exit(1);
}
+6 -6
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ln.1 8.2 (Berkeley) 12/30/93
.\" $Id: ln.1,v 1.2 1994/09/24 02:55:47 davidg Exp $
.\" $Id: ln.1,v 1.3 1996/08/29 18:05:55 wosch Exp $
.\"
.Dd December 30, 1993
.Dt LN 1
@@ -52,7 +52,7 @@
.Op target_dir
.Sh DESCRIPTION
The
.Nm ln
.Nm
utility creates a new directory entry (linked file) which has the
same modes as the original file.
It is useful for maintaining multiple copies of a file in many places
@@ -75,7 +75,7 @@ Create a symbolic link.
.El
.Pp
By default
.Nm ln
.Nm
makes
.Em hard
links.
@@ -99,7 +99,7 @@ call may be used to read the contents of a symbolic link.
Symbolic links may span file systems and may refer to directories.
.Pp
Given one or two arguments,
.Nm ln
.Nm
creates a link to an existing file
.Ar source_file .
If
@@ -113,7 +113,7 @@ to the last component of
.Ar source_file .
.Pp
Given more than two arguments,
.Nm ln
.Nm
makes links in
.Ar target_dir
to all the named source files.
@@ -127,6 +127,6 @@ The links made will have the same name as the files being linked to.
.Xr symlink 7
.Sh HISTORY
A
.Nm ln
.Nm
command appeared in
.At v1 .
+7 -6
View File
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ln.c,v 1.5 1994/12/06 18:50:44 bde Exp $
* $Id: ln.c,v 1.6.2.1 1997/06/06 16:07:40 charnier Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1987, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)ln.c 8.2 (Berkeley) 3/31/94";
static char const sccsid[] = "@(#)ln.c 8.2 (Berkeley) 3/31/94";
#endif /* not lint */
#include <sys/param.h>
@@ -71,7 +71,7 @@ main(argc, argv)
int ch, exitval;
char *sourcedir;
while ((ch = getopt(argc, argv, "fs")) != EOF)
while ((ch = getopt(argc, argv, "fs")) != -1)
switch (ch) {
case 'f':
fflag = 1;
@@ -157,7 +157,8 @@ linkit(target, source, isdir)
void
usage()
{
(void)fprintf(stderr,
"usage:\tln [-fs] file1 file2\n\tln [-fs] file ... directory\n");
(void)fprintf(stderr, "%s\n%s\n",
"usage: ln [-fs] file1 file2",
" ln [-fs] file ... directory");
exit(1);
}
+30 -33
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)symlink.7 8.3 (Berkeley) 3/31/94
.\" $Id$
.\" $Id: symlink.7,v 1.2.8.2 1997/06/19 01:09:09 jdp Exp $
.\"
.Dd March 31, 1994
.Dt SYMLINK 7
@@ -106,9 +106,10 @@ the system call
would return a file descriptor to the file
.Dq afile .
.Pp
There are four system calls that do not follow links, and which operate
There are five system calls that do not follow links, and which operate
on the symbolic link itself.
They are:
.Xr lchown 2 ,
.Xr lstat 2 ,
.Xr readlink 2 ,
.Xr rename 2 ,
@@ -120,23 +121,22 @@ is an alias for
.Xr unlink 2 ,
it also does not follow symbolic links.
.Pp
Unlike other filesystem objects, symbolic links do not have an owner,
group, permissions, access and modification times, etc.
The only attributes returned from an
.Xr lstat 2
that refer to the symbolic link itself are the file type (S_IFLNK),
size, blocks, and link count (always 1).
The other attributes are filled in from the directory that contains
the link.
For portability reasons, you should be aware that other implementations
(including historic implementations of 4BSD), implement symbolic links
such that they have the same attributes as any other file.
The owner and group of an existing symbolic link can be changed by
means of the
.Xr lchown 2
system call.
The other file attributes, such as the modification time and access
permissions, are not used by the system and cannot be changed.
.Pp
The
.Bx 4.4
system differs from historical 4BSD systems in that the system call
.Xr chown 2
has been changed to follow symbolic links.
has been changed to follow symbolic links. The
.Xr lchown 2
system call was added later when the limitations of the new
.Xr chown 2
became apparent.
.Ss Commands not traversing a file tree.
The second area is symbolic links, specified as command line file
name arguments, to commands which are not traversing a file tree.
@@ -200,6 +200,8 @@ option is not specified),
the
.Nm ls
command follows symbolic links named as arguments if the
.Fl H
or
.Fl L
option is specified,
or if the
@@ -207,16 +209,13 @@ or if the
.Fl d
or
.Fl l
options are not specified.
(If the
.Fl L
option is specified,
options are not specified. (The
.Nm ls
always follows symbolic links.
.Nm Ls
is the only command where the
command is the only command where the
.Fl H
and
.Fl L
option affects its behavior even though it is not doing a walk of
options affect its behavior even though it is not doing a walk of
a file tree.)
.Pp
The
@@ -394,23 +393,19 @@ options.
To maintain compatibility with historic systems,
the
.Nm ls
command never follows symbolic links unless the
.Fl L
flag is specified.
If the
command acts a little differently. If you do not specify the
.Fl F ,
.Fl d or
.Fl l
options,
.Nm ls
will follow symbolic links specified on the command line. If the
.Fl L
flag is specified,
.Nm ls
follows all symbolic links,
regardless of their type,
whether specified on the command line or encountered in the tree walk.
The
.Nm ls
command does not support the
.Fl H
or
.Fl P
options.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chgrp 1 ,
@@ -424,9 +419,11 @@ options.
.Xr pax 1 ,
.Xr rm 1 ,
.Xr tar 1 ,
.Xr lchown 2 ,
.Xr lstat 2 ,
.Xr readlink 2 ,
.Xr rename 2 ,
.Xr symlink 2 ,
.Xr unlink 2 ,
.Xr fts 3 ,
.Xr remove 3 ,
+3 -3
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: cmp.c,v 1.2 1994/09/24 02:55:52 davidg Exp $
*/
#ifndef lint
@@ -53,14 +53,14 @@ int
namecmp(a, b)
const FTSENT *a, *b;
{
return (strcmp(a->fts_name, b->fts_name));
return (strcoll(a->fts_name, b->fts_name));
}
int
revnamecmp(a, b)
const FTSENT *a, *b;
{
return (strcmp(b->fts_name, a->fts_name));
return (strcoll(b->fts_name, a->fts_name));
}
int
+3 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: extern.h,v 1.2 1994/09/24 02:55:52 davidg Exp $
*/
int acccmp __P((const FTSENT *, const FTSENT *));
@@ -49,3 +49,5 @@ void printcol __P((DISPLAY *));
void printlong __P((DISPLAY *));
void printscol __P((DISPLAY *));
void usage __P((void));
int len_octal __P((char *, int));
int prn_octal __P((char *));
+86 -24
View File
@@ -13,7 +13,7 @@
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" must display the following acknowledgment:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ls.1 8.6 (Berkeley) 4/18/94
.\" $Id: ls.1,v 1.4 1995/09/26 08:48:09 mpp Exp $
.\" $Id: ls.1,v 1.5.2.5 1997/12/25 09:35:55 hoek Exp $
.\"
.Dd April 18, 1994
.Dt LS 1
@@ -43,20 +43,20 @@
.Nd list directory contents
.Sh SYNOPSIS
.Nm ls
.Op Fl ACFLRTacdfiloqrstu1
.Op Fl ABCFHLPRTWabcdfgikloqrstu1
.Op Ar file ...
.Sh DESCRIPTION
For each operand that names a
.Ar file
of a type other than
directory,
.Nm ls
.Nm
displays its name as well as any requested,
associated information.
For each operand that names a
.Ar file
of type directory,
.Nm ls
.Nm
displays the names of files contained
within that directory, as well as any requested, associated
information.
@@ -76,6 +76,9 @@ List all entries except for
and
.Ql \&.. .
Always set for the super-user.
.It Fl B
Force printing of non-graphic characters in file names as \\xxx,
where xxx is the numeric value of the character in octal.
.It Fl C
Force multi-column output; this is the default when output is to a terminal.
.It Fl F
@@ -84,31 +87,63 @@ that is a directory, an asterisk (*) after each that is
executable,
an at sign (@) after each symbolic link,
an equals sign (=) after each socket,
a percent sign (%) after each whiteout,
and a vertical bar (|) after each that is a
.Tn FIFO .
.Tn FIFO .
.It Fl H
Symbolic links on the command line are followed. This option is assumed if
none of the
.Fl F ,
.Fl d ,
or
.Fl l
options are specified.
.It Fl L
If argument is a symbolic link, list the file or directory the link references
rather than the link itself.
rather than the link itself. This option cancels the
.Fl P
option.
.It Fl P
If argument is a symbolic link, list the link itself rather than the
object the link references. This option cancels the
.Fl H
and
.Fl L
options.
.It Fl R
Recursively list subdirectories encountered.
.It Fl T
Display complete time information for the file, including
month, day, hour, minute, second, and year.
.It Fl W
Display whiteouts when scanning directories.
.It Fl a
Include directory entries whose names begin with a
dot (.).
.It Fl b
As
.Fl B ,
but use C escape codes whenever possible.
.It Fl c
Use time when file status was last changed for sorting or printing.
.It Fl d
Directories are listed as plain files (not searched recursively) and
symbolic links in the argument list are not indirected through.
Directories are listed as plain files (not searched recursively).
.It Fl f
Output is not sorted.
.It Fl g
This option is deprecated and is only available for compatibility
with
.Bx 4.3 ;
it was used to display the group name in the long
.Pq Fl l
format output.
.It Fl i
For each file, print the file's file serial number (inode number).
.It Fl k
If the 's' option is specified, print the file size allocation in kilobytes,
not blocks.
If the
.Fl s
option is specified, print the file size allocation in kilobytes,
not blocks. This option overrides the environment variable BLOCKSIZE.
.It Fl l
(The lowercase letter ``ell.'') List in long format. (See below.)
If the output is to a terminal, a total sum for all the file
@@ -116,7 +151,7 @@ sizes is output on a line before the long listing.
.It Fl o
Include the file flags in a long
.Pq Fl l
output
output.
.It Fl q
Force printing of non-graphic characters in file names as
the character `?'; this is the default when output is to a terminal.
@@ -127,7 +162,8 @@ lexicographical order or the oldest entries first.
Display the number of file system blocks actually used by each file, in units
of 512 bytes, where partial units are rounded up to the next integer value.
If the output is to a terminal, a total sum for all the file
sizes is output on a line before the listing.
sizes is output on a line before the listing. The environment variable
BLOCKSIZE overrides the unit size of 512 bytes.
.It Fl t
Sort by time modified (most recently modified
first) before sorting the operands by lexicographical
@@ -155,14 +191,30 @@ options all override each other; the last one specified determines
the format used.
.Pp
The
.Fl c ,
.Fl c
and
.Fl u
options override each other; the last one specified determines
the file time used.
.Pp
The
.Fl B ,
.Fl b
and
.Fl q
options all override each other; the last one specified determines
the format used for non-printable characters.
.Pp
The
.Fl H,
.Fl L
and
.Fl P
options all override each other (either partially or fully); they
are applied in the order specified.
.Pp
By default,
.Nm ls
.Nm
lists one entry per line to standard
output; the exceptions are to terminals or when the
.Fl C
@@ -191,6 +243,10 @@ number of 512-byte blocks used by the files in the directory is displayed
on a line by itself immediately before the information for the files in the
directory.
.Pp
If the modification time of the file is more than 6 months
in the past or future, then the year of the last modification
is displayed in place of the hour and minute fields.
.Pp
If the owner or group names are not a known user or group name
the numeric ID's are displayed.
.Pp
@@ -200,7 +256,9 @@ in the size field. If the file is a symbolic link the pathname of the
linked-to file is preceded by
.Dq \-> .
.Pp
The file mode printed under the -l option consists of the
The file mode printed under the
.Fl l
option consists of the
entry type, owner permissions, and group permissions.
The entry type character describes the type of file, as
follows:
@@ -258,7 +316,7 @@ and setgroup-ID mode is set.
The file is executable or the directory is
searchable.
.It Sy \-
The file is neither readable, writeable, executable,
The file is neither readable, writable, executable,
nor set-user-ID nor set-group-ID mode, nor sticky. (See below.)
.El
.Pp
@@ -285,14 +343,14 @@ or
.El
.Pp
The
.Nm ls
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh ENVIRONMENTAL VARIABLES
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm ls :
.Nm Ns :
.Bl -tag -width BLOCKSIZE
.It Ev BLOCKSIZE
If the environmental variable
If the environment variable
.Ev BLOCKSIZE
is set, the block counts
(see
@@ -304,7 +362,7 @@ decimal integer, it is used as the
column position width for displaying
multiple-text-column output.
The
.Nm ls
.Nm
utility calculates how
many pathname text columns to display
based on the width provided.
@@ -327,12 +385,16 @@ specification.
.Xr sticky 8
.Sh HISTORY
An
.Nm ls
.Nm
command appeared in
.At v1 .
.Sh STANDARDS
The
.Nm ls
.Nm
function is expected to be a superset of the
.St -p1003.2
specification.
.Sh BUGS
To maintain backward compatibility, the relationships between the many
options is quite complex.
+33 -13
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ls.c,v 1.9 1995/10/26 10:56:38 ache Exp $
* $Id: ls.c,v 1.10.2.1 1997/12/03 05:40:06 imp Exp $
*/
#ifndef lint
@@ -82,16 +82,16 @@ int f_kblocks; /* print size in kilobytes */
int f_listdir; /* list actual directory, not contents */
int f_listdot; /* list files beginning with . */
int f_longform; /* long listing format */
int f_newline; /* if precede with newline */
int f_nonprint; /* show unprintables as ? */
int f_nosort; /* don't sort output */
int f_octal; /* show unprintables as \xxx */
int f_octal_escape; /* like f_octal but use C escapes if possible */
int f_recursive; /* ls subdirectories also */
int f_reversesort; /* reverse whatever sort is used */
int f_sectime; /* print the real time for all files */
int f_singlecol; /* use single column output */
int f_size; /* list size in short listing */
int f_statustime; /* use time of last mode change */
int f_dirname; /* if precede with directory name */
int f_timesort; /* sort by time vice name */
int f_type; /* add type character for non-regular files */
@@ -131,7 +131,7 @@ main(argc, argv)
f_listdot = 1;
fts_options = FTS_PHYSICAL;
while ((ch = getopt(argc, argv, "1ACFLRTacdfgikloqrstu")) != EOF) {
while ((ch = getopt(argc, argv, "1ABCFHLPRTWabcdfgikloqrstu")) != -1) {
switch (ch) {
/*
* The -1, -C and -l options all override each other so shell
@@ -141,6 +141,11 @@ main(argc, argv)
f_singlecol = 1;
f_column = f_longform = 0;
break;
case 'B':
f_nonprint = 0;
f_octal = 1;
f_octal_escape = 0;
break;
case 'C':
f_column = 1;
f_longform = f_singlecol = 0;
@@ -161,10 +166,18 @@ main(argc, argv)
case 'F':
f_type = 1;
break;
case 'H':
fts_options |= FTS_COMFOLLOW;
break;
case 'L':
fts_options &= ~FTS_PHYSICAL;
fts_options |= FTS_LOGICAL;
break;
case 'P':
fts_options &= ~FTS_COMFOLLOW;
fts_options &= ~FTS_LOGICAL;
fts_options |= FTS_PHYSICAL;
break;
case 'R':
f_recursive = 1;
break;
@@ -195,6 +208,8 @@ main(argc, argv)
break;
case 'q':
f_nonprint = 1;
f_octal = 0;
f_octal_escape = 0;
break;
case 'r':
f_reversesort = 1;
@@ -208,6 +223,11 @@ main(argc, argv)
case 't':
f_timesort = 1;
break;
case 'b':
f_nonprint = 0;
f_octal = 0;
f_octal_escape = 1;
break;
default:
case '?':
usage();
@@ -411,6 +431,10 @@ display(p, list)
prcopy(cur->fts_name, cur->fts_name, cur->fts_namelen);
if (cur->fts_namelen > maxlen)
maxlen = cur->fts_namelen;
if (f_octal || f_octal_escape) {
int t = len_octal(cur->fts_name, cur->fts_namelen);
if (t > maxlen) maxlen = t;
}
if (needstats) {
sp = cur->fts_statp;
if (sp->st_blocks > maxblock)
@@ -513,16 +537,12 @@ mastercmp(a, b)
if (a_info == FTS_NS || b_info == FTS_NS)
return (namecmp(*a, *b));
if (a_info == b_info)
return (sortfcn(*a, *b));
if ((*a)->fts_level == FTS_ROOTLEVEL)
if (a_info != b_info &&
(*a)->fts_level == FTS_ROOTLEVEL && !f_listdir) {
if (a_info == FTS_D)
return (1);
else if (b_info == FTS_D)
if (b_info == FTS_D)
return (-1);
else
return (sortfcn(*a, *b));
else
return (sortfcn(*a, *b));
}
return (sortfcn(*a, *b));
}
+4 -1
View File
@@ -1,3 +1,4 @@
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)ls.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: ls.h,v 1.2 1994/09/24 02:55:55 davidg Exp $
*/
#define NO_PRINT 1
@@ -45,6 +46,8 @@ extern int f_accesstime; /* use time of last access */
extern int f_flags; /* show flags associated with a file */
extern int f_inode; /* print inode */
extern int f_longform; /* long listing format */
extern int f_octal; /* print unprintables in octal */
extern int f_octal_escape; /* like f_octal but use C escapes if possible */
extern int f_sectime; /* print the real time for all files */
extern int f_size; /* list size in short listing */
extern int f_statustime; /* use time of last mode change */
+17 -7
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: print.c,v 1.7 1995/12/30 18:15:30 joerg Exp $
* $Id: print.c,v 1.8 1996/01/20 10:31:14 mpp Exp $
*/
#ifndef lint
@@ -95,7 +95,7 @@ printlong(dp)
continue;
sp = p->fts_statp;
if (f_inode)
(void)printf("%*lu ", dp->s_inode, sp->st_ino);
(void)printf("%*lu ", dp->s_inode, (u_long)sp->st_ino);
if (f_size)
(void)printf("%*qd ",
dp->s_block, howmany(sp->st_blocks, blocksize));
@@ -124,7 +124,8 @@ printlong(dp)
printtime(sp->st_ctime);
else
printtime(sp->st_mtime);
(void)printf("%s", p->fts_name);
if (f_octal || f_octal_escape) (void)prn_octal(p->fts_name);
else (void)printf("%s", p->fts_name);
if (f_type)
(void)printtype(sp->st_mode);
if (S_ISLNK(sp->st_mode))
@@ -215,11 +216,12 @@ printaname(p, inodefield, sizefield)
sp = p->fts_statp;
chcnt = 0;
if (f_inode)
chcnt += printf("%*lu ", (int)inodefield, sp->st_ino);
chcnt += printf("%*lu ", (int)inodefield, (u_long)sp->st_ino);
if (f_size)
chcnt += printf("%*qd ",
(int)sizefield, howmany(sp->st_blocks, blocksize));
chcnt += printf("%s", p->fts_name);
chcnt += (f_octal || f_octal_escape) ? prn_octal(p->fts_name)
: printf("%s", p->fts_name);
if (f_type)
chcnt += printtype(sp->st_mode);
return (chcnt);
@@ -231,6 +233,10 @@ printtime(ftime)
{
int i;
char longstring[80];
static time_t now;
if (now == 0)
now = time(NULL);
strftime(longstring, sizeof(longstring), "%c", localtime(&ftime));
for (i = 4; i < 11; ++i)
@@ -240,7 +246,7 @@ printtime(ftime)
if (f_sectime)
for (i = 11; i < 24; i++)
(void)putchar(longstring[i]);
else if (ftime + SIXMONTHS > time(NULL))
else if (ftime + SIXMONTHS > now && ftime < now + SIXMONTHS)
for (i = 11; i < 16; ++i)
(void)putchar(longstring[i]);
else {
@@ -293,5 +299,9 @@ printlink(p)
return;
}
path[lnklen] = '\0';
(void)printf(" -> %s", path);
if (f_octal || f_octal_escape) {
(void)printf(" -> ");
(void)prn_octal(path);
}
else (void)printf(" -> %s", path);
}
+9 -1
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: stat_flags.c,v 1.2 1994/09/24 02:55:57 davidg Exp $
*/
#ifndef lint
@@ -69,6 +69,8 @@ flags_to_string(flags, def)
SAPPEND("uappnd");
if (flags & UF_IMMUTABLE)
SAPPEND("uchg");
if (flags & UF_NOUNLINK)
SAPPEND("uunlnk");
if (flags & UF_NODUMP)
SAPPEND("nodump");
if (flags & SF_APPEND)
@@ -77,6 +79,8 @@ flags_to_string(flags, def)
SAPPEND("arch");
if (flags & SF_IMMUTABLE)
SAPPEND("schg");
if (flags & SF_NOUNLINK)
SAPPEND("sunlnk");
return (prefix == NULL && def != NULL ? def : string);
}
@@ -134,6 +138,8 @@ string_to_flags(stringp, setp, clrp)
TEST(p, "schg", SF_IMMUTABLE);
TEST(p, "schange", SF_IMMUTABLE);
TEST(p, "simmutable", SF_IMMUTABLE);
TEST(p, "sunlnk", SF_NOUNLINK);
TEST(p, "sunlink", SF_NOUNLINK);
return (1);
case 'u':
TEST(p, "uappnd", UF_APPEND);
@@ -141,6 +147,8 @@ string_to_flags(stringp, setp, clrp)
TEST(p, "uchg", UF_IMMUTABLE);
TEST(p, "uchange", UF_IMMUTABLE);
TEST(p, "uimmutable", UF_IMMUTABLE);
TEST(p, "uunlnk", UF_NOUNLINK);
TEST(p, "uunlink", UF_NOUNLINK);
/* FALLTHROUGH */
default:
return (1);
+89 -2
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: util.c,v 1.4 1994/10/09 15:25:23 ache Exp $
* $Id: util.c,v 1.5.2.1 1997/03/26 17:55:19 obrien Exp $
*/
#ifndef lint
@@ -65,9 +65,96 @@ prcopy(src, dest, len)
}
}
/*
* The fts system makes it difficult to replace fts_name with a different-
* sized string, so we just calculate the real length here and do the
* conversion in prn_octal()
*
* XXX when using f_octal_escape (-b) rather than f_octal (-B), the
* length computed by len_octal may be too big. I just can't be buggered
* to fix this as an efficient fix would involve a lookup table. Same goes
* for the rather inelegant code in prn_octal.
*
* DES 1998/04/23
*/
int
len_octal(s, len)
char *s;
int len;
{
int r = 0;
while (len--)
if (isprint((unsigned char)*s++)) r++; else r += 4;
return r;
}
int
prn_octal(s)
char *s;
{
unsigned char ch;
int len = 0;
while ((ch = *s++))
{
if (isprint(ch) && (ch != '\"') && (ch != '\\'))
putchar(ch), len++;
else if (f_octal_escape) {
putchar('\\');
switch (ch) {
case '\\':
putchar('\\');
break;
case '\"':
putchar('"');
break;
case '\a':
putchar('a');
break;
case '\b':
putchar('b');
break;
case '\f':
putchar('f');
break;
case '\n':
putchar('n');
break;
case '\r':
putchar('r');
break;
case '\t':
putchar('t');
break;
case '\v':
putchar('v');
break;
default:
putchar('0' + (ch >> 6));
putchar('0' + ((ch >> 3) & 3));
putchar('0' + (ch & 3));
len += 2;
break;
}
len += 2;
}
else {
putchar('\\');
putchar('0' + (ch >> 6));
putchar('0' + ((ch >> 3) & 3));
putchar('0' + (ch & 3));
len += 4;
}
}
return len;
}
void
usage()
{
(void)fprintf(stderr, "usage: ls [-1ACFLRTacdfiklqrstu] [file ...]\n");
(void)fprintf(stderr, "usage: ls [-ACFHLPRTWacdfgikloqrstu1]"
" [file ...]\n");
exit(1);
}
+2 -2
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)mkdir.1 8.2 (Berkeley) 1/25/94
.\" $Id: mkdir.1,v 1.2 1994/09/24 02:56:02 davidg Exp $
.\" $Id: mkdir.1,v 1.3.2.2 1998/06/30 06:42:30 charnier Exp $
.\"
.Dd January 25, 1994
.Dt MKDIR 1
@@ -87,7 +87,7 @@ exits 0 if successful, and >0 if an error occurred.
.Xr rmdir 1
.Sh STANDARDS
The
.Nm mkdir
.Nm
utility is expected to be
.St -p1003.2
compatible.
+41 -32
View File
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: mkdir.c,v 1.5.8.1 1997/08/17 13:36:49 joerg Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1983, 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
static char const sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
#endif /* not lint */
#include <sys/types.h>
@@ -53,7 +53,7 @@ static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
#include <string.h>
#include <unistd.h>
int build __P((char *));
int build __P((char *, mode_t));
void usage __P((void));
int
@@ -61,13 +61,13 @@ main(argc, argv)
int argc;
char *argv[];
{
int ch, exitval, oct, omode, pflag;
int ch, exitval, omode, pflag;
mode_t *set = (mode_t *)NULL;
char *ep, *mode;
char *mode;
omode = pflag = 0;
mode = NULL;
while ((ch = getopt(argc, argv, "m:p")) != EOF)
while ((ch = getopt(argc, argv, "m:p")) != -1)
switch(ch) {
case 'p':
pflag = 1;
@@ -87,53 +87,49 @@ main(argc, argv)
if (mode == NULL) {
omode = S_IRWXU | S_IRWXG | S_IRWXO;
oct = 1;
} else if (*mode >= '0' && *mode <= '7') {
omode = (int)strtol(mode, &ep, 8);
if (omode < 0 || *ep)
errx(1, "invalid file mode: %s", mode);
oct = 1;
} else {
if ((set = setmode(mode)) == NULL)
errx(1, "invalid file mode: %s", mode);
oct = 0;
omode = getmode(set, S_IRWXU | S_IRWXG | S_IRWXO);
}
for (exitval = 0; *argv != NULL; ++argv) {
if (pflag && build(*argv)) {
exitval = 1;
if (pflag) {
if (build(*argv, omode))
exitval = 1;
continue;
}
if (mkdir(*argv, oct ?
omode : getmode(set, S_IRWXU | S_IRWXG | S_IRWXO)) < 0) {
if (!pflag) {
warn("%s", *argv);
exitval = 1;
}
if (mkdir(*argv, omode) < 0) {
warn("%s", *argv);
exitval = 1;
}
}
exit(exitval);
}
int
build(path)
build(path, omode)
char *path;
mode_t omode;
{
struct stat sb;
mode_t numask, oumask;
int first;
int first, last, retval;
char *p;
p = path;
oumask = 0;
retval = 0;
if (p[0] == '/') /* Skip leading '/'. */
++p;
for (first = 1;; ++p) {
if (p[0] == '\0' || (p[0] == '/' && p[1] == '\0'))
break;
if (p[0] != '/')
for (first = 1, last = 0; !last ; ++p) {
if (p[0] == '\0')
last = 1;
else if (p[0] != '/')
continue;
*p = '\0';
if (p[1] == '\0')
last = 1;
if (first) {
/*
* POSIX 1003.2:
@@ -152,18 +148,31 @@ build(path)
(void)umask(numask);
first = 0;
}
if (last)
(void)umask(oumask);
if (stat(path, &sb)) {
if (errno != ENOENT ||
mkdir(path, S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
mkdir(path, last ? omode :
S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
warn("%s", path);
return (1);
retval = 1;
break;
}
}
else if ((sb.st_mode & S_IFMT) != S_IFDIR) {
if (last)
errno = EEXIST;
else
errno = ENOTDIR;
warn("%s", path);
retval = 1;
break;
}
*p = '/';
}
if (!first)
if (!first && !last)
(void)umask(oumask);
return (0);
return (retval);
}
void
+10 -11
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)mv.1 8.1 (Berkeley) 5/31/93
.\" $Id: mv.1,v 1.6 1996/02/20 23:27:54 wosch Exp $
.\" $Id: mv.1,v 1.7.2.1 1998/02/15 11:16:27 jkh Exp $
.\"
.Dd May 31, 1993
.Dt MV 1
@@ -47,11 +47,10 @@
.Ar source target
.Nm mv
.Op Fl f | Fl i
.Ar source ... source directory
.Ar source ... directory
.Sh DESCRIPTION
.Pp
In its first form, the
.Nm mv
.Nm
utility renames the file named by the
.Ar source
operand to the destination path named by the
@@ -61,7 +60,7 @@ This form is assumed when the last operand does not name an already
existing directory.
.Pp
In its second form,
.Nm mv
.Nm
moves each file named by a
.Ar source
operand to a destination file in the existing directory named by the
@@ -82,8 +81,8 @@ option overrides any previous
.Fl i
options.)
.It Fl i
Causes
.Nm mv
Cause
.Nm
to write a prompt to standard error before moving a file that would
overwrite an existing file.
If the response from the standard input begins with the character
@@ -103,7 +102,7 @@ It is an error for either the
operand or the destination path to specify a directory unless both do.
.Pp
If the destination path does not have a mode which permits writing,
.Nm mv
.Nm
prompts the user for confirmation as specified for the
.Fl i
option.
@@ -111,7 +110,7 @@ option.
As the
.Xr rename 2
call does not work across file systems,
.Nm mv
.Nm
uses
.Xr cp 1
and
@@ -125,7 +124,7 @@ rm -f destination_path && \e
.Ed
.Pp
The
.Nm mv
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr cp 1 ,
@@ -133,7 +132,7 @@ utility exits 0 on success, and >0 if an error occurs.
.Xr symlink 7
.Sh STANDARDS
The
.Nm mv
.Nm
utility is expected to be
.St -p1003.2
compatible.
+67 -27
View File
@@ -33,23 +33,24 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mv.c,v 1.7 1996/02/20 23:27:57 wosch Exp $
* $Id: mv.c,v 1.8.2.3 1998/05/25 22:45:42 steve Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)mv.c 8.2 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)mv.c 8.2 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/mount.h>
#include <err.h>
#include <errno.h>
@@ -77,9 +78,9 @@ main(argc, argv)
register char *p, *endp;
struct stat sb;
int ch;
char path[MAXPATHLEN + 1];
char path[MAXPATHLEN];
while ((ch = getopt(argc, argv, "fi")) != EOF)
while ((ch = getopt(argc, argv, "fi")) != -1)
switch (ch) {
case 'i':
iflg = 1;
@@ -109,11 +110,15 @@ main(argc, argv)
}
/* It's a directory, move each file into it. */
if (strlen(argv[argc - 1]) > sizeof(path) - 1)
errx(1, "%s: destination pathname too long", *argv);
(void)strcpy(path, argv[argc - 1]);
baselen = strlen(path);
endp = &path[baselen];
*endp++ = '/';
++baselen;
if (!baselen || *(endp - 1) != '/') {
*endp++ = '/';
++baselen;
}
for (rval = 0; --argc; ++argv) {
/*
* Find the last component of the source pathname. It
@@ -142,7 +147,7 @@ do_move(from, to)
char *from, *to;
{
struct stat sb;
int ask, ch;
int ask, ch, first;
char modep[15];
/*
@@ -157,30 +162,47 @@ do_move(from, to)
warn("%s", from);
return (1);
}
#define YESNO "(y/n [n]) "
ask = 0;
if (iflg) {
(void)fprintf(stderr, "overwrite %s? ", to);
(void)fprintf(stderr, "overwrite %s? %s", to, YESNO);
ask = 1;
} else if (access(to, W_OK) && !stat(to, &sb)) {
strmode(sb.st_mode, modep);
(void)fprintf(stderr, "override %s%s%s/%s for %s? ",
(void)fprintf(stderr, "override %s%s%s/%s for %s? %s",
modep + 1, modep[9] == ' ' ? "" : " ",
user_from_uid(sb.st_uid, 0),
group_from_gid(sb.st_gid, 0), to);
group_from_gid(sb.st_gid, 0), to, YESNO);
ask = 1;
}
if (ask) {
if ((ch = getchar()) != EOF && ch != '\n')
while (getchar() != '\n');
if (ch != 'y' && ch != 'Y')
first = ch = getchar();
while (ch != '\n' && ch != EOF)
ch = getchar();
if (first != 'y' && first != 'Y') {
(void)fprintf(stderr, "not overwritten\n");
return (0);
}
}
}
if (!rename(from, to))
return (0);
if (errno != EXDEV) {
if (errno == EXDEV) {
struct statfs sfs;
char path[MAXPATHLEN];
/* Can't mv(1) a mount point. */
if (realpath(from, path) == NULL) {
warnx("cannot resolve %s: %s", from, path);
return (1);
}
if (!statfs(path, &sfs) && !strcmp(path, sfs.f_mntonname)) {
warnx("cannot rename a mount point");
return (1);
}
} else {
warn("rename %s to %s", from, to);
return (1);
}
@@ -206,22 +228,31 @@ fastcopy(from, to, sbp)
struct timeval tval[2];
static u_int blen;
static char *bp;
mode_t oldmode;
register int nread, from_fd, to_fd;
if ((from_fd = open(from, O_RDONLY, 0)) < 0) {
warn("%s", from);
return (1);
}
if ((to_fd =
open(to, O_CREAT | O_TRUNC | O_WRONLY, sbp->st_mode)) < 0) {
if (blen < sbp->st_blksize) {
if (bp != NULL)
free(bp);
if ((bp = malloc(sbp->st_blksize)) == NULL) {
blen = 0;
warnx("malloc failed");
return (1);
}
blen = sbp->st_blksize;
}
while ((to_fd =
open(to, O_CREAT | O_EXCL | O_TRUNC | O_WRONLY, 0)) < 0) {
if (errno == EEXIST && unlink(to) == 0)
continue;
warn("%s", to);
(void)close(from_fd);
return (1);
}
if (!blen && !(bp = malloc(blen = sbp->st_blksize))) {
warn(NULL);
return (1);
}
while ((nread = read(from_fd, bp, blen)) > 0)
if (write(to_fd, bp, nread) != nread) {
warn("%s", to);
@@ -237,10 +268,19 @@ err: if (unlink(to))
}
(void)close(from_fd);
if (fchown(to_fd, sbp->st_uid, sbp->st_gid))
warn("%s: set owner/group", to);
oldmode = sbp->st_mode & ALLPERMS;
if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
warn("%s: set owner/group (was: %lu/%lu)", to,
(u_long)sbp->st_uid, (u_long)sbp->st_gid);
if (oldmode & (S_ISUID | S_ISGID)) {
warnx(
"%s: owner/group changed; clearing suid/sgid (mode was 0%03o)",
to, oldmode);
sbp->st_mode &= ~(S_ISUID | S_ISGID);
}
}
if (fchmod(to_fd, sbp->st_mode))
warn("%s: set mode", to);
warn("%s: set mode (was: 0%03o)", to, oldmode);
tval[0].tv_sec = sbp->st_atime;
tval[1].tv_sec = sbp->st_mtime;
@@ -309,7 +349,7 @@ void
usage()
{
(void)fprintf(stderr, "%s\n%s\n",
"usage: mv [-f | -i] src target",
" mv [-f | -i] src1 ... srcN directory");
"usage: mv [-f | -i] source target",
" mv [-f | -i] source ... directory");
exit(1);
}
+39 -41
View File
@@ -34,19 +34,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ar_io.c,v 1.3 1995/05/30 00:06:52 rgrimes Exp $
* $Id: ar_io.c,v 1.4.2.2 1997/09/14 13:07:09 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mtio.h>
#include <sys/param.h>
#include <signal.h>
#include <string.h>
#include <fcntl.h>
@@ -120,14 +118,14 @@ ar_open(name)
arfd = STDIN_FILENO;
arcname = STDN;
} else if ((arfd = open(name, EXT_MODE, DMOD)) < 0)
syswarn(0, errno, "Failed open to read on %s", name);
sys_warn(0, errno, "Failed open to read on %s", name);
break;
case ARCHIVE:
if (name == NULL) {
arfd = STDOUT_FILENO;
arcname = STDO;
} else if ((arfd = open(name, AR_MODE, DMOD)) < 0)
syswarn(0, errno, "Failed open to write on %s", name);
sys_warn(0, errno, "Failed open to write on %s", name);
else
can_unlnk = 1;
break;
@@ -136,7 +134,7 @@ ar_open(name)
arfd = STDOUT_FILENO;
arcname = STDO;
} else if ((arfd = open(name, APP_MODE, DMOD)) < 0)
syswarn(0, errno, "Failed open to read/write on %s",
sys_warn(0, errno, "Failed open to read/write on %s",
name);
break;
case COPY:
@@ -154,14 +152,14 @@ ar_open(name)
* set up is based on device type
*/
if (fstat(arfd, &arsb) < 0) {
syswarn(0, errno, "Failed stat on %s", arcname);
sys_warn(0, errno, "Failed stat on %s", arcname);
(void)close(arfd);
arfd = -1;
can_unlnk = 0;
return(-1);
}
if (S_ISDIR(arsb.st_mode)) {
warn(0, "Cannot write an archive on top of a directory %s",
pax_warn(0, "Cannot write an archive on top of a directory %s",
arcname);
(void)close(arfd);
arfd = -1;
@@ -470,7 +468,7 @@ ar_set_wr()
*/
if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) ||
(ftruncate(arfd, cpos) < 0)) {
syswarn(1, errno, "Unable to truncate archive file");
sys_warn(1, errno, "Unable to truncate archive file");
return(-1);
}
return(0);
@@ -494,13 +492,13 @@ ar_app_ok()
#endif
{
if (artyp == ISPIPE) {
warn(1, "Cannot append to an archive obtained from a pipe.");
pax_warn(1, "Cannot append to an archive obtained from a pipe.");
return(-1);
}
if (!invld_rec)
return(0);
warn(1,"Cannot append, device record size %d does not support %s spec",
pax_warn(1,"Cannot append, device record size %d does not support %s spec",
rdblksz, argv0);
return(-1);
}
@@ -587,9 +585,9 @@ ar_read(buf, cnt)
*/
lstrval = res;
if (res < 0)
syswarn(1, errno, "Failed read on archive volume %d", arvol);
sys_warn(1, errno, "Failed read on archive volume %d", arvol);
else
warn(0, "End of archive volume %d reached", arvol);
pax_warn(0, "End of archive volume %d reached", arvol);
return(res);
}
@@ -668,7 +666,7 @@ ar_write(buf, bsz)
if (res >= 0)
break;
if (errno == EACCES) {
warn(0, "Write failed, archive is write protected.");
pax_warn(0, "Write failed, archive is write protected.");
res = lstrval = 0;
return(0);
}
@@ -706,18 +704,18 @@ ar_write(buf, bsz)
* must quit right away.
*/
if (!wr_trail && (res <= 0)) {
warn(1,"Unable to append, trailer re-write failed. Quitting.");
pax_warn(1,"Unable to append, trailer re-write failed. Quitting.");
return(res);
}
if (res == 0)
warn(0, "End of archive volume %d reached", arvol);
pax_warn(0, "End of archive volume %d reached", arvol);
else if (res < 0)
syswarn(1, errno, "Failed write to archive volume: %d", arvol);
sys_warn(1, errno, "Failed write to archive volume: %d", arvol);
else if (!frmt->blkalgn || ((res % frmt->blkalgn) == 0))
warn(0,"WARNING: partial archive write. Archive MAY BE FLAWED");
pax_warn(0,"WARNING: partial archive write. Archive MAY BE FLAWED");
else
warn(1,"WARNING: partial archive write. Archive IS FLAWED");
pax_warn(1,"WARNING: partial archive write. Archive IS FLAWED");
return(res);
}
@@ -751,7 +749,7 @@ ar_rdsync()
return(-1);
if ((act == APPND) || (act == ARCHIVE)) {
warn(1, "Cannot allow updates to an archive with flaws.");
pax_warn(1, "Cannot allow updates to an archive with flaws.");
return(-1);
}
if (io_ok)
@@ -803,10 +801,10 @@ ar_rdsync()
break;
}
if (lstrval <= 0) {
warn(1, "Unable to recover from an archive read failure.");
pax_warn(1, "Unable to recover from an archive read failure.");
return(-1);
}
warn(0, "Attempting to recover from an archive read failure.");
pax_warn(0, "Attempting to recover from an archive read failure.");
return(0);
}
@@ -870,7 +868,7 @@ ar_fow(sksz, skipped)
if (lseek(arfd, mpos, SEEK_SET) >= 0)
return(0);
}
syswarn(1, errno, "Foward positioning operation on archive failed");
sys_warn(1, errno, "Foward positioning operation on archive failed");
lstrval = -1;
return(-1);
}
@@ -912,7 +910,7 @@ ar_rev(sksz)
/*
* cannot go backwards on these critters
*/
warn(1, "Reverse positioning on pipes is not supported.");
pax_warn(1, "Reverse positioning on pipes is not supported.");
lstrval = -1;
return(-1);
case ISREG:
@@ -930,7 +928,7 @@ ar_rev(sksz)
* First we figure out where we are in the archive.
*/
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) {
syswarn(1, errno,
sys_warn(1, errno,
"Unable to obtain current archive byte offset");
lstrval = -1;
return(-1);
@@ -948,14 +946,14 @@ ar_rev(sksz)
/*
* this should never happen
*/
warn(1,"Reverse position on previous volume.");
pax_warn(1,"Reverse position on previous volume.");
lstrval = -1;
return(-1);
}
cpos = (off_t)0L;
}
if (lseek(arfd, cpos, SEEK_SET) < 0) {
syswarn(1, errno, "Unable to seek archive backwards");
sys_warn(1, errno, "Unable to seek archive backwards");
lstrval = -1;
return(-1);
}
@@ -990,7 +988,7 @@ ar_rev(sksz)
* ok we have to move. Make sure the tape drive can do it.
*/
if (sksz % phyblk) {
warn(1,
pax_warn(1,
"Tape drive unable to backspace requested amount");
lstrval = -1;
return(-1);
@@ -1002,7 +1000,7 @@ ar_rev(sksz)
mb.mt_op = MTBSR;
mb.mt_count = sksz/phyblk;
if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
syswarn(1,errno, "Unable to backspace tape %d blocks.",
sys_warn(1,errno, "Unable to backspace tape %d blocks.",
mb.mt_count);
lstrval = -1;
return(-1);
@@ -1050,7 +1048,7 @@ get_phys()
while ((res = read(arfd, scbuf, sizeof(scbuf))) > 0)
padsz += res;
if (res < 0) {
syswarn(1, errno, "Unable to locate tape filemark.");
sys_warn(1, errno, "Unable to locate tape filemark.");
return(-1);
}
}
@@ -1062,7 +1060,7 @@ get_phys()
mb.mt_op = MTBSF;
mb.mt_count = 1;
if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
syswarn(1, errno, "Unable to backspace over tape filemark.");
sys_warn(1, errno, "Unable to backspace over tape filemark.");
return(-1);
}
@@ -1073,11 +1071,11 @@ get_phys()
mb.mt_op = MTBSR;
mb.mt_count = 1;
if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
syswarn(1, errno, "Unable to backspace over last tape block.");
sys_warn(1, errno, "Unable to backspace over last tape block.");
return(-1);
}
if ((phyblk = read(arfd, scbuf, sizeof(scbuf))) <= 0) {
syswarn(1, errno, "Cannot determine archive tape blocksize.");
sys_warn(1, errno, "Cannot determine archive tape blocksize.");
return(-1);
}
@@ -1088,13 +1086,13 @@ get_phys()
while ((res = read(arfd, scbuf, sizeof(scbuf))) > 0)
;
if (res < 0) {
syswarn(1, errno, "Unable to locate tape filemark.");
sys_warn(1, errno, "Unable to locate tape filemark.");
return(-1);
}
mb.mt_op = MTBSF;
mb.mt_count = 1;
if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
syswarn(1, errno, "Unable to backspace over tape filemark.");
sys_warn(1, errno, "Unable to backspace over tape filemark.");
return(-1);
}
@@ -1114,7 +1112,7 @@ get_phys()
* never fail).
*/
if (padsz % phyblk) {
warn(1, "Tape drive unable to backspace requested amount");
pax_warn(1, "Tape drive unable to backspace requested amount");
return(-1);
}
@@ -1125,7 +1123,7 @@ get_phys()
mb.mt_op = MTBSR;
mb.mt_count = padsz/phyblk;
if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
syswarn(1,errno,"Unable to backspace tape over %d pad blocks",
sys_warn(1,errno,"Unable to backspace tape over %d pad blocks",
mb.mt_count);
return(-1);
}
@@ -1160,10 +1158,10 @@ ar_next()
* also be called via a signal handler, so we must prevent a race.
*/
if (sigprocmask(SIG_BLOCK, &s_mask, &o_mask) < 0)
syswarn(0, errno, "Unable to set signal mask");
sys_warn(0, errno, "Unable to set signal mask");
ar_close();
if (sigprocmask(SIG_SETMASK, &o_mask, (sigset_t *)NULL) < 0)
syswarn(0, errno, "Unable to restore signal mask");
sys_warn(0, errno, "Unable to restore signal mask");
if (done || !wr_trail)
return(-1);
@@ -1276,7 +1274,7 @@ ar_next()
if ((arcname = strdup(buf)) == NULL) {
done = 1;
lstrval = -1;
warn(0, "Cannot save archive name.");
pax_warn(0, "Cannot save archive name.");
return(-1);
}
freeit = 1;
+17 -18
View File
@@ -34,17 +34,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ar_subs.c,v 1.3 1995/05/30 00:06:52 rgrimes Exp $
* $Id: ar_subs.c,v 1.4.2.2 1997/09/14 13:07:11 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <signal.h>
#include <string.h>
#include <stdio.h>
@@ -425,7 +424,7 @@ wr_archive(arcn, is_app)
* the link table).
*/
if ((fd = open(arcn->org_name, O_RDONLY, 0)) < 0) {
syswarn(1,errno, "Unable to open %s to read",
sys_warn(1,errno, "Unable to open %s to read",
arcn->org_name);
purg_lnk(arcn);
continue;
@@ -572,7 +571,7 @@ append()
if (get_arc() < 0)
return;
if ((orgfrmt != NULL) && (orgfrmt != frmt)) {
warn(1, "Cannot mix current archive format %s with %s",
pax_warn(1, "Cannot mix current archive format %s with %s",
frmt->name, orgfrmt->name);
return;
}
@@ -743,7 +742,7 @@ copy()
* set up the destination dir path and make sure it is a directory. We
* make sure we have a trailing / on the destination
*/
dlen = l_strncpy(dirbuf, dirptr, PAXPATHLEN);
dlen = l_strncpy(dirbuf, dirptr, sizeof(dirbuf) - 1);
dest_pt = dirbuf + dlen;
if (*(dest_pt-1) != '/') {
*dest_pt++ = '/';
@@ -753,12 +752,12 @@ copy()
drem = PAXPATHLEN - dlen;
if (stat(dirptr, &sb) < 0) {
syswarn(1, errno, "Cannot access destination directory %s",
sys_warn(1, errno, "Cannot access destination directory %s",
dirptr);
return;
}
if (!S_ISDIR(sb.st_mode)) {
warn(1, "Destination is not a directory %s", dirptr);
pax_warn(1, "Destination is not a directory %s", dirptr);
return;
}
@@ -812,7 +811,7 @@ copy()
else
res = 0;
if ((arcn->nlen - res) > drem) {
warn(1, "Destination pathname too long %s",
pax_warn(1, "Destination pathname too long %s",
arcn->name);
continue;
}
@@ -917,7 +916,7 @@ copy()
* first open source file and then create the destination file
*/
if ((fdsrc = open(arcn->org_name, O_RDONLY, 0)) < 0) {
syswarn(1, errno, "Unable to open %s to read",
sys_warn(1, errno, "Unable to open %s to read",
arcn->org_name);
purg_lnk(arcn);
continue;
@@ -1009,16 +1008,16 @@ next_head(arcn)
* storage device, better give the user the bad news.
*/
if ((ret == 0) || (rd_sync() < 0)) {
warn(1,"Premature end of file on archive read");
pax_warn(1,"Premature end of file on archive read");
return(-1);
}
if (!in_resync) {
if (act == APPND) {
warn(1,
pax_warn(1,
"Archive I/O error, cannot continue");
return(-1);
}
warn(1,"Archive I/O error. Trying to recover.");
pax_warn(1,"Archive I/O error. Trying to recover.");
++in_resync;
}
@@ -1079,10 +1078,10 @@ next_head(arcn)
*/
if (!in_resync) {
if (act == APPND) {
warn(1,"Unable to append, archive header flaw");
pax_warn(1,"Unable to append, archive header flaw");
return(-1);
}
warn(1,"Invalid header, starting valid header search.");
pax_warn(1,"Invalid header, starting valid header search.");
++in_resync;
}
bcopy(hdbuf+1, hdbuf, shftsz);
@@ -1174,7 +1173,7 @@ get_arc()
if (!notice) {
if (act == APPND)
return(-1);
warn(1,"Cannot identify format. Searching...");
pax_warn(1,"Cannot identify format. Searching...");
++notice;
}
}
@@ -1209,7 +1208,7 @@ get_arc()
if (!notice) {
if (act == APPND)
return(-1);
warn(1, "Cannot identify format. Searching...");
pax_warn(1, "Cannot identify format. Searching...");
++notice;
}
@@ -1234,6 +1233,6 @@ get_arc()
/*
* we cannot find a header, bow, apologize and quit
*/
warn(1, "Sorry, unable to determine archive format.");
pax_warn(1, "Sorry, unable to determine archive format.");
return(-1);
}
+24 -27
View File
@@ -34,18 +34,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: buf_subs.c,v 1.3 1995/05/30 00:06:53 rgrimes Exp $
* $Id: buf_subs.c,v 1.4.2.2 1997/09/14 13:07:13 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
@@ -103,12 +100,12 @@ wr_start()
if (!wrblksz)
wrblksz = frmt->bsz;
if (wrblksz > MAXBLK) {
warn(1, "Write block size of %d too large, maximium is: %d",
pax_warn(1, "Write block size of %d too large, maximium is: %d",
wrblksz, MAXBLK);
return(-1);
}
if (wrblksz % BLKMULT) {
warn(1, "Write block size of %d is not a %d byte multiple",
pax_warn(1, "Write block size of %d is not a %d byte multiple",
wrblksz, BLKMULT);
return(-1);
}
@@ -148,12 +145,12 @@ rd_start()
buf = &(bufmem[BLKMULT]);
if ((act == APPND) && wrblksz) {
if (wrblksz > MAXBLK) {
warn(1,"Write block size %d too large, maximium is: %d",
pax_warn(1,"Write block size %d too large, maximium is: %d",
wrblksz, MAXBLK);
return(-1);
}
if (wrblksz % BLKMULT) {
warn(1, "Write block size %d is not a %d byte multiple",
pax_warn(1, "Write block size %d is not a %d byte multiple",
wrblksz, BLKMULT);
return(-1);
}
@@ -232,7 +229,7 @@ appnd_start(skcnt)
off_t cnt;
if (exit_val != 0) {
warn(0, "Cannot append to an archive that may have flaws.");
pax_warn(0, "Cannot append to an archive that may have flaws.");
return(-1);
}
/*
@@ -309,7 +306,7 @@ appnd_start(skcnt)
return(0);
out:
warn(1, "Unable to rewrite archive trailer, cannot append.");
pax_warn(1, "Unable to rewrite archive trailer, cannot append.");
return(-1);
}
@@ -341,7 +338,7 @@ rd_sync()
if (maxflt == 0)
return(-1);
if (act == APPND) {
warn(1, "Unable to append when there are archive read errors.");
pax_warn(1, "Unable to append when there are archive read errors.");
return(-1);
}
@@ -375,7 +372,7 @@ rd_sync()
* can extract out of the archive.
*/
if ((maxflt > 0) && (++errcnt > maxflt))
warn(0,"Archive read error limit (%d) reached",maxflt);
pax_warn(0,"Archive read error limit (%d) reached",maxflt);
else if (ar_rdsync() == 0)
continue;
if (ar_next() < 0)
@@ -654,7 +651,7 @@ wr_skip(skcnt)
* it is important that we always write EXACTLY the number of bytes that
* the format specific write routine told us to. The file can also get
* bigger, so reading to the end of file would create an improper archive,
* we just detect this case and warn the user. We never create a bad
* we just detect this case and pax_warn the user. We never create a bad
* archive if we can avoid it. Of course trying to archive files that are
* active is asking for trouble. It we fail, we pass back how much we
* could NOT copy and let the caller deal with it.
@@ -700,13 +697,13 @@ wr_rdfile(arcn, ifd, left)
* or the file read failed.
*/
if (res < 0)
syswarn(1, errno, "Read fault on %s", arcn->org_name);
sys_warn(1, errno, "Read fault on %s", arcn->org_name);
else if (size != 0L)
warn(1, "File changed size during read %s", arcn->org_name);
pax_warn(1, "File changed size during read %s", arcn->org_name);
else if (fstat(ifd, &sb) < 0)
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
sys_warn(1, errno, "Failed stat on %s", arcn->org_name);
else if (arcn->sb.st_mtime != sb.st_mtime)
warn(1, "File %s was modified during copy to archive",
pax_warn(1, "File %s was modified during copy to archive",
arcn->org_name);
*left = size;
return(0);
@@ -761,7 +758,7 @@ rd_wrfile(arcn, ofd, left)
if (sb.st_blksize > 0)
sz = (int)sb.st_blksize;
} else
syswarn(0,errno,"Unable to obtain block size for file %s",fnm);
sys_warn(0,errno,"Unable to obtain block size for file %s",fnm);
rem = sz;
*left = 0L;
@@ -817,7 +814,7 @@ rd_wrfile(arcn, ofd, left)
* calculated crc to the crc stored in the archive
*/
if (docrc && (size == 0L) && (arcn->crc != crc))
warn(1,"Actual crc does not match expected crc %s",arcn->name);
pax_warn(1,"Actual crc does not match expected crc %s",arcn->name);
return(0);
}
@@ -864,7 +861,7 @@ cp_file(arcn, fd1, fd2)
if (sb.st_blksize > 0)
sz = sb.st_blksize;
} else
syswarn(0,errno,"Unable to obtain block size for file %s",fnm);
sys_warn(0,errno,"Unable to obtain block size for file %s",fnm);
rem = sz;
/*
@@ -886,15 +883,15 @@ cp_file(arcn, fd1, fd2)
* check to make sure the copy is valid.
*/
if (res < 0)
syswarn(1, errno, "Failed write during copy of %s to %s",
sys_warn(1, errno, "Failed write during copy of %s to %s",
arcn->org_name, arcn->name);
else if (cpcnt != arcn->sb.st_size)
warn(1, "File %s changed size during copy to %s",
pax_warn(1, "File %s changed size during copy to %s",
arcn->org_name, arcn->name);
else if (fstat(fd1, &sb) < 0)
syswarn(1, errno, "Failed stat of %s", arcn->org_name);
sys_warn(1, errno, "Failed stat of %s", arcn->org_name);
else if (arcn->sb.st_mtime != sb.st_mtime)
warn(1, "File %s was modified during copy to %s",
pax_warn(1, "File %s was modified during copy to %s",
arcn->org_name, arcn->name);
/*
@@ -987,7 +984,7 @@ buf_flush(bufcnt)
* at least one record. We always round limit UP to next blocksize.
*/
if ((wrlimit > 0) && (wrcnt > wrlimit)) {
warn(0, "User specified archive volume byte limit reached.");
pax_warn(0, "User specified archive volume byte limit reached.");
if (ar_next() < 0) {
wrcnt = 0;
exit_val = 1;
@@ -1043,7 +1040,7 @@ buf_flush(bufcnt)
/*
* Oh drat we got a partial write!
* if format doesnt care about alignment let it go,
* we warned the user in ar_write().... but this means
* we pax_warned the user in ar_write().... but this means
* the last record on this volume violates pax spec....
*/
totcnt += cnt;
+12 -14
View File
@@ -34,17 +34,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cache.c,v 1.2 1994/09/24 02:56:14 davidg Exp $
* $Id: cache.c,v 1.3.2.3 1997/09/14 13:07:15 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <string.h>
#include <stdio.h>
#include <pwd.h>
@@ -92,7 +90,7 @@ uidtb_start()
return(-1);
if ((uidtb = (UIDC **)calloc(UID_SZ, sizeof(UIDC *))) == NULL) {
++fail;
warn(1, "Unable to allocate memory for user id cache table");
pax_warn(1, "Unable to allocate memory for user id cache table");
return(-1);
}
return(0);
@@ -121,7 +119,7 @@ gidtb_start()
return(-1);
if ((gidtb = (GIDC **)calloc(GID_SZ, sizeof(GIDC *))) == NULL) {
++fail;
warn(1, "Unable to allocate memory for group id cache table");
pax_warn(1, "Unable to allocate memory for group id cache table");
return(-1);
}
return(0);
@@ -150,7 +148,7 @@ usrtb_start()
return(-1);
if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) {
++fail;
warn(1, "Unable to allocate memory for user name cache table");
pax_warn(1, "Unable to allocate memory for user name cache table");
return(-1);
}
return(0);
@@ -179,7 +177,7 @@ grptb_start()
return(-1);
if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) {
++fail;
warn(1,"Unable to allocate memory for group name cache table");
pax_warn(1,"Unable to allocate memory for group name cache table");
return(-1);
}
return(0);
@@ -244,7 +242,7 @@ name_uid(uid, frc)
# ifdef NET2_STAT
(void)sprintf(ptr->name, "%u", uid);
# else
(void)sprintf(ptr->name, "%lu", uid);
(void)sprintf(ptr->name, "%lu", (u_long)uid);
# endif
if (frc == 0)
return("");
@@ -255,7 +253,7 @@ name_uid(uid, frc)
if (ptr == NULL)
return(pw->pw_name);
ptr->uid = uid;
(void)strncpy(ptr->name, pw->pw_name, UNMLEN);
(void)strncpy(ptr->name, pw->pw_name, UNMLEN - 1);
ptr->name[UNMLEN-1] = '\0';
ptr->valid = VALID;
}
@@ -321,7 +319,7 @@ name_gid(gid, frc)
# ifdef NET2_STAT
(void)sprintf(ptr->name, "%u", gid);
# else
(void)sprintf(ptr->name, "%lu", gid);
(void)sprintf(ptr->name, "%lu", (u_long)gid);
# endif
if (frc == 0)
return("");
@@ -332,7 +330,7 @@ name_gid(gid, frc)
if (ptr == NULL)
return(gr->gr_name);
ptr->gid = gid;
(void)strncpy(ptr->name, gr->gr_name, GNMLEN);
(void)strncpy(ptr->name, gr->gr_name, GNMLEN - 1);
ptr->name[GNMLEN-1] = '\0';
ptr->valid = VALID;
}
@@ -398,7 +396,7 @@ uid_name(name, uid)
*uid = pw->pw_uid;
return(0);
}
(void)strncpy(ptr->name, name, UNMLEN);
(void)strncpy(ptr->name, name, UNMLEN - 1);
ptr->name[UNMLEN-1] = '\0';
if ((pw = getpwnam(name)) == NULL) {
ptr->valid = INVALID;
@@ -468,7 +466,7 @@ gid_name(name, gid)
return(0);
}
(void)strncpy(ptr->name, name, GNMLEN);
(void)strncpy(ptr->name, name, GNMLEN - 1);
ptr->name[GNMLEN-1] = '\0';
if ((gr = getgrnam(name)) == NULL) {
ptr->valid = INVALID;
+20 -21
View File
@@ -34,17 +34,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cpio.c,v 1.3 1995/05/30 00:06:54 rgrimes Exp $
* $Id: cpio.c,v 1.4.2.2 1997/09/14 13:07:17 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)cpio.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)cpio.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
@@ -216,7 +215,7 @@ rd_nm(arcn, nsz)
* do not even try bogus values
*/
if ((nsz == 0) || (nsz > sizeof(arcn->name))) {
warn(1, "Cpio file name length %d is out of range", nsz);
pax_warn(1, "Cpio file name length %d is out of range", nsz);
return(-1);
}
@@ -225,7 +224,7 @@ rd_nm(arcn, nsz)
*/
if ((rd_wrbuf(arcn->name,nsz) != nsz) || (arcn->name[nsz-1] != '\0') ||
(arcn->name[0] == '\0')) {
warn(1, "Cpio file name in header is corrupted");
pax_warn(1, "Cpio file name in header is corrupted");
return(-1);
}
return(0);
@@ -254,10 +253,10 @@ rd_ln_nm(arcn)
if ((arcn->sb.st_size == 0) ||
(arcn->sb.st_size >= sizeof(arcn->ln_name))) {
# ifdef NET2_STAT
warn(1, "Cpio link name length is invalid: %lu",
pax_warn(1, "Cpio link name length is invalid: %lu",
arcn->sb.st_size);
# else
warn(1, "Cpio link name length is invalid: %qu",
pax_warn(1, "Cpio link name length is invalid: %qu",
arcn->sb.st_size);
# endif
return(-1);
@@ -268,7 +267,7 @@ rd_ln_nm(arcn)
*/
if (rd_wrbuf(arcn->ln_name, (int)arcn->sb.st_size) !=
(int)arcn->sb.st_size) {
warn(1, "Cpio link name read error");
pax_warn(1, "Cpio link name read error");
return(-1);
}
arcn->ln_nlen = arcn->sb.st_size;
@@ -278,7 +277,7 @@ rd_ln_nm(arcn)
* watch out for those empty link names
*/
if (arcn->ln_name[0] == '\0') {
warn(1, "Cpio link name is corrupt");
pax_warn(1, "Cpio link name is corrupt");
return(-1);
}
return(0);
@@ -480,7 +479,7 @@ cpio_wr(arcn)
if (uqd_asc((u_quad_t)arcn->sb.st_size, hd->c_filesize,
sizeof(hd->c_filesize), OCT)) {
# endif
warn(1,"File is too large for cpio format %s",
pax_warn(1,"File is too large for cpio format %s",
arcn->org_name);
return(1);
}
@@ -531,7 +530,7 @@ cpio_wr(arcn)
*/
if ((wr_rdbuf(hdblk, (int)sizeof(HD_CPIO)) < 0) ||
(wr_rdbuf(arcn->name, nsz) < 0)) {
warn(1, "Unable to write cpio header for %s", arcn->org_name);
pax_warn(1, "Unable to write cpio header for %s", arcn->org_name);
return(-1);
}
@@ -550,7 +549,7 @@ cpio_wr(arcn)
* next file as we are done.
*/
if (wr_rdbuf(arcn->ln_name, arcn->ln_nlen) < 0) {
warn(1,"Unable to write cpio link name for %s",arcn->org_name);
pax_warn(1,"Unable to write cpio link name for %s",arcn->org_name);
return(-1);
}
return(1);
@@ -559,7 +558,7 @@ cpio_wr(arcn)
/*
* header field is out of range
*/
warn(1, "Cpio header field is too small to store file %s",
pax_warn(1, "Cpio header field is too small to store file %s",
arcn->org_name);
return(1);
}
@@ -847,7 +846,7 @@ vcpio_wr(arcn)
if (uqd_asc((u_quad_t)arcn->sb.st_size, hd->c_filesize,
sizeof(hd->c_filesize), HEX)) {
# endif
warn(1,"File is too large for sv4cpio format %s",
pax_warn(1,"File is too large for sv4cpio format %s",
arcn->org_name);
return(1);
}
@@ -905,7 +904,7 @@ vcpio_wr(arcn)
if ((wr_rdbuf(hdblk, (int)sizeof(HD_VCPIO)) < 0) ||
(wr_rdbuf(arcn->name, (int)nsz) < 0) ||
(wr_skip((off_t)(VCPIO_PAD(sizeof(HD_VCPIO) + nsz))) < 0)) {
warn(1,"Could not write sv4cpio header for %s",arcn->org_name);
pax_warn(1,"Could not write sv4cpio header for %s",arcn->org_name);
return(-1);
}
@@ -927,7 +926,7 @@ vcpio_wr(arcn)
*/
if ((wr_rdbuf(arcn->ln_name, arcn->ln_nlen) < 0) ||
(wr_skip((off_t)(VCPIO_PAD(arcn->ln_nlen))) < 0)) {
warn(1,"Could not write sv4cpio link name for %s",
pax_warn(1,"Could not write sv4cpio link name for %s",
arcn->org_name);
return(-1);
}
@@ -937,7 +936,7 @@ vcpio_wr(arcn)
/*
* header field is out of range
*/
warn(1,"Sv4cpio header field is too small for file %s",arcn->org_name);
pax_warn(1,"Sv4cpio header field is too small for file %s",arcn->org_name);
return(1);
}
@@ -1158,7 +1157,7 @@ bcpio_wr(arcn)
t_offt = (off_t)(SHRT_EXT(hd->h_filesize_1));
t_offt = (t_offt<<16) | ((off_t)(SHRT_EXT(hd->h_filesize_2)));
if (arcn->sb.st_size != t_offt) {
warn(1,"File is too large for bcpio format %s",
pax_warn(1,"File is too large for bcpio format %s",
arcn->org_name);
return(1);
}
@@ -1243,7 +1242,7 @@ bcpio_wr(arcn)
if ((wr_rdbuf(hdblk, (int)sizeof(HD_BCPIO)) < 0) ||
(wr_rdbuf(arcn->name, nsz) < 0) ||
(wr_skip((off_t)(BCPIO_PAD(sizeof(HD_BCPIO) + nsz))) < 0)) {
warn(1, "Could not write bcpio header for %s", arcn->org_name);
pax_warn(1, "Could not write bcpio header for %s", arcn->org_name);
return(-1);
}
@@ -1265,7 +1264,7 @@ bcpio_wr(arcn)
*/
if ((wr_rdbuf(arcn->ln_name, arcn->ln_nlen) < 0) ||
(wr_skip((off_t)(BCPIO_PAD(arcn->ln_nlen))) < 0)) {
warn(1,"Could not write bcpio link name for %s",arcn->org_name);
pax_warn(1,"Could not write bcpio link name for %s",arcn->org_name);
return(-1);
}
return(1);
@@ -1274,6 +1273,6 @@ bcpio_wr(arcn)
/*
* header field is out of range
*/
warn(1,"Bcpio header field is too small for file %s", arcn->org_name);
pax_warn(1,"Bcpio header field is too small for file %s", arcn->org_name);
return(1);
}
+3 -3
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.2 (Berkeley) 4/18/94
* $Id$
* $Id: extern.h,v 1.2 1994/09/24 02:56:18 davidg Exp $
*/
/*
@@ -282,5 +282,5 @@ int ustar_wr __P((register ARCHD *));
int tty_init __P((void));
void tty_prnt __P((char *, ...));
int tty_read __P((char *, int));
void warn __P((int, char *, ...));
void syswarn __P((int, int, char *, ...));
void pax_warn __P((int, char *, ...));
void sys_warn __P((int, int, char *, ...));
+30 -31
View File
@@ -34,18 +34,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: file_subs.c,v 1.3 1995/05/30 00:06:56 rgrimes Exp $
* $Id: file_subs.c,v 1.4.2.2 1997/09/14 13:07:21 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/param.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>
@@ -122,7 +121,7 @@ file_creat(arcn)
break;
oerrno = errno;
if (chk_path(arcn->name,arcn->sb.st_uid,arcn->sb.st_gid) < 0) {
syswarn(1, oerrno, "Unable to create %s", arcn->name);
sys_warn(1, oerrno, "Unable to create %s", arcn->name);
return(-1);
}
}
@@ -152,7 +151,7 @@ file_close(arcn, fd)
if (fd < 0)
return;
if (close(fd) < 0)
syswarn(0, errno, "Unable to close file descriptor on %s",
sys_warn(0, errno, "Unable to close file descriptor on %s",
arcn->name);
/*
@@ -200,13 +199,13 @@ lnk_creat(arcn)
* is not a directory, so we lstat and check
*/
if (lstat(arcn->ln_name, &sb) < 0) {
syswarn(1,errno,"Unable to link to %s from %s", arcn->ln_name,
sys_warn(1,errno,"Unable to link to %s from %s", arcn->ln_name,
arcn->name);
return(-1);
}
if (S_ISDIR(sb.st_mode)) {
warn(1, "A hard link to the directory %s is not allowed",
pax_warn(1, "A hard link to the directory %s is not allowed",
arcn->ln_name);
return(-1);
}
@@ -217,7 +216,7 @@ lnk_creat(arcn)
/*
* cross_lnk()
* Create a hard link to arcn->org_name from arcn->name. Only used in copy
* with the -l flag. No warning or error if this does not succeed (we will
* with the -l flag. No pax_warning or error if this does not succeed (we will
* then just create the file)
* Return:
* 1 if copy() should try to create this file node
@@ -278,7 +277,7 @@ chk_same(arcn)
* better make sure the user does not have src == dest by mistake
*/
if ((arcn->sb.st_dev == sb.st_dev) && (arcn->sb.st_ino == sb.st_ino)) {
warn(1, "Unable to copy %s, file would overwrite itself",
pax_warn(1, "Unable to copy %s, file would overwrite itself",
arcn->name);
return(0);
}
@@ -325,7 +324,7 @@ mk_link(to, to_sb, from, ign)
* make sure it is not the same file, protect the user
*/
if ((to_sb->st_dev==sb.st_dev)&&(to_sb->st_ino == sb.st_ino)) {
warn(1, "Unable to link file %s to itself", to);
pax_warn(1, "Unable to link file %s to itself", to);
return(-1);;
}
@@ -334,12 +333,12 @@ mk_link(to, to_sb, from, ign)
*/
if (S_ISDIR(sb.st_mode)) {
if (rmdir(from) < 0) {
syswarn(1, errno, "Unable to remove %s", from);
sys_warn(1, errno, "Unable to remove %s", from);
return(-1);
}
} else if (unlink(from) < 0) {
if (!ign) {
syswarn(1, errno, "Unable to remove %s", from);
sys_warn(1, errno, "Unable to remove %s", from);
return(-1);
}
return(1);
@@ -358,7 +357,7 @@ mk_link(to, to_sb, from, ign)
if (chk_path(from, to_sb->st_uid, to_sb->st_gid) == 0)
continue;
if (!ign) {
syswarn(1, oerrno, "Could not link to %s from %s", to,
sys_warn(1, oerrno, "Could not link to %s from %s", to,
from);
return(-1);
}
@@ -425,7 +424,7 @@ node_creat(arcn)
/*
* Skip sockets, operation has no meaning under BSD
*/
warn(0,
pax_warn(0,
"%s skipped. Sockets cannot be copied or extracted",
arcn->name);
return(-1);
@@ -441,7 +440,7 @@ node_creat(arcn)
/*
* we should never get here
*/
warn(0, "%s has an unknown file type, skipping",
pax_warn(0, "%s has an unknown file type, skipping",
arcn->name);
return(-1);
}
@@ -465,7 +464,7 @@ node_creat(arcn)
continue;
if (chk_path(arcn->name,arcn->sb.st_uid,arcn->sb.st_gid) < 0) {
syswarn(1, oerrno, "Could not create: %s", arcn->name);
sys_warn(1, oerrno, "Could not create: %s", arcn->name);
return(-1);
}
}
@@ -500,7 +499,7 @@ node_creat(arcn)
*/
if (access(arcn->name, R_OK | W_OK | X_OK) < 0) {
if (lstat(arcn->name, &sb) < 0) {
syswarn(0, errno,"Could not access %s (stat)",
sys_warn(0, errno,"Could not access %s (stat)",
arcn->name);
set_pmode(arcn->name,file_mode | S_IRWXU);
} else {
@@ -570,7 +569,7 @@ unlnk_exist(name, type)
if (rmdir(name) < 0) {
if (type == PAX_DIR)
return(1);
syswarn(1,errno,"Unable to remove directory %s", name);
sys_warn(1,errno,"Unable to remove directory %s", name);
return(-1);
}
return(0);
@@ -580,7 +579,7 @@ unlnk_exist(name, type)
* try to get rid of all non-directory type nodes
*/
if (unlink(name) < 0) {
syswarn(1, errno, "Could not unlink %s", name);
sys_warn(1, errno, "Could not unlink %s", name);
return(-1);
}
return(0);
@@ -720,14 +719,14 @@ set_ftime(fnm, mtime, atime, frc)
if (!pmtime)
tv[1].tv_sec = (long)sb.st_mtime;
} else
syswarn(0,errno,"Unable to obtain file stats %s", fnm);
sys_warn(0,errno,"Unable to obtain file stats %s", fnm);
}
/*
* set the times
*/
if (utimes(fnm, tv) < 0)
syswarn(1, errno, "Access/modification time set failed on: %s",
sys_warn(1, errno, "Access/modification time set failed on: %s",
fnm);
return;
}
@@ -751,7 +750,7 @@ set_ids(fnm, uid, gid)
#endif
{
if (chown(fnm, uid, gid) < 0) {
syswarn(1, errno, "Unable to set file uid/gid of %s", fnm);
sys_warn(1, errno, "Unable to set file uid/gid of %s", fnm);
return(-1);
}
return(0);
@@ -774,7 +773,7 @@ set_pmode(fnm, mode)
{
mode &= ABITS;
if (chmod(fnm, mode) < 0)
syswarn(1, errno, "Could not set permissions on %s", fnm);
sys_warn(1, errno, "Could not set permissions on %s", fnm);
return;
}
@@ -887,7 +886,7 @@ file_write(fd, str, cnt, rem, isempt, sz, name)
* skip, buf is empty so far
*/
if (lseek(fd, (off_t)wcnt, SEEK_CUR) < 0) {
syswarn(1,errno,"File seek on %s",
sys_warn(1,errno,"File seek on %s",
name);
return(-1);
}
@@ -904,7 +903,7 @@ file_write(fd, str, cnt, rem, isempt, sz, name)
* have non-zero data in this file system block, have to write
*/
if (write(fd, st, wcnt) != wcnt) {
syswarn(1, errno, "Failed write to file %s", name);
sys_warn(1, errno, "Failed write to file %s", name);
return(-1);
}
st += wcnt;
@@ -943,12 +942,12 @@ file_flush(fd, fname, isempt)
* move back one byte and write a zero
*/
if (lseek(fd, (off_t)-1, SEEK_CUR) < 0) {
syswarn(1, errno, "Failed seek on file %s", fname);
sys_warn(1, errno, "Failed seek on file %s", fname);
return;
}
if (write(fd, blnk, 1) < 0)
syswarn(1, errno, "Failed write to file %s", fname);
sys_warn(1, errno, "Failed write to file %s", fname);
return;
}
@@ -1041,13 +1040,13 @@ set_crc(arcn, fd)
* they can create inconsistant archive copies.
*/
if (cpcnt != arcn->sb.st_size)
warn(1, "File changed size %s", arcn->org_name);
pax_warn(1, "File changed size %s", arcn->org_name);
else if (fstat(fd, &sb) < 0)
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
sys_warn(1, errno, "Failed stat on %s", arcn->org_name);
else if (arcn->sb.st_mtime != sb.st_mtime)
warn(1, "File %s was modified during read", arcn->org_name);
pax_warn(1, "File %s was modified during read", arcn->org_name);
else if (lseek(fd, (off_t)0L, SEEK_SET) < 0)
syswarn(1, errno, "File rewind failed on: %s", arcn->org_name);
sys_warn(1, errno, "File rewind failed on: %s", arcn->org_name);
else {
arcn->crc = crc;
return(0);
+17 -18
View File
@@ -34,17 +34,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ftree.c,v 1.3 1995/05/30 00:06:57 rgrimes Exp $
* $Id: ftree.c,v 1.4.2.3 1998/02/15 11:18:19 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
@@ -122,7 +121,7 @@ ftree_start()
ftsopts |= FTS_PHYSICAL;
if (Hflag)
# ifdef NET2_FTS
warn(0, "The -H flag is not supported on this version");
pax_warn(0, "The -H flag is not supported on this version");
# else
ftsopts |= FTS_COMFOLLOW;
# endif
@@ -130,7 +129,7 @@ ftree_start()
ftsopts |= FTS_XDEV;
if ((fthead == NULL) && ((farray[0] = malloc(PAXPATHLEN+2)) == NULL)) {
warn(1, "Unable to allocate memory for file name buffer");
pax_warn(1, "Unable to allocate memory for file name buffer");
return(-1);
}
@@ -165,7 +164,7 @@ ftree_add(str)
* simple check for bad args
*/
if ((str == NULL) || (*str == '\0')) {
warn(0, "Invalid file name arguement");
pax_warn(0, "Invalid file name arguement");
return(-1);
}
@@ -175,7 +174,7 @@ ftree_add(str)
* trailing / the user may pass us. (watch out for / by itself).
*/
if ((ft = (FTREE *)malloc(sizeof(FTREE))) == NULL) {
warn(0, "Unable to allocate memory for filename");
pax_warn(0, "Unable to allocate memory for filename");
return(-1);
}
@@ -263,7 +262,7 @@ ftree_chk()
if (ft->refcnt > 0)
continue;
if (wban == 0) {
warn(1,"WARNING! These file names were not selected:");
pax_warn(1,"WARNING! These file names were not selected:");
++wban;
}
(void)fprintf(stderr, "%s\n", ft->fname);
@@ -423,30 +422,30 @@ next_file(arcn)
/*
* fts claims a file system cycle
*/
warn(1,"File system cycle found at %s",ftent->fts_path);
pax_warn(1,"File system cycle found at %s",ftent->fts_path);
continue;
case FTS_DNR:
# ifdef NET2_FTS
syswarn(1, errno,
sys_warn(1, errno,
# else
syswarn(1, ftent->fts_errno,
sys_warn(1, ftent->fts_errno,
# endif
"Unable to read directory %s", ftent->fts_path);
continue;
case FTS_ERR:
# ifdef NET2_FTS
syswarn(1, errno,
sys_warn(1, errno,
# else
syswarn(1, ftent->fts_errno,
sys_warn(1, ftent->fts_errno,
# endif
"File system traversal error");
continue;
case FTS_NS:
case FTS_NSOK:
# ifdef NET2_FTS
syswarn(1, errno,
sys_warn(1, errno,
# else
syswarn(1, ftent->fts_errno,
sys_warn(1, ftent->fts_errno,
# endif
"Unable to access %s", ftent->fts_path);
continue;
@@ -507,14 +506,14 @@ next_file(arcn)
* have to read the symlink path from the file
*/
if ((cnt = readlink(ftent->fts_path, arcn->ln_name,
PAXPATHLEN)) < 0) {
syswarn(1, errno, "Unable to read symlink %s",
PAXPATHLEN - 1)) < 0) {
sys_warn(1, errno, "Unable to read symlink %s",
ftent->fts_path);
continue;
}
/*
* set link name length, watch out readlink does not
* allways null terminate the link path
* allways NUL terminate the link path
*/
arcn->ln_name[cnt] = '\0';
arcn->ln_nlen = cnt;
+4 -4
View File
@@ -34,17 +34,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: gen_subs.c,v 1.5 1995/08/07 19:17:36 wollman Exp $
* $Id: gen_subs.c,v 1.6.2.1 1997/08/25 08:37:00 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <stdio.h>
#include <utmp.h>
#include <unistd.h>
@@ -132,10 +131,11 @@ ls_list(arcn, now)
if ((arcn->type == PAX_CHR) || (arcn->type == PAX_BLK))
# ifdef NET2_STAT
(void)printf("%4u,%4u ", MAJOR(sbp->st_rdev),
MINOR(sbp->st_rdev));
# else
(void)printf("%4lu,%4lu ", (unsigned long)MAJOR(sbp->st_rdev),
(unsigned long)MINOR(sbp->st_rdev));
# endif
MINOR(sbp->st_rdev));
else {
# ifdef NET2_STAT
(void)printf("%9lu ", sbp->st_size);
+17 -19
View File
@@ -34,18 +34,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: options.c,v 1.3 1995/03/19 13:28:53 joerg Exp $
* $Id: options.c,v 1.4.2.2 1997/09/14 13:07:25 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/mtio.h>
#include <sys/param.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -195,7 +193,7 @@ pax_options(argc, argv)
* process option flags
*/
while ((c=getopt(argc,argv,"ab:cdf:iklno:p:rs:tuvwx:B:DE:G:HLPT:U:XYZ"))
!= EOF) {
!= -1) {
switch (c) {
case 'a':
/*
@@ -209,7 +207,7 @@ pax_options(argc, argv)
*/
flg |= BF;
if ((wrblksz = (int)str_offt(optarg)) <= 0) {
warn(1, "Invalid block size %s", optarg);
pax_warn(1, "Invalid block size %s", optarg);
pax_usage();
}
break;
@@ -311,7 +309,7 @@ pax_options(argc, argv)
pmode = 1;
break;
default:
warn(1, "Invalid -p string: %c", *pt);
pax_warn(1, "Invalid -p string: %c", *pt);
pax_usage();
break;
}
@@ -371,7 +369,7 @@ pax_options(argc, argv)
flg |= XF;
break;
}
warn(1, "Unknown -x format: %s", optarg);
pax_warn(1, "Unknown -x format: %s", optarg);
(void)fputs("pax: Known -x formats are:", stderr);
for (i = 0; i < (sizeof(fsub)/sizeof(FSUB)); ++i)
(void)fprintf(stderr, " %s", fsub[i].name);
@@ -384,11 +382,11 @@ pax_options(argc, argv)
* single archive volume.
*/
if ((wrlimit = str_offt(optarg)) <= 0) {
warn(1, "Invalid write limit %s", optarg);
pax_warn(1, "Invalid write limit %s", optarg);
pax_usage();
}
if (wrlimit % BLKMULT) {
warn(1, "Write limit is not a %d byte multiple",
pax_warn(1, "Write limit is not a %d byte multiple",
BLKMULT);
pax_usage();
}
@@ -412,7 +410,7 @@ pax_options(argc, argv)
if (strcmp(NONE, optarg) == 0)
maxflt = -1;
else if ((maxflt = atoi(optarg)) < 0) {
warn(1, "Error count value must be positive");
pax_warn(1, "Error count value must be positive");
pax_usage();
}
break;
@@ -547,7 +545,7 @@ pax_options(argc, argv)
break;
case COPY:
if (optind >= argc) {
warn(0, "Destination directory was not supplied");
pax_warn(0, "Destination directory was not supplied");
pax_usage();
}
--argc;
@@ -604,11 +602,11 @@ tar_options(argc, argv)
* specify blocksize
*/
if (*argv == (char *)NULL) {
warn(1,"blocksize must be specified with 'b'");
pax_warn(1,"blocksize must be specified with 'b'");
tar_usage();
}
if ((wrblksz = (int)str_offt(*argv)) <= 0) {
warn(1, "Invalid block size %s", *argv);
pax_warn(1, "Invalid block size %s", *argv);
tar_usage();
}
++argv;
@@ -630,7 +628,7 @@ tar_options(argc, argv)
* filename where the archive is stored
*/
if (*argv == (char *)NULL) {
warn(1, "filename must be specified with 'f'");
pax_warn(1, "filename must be specified with 'f'");
tar_usage();
}
if ((argv[0][0] == '-') && (argv[0][1]== '\0')) {
@@ -893,7 +891,7 @@ bad_opt()
/*
* print all we were given
*/
warn(1,"These format options are not supported");
pax_warn(1,"These format options are not supported");
while ((opt = opt_next()) != NULL)
(void)fprintf(stderr, "\t%s = %s\n", opt->name, opt->value);
pax_usage();
@@ -924,7 +922,7 @@ opt_add(str)
register char *endpt;
if ((str == NULL) || (*str == '\0')) {
warn(0, "Invalid option name");
pax_warn(0, "Invalid option name");
return(-1);
}
frpt = endpt = str;
@@ -938,11 +936,11 @@ opt_add(str)
if ((endpt = strchr(frpt, ',')) != NULL)
*endpt = '\0';
if ((pt = strchr(frpt, '=')) == NULL) {
warn(0, "Invalid options format");
pax_warn(0, "Invalid options format");
return(-1);
}
if ((opt = (OPLIST *)malloc(sizeof(OPLIST))) == NULL) {
warn(0, "Unable to allocate space for option list");
pax_warn(0, "Unable to allocate space for option list");
return(-1);
}
*pt++ = '\0';
+18 -18
View File
@@ -34,17 +34,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: pat_rep.c,v 1.4 1995/05/30 00:06:59 rgrimes Exp $
* $Id: pat_rep.c,v 1.5.2.3 1997/09/14 13:07:27 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)pat_rep.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)pat_rep.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -119,7 +117,7 @@ rep_add(str)
* throw out the bad parameters
*/
if ((str == NULL) || (*str == '\0')) {
warn(1, "Empty replacement string");
pax_warn(1, "Empty replacement string");
return(-1);
}
@@ -128,7 +126,7 @@ rep_add(str)
* this expression
*/
if ((pt1 = strchr(str+1, *str)) == NULL) {
warn(1, "Invalid replacement string %s", str);
pax_warn(1, "Invalid replacement string %s", str);
return(-1);
}
@@ -137,7 +135,7 @@ rep_add(str)
* and split out the regular expression and try to compile it
*/
if ((rep = (REPLACE *)malloc(sizeof(REPLACE))) == NULL) {
warn(1, "Unable to allocate memory for replacement string");
pax_warn(1, "Unable to allocate memory for replacement string");
return(-1);
}
@@ -147,7 +145,7 @@ rep_add(str)
# else
if ((res = regcomp(&(rep->rcmp), str+1, 0)) != 0) {
regerror(res, &(rep->rcmp), rebuf, sizeof(rebuf));
warn(1, "%s while compiling regular expression %s", rebuf, str);
pax_warn(1, "%s while compiling regular expression %s", rebuf, str);
# endif
(void)free((char *)rep);
return(-1);
@@ -166,7 +164,7 @@ rep_add(str)
regfree(&(rep->rcmp));
# endif
(void)free((char *)rep);
warn(1, "Invalid replacement string %s", str);
pax_warn(1, "Invalid replacement string %s", str);
return(-1);
}
@@ -196,7 +194,7 @@ rep_add(str)
# endif
(void)free((char *)rep);
*pt1 = *str;
warn(1, "Invalid replacement string option %s", str);
pax_warn(1, "Invalid replacement string option %s", str);
return(-1);
}
++pt2;
@@ -241,7 +239,7 @@ pat_add(str)
* throw out the junk
*/
if ((str == NULL) || (*str == '\0')) {
warn(1, "Empty pattern string");
pax_warn(1, "Empty pattern string");
return(-1);
}
@@ -251,7 +249,7 @@ pat_add(str)
* node to the end of the pattern list
*/
if ((pt = (PATTERN *)malloc(sizeof(PATTERN))) == NULL) {
warn(1, "Unable to allocate memory for pattern string");
pax_warn(1, "Unable to allocate memory for pattern string");
return(-1);
}
@@ -294,7 +292,7 @@ pat_chk()
if (pt->flgs & MTCH)
continue;
if (!wban) {
warn(1, "WARNING! These patterns were not matched:");
pax_warn(1, "WARNING! These patterns were not matched:");
++wban;
}
(void)fprintf(stderr, "%s\n", pt->pstr);
@@ -373,7 +371,7 @@ pat_sel(arcn)
*pt->pend = '\0';
if ((pt->pstr = strdup(arcn->name)) == NULL) {
warn(1, "Pattern select out of memory");
pax_warn(1, "Pattern select out of memory");
if (pt->pend != NULL)
*pt->pend = '/';
pt->pend = NULL;
@@ -421,7 +419,7 @@ pat_sel(arcn)
/*
* should never happen....
*/
warn(1, "Pattern list inconsistant");
pax_warn(1, "Pattern list inconsistant");
return(-1);
}
*ppt = pt->fow;
@@ -776,6 +774,7 @@ tty_rename(arcn)
tty_prnt("Processing continues, name changed to: %s\n", tmpname);
res = add_name(arcn->name, arcn->nlen, tmpname);
arcn->nlen = l_strncpy(arcn->name, tmpname, PAXPATHLEN+1);
arcn->name[PAXPATHLEN] = '\0';
if (res < 0)
return(-1);
return(0);
@@ -855,7 +854,7 @@ fix_path(or_name, or_len, dir_name, dir_len)
--dest;
}
if ((len = dest - or_name) > PAXPATHLEN) {
warn(1, "File name %s/%s, too long", dir_name, start);
pax_warn(1, "File name %s/%s, too long", dir_name, start);
return(-1);
}
*or_len = len;
@@ -982,7 +981,7 @@ rep_name(name, nlen, prnt)
< 0) {
# endif
if (prnt)
warn(1, "Replacement name error %s",
pax_warn(1, "Replacement name error %s",
name);
return(1);
}
@@ -1033,7 +1032,7 @@ rep_name(name, nlen, prnt)
*outpt = '\0';
if ((outpt == endpt) && (*inpt != '\0')) {
if (prnt)
warn(1,"Replacement name too long %s >> %s",
pax_warn(1,"Replacement name too long %s >> %s",
name, nname);
return(1);
}
@@ -1056,6 +1055,7 @@ rep_name(name, nlen, prnt)
if (*nname == '\0')
return(1);
*nlen = l_strncpy(name, nname, PAXPATHLEN + 1);
name[PAXPATHLEN] = '\0';
}
return(0);
}
+40 -39
View File
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)pax.1 8.4 (Berkeley) 4/18/94
.\" $Id: pax.1,v 1.2 1994/09/24 02:56:26 davidg Exp $
.\" $Id: pax.1,v 1.3.2.2 1998/06/30 06:42:49 charnier Exp $
.\"
.Dd April 18, 1994
.Dt PAX 1
@@ -194,7 +194,7 @@ The presence of the
and the
.Fl w
options specifies which of the following functional modes
.Nm pax
.Nm
will operate under:
.Em list , read , write ,
and
@@ -284,7 +284,7 @@ While processing a damaged archive during a
or
.Em list
operation,
.Nm pax
.Nm
will attempt to recover from media defects and will search through the archive
to locate and process the largest number of archive members possible (see the
.Fl E
@@ -298,7 +298,7 @@ If the
.Ar directory
operand does not exist, or it is not writable by the user,
or it is not of type directory,
.Nm Pax
.Nm
will exit with a non-zero exit status.
.Pp
The
@@ -317,7 +317,7 @@ be selected.
When a
.Ar pattern
operand does not select at least one archive member,
.Nm pax
.Nm
will write these
.Ar pattern
operands in a diagnostic message to
@@ -330,7 +330,7 @@ operand specifies the pathname of a file to be copied or archived.
When a
.Ar file
operand does not select at least one archive member,
.Nm pax
.Nm
will write these
.Ar file
operand pathnames in a diagnostic message to
@@ -357,7 +357,7 @@ and
as the mode argument.
When the selected archive format supports the specification of linked
files and these files cannot be linked while the archive is being extracted,
.Nm pax
.Nm
will write a diagnostic message to
.Dv standard error
and exit with a non-zero exit status at the completion of operation.
@@ -381,7 +381,7 @@ If an archive format is not specified with a
option, the format currently being used in the archive will be selected.
Any attempt to append to an archive in a format different from the
format already used in the archive will cause
.Nm pax
.Nm
to exit immediately
with a non-zero exit status.
The blocking size used in the archive volume where writing starts
@@ -450,7 +450,7 @@ or
.Em write ) .
A single archive may span multiple files and different archive devices.
When required,
.Nm pax
.Nm
will prompt for the pathname of the file or device of the next volume in the
archive.
.It Fl i
@@ -460,7 +460,7 @@ For each archive member matching a
operand or each file matching a
.Ar file
operand,
.Nm pax
.Nm
will prompt to
.Pa /dev/tty
giving the name of the file, its file mode and its modification time.
@@ -569,7 +569,7 @@ nor the
.Cm o
specification character is specified, or the user ID and group ID are not
preserved for any reason,
.Nm pax
.Nm
will not set the
.Dv S_ISUID
.Em ( setuid )
@@ -578,7 +578,7 @@ and
.Em ( setgid )
bits of the file mode.
If the preservation of any of these items fails for any reason,
.Nm pax
.Nm
will write a diagnostic message to
.Dv standard error .
Failure to preserve these items will affect the final exit status,
@@ -636,9 +636,9 @@ File or archive member names that substitute to the empty string
are not selected and will be skipped.
.It Fl t
Reset the access times of any file or directory read or accessed by
.Nm pax
.Nm
to be the same as they were before being read or accessed by
.Nm pax .
.Nm Ns .
.It Fl u
Ignore files that are older (having a less recent file modification time)
than a pre-existing file or archive member with the same name.
@@ -699,7 +699,7 @@ standard.
The default blocksize for this format is 5120 bytes.
Inode and device information about a file (used for detecting file hard links
by this format) which may be truncated by this format is detected by
.Nm pax
.Nm
and is repaired.
.It Ar bcpio
The old binary cpio format.
@@ -708,21 +708,21 @@ This format is not very portable and should not be used when other formats
are available.
Inode and device information about a file (used for detecting file hard links
by this format) which may be truncated by this format is detected by
.Nm pax
.Nm
and is repaired.
.It Ar sv4cpio
The System V release 4 cpio.
The default blocksize for this format is 5120 bytes.
Inode and device information about a file (used for detecting file hard links
by this format) which may be truncated by this format is detected by
.Nm pax
.Nm
and is repaired.
.It Ar sv4crc
The System V release 4 cpio with file crc checksums.
The default blocksize for this format is 5120 bytes.
Inode and device information about a file (used for detecting file hard links
by this format) which may be truncated by this format is detected by
.Nm pax
.Nm
and is repaired.
.It Ar tar
The old BSD tar format as found in BSD4.3.
@@ -790,20 +790,20 @@ archives to
.Ar limit .
With a positive
.Ar limit ,
.Nm pax
.Nm
will attempt to recover from an archive read error and will
continue processing starting with the next file stored in the archive.
A
.Ar limit
of 0 will cause
.Nm pax
.Nm
to stop operation after the first read error is detected on an archive volume.
A
.Ar limit
of
.Li NONE
will cause
.Nm pax
.Nm
to attempt to recover from read errors forever.
The default
.Ar limit
@@ -813,7 +813,7 @@ is a small positive number of retries.
Using this option with
.Li NONE
should be used with extreme caution as
.Nm pax
.Nm
may get stuck in an infinite loop on a very badly flawed archive.
.It Fl G Ar group
Select a file based on its
@@ -857,7 +857,7 @@ only files with a modification or inode change time of exactly that
time will be selected.
.Pp
When
.Nm pax
.Nm
is in the
.Em write
or
@@ -887,7 +887,7 @@ created and had their modification time reset to an older time (as what
happens when a file is extracted from an archive and the modification time
is preserved).
Time comparisons using both file times is useful when
.Nm pax
.Nm
is used to create a time based incremental archive (only files that were
changed during a specified time range will be archived).
.Pp
@@ -1053,13 +1053,13 @@ gives the verbose table of contents for an archive stored in
.Pa filename .
.Pp
The following commands:
.Dl mkdir newdir
.Dl cd olddir
.Dl pax -rw .\ newdir
.Dl mkdir /tmp/foo
.Dl cd /tmp/bar
.Dl pax -rw .\ /tmp/foo
will copy the entire
.Pa olddir
.Pa /tmp/bar
directory hierarchy to
.Pa newdir .
.Pa /tmp/foo .
.Pp
The command:
.Dl pax -r -s ',^//*usr//*,,' -f a.pax
@@ -1093,7 +1093,7 @@ files with the same name found in the source file tree
.Pa home .
.Sh STANDARDS
The
.Nm pax
.Nm
utility is a superset of the
.St -p1003.2
standard.
@@ -1121,10 +1121,11 @@ and
operations are extensions to the
.Tn POSIX
standard.
.Sh AUTHOR
Keith Muller at the University of California, San Diego
.Sh AUTHORS
.An Keith Muller
at the University of California, San Diego
.Sh ERRORS
.Nm pax
.Nm Pax
will exit with one of the following values:
.Bl -tag -width 2n
.It 0
@@ -1134,7 +1135,7 @@ An error occurred.
.El
.Pp
Whenever
.Nm pax
.Nm
cannot create a file or a link when reading an archive or cannot
find a file when writing an archive, or cannot preserve the user ID,
group ID, or file mode when the
@@ -1143,28 +1144,28 @@ option is specified, a diagnostic message is written to
.Dv standard error
and a non-zero exit status will be returned, but processing will continue.
In the case where pax cannot create a link to a file,
.Nm pax
.Nm
will not create a second copy of the file.
.Pp
If the extraction of a file from an archive is prematurely terminated by
a signal or error,
.Nm pax
.Nm
may have only partially extracted a file the user wanted.
Additionally, the file modes of extracted files and directories
may have incorrect file bits, and the modification and access times may be
wrong.
.Pp
If the creation of an archive is prematurely terminated by a signal or error,
.Nm pax
.Nm
may have only partially created the archive which may violate the specific
archive format specification.
.Pp
If while doing a
.Em copy ,
.Nm pax
.Nm
detects a file is about to overwrite itself, the file is not copied,
a diagnostic message is written to
.Dv standard error
and when
.Nm pax
.Nm
completes it will exit with a non-zero exit status.
+11 -12
View File
@@ -34,30 +34,29 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: pax.c,v 1.4 1995/10/23 21:23:19 ache Exp $
* $Id: pax.c,v 1.5.2.2 1997/09/14 13:07:29 jkh Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <stdio.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <locale.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "pax.h"
#include "extern.h"
static int gen_init __P((void));
@@ -285,9 +284,9 @@ sig_cleanup(which_sig)
*/
vflag = vfpart = 1;
if (which_sig == SIGXCPU)
warn(0, "Cpu time limit reached, cleaning up.");
pax_warn(0, "Cpu time limit reached, cleaning up.");
else
warn(0, "Signal caught, cleaning up.");
pax_warn(0, "Signal caught, cleaning up.");
ar_close();
proc_dir();
@@ -365,7 +364,7 @@ gen_init()
(sigaddset(&s_mask,SIGINT) < 0)||(sigaddset(&s_mask,SIGHUP) < 0) ||
(sigaddset(&s_mask,SIGPIPE) < 0)||(sigaddset(&s_mask,SIGQUIT)<0) ||
(sigaddset(&s_mask,SIGXCPU) < 0)||(sigaddset(&s_mask,SIGXFSZ)<0)) {
warn(1, "Unable to set up signal mask");
pax_warn(1, "Unable to set up signal mask");
return(-1);
}
n_hand.sa_mask = s_mask;
@@ -404,6 +403,6 @@ gen_init()
return(0);
out:
syswarn(1, errno, "Unable to set up signal handler");
sys_warn(1, errno, "Unable to set up signal handler");
return(-1);
}
+16 -17
View File
@@ -34,17 +34,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sel_subs.c,v 1.2 1994/09/24 02:56:29 davidg Exp $
* $Id: sel_subs.c,v 1.3.2.2 1997/09/14 13:07:33 jkh Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)sel_subs.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)sel_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <pwd.h>
#include <grp.h>
#include <stdio.h>
@@ -129,7 +128,7 @@ usr_add(str)
return(-1);
if ((usrtb == NULL) &&
((usrtb = (USRT **)calloc(USR_TB_SZ, sizeof(USRT *))) == NULL)) {
warn(1, "Unable to allocate memory for user selection table");
pax_warn(1, "Unable to allocate memory for user selection table");
return(-1);
}
@@ -143,7 +142,7 @@ usr_add(str)
if ((str[0] == '\\') && (str[1] == '#'))
++str;
if ((pw = getpwnam(str)) == NULL) {
warn(1, "Unable to find uid for user: %s", str);
pax_warn(1, "Unable to find uid for user: %s", str);
return(-1);
}
uid = (uid_t)pw->pw_uid;
@@ -176,7 +175,7 @@ usr_add(str)
usrtb[indx] = pt;
return(0);
}
warn(1, "User selection table out of memory");
pax_warn(1, "User selection table out of memory");
return(-1);
}
@@ -242,7 +241,7 @@ grp_add(str)
return(-1);
if ((grptb == NULL) &&
((grptb = (GRPT **)calloc(GRP_TB_SZ, sizeof(GRPT *))) == NULL)) {
warn(1, "Unable to allocate memory fo group selection table");
pax_warn(1, "Unable to allocate memory fo group selection table");
return(-1);
}
@@ -256,7 +255,7 @@ grp_add(str)
if ((str[0] == '\\') && (str[1] == '#'))
++str;
if ((gr = getgrnam(str)) == NULL) {
warn(1,"Cannot determine gid for group name: %s", str);
pax_warn(1,"Cannot determine gid for group name: %s", str);
return(-1);
}
gid = (gid_t)gr->gr_gid;
@@ -289,7 +288,7 @@ grp_add(str)
grptb[indx] = pt;
return(0);
}
warn(1, "Group selection table out of memory");
pax_warn(1, "Group selection table out of memory");
return(-1);
}
@@ -375,7 +374,7 @@ trng_add(str)
* throw out the badly formed time ranges
*/
if ((str == NULL) || (*str == '\0')) {
warn(1, "Empty time range string");
pax_warn(1, "Empty time range string");
return(-1);
}
@@ -402,7 +401,7 @@ trng_add(str)
++dot;
continue;
}
warn(1, "Improperly specified time range: %s", str);
pax_warn(1, "Improperly specified time range: %s", str);
goto out;
}
@@ -410,7 +409,7 @@ trng_add(str)
* allocate space for the time range and store the limits
*/
if ((pt = (TIME_RNG *)malloc(sizeof(TIME_RNG))) == NULL) {
warn(1, "Unable to allocate memory for time range");
pax_warn(1, "Unable to allocate memory for time range");
return(-1);
}
@@ -433,7 +432,7 @@ trng_add(str)
pt->flgs |= CMPCTME;
break;
default:
warn(1, "Bad option %c with time range %s",
pax_warn(1, "Bad option %c with time range %s",
*flgpt, str);
goto out;
}
@@ -450,7 +449,7 @@ trng_add(str)
* add lower limit
*/
if (str_sec(str, &(pt->low_time)) < 0) {
warn(1, "Illegal lower time range %s", str);
pax_warn(1, "Illegal lower time range %s", str);
(void)free((char *)pt);
goto out;
}
@@ -462,7 +461,7 @@ trng_add(str)
* add upper limit
*/
if (str_sec(up_pt, &(pt->high_time)) < 0) {
warn(1, "Illegal upper time range %s", up_pt);
pax_warn(1, "Illegal upper time range %s", up_pt);
(void)free((char *)pt);
goto out;
}
@@ -473,7 +472,7 @@ trng_add(str)
*/
if (pt->flgs & HASLOW) {
if (pt->low_time > pt->high_time) {
warn(1, "Upper %s and lower %s time overlap",
pax_warn(1, "Upper %s and lower %s time overlap",
up_pt, str);
(void)free((char *)pt);
return(-1);
@@ -491,7 +490,7 @@ trng_add(str)
return(0);
out:
warn(1, "Time range format is: [yy[mm[dd[hh]]]]mm[.ss][/[c][m]]");
pax_warn(1, "Time range format is: [yy[mm[dd[hh]]]]mm[.ss][/[c][m]]");
return(-1);
}
Loaded 100 of 8734 files, more files were not shown because too many files have changed in this diff. Show more