Compare commits

...
Author SHA1 Message Date
cvs2svn 94bb9d5814 This commit was manufactured by cvs2svn to create tag
'RELENG_4_2_0_RELEASE'.
2000-11-20 04:41:45 +00:00
Jordan K. Hubbard c4a56e8708 MFC: fix MD macros to work for alpha 2000-11-20 04:41:44 +00:00
Kris Kennaway feb7eae7d6 MFC: Fix to previous security fix.
Approved by:	jkh
2000-11-20 01:43:44 +00:00
Matthew Dillon dda7da820c MFC 1.75, fixup write-ordering for bitmap blocks.
Approved: jkh
2000-11-19 22:32:35 +00:00
Jordan K. Hubbard 9047bb35f4 Add a new trouble-shooting entry for people cursed with RealTek equipment.
Submitted by:	"Ted Mittelstaedt" <[email protected]>
2000-11-19 20:03:32 +00:00
Jordan K. Hubbard 9a2f7e0531 Revert to post-tag state (to track RELENG_4 branch) 2000-11-19 19:56:32 +00:00
Jordan K. Hubbard c211da58c2 Get ready for 4.2-release 2000-11-19 19:53:40 +00:00
Dag-Erling Smørgrav 628764b09f MFC: don't cross stripe boundaries when reviving.
Approved by: jkh
2000-11-19 19:46:40 +00:00
Jordan K. Hubbard 3525802771 Get ready for release 2000-11-19 19:45:55 +00:00
Søren Schmidt 3d8ef664f4 MFC:
Fix a bogon..
2000-11-19 12:01:10 +00:00
Matthew Dillon 861c297289 MFC VFS/BIO portion from 1.267. VM/low-mem fixes will be MFC'd later:
KASSERT if the original buffer for a background write was replaced,
    indicating a probable duplicate I/O or passing I/O resulting in
    filesystem corruption.  There are still probable bugs in the I/O
    handling and this will catch them rather then allow the FS to become
    corrupted.

    Remove the BX_BKGRDINPROG test in brelse() that was not working anyway,
    to restore prior NFS functionality (which we also believe does not work
    anyway, but this is safest until we figure out how to fix that whole
    section).

    Fixed bogus_page handling in brelse which could lead to invalidation
    of the wrong page and thus filesystem corruption.

    Fixed foff calculation in biodone().  I/O's with errors or I/O's
    brelse()'d rather then initiated could lead to an attempt to reprocess
    the same b_pages[] element twice, resulting in a 'busy < 0' panic.

Approved: jkh
Reviewed-by: mckusick, Ian Dowse <[email protected]>
Submitted-by: dillon, mckusick, Ian Dowse <[email protected]>
2000-11-19 01:28:49 +00:00
Noriaki Mitsunaga 3b050f4555 The line `device stg at ...' caused syntax error.
It should be `device stg0 at ...'.

Approved by:    [email protected]
Pointed out by: Archie Cobbs <[email protected]>
2000-11-18 09:22:07 +00:00
Bruce A. Mah cdcd9d5b3e MFC: References to security advisories FreeBSD-SA-00:{68,69,70}.
Approved by:	jkh
2000-11-17 21:38:13 +00:00
Jordan K. Hubbard 7f6a9c0a69 MFC: check to see if prp is null before dereferencing it. 2000-11-17 19:47:27 +00:00
Josef Karthauser b2f13aed01 MFC: mdoc(7) police: use certified section headers wherever possible. 2000-11-17 12:57:43 +00:00
Mark Murray 5c7b2d5ad3 Add "standard" ioctl's so that userland programs (notably BIND9)
get better blocking semantics. This update does virtually nothing
except for providing better returns to ioctl() calls.

OK'ed by:	jkh
2000-11-17 06:17:44 +00:00
Bill Paul 1ce5c27e17 MFC: do not allow pcn_probe() to put the chip into 32-bit mode, else
we could hose the lnc driver when we reject a chip that the lnc driver
wants. (Once in 32-bit mode, only a hardware reset can restore 16-bit
mode.)

Ok'ed by: jkh
2000-11-17 00:35:19 +00:00
Daniel Eischen f442ffc6cb MFC: Fix a bug where a statically initialized condition variable
was not getting properly initialized in pthread_cond_signal()
     and pthread_cond_broadcast().

Approved by:	jkh
2000-11-17 00:31:40 +00:00
Brian Somers d78b227eb7 MFC: Be a bit more precise about what ``nat deny_incoming yes'' does.
Approved by: jkh
2000-11-16 21:52:03 +00:00
Daniel Eischen 2872265e8b MFC: Fix a bug where the signal handler can trample on the
stack in which it is currently executing.

Approved by:	jkh
2000-11-16 20:21:51 +00:00
Mark Ovens 2dde879b8f Fix a couple of typos
Approved by:	Warner
2000-11-16 20:18:45 +00:00
Warner Losh fc55308239 Push back the release date. Glad to know people are reading this :-)
Approved by: jkh, indirectly
2000-11-16 19:49:09 +00:00
Bruce A. Mah 094857a6f4 Fix typo: s/compatability/compatibility
PR:		22842
Submitted by:	[email protected]
Approved by:	jkh
2000-11-16 17:50:20 +00:00
Archie Cobbs 96003f3bfe MFC: new netgraph node type ng_one2many(4).
Approved by:	jkh
2000-11-16 17:28:32 +00:00
Archie Cobbs 8d9dfa31e4 MFC: man page for the ichsmb SMBus controller driver.
Approved by:	jkh
2000-11-16 16:45:16 +00:00
Archie Cobbs 7d38299ac1 MFC: now almost all Ethernet drivers support bridging.
Approved by:	jkh
2000-11-16 16:42:51 +00:00
Josef Karthauser 0f95c95ce0 MFC: mdoc(7)ify. 2000-11-16 14:55:21 +00:00
Eivind Eklund 2f3e976316 MFC: More overflow checking. This patch is ugly, but it works. A better fix
will come later.

Approved by:	jkh
2000-11-16 13:50:00 +00:00
Josef Karthauser e9ef6da882 MFC: Build picobsd versions of things in /usr/obj/picobsd/TYPE.
Approved by:	jkh
2000-11-16 10:54:05 +00:00
Søren Schmidt 14f1d91520 Put the probe verboseness behind bootverbose
Approved by: jkh
2000-11-16 10:52:26 +00:00
Josef Karthauser 114637be7c MFC: This file is not required now that all the CRUNCHFLAGS have been
migrated to into the crunch.conf files.

Approved by:	jkh
2000-11-16 10:35:50 +00:00
Josef Karthauser d63e76146f MFC: Deprecate the idea of CRUNCHFLAGS. Use the new crunchgen capability
to roll these up within the crunch.conf file.
     "Tools not Policy"

A lot of these are still too large to fit on a single floppy, but at least
they can be tweaked on a per program basis now.

Approved by:	jkh
2000-11-16 10:33:36 +00:00
Yoshihiro Takahashi caa554eded MFC: Initialize bus_space_handle_t with zero.
Approved by:	jkh
2000-11-16 09:30:57 +00:00
Adrian Chadd 590839bac9 MFC 1.33 -> 1.34 - rename occurances of 'dirname' to not clash with the
libc dirname() function.

Approved by:	jkh
2000-11-16 08:07:04 +00:00
Jeroen Ruigrok van der Werven 03a40a8181 Fix CVS slippage from a merge. Somehow these two lines remained
when they were supposed to be superceded by the following lines. Odd.

Anyway, this fixes the coredumps some people have been experiencing
when a dynamic update was triggered and ifp got to be NULL somehow.

Submitted by:	Masayuki FUKUI <[email protected]>, nsayer
Approved by:	jkh
2000-11-16 07:47:10 +00:00
cvs2svn 02effd650a This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-16 05:58:34 +00:00
Alfred Perlstein 4811a071c0 Add manpages for "httpready" and "dataready" accept filters.
MFC: accept filter documentation
2000-11-16 01:02:10 +00:00
Jonathan Lemon 6450c97eaf MFC: r1.15, match against both vendor and subvendor.
Approved by: jkh
2000-11-15 23:01:52 +00:00
cvs2svn dbdfb8426c This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-15 22:53:03 +00:00
Wilko Bulte 11ace7a939 Document problems booting installmedia on Rawhide and TurboLaser
Approved by:	jkh
2000-11-15 21:13:38 +00:00
Wilko Bulte 030490c861 Document hose mapping problems as observed on TurboLaser. This is the
panic: hose encoding hack would clobber base address thing.

Approved by:	wkb
2000-11-15 21:05:14 +00:00
Josef Karthauser d322036ba8 MFC: Allow crunchgen users to specify custom make arguments within a
crunch.conf file.

Approved by:	jkh
2000-11-15 18:38:48 +00:00
Hajimu UMEMOTO 1c24334eab MFC 1.14->1.15: Don't install route for fec0::/10.
It was wrongly replaced from ff02::/16 by me.

Approved by:	jkh
2000-11-15 07:47:51 +00:00
Jordan K. Hubbard 943aadd9ba MFC: turn off src dists 2000-11-14 21:22:35 +00:00
Justin T. Gibbs bc78c42408 MFC: Only tear down scb_data when it exists. This prevents a panic when
reporting parity engine chips.

Approved by:	jkh
2000-11-14 04:56:52 +00:00
Brian Feldman 0db7b37496 MFC: security fix for inability to disable forwarding. 2000-11-14 03:54:51 +00:00
Bruce A. Mah 061e4cfb4e Some minor changes for release notes:
Some ata(4) items combined into one paragraph.  A bktr(4) release note was
misplaced in the userland section; it has been moved and combined with a
related item.  Mention made of security advisories
FreeBSD-SA-00:{42,61,62,63}.  IP Filter is now supported by rc.conf(5).
Items in userland were reordered to put some of the more user-noticed items
near the top of the section.

Approved by:	jkh
2000-11-14 00:12:32 +00:00
Jordan K. Hubbard 15b8b3197f MFC: use sawmill instead of afterstep. 2000-11-14 00:05:30 +00:00
Søren Schmidt 0bac9ea514 MFC:
Better handling of immediate commands, mainly to solve timeouts
in the atapi-tape code...

Approved by: jkh
2000-11-13 08:22:07 +00:00
Søren Schmidt 3796cca4ca MFC:
Only offset raid disks > 1 on the HPT, this should solve the
boot problems..
However this demands that dangerously dedicated disks use an
offset of at least 10 from the start to not overwrite the
raid config sector on the HPT...

Approved by: jkh
2000-11-13 08:21:26 +00:00
Søren Schmidt a867ada0ba MFC:
Fix the probing problems that caused lost slaves etc..

Approved by: jkh
2000-11-13 08:20:40 +00:00
David Greenman 3fd243ed59 Merged rev 1.76: Fix for a page not busy panic when an IO error occurs. 2000-11-13 07:15:44 +00:00
Adrian Chadd aa0269d269 MFC: des' XPG4 sourced basename(3) / dirname(3) import. This commit
comverts basename(1) and dirname(1) to use the new libc routines.

Approved by:	jkh
2000-11-12 20:33:22 +00:00
Adrian Chadd 1bedf1a9d9 MFC des' import of the XPG4-based basename/devname into RELENG_4.
Approved by:	jkh
2000-11-12 18:01:57 +00:00
Daniel Eischen b431dc1d06 MFC: Correct the logic for checking the emptiness of the waiting queue.
Approved by:	jkh
2000-11-12 12:45:29 +00:00
Jordan K. Hubbard d4bc42673b MFC: stop abusing AUXRELEASETAG 2000-11-12 11:08:08 +00:00
Paul Saab f5a3d92768 MFC: [rev 1.6] -U cannot be an option since some signals start with
U.  -u is the documented behavior so only check for that.

Approved by:	jkh
2000-11-12 10:56:01 +00:00
David Greenman 3a8f36437e MFC: extern.h 1.7, set.c 1.8, tset.c 1.15: Changed some variables
to not conflict with ncurses functions.

Approved by:	jkh
2000-11-12 07:48:29 +00:00
Justin T. Gibbs 9b7f5e33d0 MFC: Only attempt to clear SCSIBUSL on Ultra2 controllers. The
clearing is workaround for a selection timeout bug on U2/U160
     controllers and happens to be illegal on aic7770 (EISA/VL) controllers.

Approved by:	jkh
2000-11-12 07:32:37 +00:00
Warner Losh 0de36b7f01 MFC: Remove broken PAM support from rlogind.
Approved by: jkh
2000-11-12 07:06:12 +00:00
Warner Losh 8c46cbb37c MFC 1.16: Remove broken PAM support. 2000-11-12 07:03:50 +00:00
Warner Losh 2a8a010d89 MFC: 1.33 remove broken PAM support from rshd.c. It doens't allocate
a pty so it isn't suitble for interactive PAM modules.

Approved by: jkh
2000-11-12 07:00:38 +00:00
David E. O'Brien fc1a6475fb MFC: link shared objections agaisnt libgcc[_r]_pic.
(also remove last vestages of -kthread)

Approved by:	JKH
2000-11-11 21:52:40 +00:00
Jordan K. Hubbard 86ab60997c MFC: ipfilter settings 2000-11-11 20:34:25 +00:00
Jordan K. Hubbard e49c1e80d6 MFC: This brings support for IP Filter into rc.network and rc.conf with
the appropriate documentation added to rc.conf(5).  This has been tested
in -current since Oct 6th.

Requested by:	Gerhard Sittig <[email protected]>
2000-11-11 20:33:40 +00:00
Matthew Dillon 2153601e2d MFC 1.68 - fix softupdates crash when quota exceeded
Approved by: jkh
2000-11-11 20:14:03 +00:00
Bruce Evans d9d49643b7 MFC (1.6: quick fix for not writing group descriptor group, inode
bitmaps or block bitmaps before unmount() completes).

PR:		22726
2000-11-11 13:14:15 +00:00
Kris Kennaway 94387ae6b5 MFC: Use secure temporary files
Approved by:    jkh
2000-11-11 09:29:31 +00:00
Kris Kennaway a8c2853402 MFC: Don't use predictable filenames
Approved by:	jkh
2000-11-11 09:27:48 +00:00
Jordan K. Hubbard adccb7dd8e MFC: defeat interactive package's attempts to be interactive 2000-11-11 05:44:40 +00:00
Jun Kuriyama 93d28e902b MFC:
Minimal distribution now gets cropto binaries.
This can avoid waring about "no sshd" at booting after installation.

Approved by:	jkh
2000-11-11 03:39:58 +00:00
Pierre Beyssac c598d32e2a MFC: Add missing delay after card reset.
This fixes random lockups when probing the card at boot time, when
more than 1 similar card is found in the machine.

Approved by:	jkh
2000-11-11 01:34:17 +00:00
Bruce A. Mah 0b9b539a4b Fix some bogons in release and hardware notes: We don't do WD1003
or WD1007 anymore, the noted binutils and libreadline changes actually
pre-dated 4.1, and a note about SMP kernel configs in the
alpha release notes really wasn't applicable.

Submitted by:	obrien
Approved by:	jkh
2000-11-11 00:52:29 +00:00
Dirk Froemberg 7e70e76779 MFC: Fix to=auto in bootptab.
Approved by:	jkh
2000-11-11 00:10:41 +00:00
Yoshihiro Takahashi 71bcec5ecc MFC: The fe driver does not support pnp devices.
Approved by:	jkh
2000-11-11 00:03:27 +00:00
Ruslan Ermilov fbd33be000 MFC: fixed typo in ENABLE_SUIDPERL comment. 2000-11-10 10:48:10 +00:00
Dag-Erling Smørgrav b71d2bbc7a MFC: revert to documented (and historical) defaults.
Approved by:	jkh
2000-11-10 10:40:58 +00:00
Sheldon Hearn a9016801d3 MFC rev 1.114 and rev 1.115: document ENABLE_SUIDPERL. 2000-11-10 09:57:48 +00:00
Jun Kuriyama 000b32e59d MFC:
Make numeric shortcut key behaving correctly in "Installation Media" menu.

Approved by:	jkh
2000-11-10 09:56:44 +00:00
Hajimu UMEMOTO de226580da MFC 1.7->1.8: backout my previous commit (KAME PR 296). foo != TUNNEL will
forbid "ANY" SA from being used for tnunel mode.
2000-11-10 08:33:07 +00:00
Daniel Eischen a668cc9c56 MFC: Sync gdb thread support to match recent changes to the threads
library.

Approved by:	jkh
2000-11-10 00:38:53 +00:00
Daniel Eischen ffdee96937 MFC: bring in signal handling changes, bug fixes, performance
enhancements, and other good stuff.  gdb thread changes to
     follow later tonight.

Approved by:	jkh
2000-11-09 23:46:05 +00:00
Bruce A. Mah bfdd908a13 Merge in release notes for some MFCs that occurred just before
4.1.1-RELEASE, but didn't get noted in RELNOTES.TXT:  sysinstall(8)
"security profiles", setproctitle(3) moved to libc, sed(1) -E,
ln(1) -i, PORTREVISION/PORTEPOCH, asr(4), "nullconsole" in i386
boot loader.

Approved by:	jkh
2000-11-09 17:54:57 +00:00
David Malone 365fede99b MFC: Prevent people from using crontab to read any crontab formatted file.
Approved by:	jkh
2000-11-09 11:05:36 +00:00
Adrian Chadd 14c43c181b MFC rev 1.8 - remove block/char distinction.
Approved by: jkh
2000-11-09 10:48:01 +00:00
Søren Schmidt 88ed042b3e MFC:
Fix the missing slave problem, rearrange reset code a bit to
allow all ATAPI devices to reset proberly.

Approved by: jkh
2000-11-09 10:47:29 +00:00
Jeroen Ruigrok van der Werven 748df8db20 MFC: Change .Os parameters.
PR:		22684
Submitted by:	Akinori YAMADA <[email protected]>
Approved by:	jkh
2000-11-09 05:07:20 +00:00
Doug Barton 43c2a815e6 MFC appropriate bits of 1.16
Approved by:	jkh
2000-11-09 00:51:38 +00:00
Eivind Eklund 1cd6917631 MFC: Make it possible for pam_radius to do challenge/response
Approved by:	jkh
2000-11-09 00:24:26 +00:00
Justin T. Gibbs 25bca4fc11 MFC: Fix potential corruption of the QINFIFO due to an 8bit math botch.
Approved by:	jkh
2000-11-08 14:51:03 +00:00
Mike Smith dcb2aa55b7 MFC: hack to work around lockup with i450GX chipsets in some systems.
PR:		i386/20379
Submitted by:	Masayuki FUKUI <[email protected]>
Approved by:	jkh
2000-11-08 11:26:22 +00:00
Jordan K. Hubbard 7a76c91802 MFC: remove totally-unused lang.c 2000-11-08 08:26:34 +00:00
Marcel Moolenaar 32cacb342f MFC rev 1.43: Fix linux_getdents syscall.
Approved by: jkh
2000-11-08 02:38:24 +00:00
Josef Karthauser d03e26839e MFC: Replace 'more' with 'less', with a link for compatibility. 2000-11-08 02:31:17 +00:00
Josef Karthauser 530fed0a53 MFC: Make PicoBSD smart and not spam /dev/vn0 and /mnt. Now it
uses the first unused vn device and creates a temporary
     mountpoint in /tmp.

Approved by:	jkh
2000-11-08 02:11:54 +00:00
Josef Karthauser ffb6a7024c MFC: Make "dial" compile again by applying the "Miscellaneous build
cleanups and optimizations" from -current.

Approved by:	jkh
2000-11-08 02:08:20 +00:00
John Polstra d31b33b323 MFC 1.49 -> 1.50: Eliminate superfluous "Undefined symbol" error
message.

Approved by:	jkh
2000-11-08 01:31:28 +00:00
Josef Karthauser 25bcc01c6e MFS: Build the kernel in /usr/obj/usr/src/sys/ using 'make buildkernel'. 2000-11-08 01:24:18 +00:00
Josef Karthauser 382a90d48a MFC: Clean up a comment.
Approved by:	jkh
2000-11-08 01:07:25 +00:00
Alfred Perlstein 3ab32b5b73 Document System V IPC tunables.
Approved by: jkh
2000-11-08 00:30:05 +00:00
Josef Karthauser 6ee02e26bd MFC: Create /tmp with permissions 01777.
Approved:	jkh
2000-11-07 23:55:32 +00:00
Alfred Perlstein d090045f9d Make /proc/<pid> appear as a directory rather than a regular file.
MFC: 1.85
Approved by: jkh
2000-11-07 23:40:07 +00:00
Josef Karthauser 9bab369930 MFC: Sync with -current.
Approved by:	jkh
2000-11-07 23:36:45 +00:00
Jordan K. Hubbard bc38f852e6 MFC: High security should also set securelevel 2000-11-07 23:08:17 +00:00
Wilko Bulte 1ebea11a0d Document cd(4) attach failures on Qlogic/isp driven adapters.
PR: alpha/22650
Approved by: jkh
2000-11-07 22:40:16 +00:00
Semen Ustimenko b44ae9ed6b tx(4) driver moved to the list of using miibus.
PR:		kern/22556
2000-11-07 20:28:23 +00:00
John Baldwin 629f76a0c4 MFC: The Number of Fixed Disks BIOS variable is a byte, not a short.
Approved by:	jkh
2000-11-07 19:17:08 +00:00
Alfred Perlstein e2ed922ae2 Don't get stuck mapping past the end of objects or objects of zero length.
MFC: 1.264
2000-11-07 18:32:15 +00:00
Matthew Dillon 32e4857d89 MFC 1.73. Cannot do MALLOC while holding ACQUIRE_LOCK.
Approved by: jkh
2000-11-07 16:15:40 +00:00
Don Lewis dd74e36a3b MFC:
Set MAKEDEVPATH in sysinstall to include the necessary /mnt2 stuff
	before starting the fixit shell so that MAKEDEV on the fixit floppy
	(which would otherwise hardcode its path to /sbin:/bin) is usable.

	Search for mknod in the path instead of hardcoding /sbin/mknod
	in MAKEDEV.

PR:		misc/21241
Approved by:	jkh
2000-11-07 11:02:09 +00:00
Ruslan Ermilov a26a9b88d2 MFC: (rev 1.149) fixed the IP_FW_ADD security breach.
Approved by:	jkh
2000-11-07 09:50:58 +00:00
Jordan K. Hubbard e0236ede22 MFC: consistency mod 2000-11-07 08:47:38 +00:00
Hajimu UMEMOTO 1b32b7c058 MFC 1.44->1.45: Make compilable. if_fddisubr.c depended on
sys/malloc.h by my previous commit.

Approved by:	jkh
2000-11-07 07:41:12 +00:00
Mike Smith 3a6eae71c4 MFC: ignore resources with a size of 0.
Thanks to Ceren Ercen of Linuxcare Labs for testing this on an IBM
X20 (the problem system in the original report).

Submitted by:	Masayuki FUKUI <[email protected]>
2000-11-07 05:53:55 +00:00
Bruce Evans 0683627c64 MFC (pass the correct inode number to VFS_VGET() for mknod()).
Approved by:	jkh
2000-11-07 03:09:52 +00:00
Jun Kuriyama a2717ad2cd MFC: Trim right column messages to display correctly in 80-column terminal.
(1.280)

Approved by:	jkh
2000-11-06 23:41:16 +00:00
Jordan K. Hubbard 811926474f Add ATA raid controller support for sysinstall.
Submitted by:	[email protected]
2000-11-06 23:09:18 +00:00
Jordan K. Hubbard b537d61195 MFC: removed defunct lndir 2000-11-06 23:02:52 +00:00
Jeroen Ruigrok van der Werven e32af20ae8 Resolve conflicts on aa_patch merge. 2000-11-06 16:48:44 +00:00
Dag-Erling Smørgrav 10f272178c MFC: check that p->p_pptr is not NULL.
Approved by:	jkh
2000-11-06 03:24:10 +00:00
Jordan K. Hubbard 2c0b7388a1 removed duplicated "start" message for world target. 2000-11-05 22:44:47 +00:00
Jordan K. Hubbard 7add817b67 Change comment characters to avoid matching release milestone output. 2000-11-05 22:42:11 +00:00
Jordan K. Hubbard 7579394d0f fix a comment line to make grepping the output for milestones easier. 2000-11-05 22:41:06 +00:00
Bruce Evans 319d05c53e MFC (support filesystems with the not-so-new "sparse_superblocks"
feature).

Approved by:	jkh
2000-11-05 19:17:40 +00:00
Brian Somers 1e977ddff9 Fix sort order
Approved by:	jkh
2000-11-05 12:30:01 +00:00
David E. O'Brien 6d5b4e3551 MFC: work around for erroneous Microsoft DHCP servers
Approved by:	JKH
2000-11-05 09:37:06 +00:00
David E. O'Brien d51d8b346a MFC: sync with rev 1.18.
Approved by:	JKH
2000-11-05 09:34:10 +00:00
David E. O'Brien 5d6100f467 MFC: rev 1.16 (SHRT_MIN definition was 4 bits too long)
Approved by:	JKH
2000-11-05 09:21:42 +00:00
Marcel Moolenaar e43fc423f2 MFC rev 1.46: Fix parallel build breakage
Approved by: jkh
2000-11-05 07:41:42 +00:00
Warner Losh e627475308 MFC: sendmail info
delete bogus security enhancement text.  This hasn't been MFC'd.

Approved by: jkh
2000-11-05 04:55:19 +00:00
Bill Fenner 7c12e22f87 Nasty hack to handle tcpdump alignment issues on Alpha.
This is being committed directly to RELENG_4 as a bandaid
 for 4.2 and a better solution will be created soon.

PR:		alpha/22314
Submitted by:	gallatin
Approved by:	jkh
2000-11-05 00:23:11 +00:00
Warner Losh 6b6e598df3 MFC: top 1.6 (another formatting thing)
Approved by: jkh
2000-11-04 23:51:42 +00:00
Søren Schmidt 29df81fde3 Restore the dump fix Paul Saab introduced in 1.60.2.7 and that I
accidently removed in the MFC, sorry about that...

Approwed by: jkh
2000-11-04 23:04:52 +00:00
Kris Kennaway 30abbf3321 MFC: tcsh temporary file creation fix
Approved by:	jkh
2000-11-04 22:40:04 +00:00
Gregory Neil Shapiro 2a5fb1ce5f MFC: Grammar fix
Approved by:	jkh
2000-11-04 17:57:38 +00:00
Søren Schmidt 19f40184c5 MFC:
Fix probing of CMD646 controllers..
Dont allow DMA on broken HW.

Approved by: jkh
2000-11-04 12:33:17 +00:00
Jordan K. Hubbard 56953b4485 Another truncation fix to look right on 80x24 screens.
Submitted by:	pho
2000-11-04 10:40:29 +00:00
Julian Elischer 0e3f021f45 MFC: 1.30-1.31
Swap the order of two tags in the PADI and PADS packets to
use the same order aa usoft. We shouldn't need to do this but telstra
have deployed switches (from an unknown supplier) which seem to have
been only tested with usoft and require the tags in a particular order,
despite the fact that teh standard doesn't specify any order.

MFC ok'd by jkh.
2000-11-04 08:23:16 +00:00
David E. O'Brien 46cf413b53 MFC: declare a module version so the `linux' module has a way to depend on
the osf1 module.

Approved by:	JKH
2000-11-04 07:35:46 +00:00
David E. O'Brien cc0970ff4b MFC: have `linux' module on Alpha too.
Approved by:	JKH
2000-11-04 07:32:31 +00:00
David E. O'Brien 4c90f9e0ee MFC: AlphaLinux compat support.
Approved by:	JKH
2000-11-04 07:30:08 +00:00
cvs2svn 481ac9c630 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-04 07:21:38 +00:00
Mike Smith 32aa00d05a MFC: don't drop I/O when we run out of controller commands, queue it
instead.

Approved by:	jkh
2000-11-04 03:12:46 +00:00
Hajimu UMEMOTO c8f860d19c MFC 1.6->1.7: check whether the packet is tunnel mode.
reported from <[email protected]>

Approved by:	jkh
2000-11-03 16:16:51 +00:00
Boris Popov 060055a197 MFC: Add PDIRUNLOCK flag which should be set by filesystem if it unlocks
parent vnode in its lookup() function. nfs and ex2fs left untouched in this
pass.

Requested by:	assar
Approved by:	jkh
2000-11-03 15:55:49 +00:00
David E. O'Brien 90e8665be1 Remove a stay include.
Approved by:	JKH
2000-11-03 13:11:18 +00:00
Jordan K. Hubbard 841210f7dc MFC: update number of ports 2000-11-03 10:04:47 +00:00
Dirk Froemberg 9f358744a3 MFC: /etc/mail/sendmail.cw -> /etc/mail/local-host-names.
Approved by:	jkh
2000-11-03 07:23:50 +00:00
Bill Paul 858366b913 MFC: two ethernet driver fixes. Remember to bzero() mediainfo structs
in if_dc.c and tweak broadcast packet reception in if_pcn.c

Approved by: jkh
2000-11-03 05:53:28 +00:00
Brian Somers fd90637664 Create include/netnatm
Approved by:	jkh
2000-11-03 01:30:58 +00:00
Gregory Neil Shapiro 408e582b0e Bring back post-4.1 sendmail-related changes for the 4.2 release notes
Approved by:	jkh
2000-11-03 00:30:45 +00:00
David E. O'Brien 75f73770ab MFC: allow AlphaLinux compat bits to build.
Approved by:	JKH
2000-11-02 23:31:28 +00:00
Andrew Gallatin 7efae94e47 MFC 1.29 fix sizeof(int) != sizeof(long) brokenness for SYSCTL_LONG
Approved by: jkh
2000-11-02 21:17:53 +00:00
Andrew Gallatin 33b6d18210 MFC: keep up with prototypes for getrlimit and setrlimit which just changed
Approved by: jkh
2000-11-02 20:39:45 +00:00
Sheldon Hearn 7da66d3fdf MFC rev 1.17: compare symlinks properly
Approved by:	jkh
2000-11-02 20:20:35 +00:00
Sheldon Hearn 72c77779c4 (null commit)
The previous change should have been attributed as follows:

PR:		conf/22548
Submitted by:	Peter Pentchev <[email protected]>
2000-11-02 19:27:06 +00:00
Sheldon Hearn c7fce641bf Fix problems in rev 1.4.2.1:
* There's a reason dougb's new style for rc* involves quoting shell
   variables -- failure to do so can cause problems.
 * In this case, leaving oldscripts unquoted caused it to fail in the
   case where oldscripts contained the names of multiple scripts,
   space-delimited.
 * Since I'm dicking with these lines anyway, may as well fix line
   overflow.
2000-11-02 19:24:36 +00:00
MIHIRA Sanpei Yoshiro 7e71ec42c3 note: support for Fujitsu MB86960A/MB86965A based PC-Card Ethernet
cards is back.

Approved by:	jkh
2000-11-02 15:24:47 +00:00
Jeroen Ruigrok van der Werven b6592a50f9 Fix and resolve conflicts of the BIND 8.2.3-T6B MFC.
Approved by:	jkh
2000-11-02 14:08:37 +00:00
Jordan K. Hubbard eb161583b8 Bring back all the 4.1-relative features so that people can
see what changed between major releases.  Mark things that came
into 4.1.1 accordingly so that those who *did* upgrade to 4.1.1
will know those are not new features for them.  Also label this
as 4.2-BETA since the releng4.freebsd.org server has switched
to labelling its snapshots 4.2-BETA.
2000-11-02 11:07:56 +00:00
Ruslan Ermilov f175586f2e MFC: (rev 1.46) Fixed the bug in icmp_error().
The amount of data we copy from the original IP datagram into the
ICMP message was computed incorrectly for IP packets with payload
less than 8 bytes.

Approved by:	jkh
2000-11-02 11:00:47 +00:00
Kris Kennaway 3e1a2c5766 MFC: Use a secure temporary filename 2000-11-02 10:30:07 +00:00
Sheldon Hearn 079dd37abb MFC rev 1.3: Fix broken cross-references. 2000-11-02 09:33:37 +00:00
Marcel Moolenaar c5f7690f51 Regen after MFC of rev 1.82: {o|}{g|s}rlimit prototype fix. 2000-11-02 04:29:32 +00:00
Marcel Moolenaar 97fda33f30 MFC: rev 1.82: Fix prototypes for {o|}{g|s}rlimit. 2000-11-02 04:25:15 +00:00
David E. O'Brien f2e9f1dde2 MFC: rev 1.34 (test -z rather than -n)
Approved by:	JKH
2000-11-02 04:21:07 +00:00
Yoshihiro Takahashi 55b68a060c Merged from sys/conf/files.i386 revision 1.307.2.8.
Approved by:	jkh
2000-11-02 01:41:17 +00:00
Bill Paul 57d1a425a1 MFC: fix resource deallocation bugs in these drivers, which have apparently
been here a while (and which I cut&pasted several times over :/).

Ok'd by: jkh
2000-11-02 00:04:28 +00:00
John Polstra 5da3208870 MFC 1.24 -> 1.25: Call _thread_init() at the beginning of
pthread_mutex_lock() if necessary, to work around a bug in old
versions of libgcc_r.a.
2000-11-01 20:32:36 +00:00
Sean Eric Fagan 8e2923bdf5 Be much, much more paranoid on allowing I/O operations on procfs nodes.
Do this by (for now, at least) re-instating the previously-removed CHECKIO()
macro.

Reviewed by:	Robert Watson <[email protected]>, Kris Kennaway <[email protected]>
2000-11-01 20:19:48 +00:00
David E. O'Brien d4dc61bd68 MFC: rev 1.324 (connect the new sources in /sys/compat/linux) 2000-11-01 20:06:37 +00:00
Dag-Erling Smørgrav f0193e779f MFC: fix interaction with libfetch and tar.
Approved by:	jkh
2000-11-01 19:57:41 +00:00
Alan Cox f40246f3c5 MFC: vendor 0x1166 is now officially listed as ServerWorks,
rather than RCC, by www.pcisig.com.
2000-11-01 19:53:04 +00:00
Eivind Eklund 11b24dff1f MFC: Fix jail hostname overflow 2000-11-01 19:38:54 +00:00
David E. O'Brien cd698d78ca I took rev 1.55, when I should have taken rev 1.53. 2000-11-01 19:36:44 +00:00
David E. O'Brien fb09abd252 MFC: MI/MD split and allow the building of the syscall bits at compile time 2000-11-01 19:35:31 +00:00
David E. O'Brien 9a5ebe6a25 MFC: Collect the MD syscalls from /sys/compat/linux. 2000-11-01 19:34:50 +00:00
David E. O'Brien 6906dfca70 MFC: Split the Linux compat bits into an MI/MD division. 2000-11-01 19:25:32 +00:00
Alan Cox 5a699a7e08 MFC: [rev 1.777] Add a missing "break;" to the Cypress case in isab_match(). 2000-11-01 19:19:36 +00:00
Robert Watson e8cf49b044 o MFC of updates describing sysctls for managing jail
o Revisions 1.16 - 1.18, including Sheldon's fixes to my nasty nroff-ness.

Approved by:	 jkh
2000-11-01 19:10:06 +00:00
Bill Paul bf70392963 MFC: Close PR #21078: fix multicast filter programming on the Pegasus
USB ethernet controller
2000-11-01 18:28:22 +00:00
Robert Watson 6932233cbd o MFC of System V IPC disabling in jail():
1.8       +6 -1      src/sys/kern/kern_jail.c
  1.26      +17 -1     src/sys/kern/sysv_msg.c
  1.29      +14 -1     src/sys/kern/sysv_sem.c
  1.49      +20 -1     src/sys/kern/sysv_shm.c
  1.10      +2 -1      src/sys/sys/jail.h

  Log:
  o Deny access to System V IPC from within jail by default, as in the
    current implementation, jail neither virtualizes the Sys V IPC namespace,
    nor provides inter-jail protections on IPC objects.
  o Support for System V IPC can be enabled by setting jail.sysvipc_allowed=1
    using sysctl.
  o This is not the "real fix" which involves virtualizing the System V
    IPC namespace, but prevents processes within jail from influencing those
    outside of jail when not approved by the administrator.

  Reported by:  Paulo Fragoso <[email protected]>
2000-11-01 17:58:06 +00:00
Søren Schmidt ad6901d1bc MFC:
Update the config gathering code for Promise & HPT controllers

Permission from: jkh
2000-11-01 17:54:26 +00:00
Hajimu UMEMOTO 37c24b4288 MFC: IPv6 was not work on FDDI. 2000-11-01 17:21:09 +00:00
Ruslan Ermilov 77c92c559c MFC: (rev 1.78) Wrong checksum may have been computed for certain UDP packets. 2000-11-01 17:08:50 +00:00
Scott Long ab12ec5d7a MFC: Document that the xpt device will accept XPT_PATH_INQ requests 2000-11-01 16:39:13 +00:00
Ruslan Ermilov e5c9f1ac8f MFC: (rev 1.148)
Fixed checksum calculation for reassembled packets before diverting.
2000-11-01 11:24:44 +00:00
Yoshihiro Takahashi 0a3205371d Merged from sys/i386/conf/GENERIC revision 1.246.2.20. 2000-11-01 10:35:38 +00:00
Ralf S. Engelschall 2ffc61c6f6 MFC 1.127:
Don't use the old URL to the GNU ftp location any more:
ftp://prep.ai.mit.edu/pub/gnu/ -> ftp://ftp.gnu.org/gnu/
2000-11-01 10:26:13 +00:00
Roger Hardiman 3b45a3e111 MFC Update to driver 2.18 2000-11-01 09:36:14 +00:00
cvs2svn c0c388d0a8 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-01 08:49:49 +00:00
Doug Barton f7b471802e * Adopt solo MAINTAINER here too
* MFC changes from 1.12 through 1.15
2000-11-01 08:34:30 +00:00
Hajimu UMEMOTO 1709af4eab MFC:
- ipv6_prefix_* and ipv6_ifconfig_* work for end node
  - rtsol should be work for only one interface
  - new variable ipv6_defaultrouter is added
  - option name of rtadvd in comment are corrected
  - ipv6_firewall_enable, ipv6_firewall_type, ipv6_firewall_script,
    ipv6_firewall_logging are added to introduce rc.firewall6.

  IPv6 firewall rule is just starting point and should be brushed up.
  This commit includes PR18621, PR21694, PR22051.
2000-11-01 07:21:46 +00:00
Nick Hibma c2c0adba66 Remove the uscanner driver from GENERIC when building a floppy 2000-11-01 01:38:37 +00:00
Nick Hibma 76875838ba Bruce was just slightly quicker. Update uscanner entry and umodem. 2000-11-01 01:20:52 +00:00
John Polstra 07d148a1cb MFC 1.4 -> 1.5: Fix immediate segmentation violations on
multithreaded programs, caused by an uninitialized mutex in
libgcc_r.
2000-11-01 01:20:37 +00:00
Nick Hibma c774147aa5 MFC: Add the entry for umodem0 2000-11-01 01:19:09 +00:00
Nick Hibma 201f935b5b MFC: bugfix: cut&paste error
Submitted by:	Daniel O'Connor <[email protected]>
2000-11-01 00:48:41 +00:00
Brian Somers 986b7e9858 MFC: Make fd_set's dynamic based on getdtablesize().
PR:		22319
2000-11-01 00:19:25 +00:00
Bruce A. Mah 2184397127 MFC: uscanner(4). 2000-11-01 00:02:16 +00:00
Brian Somers 5968c93c81 MFC: Correct the byte-order of the address family passed to bpf 2000-11-01 00:01:39 +00:00
Brian Somers 301b91dbdc MFC: #include fcntl.h to get F_SETFL 2000-10-31 23:51:10 +00:00
Brian Somers 0c1d6450c4 MFC: ignore case when counting mail rejects 2000-10-31 23:47:27 +00:00
Nick Hibma c5eb68505f MFC: Remove the use of the __P() macro 2000-10-31 23:23:30 +00:00
Nick Hibma 909d8a2fb4 MFC: the USB scanner driver. See SANE home page for supported USB scanners. 2000-10-31 23:16:09 +00:00
Alan Cox fa16624e45 MFC: [rev 1.93] Add missing call to knote_fdclose() in setugidsafety()
and fdcloseexec().
2000-10-31 23:11:23 +00:00
Nick Hibma 31c17f7fef MFC: Make sure usb_hid_descriptor_t is packed.
Add some more defines for HID descriptor decoding.
2000-10-31 23:03:00 +00:00
Nick Hibma 698c3d4e3b MFC: Add some extra defines for signals. 2000-10-31 23:01:16 +00:00
Alan Cox 6f3afe6f38 MFC: [rev 1.83] and [rev 1.85]
_aio_aqueue(): Change kevent registration to use its own struct file pointer.
  Eliminate redundant initialization.
 aio_qphysio(): Eliminate redundant out-of-range check.
 aio_physwakeup(): Eliminate redundant synchronization.
2000-10-31 23:00:40 +00:00
Nick Hibma d819060818 MFC: Additional defines for constants
Update the product name also if the product string is not defined in the
device.
Make the routines less noisy
Add the possibility for unconfiguring the device.
Comment the code.
2000-10-31 22:59:35 +00:00
Nick Hibma eb2c4da6ad MFC: The driver for the 3Com 5605 USB modem. 2000-10-31 22:51:23 +00:00
Cameron Grant ac8b2ee890 set channel reference count to 0 on close, fixes EBUSY after opening /dev/dsp
seperately for read and write.

handle AFMT_QUERY correctly in SNDCTL_DSP_SETFMT ioctl calls
2000-10-31 22:43:31 +00:00
Matt Jacob fc76fa3e6a MFC: note a few SCSI-3 items for data compression page.
Change copyright to me- per practive of scsi_sa.c that
Justin had me do a while back.
2000-10-31 22:38:41 +00:00
Nick Hibma 25197e78b0 MFC: Remove unnecessary includes and remove use of __P() macros. 2000-10-31 22:36:05 +00:00
Nick Hibma 25f558ea7a MFC: Make the hub more lenient towards devices that disconnect themselves
once in a while. Also convert source to ANSI.
2000-10-31 22:33:54 +00:00
Nick Hibma d3328cdb02 MFC: Remove an unused include. Also convert source to ANSI 2000-10-31 22:31:29 +00:00
Nick Hibma 4f85095a64 MFC 1.41: Make sure the endpoint list is set to zero on attach.
Also Remove the _P() macros
2000-10-31 22:27:59 +00:00
Justin T. Gibbs 71823a20cb MFC: Allow path and engine inquiries via the XPT device. Return ENOTSUP for
unsupported opcodes.
2000-10-31 22:09:59 +00:00
Bruce A. Mah 89c8109564 MFC: New FSF C/C++ runtime initialization code, cvs(1)->1.11. 2000-10-31 22:02:30 +00:00
Jordan K. Hubbard 4128135ed3 MFC: make the fixit floppy work on serial consoles 2000-10-31 21:33:24 +00:00
David E. O'Brien 92028d4248 Not all source files are applicable for the AlphaLinux version. 2000-10-31 21:05:36 +00:00
Bruce A. Mah f8be0905af MFC: Utilize the "-o" (origin) option recently added to pkg_create(1)
and pkg_info(1), for more accurate determination of the
"up-to-date-ness" of installed packages.

pkg_version.pl		1.12->1.15
pkg_version.1		1.9->1.10
2000-10-31 20:43:30 +00:00
Hajimu UMEMOTO 319e015824 MFC: be careful on mbuf overrun on ctlinput.
short icmp6 packet may be able to panic the kernel.
sync with kame.
2000-10-31 19:07:09 +00:00
Hajimu UMEMOTO 5d0c3d3a5f MFC:
kame 1.32 -> 1.33
  in add_m6fc(), set interface list for all cases.
  in response to a report from Hoerdt Mickael.

  kame 1.31 -> 1.32
  discard PIM register if the version of the inner packet is incorrect (i.e. IPv6)
  (according to clarfication of recent discussion in the IETF pim ML)
2000-10-31 19:03:00 +00:00
Hajimu UMEMOTO 2f5f368761 MFC: make sure we have root priv on SIOCSIFPHY*. from thorpej@netbsd 2000-10-31 18:58:54 +00:00
Justin T. Gibbs f10d372922 MFC: Generate the bmov opcode for all mov operatoins. 2000-10-31 18:55:16 +00:00
Justin T. Gibbs 1fbfe32d36 MFC: Bring to parity with -current. See today's -current commit log for details 2000-10-31 18:54:59 +00:00
Justin T. Gibbs 39b124d243 MFC: Add the AHC_DEBUG_SEQUENCER option. 2000-10-31 18:54:16 +00:00
Justin T. Gibbs c9358463e6 MFC: 0x03F -> 0x3F for style consistency. 2000-10-31 18:54:02 +00:00
Justin T. Gibbs 8a32918f75 MFC: Allow async updates to modify tag queuing behavior. 2000-10-31 18:53:41 +00:00
Hajimu UMEMOTO ed6939eedc MFC: make pr_type type meet with struct protosw. sync with kame 2000-10-31 18:49:08 +00:00
Hajimu UMEMOTO f45aa6ece3 MFC: add missing \n. sync with kame. 2000-10-31 18:47:12 +00:00
Hajimu UMEMOTO b428eacddc MFC: add attrbute(packed) to union def with specific align constraitn.
move file static variable to auto variable, make in6_cksum() work better in
kernel-MP environment.  sync with kame.
2000-10-31 18:45:20 +00:00
Hajimu UMEMOTO 1c48522b5c MFC: warn that setsockopt/sysctl # spaces are shared among *BSD,
and should better be consulted with KAME guys if you want a number.
2000-10-31 17:56:11 +00:00
Hajimu UMEMOTO 61b1a20e2e MFC: add missing splx(), when outgoing interface queue is full on tunnelled
IPsec packet output.  KAME PR 280.
2000-10-31 17:54:39 +00:00
Gregory Neil Shapiro 0145767456 Sync Makefile with HEAD verison (only differences were spacing) 2000-10-31 17:04:10 +00:00
Roger Hardiman 73635e38d7 MFC: Fix typo in comments 2000-10-31 14:31:27 +00:00
David E. O'Brien 9550cfcb34 Enter 4.2-BETA. This is to give Ports maintainers a few days to see
how badly their ports will build on a 4.2 machine.
2000-10-31 11:52:02 +00:00
David E. O'Brien c94c3331d4 MFC: rev 1.2 (quiet -Wall) 2000-10-31 11:37:29 +00:00
David E. O'Brien a78b62c88d MFC.
* Bring back the guts of crt{i,n}.S.  This allows C++ exceptions to work
when using the egcs and gcc-devel ports, along with GCC built from stock
public FSF sources.  With out this change, FreeBSD will be removed from
the list of systems GCC 3.0 must be evaluated on before release.

* Switch from our own crt{begin,in} to those created from GCC's crtstuff.c.

* Break out our ELF branding bits into a seperate file.  Currently this
is now included by our crt1.c files (since this functionality was part of
our native crtbegin.c).  Later crtbrand.o will be merged in the creation
2000-10-31 09:44:58 +00:00
Doug Barton 9bbd81150b MFC: Finish conditionalizing the build of UUCP bits.
PR:		bin/21321
2000-10-31 09:44:13 +00:00
David E. O'Brien 14ffe3e0e8 MFC: update to `cvs' version 1.11.
Approved by:	peter
2000-10-31 09:37:58 +00:00
David E. O'Brien ac8bbc33db MFC: rev 1.17 (cruft removal) 2000-10-31 09:17:43 +00:00
Ruslan Ermilov 87c6ae2554 MFC: the latest PPTP and misc fixes. 2000-10-31 08:48:22 +00:00
David Malone feed7018e0 MFC: M_ZERO changes. Justin asked that I keep this code in sync
between -current and -stable.
2000-10-31 08:09:51 +00:00
Paul Saab 36d2192295 MFC: Vendor supplied patches to fix procname ($0)
Reviewed by:	markm
2000-10-31 08:05:29 +00:00
Yoshihiro Takahashi 6caa16e74d MFC: Disabled EGA/VGA 1bpp/4bpp modes support. 2000-10-31 08:00:06 +00:00
Guido van Rooij ec4042037e MFC: Now that the amount of (pseudo) interfaces is growing with IPv6,
get rid of stupid upperbound on the amount of interfaces (was 8).
2000-10-31 07:38:58 +00:00
Maxim Sobolev 2bb0bf4c4d MFC:
Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to record
a path of the port from which package has been created within FreeBSD Ports
Collection and will be used to improve pkg_version(1) and similar tools.

Reviewed by:		freebsd-ports, jkh
Approved by:		jkh
MFC Approved by:	jkh
2000-10-31 07:21:28 +00:00
MIHIRA Sanpei Yoshiro 543cc34999 [MFC]:
remove duplicated item.
"Laneed Wireless card" is "ELECOM *Laneed*
Air@Hawk/LD-WL11/PCC Wireless card" which
was already committed.

Suggested by:	YAMAMOTO Shigeru <[email protected]>
2000-10-31 06:22:19 +00:00
Kris Kennaway 97c3cca65c MFC: Filter more magic environment variables, and do some string function
paranoia.
2000-10-31 05:31:47 +00:00
Brian Somers 0a43e22605 MFC: Mention that ``nat deny_incoming'' drops unrecognised IP packets.
Requested by: kris
2000-10-31 02:26:48 +00:00
David E. O'Brien 5b035dd353 Grr. I did it again! The path to the GCC bits is different than in -CURRENT. 2000-10-31 01:46:39 +00:00
Jordan K. Hubbard d52061eeea Back out changes pending proper testing in -current. 2000-10-31 01:32:23 +00:00
Jordan K. Hubbard 73a7ce78b6 Back out these changes pending prior testing in -current. 2000-10-31 01:29:18 +00:00
David E. O'Brien 71a1f15060 MFC: rev 1.2 (use crt{begin,end}.asm rather than crtstuff.c on Alpha) 2000-10-31 01:07:43 +00:00
Mike Smith 1a295853fa MFC: reorder 'tw*' after 'twe*' so that the 3ware control interface can
be created.
2000-10-31 00:22:24 +00:00
Bill Paul 9cb49a199a MFC: call dc_apply_fixup() in dc_setcfg() for MII case. 2000-10-31 00:09:30 +00:00
Bill Paul 7ca3e11d50 MFC: fix reg variable in dc_apply_fixup() to be correct type. 2000-10-30 23:52:39 +00:00
David E. O'Brien 9269b676d5 Grrr. wrong Makefile, the path to the GCC bits is different than in -CURRENT. 2000-10-30 22:09:56 +00:00
Bruce A. Mah f1c6262111 MFC: chio(1) enhancements, libisc import, OpenSSH->2.2.0. 2000-10-30 21:44:09 +00:00
David E. O'Brien 0512671f66 MFC.
* Bring back the guts of crt{i,n}.S.  This allows C++ exceptions to work
when using the egcs and gcc-devel ports, along with GCC built from stock
public FSF sources.  With out this change, FreeBSD will be removed from
the list of systems GCC 3.0 must be evaluated on before release.

* Switch from our own crt{begin,in} to those created from GCC's crtstuff.c.

* Break out our ELF branding bits into a seperate file.  Currently this
is now included by our crt1.c files (since this functionality was part of
our native crtbegin.c).  Later crtbrand.o will be merged in the creation
of crti.o.
2000-10-30 20:32:25 +00:00
Dag-Erling Smørgrav 7f9c40064e MFC: Add proc/pid/stat and proc/pid/status. Make proc/cpuinfo correspond
better to what Linux would show. Avoid dividing by stathz when it's 0.
Disallow CREATE. PID directories are directories, not regular files.

Note that the information in proc/pid/stat and proc/pid/status is not
entirely correct (many fields are hardcoded to 0). I know how to fix most
of them, but do not have time to do so (and test the changes properly)
before 4.2, so this will have to do for now.
2000-10-30 19:57:04 +00:00
Bruce A. Mah e9ff36fac3 Back out an item I duplicated on the mly(4) driver. 2000-10-30 19:31:12 +00:00
Bruce A. Mah 8d34888846 Fix typo: Melco Inc. sells LUA-TX, not LU-ATX.
PR:		misc/22383
Submitted by:	WAKABAYASHI Susumu <[email protected]>
2000-10-30 19:09:14 +00:00
Bruce A. Mah cc11472ec1 MFC: mly(4) driver and fixes for twe(4) driver.
Submitted by:	msmith
2000-10-30 18:53:54 +00:00
Brian Somers 5f1dceb3e9 MFC: Drop PKT_ALIAS_IGNORED packets if ``nat deny_incoming yes'' is in effect.
Approved by: rwatson, ru
2000-10-30 18:02:55 +00:00
Hajimu UMEMOTO 388df36ee5 MFC: Sync with latest manpage of rtadvd, and ripped MIP6 related
description out.  MIP6 is not merged, yet.

	rtadvd.8: 1.4->1.5
	rtadvd.conf.5: 1.2->1.3
2000-10-30 17:39:46 +00:00
Hajimu UMEMOTO e6bee751cd MFC 1.3->1.4: some clarification on if_getmtu()
- avoid to use freed (by freeifaddrs) data
  - 1st try getifaddrs, then try SIOCGIFMTU as the last resort
2000-10-30 17:35:37 +00:00
Søren Schmidt 692a63bf0b MFC:
Update the Promise RAID code, there are differences between BIOS
version unfortunately...
2000-10-30 17:35:00 +00:00
Hajimu UMEMOTO 041b9e2c6b MFC 1.1->1.2: defined HAVE_IFM_DATA for (free|net|open)bsd 2000-10-30 17:32:52 +00:00
Hajimu UMEMOTO e8a46f920b MFC 1.16->1.17: Make RES_OPTIONS=inet6 work. 2000-10-30 17:30:49 +00:00
Søren Schmidt 39edd768d9 Add the ATA RAID device. 2000-10-30 17:30:28 +00:00
Munechika SUMIKAWA 6fe49b88de MFC: fix memory leak.
Obtained from:	KAME
2000-10-30 17:11:04 +00:00
Dag-Erling Smørgrav d7e8c30f67 MFC: add mlinks. 2000-10-30 14:51:37 +00:00
Dag-Erling Smørgrav dde06f5b82 MFC: document FTP_PASSIVE_MODE and FTP_PASSWORD. 2000-10-30 14:51:09 +00:00
Dag-Erling Smørgrav ab2b55916e MFC: various bug fixes and additional error checking. 2000-10-30 14:50:33 +00:00
cvs2svn 4cc01a5a9b This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-30 14:49:27 +00:00
MIHIRA Sanpei Yoshiro 5c6ab3f47b MFC:
add Toshiba Mobile HDD MEHDD20A (Type II)
(Shigeru Ishida <[email protected]>, [bsd-nomads:14564])

add TDK Grey Cell GCS2000 Ethernet Card
(PR: 22184)

add new wi cards(tested by imp)
2000-10-30 14:36:05 +00:00
MIHIRA Sanpei Yoshiro c790f8bfe8 Merge pccard.conf from current.
1.138 -> 1.140
        1.143 -> 1.144
2000-10-30 14:17:01 +00:00
David Malone 5b32900e64 MFC: Sync with syslogd in -current. Includes:
- ability to filter on hosts,
 - flag to disable translation of kern facility messages,
 - fix for 1 byte unexploitable buffer overflow,
 - style cleanups and man page changes.
2000-10-30 11:42:27 +00:00
David E. O'Brien e26d295c55 MFC: remove LPT, parallel 'geek' port, USB "Human Interface Devices", and
USB printers.
2000-10-30 11:22:28 +00:00
David Malone 2bdc520c67 MFC: Vairous cleanups and fixes for the bitstring macros. 2000-10-30 11:21:04 +00:00
David E. O'Brien 37339f7a3a MFC: MI part of MI/MD split of the Linux compat bits. 2000-10-30 10:51:37 +00:00
David E. O'Brien 53b661949e Catch a left over reference to "/a". 2000-10-30 10:45:18 +00:00
David E. O'Brien 1b9efae72e MFC rev 1.9,10 (<space> not <tab> before VCS ID) 2000-10-30 10:41:39 +00:00
David E. O'Brien f2c7ae09ca MFC: Add copyright. 2000-10-30 10:40:11 +00:00
David E. O'Brien 629781fca9 MFC: rev 1.27 (add abbrev for ISO C99 ("isoC-99")) 2000-10-30 10:33:29 +00:00
Nick Hibma 51f4eb7cd5 MFC: bring in asr and uscanner. 2000-10-30 10:33:27 +00:00
David E. O'Brien a9096f5ae1 MFC: rev 1.34 (add `isoC-99') 2000-10-30 10:32:01 +00:00
David E. O'Brien ec22f52a47 MFC: rev 1.5 (last "-iDsym" makes more sense as "-iUsym") 2000-10-30 10:30:48 +00:00
David E. O'Brien 52e09b661a MFC: rev 1.15 (convert decimal constants to hex, add ISO-C99 `long long',
update comments)
2000-10-30 10:29:33 +00:00
David E. O'Brien 32af35d163 MFC: rev 1.3 (add ISO C99's `long long' and adjust comments) 2000-10-30 10:28:13 +00:00
David E. O'Brien 1a73fae4a8 MFC: rev 1.26 (add NO_CXX knob) 2000-10-30 10:25:57 +00:00
David E. O'Brien bc213414f0 MFC: rename struct string' to mystring' and get it from mystring.h rather
than `string.h' which can be confused with /usr/include/string.h.
2000-10-30 10:14:24 +00:00
David E. O'Brien 237167e2a2 MFC: rev 1.6 (install loader manpages) 2000-10-30 10:02:47 +00:00
David E. O'Brien 621d4c5446 MFC: Add new "-h" Human-friendly h/m/s output format. 2000-10-30 10:02:00 +00:00
Søren Schmidt 86f2c338a8 MFC:
Fix the PCCARD ATA breakage..
This is due to a bug that has been in there since Warneer did the
PCCARD stuff, the altioaddr is not offset 8 its offset 14 from
the base address.
Also only probe the master device, no known PCCARD ATA thingies
has a slave AFAIK..
2000-10-30 09:41:28 +00:00
Josef Karthauser f29cd6f11e MFC: Introduce our perl style man page to -stable. 2000-10-30 03:26:26 +00:00
Josef Karthauser 03698ebba3 MFC: Use the 'start/stop' arguments to /etc/pccard_ether for
ethernet cards.
2000-10-30 03:21:09 +00:00
Josef Karthauser 2ec6494a9c MFC: Revisions 1.19 - 1.21
For reference:

o Add an optional start/stop argument to pccard_ether to allow
  pccard_ether to bring an interface down as well as up.
o Start the dhcp client with a pid file based on the interface name,
  i.e. /var/run/dbclient.ep0.pid, and use this to kill the dhcp client
  when evoked with a 'stop' argument.
o Stop passing the optional ifconfig arguments to dhcpc as well as
  ifconfig. This bug has been here since revision 1.8.
2000-10-30 02:42:04 +00:00
Josef Karthauser b55231cf76 MFC: If an interface isn't specified at run time then default to the
first instance of the wireless device (an0 or wi0 as the case may
     be).
2000-10-30 02:16:05 +00:00
Robert Watson 0e6c082fae MFC of jail fixups:
1.7       +9 -2      src/sys/kern/kern_jail.c
  1.73      +10 -1     src/sys/kern/uipc_socket.c
  1.9       +2 -1      src/sys/sys/jail.h

For reference:

  o Modify jail to limit creation of sockets to UNIX domain sockets,
    TCP/IP (v4) sockets, and routing sockets.  Previously, interaction
    with IPv6 was not well-defined, and might be inappropriate for some
    environments.  Similarly, sysctl MIB entries providing interface
    information also give out only addresses from those protocol domains.

    For the time being, this functionality is enabled by default, and
    toggleable using the sysctl variable jail.socket_unixiproute_only.
    In the future, protocol domains will be able to determine whether or
    not they are ``jail aware''.
2000-10-29 19:25:39 +00:00
David Malone 32f7ea1eb5 MFC: Add kbdcontrol.5 to the build. 2000-10-29 17:20:32 +00:00
David Malone 14bd49519d MFC: References to kbdmap.5 man page. 2000-10-29 17:18:09 +00:00
David Malone 0da8e176c9 MFC: Add kbdmap manpage. 2000-10-29 17:08:04 +00:00
David Malone afe1083b54 MFC: Add the ability to define halt and powerdown keys for sysconf. 2000-10-29 16:59:32 +00:00
Jeroen Ruigrok van der Werven f1206d04c8 MFC: Update twe manpage to reflect the latest code changes.
Whitespace and linebreak fixes as well.
2000-10-29 13:42:14 +00:00
Yoshihiro Takahashi 5b833b5b27 Merged from sys/i386/i386/userconfig.c revision 1.175.2.4. 2000-10-29 13:10:08 +00:00
Yoshihiro Takahashi 79c4998e6c Merged from sys/i386/conf/GENERIC revisions 1.246.2.18 and 1.246.2.19. 2000-10-29 13:09:17 +00:00
Yoshihiro Takahashi cde5d68d28 MFC: PC-98 bus_space changes. 2000-10-29 13:07:56 +00:00
Noriaki Mitsunaga fcca58da1d [MFC]
Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98
(a NetBSD port for NEC PC-98x1 machines). They are ncv for NCR 53C500,
nsp for Workbit Ninja SCSI-3, and stg for TMC 18C30 and 18C50.

Also, pccard.conf, HARDWARE.TXT, and RELNOTES.TXT are changed for
new drivers.

Obtained from:	NetBSD/pc98
2000-10-29 11:05:48 +00:00
Doug Barton a0f8bca5a9 MFC: Ok, this time JUST add a CVS Id tag. 2000-10-29 10:27:41 +00:00
cvs2svn 3ea31cba27 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-29 07:53:06 +00:00
Doug Barton a0c43e4358 MFC: Clarify reasons for using or not using NO_F00F_HACK.
PR:		kern/21852
2000-10-29 06:41:28 +00:00
Kris Kennaway cf21e54533 MFC: Security cleanups 2000-10-29 04:02:35 +00:00
Kris Kennaway 0118d76d02 MFC: Sync with KAME. Don't overflow the fd_set 2000-10-29 03:50:07 +00:00
Kris Kennaway 7be444af3c MFC: Format string paranoia/fd_set fixes. 2000-10-29 03:46:24 +00:00
Don Lewis 94704fc132 MFC: 1.65
Nuke a bit of dead code.
2000-10-29 03:40:53 +00:00
Matthew Dillon 7eef91a903 Implement a new ioctl, DIOCGDVIRGIN, which returns a virgin disklabel for
a disk device or slice.

Fix the disklabel program to use the new ioctl rather then DIOCGDINFO when
being asked to install a new label with 'auto'.  If the new ioctl fails,
disklabel will revert to DIOCGDINFO.

Update the disklabel documentation

This allows disklabel to initialize new virgin 'auto' labels on slices.
2000-10-29 01:58:55 +00:00
Matt Jacob 6450635067 Wierd. I got the wrong branch for RELENG_4 I guess.
MFC: Add 3 SCSI-3 bits for Sequential Access Device Congifuration Page.
Add Data Compression Page (SCSI-3). Add some clarifying comments
at the top of the file that say what the syntax is.
2000-10-29 01:01:01 +00:00
Kris Kennaway 023954f17b MFC: Sync with KAME 2000-10-29 00:18:04 +00:00
Kris Kennaway 33e4af10d6 MFC: Fix client-side buffer overflow in DISPLAY 2000-10-29 00:10:55 +00:00
Mike Smith 0e0836c1a2 Don't try to build the amr(4) CAM interface, it's not functional right now. 2000-10-28 23:38:06 +00:00
Mike Smith a124b735dc MFC: back out over-aggressive enabling of I/O and memory enabl bits in
the command register.
2000-10-28 23:10:17 +00:00
Kris Kennaway 2fcc6fadf4 MFC: OpenSSH 2.2.0 2000-10-28 23:06:34 +00:00
Nik Clayton deec9a025a MFC (it's a comment change). Make the miibus requirement more obvious. 2000-10-28 22:33:42 +00:00
Kenneth D. Merry 44ceeaeb30 MFC, rev 1.40: Add a quirk entry for Nakamichi MJ-* changers. The
changer in question is a <NAKAMICH MJ-5.16S 1.06>.

Submitted by:	Kevin Van Maren <[email protected]>
2000-10-28 17:49:27 +00:00
David Malone b7e7b1f238 MFC: Fix some vmopar hangs. 2000-10-28 16:27:27 +00:00
Mike Smith 5a37e58e26 Update AMI MegaRAID support comments, add mention of 'mly' driver merge. 2000-10-28 11:56:53 +00:00
Jeroen Ruigrok van der Werven d3e03ee45e MFC: The Adaptec SCSI RAID manpage. 2000-10-28 11:32:55 +00:00
Yoshihiro Takahashi 5311973b32 MFC: Restore GDC mode to initial mode instead of 24KHz. 2000-10-28 11:28:33 +00:00
Yoshihiro Takahashi 9284a63526 MFC: Fixed extention memory check routine. 2000-10-28 11:18:18 +00:00
Yoshihiro Takahashi e1ed76e942 MFC: Removed extra calculation for X position. 2000-10-28 11:00:07 +00:00
Mike Smith 186cbe31ce MFC: allow override by loaded module by reducing PCI probe priority. 2000-10-28 10:48:09 +00:00
Mike Smith 804d0df39c MFC: updated AMI MegaRAID driver. Brings back support for new adapters
(all known AMI MegaRAID adapters are now supported), bug fixes and
an ioctl interface for array management.  AMI plan to release binary
versions of their array admin tools which will use this interface.
2000-10-28 10:17:01 +00:00
Yoshihiro Takahashi 429e1b09f5 Merged from sys/boot/i386/loader/Makefile revision 1.41.2.5. 2000-10-28 10:10:31 +00:00
Yoshihiro Takahashi 46726f5f55 Removed some RAID drivers. These devices probably don't work for PC-98. 2000-10-28 10:08:21 +00:00
Alexander Langer 4171ff89f1 MFC: Use EX_USAGE in the example 2000-10-28 10:03:40 +00:00
Yoshihiro Takahashi b778840ebc Merged from sys/i386/i386/machdep.c revision 1.385.2.9. 2000-10-28 10:02:06 +00:00
Yoshihiro Takahashi cde9c8b3c3 Merged from sys/conf/files.i386 revision 1.307.2.7. 2000-10-28 10:00:51 +00:00
cvs2svn 5961930438 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-28 09:56:35 +00:00
MIHIRA Sanpei Yoshiro b9a6026c31 add Xircom CreditCard adapters and workalikes(xe driver) 2000-10-28 06:33:23 +00:00
MIHIRA Sanpei Yoshiro 3928ae95b4 add note:
Default the PC Card Interface Controller(pcic) to polling mode(irq 0).
2000-10-28 06:11:47 +00:00
Andrew Gallatin d214f009a3 MFC: fix unaligned access errors on alpha
PR: alpha/13912
2000-10-28 02:28:20 +00:00
Andrew Gallatin a93c159a83 MFC: fix unaligned access errors caused by bad scanf/printf format strings
PR: alpha/21247
2000-10-28 02:22:59 +00:00
Andrew Gallatin e8d2f0f872 MFC: update osf1_set{u,g}id() to use new change_{e,r}uid() and setsugid()
in kern_prot.c
2000-10-28 02:12:59 +00:00
Andrew Gallatin 061e6792ba unstaticize change_ruid for the osfulator 2000-10-28 02:10:30 +00:00
Andrew Gallatin 95ada66feb MFC: teach the osf1_getsysinfo() function about a few more fields 2000-10-28 02:00:45 +00:00
Archie Cobbs 288b1f6793 MFC: build the ISC utility library as libisc. 2000-10-28 01:43:31 +00:00
Andrew Gallatin 637b59c30f MFC: Move the call to extend_heap() from main to start
Requested by: dfr
2000-10-28 01:08:52 +00:00
Andrew Gallatin 0a6d5a4b4d MFC 1.8: Don't build start.S here
Requested by: dfr
2000-10-28 01:05:39 +00:00
Andrew Gallatin 5f4c585c49 MFC 1.26: Don't indirect through a null pointer.
Requested by: dfr
2000-10-28 01:04:41 +00:00
Andrew Gallatin d1e941ec2e MFC 1.9: Make a few functions inline to save space. 2000-10-28 01:03:33 +00:00
Matt Jacob 4980c02156 MFC: Per msmith's request, don't attach to Qlogic 12160 id'd cards that have
a certain SubVendorID.

Fix copyright.
2000-10-27 22:00:30 +00:00
Matt Jacob 85826fb7a0 fix copyright 2000-10-27 21:59:20 +00:00
Matt Jacob 873f76acc4 fix type in copyright 2000-10-27 21:58:59 +00:00
Matt Jacob 1e5ac3a974 MFC: changes to default WWN handling. 2000-10-27 21:58:00 +00:00
Matt Jacob b732878ddf MFC: changes to default WWN handling.
Roll platform minor.
2000-10-27 21:57:32 +00:00
Doug Rabson baed605679 Fix merge breakage. 2000-10-27 21:01:49 +00:00
Matthew Dillon b902b53a96 Add LOADER_TFTP_SUPPORT make.conf flag, causes the 'pxeboot' loader
to use tftp to load the kernel rather then NFS, allowing it to mount
the server's root via BOOTP while still loading a custom kernel (rather
then the server's kernel) via TFTP.
2000-10-27 18:14:42 +00:00
Jeroen Ruigrok van der Werven c5e7019c1e MFC: Don't bogusly depend on <sys/stat.h> to include <sys/time.h> 2000-10-27 16:24:22 +00:00
Jeroen Ruigrok van der Werven f5d3be6e95 MFC: - The ability to specify elements by volume tag instead of
their actual physical location.

	- The ability to return an element to its previous location,
	  as specified by the source element.
2000-10-27 16:21:18 +00:00
Jeroen Ruigrok van der Werven 215826724a MFC: Update the comment for the secure sources. 2000-10-27 16:14:34 +00:00
Matt Jacob c7e646c679 MFC: update man page to reflect new support 2000-10-27 16:13:31 +00:00
Jeroen Ruigrok van der Werven 8f9242d2ca MFC: Add the numbers to the stages in the comments 2000-10-27 16:11:49 +00:00
Matt Jacob 611e5732d0 MFC: LIVENGOOD chipset support 2000-10-27 16:07:19 +00:00
Dag-Erling Smørgrav d2fcaedaad Don't expect a result code on the control connection until you've closed the
data connection, as some servers wait for the remote end to close the data
connection instead of just closing their end once the transfer is complete.

This fixes the hangs some people have been experiencing when fetching ports.

(committed to RELENG_4 before HEAD because it was debugged and fixed on
a RELENG_4 box)
2000-10-27 11:30:42 +00:00
Bruce Evans 9f6bf860b1 MFC (1.25 fixed overruns of cookie buffer and directory buffer in
ext2_readdir()).
2000-10-27 10:08:37 +00:00
Mike Smith 7fb6318501 MFC: the 'mly' driver for Mylex AcceleRAID and eXtremeRAID PCI:SCSI RAID
controllers.  This driver interfaces with CAM and thus does not require
any changes to libdisk, sysinstall, etc.
2000-10-27 10:07:04 +00:00
Bruce Evans 72c0cff898 MFC (bpb.h rev.1.8, msdosfsmount.h rev.1.22: quick fix for sign extension
and alignment bugs that broke at least msdosfs_write() on alphas).
2000-10-27 09:45:07 +00:00
Bruce Evans b1280cc5de MFC (alpha rev.1.4, i386 rev.1.5: work around a bug (apparently in gcc) by
adding struct tags).
2000-10-27 09:16:05 +00:00
Paul Saab 95b96cbbe5 MFC: [rev 1.414] Fix a cosmetic sign problem on machines with 4G of ram. 2000-10-27 09:07:22 +00:00
Ruslan Ermilov 95835d7ab8 MFC:
- (rev 1.144) pull up the entire (minimum) TCP and UDP headers,
  and 4 bytes of ICMP header (enough for type, code and cksum).

- (rev 1.147) fetch the protocol header (TCP, UDP, ICMP) only
  from the first (OFF=0) fragment of IP datagram.
2000-10-27 07:41:07 +00:00
Mike Smith cdf5892d56 MFC: one 'twe' file gone, a new one appears. Update accordingly. 2000-10-27 06:05:43 +00:00
Mike Smith f9db48a92a MFC: updated Makefile for the 'twe' module 2000-10-27 06:04:54 +00:00
Mike Smith 559474c2b1 MFC: updated 3ware driver, with improved queueing, error handling and
reporting, and user interface for the 3ware-supplied '3dm' monitoring
tool.
2000-10-27 06:04:02 +00:00
cvs2svn c22b54f622 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-27 05:58:46 +00:00
Jordan K. Hubbard a84a657a84 Whoops! I forgot to MFC this part of the last commit (argh!).
Reminded by:	Kazu TAKAMUNE <[email protected]>
2000-10-27 04:38:03 +00:00
Jordan K. Hubbard 94c268975a Comment out the le(4) driver; it seems broken at the moment. 2000-10-27 03:24:41 +00:00
Brian Feldman 3b8dbab540 MFC: fix accidental inlining 2000-10-27 01:50:31 +00:00
Tatsumi Hosokawa 4174ca76cb MFC: removed "Toshiba Ethernet Cards". 2000-10-27 01:43:15 +00:00
cvs2svn 0c9d7cf2b7 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-27 01:19:03 +00:00
Bill Paul 8b380c46fc MFC: merge in Davicom fixes from -current. I think there's still a
problem somewhere, but this does fix a couple of bugs that need to
be addressed.
2000-10-27 01:13:19 +00:00
John Baldwin 248e982a36 MFC update to driver 2.17 2000-10-27 00:46:09 +00:00
Gregory Neil Shapiro 5372ae1792 MFC: Add a MAINTAINER= line so people know who to blame 2000-10-26 23:05:16 +00:00
Andrey A. Chernov 087d42868f MFC: asctime->ctime for %c 2000-10-26 22:12:10 +00:00
David Malone 87db7fdde8 MFC: Improve slightly confused formatting. 2000-10-26 19:26:26 +00:00
Gregory Neil Shapiro fdce663324 MFC: STARTTLS support for sendmail(8) 2000-10-26 18:58:36 +00:00
Bruce A. Mah 7c5861e058 MFC: bktr(4)->2.17.
While I'm here, fix a typo.
2000-10-26 18:33:11 +00:00
Roger Hardiman efc3905d1f MFC: Add new MSP ioctls 2000-10-26 16:40:52 +00:00
Roger Hardiman 2db3ec5e0d MFC update to driver 2.17 2000-10-26 16:38:46 +00:00
Andrey A. Chernov 7f2af2d612 MFC: c_fmt as compatibility placeholder 2000-10-26 16:21:35 +00:00
Andrey A. Chernov fe91028da9 MFC: force %c to be ctime-compatible 2000-10-26 16:07:53 +00:00
Maxim Sobolev 0e7f80b16d MFC:
Several cleanups:
- use getopt(3) to parse command line arguments instead of home-made incomplete
  parser;
- be more verbose when error in command line encountered (i.e. incorrect
  playing/recording device, incorrect recsrc syntax).
2000-10-26 14:39:35 +00:00
Andrey A. Chernov a35d568e06 MFC: force %c to be "%a %Ef %T %Y" 2000-10-26 14:25:02 +00:00
Jordan K. Hubbard 1efc95bb9f MFC: more explicit crypto flag setting, shorter keymap menu 2000-10-26 13:23:28 +00:00
Thomas Gellekum cc794a7065 Try to check if the startup scripts support the "stop" option and
print a warning if they don't. This will give admins out there some
time to fix their scripts for 4.3 or 5.x.

Approved by:	jkh
2000-10-26 13:01:53 +00:00
Ruslan Ermilov b0d4f8e3c0 MFC: (rev 1.145) wrong header length used for certain reassembled IP packets. 2000-10-26 12:21:49 +00:00
John W. De Boskey 0db2cb64fd MFC: Rev 1.53 signal value check not needed for PT_STEP request.
Note: Rev 1.52 has is not MFC'd at this point.
2000-10-26 04:34:41 +00:00
John W. De Boskey 7467c97e36 MFC: Rev 1.15 PT_STEP request & i386_(clr,set)_watch(3) xrefs 2000-10-26 04:24:29 +00:00
Luigi Rizzo 0fac6aa340 MFC: close PR22152 and PR19511 -- wrong variable name 2000-10-26 00:17:32 +00:00
Bruce A. Mah f14e6fac50 MFC: ata(4) new chipsets and tagged queueing and ATA RAID,
fix "in use" percentage in netstat(1), ich(4) driver, snc(4)
driver.
2000-10-25 21:07:54 +00:00
Garrett Wollman 0070a5fd0a MFC tzdata2000f and tzdata200g updates. 2000-10-25 19:44:09 +00:00
David E. O'Brien 38ace70272 Bring in rev 1.8.2.2 from the public FSF/GNU Binutils sources.
This fixes the bug in Binutils 2.10.0 that makes it difficult to debug code
in shared libraries.  See the "GDB 4.18 and shared libraries (Mozilla)"
thread in the -stable mailing list for background.
2000-10-25 19:28:38 +00:00
Nick Hibma 974d16bf9e Regen. after MFC. 2000-10-25 15:53:15 +00:00
Nick Hibma 2f9c9de7d4 MFC new ids 2000-10-25 15:52:33 +00:00
Dag-Erling Smørgrav 3ec2a18509 MFC: get rid of undef variable warning 2000-10-25 15:07:08 +00:00
Poul-Henning Kamp 142ba46c90 MFC: Remove the KMEMSTATS bogosity.
MFC: Introduce M_ZERO
2000-10-25 09:14:06 +00:00
Maxim Sobolev 59ca80f31f MFC:
Fix cdev kld example after it has been broken for year or so. Also extend list
of supported operations by example read() and write() operations.

Inspired by:		http://www.daemonnews.org/200010/blueprints.html
PR:			16173
Submitted by:		sobomax
MFC Approved by:	jkh
2000-10-25 09:02:34 +00:00
Søren Schmidt 0164906f7a Update with latest supported chipsets etc. 2000-10-25 08:29:16 +00:00
Søren Schmidt abfa896773 Add the ATA RAID device 2000-10-25 06:51:50 +00:00
Søren Schmidt ed0035c34f Add support for tagged queing.
Add options ATA_ENABLE_TAGS.
Add support for ATA software RAID's (Promise Fasttrak Highpoint 370).
Dont use ivars anymore.
Fix the "resource already allocated" panic.
Up the reset pulse to 100ms.
Add support for ServerWorks ROSB4 ATA33 chipset.
Add support for CMD 648 ATA66 & CMD 649 ATA100 chipsets.
Add support for the Promise ATA100 OEM chip (pdc20265).
Add support for the Cyrix 5530.

This brings the ata driver in sync with these -current versions:

src/sys/dev/ata/ata-all.c,v 1.81 2000/10/24 13:50:22 sos Exp $
src/sys/dev/ata/ata-all.h,v 1.34 2000/10/18 18:49:42 sos Exp $
src/sys/dev/ata/ata-disk.c,v 1.86 2000/10/22 12:16:51 sos Exp $
src/sys/dev/ata/ata-disk.h,v 1.30 2000/10/13 13:04:45 sos Exp $
src/sys/dev/ata/ata-dma.c,v 1.51 2000/10/22 12:17:38 sos Exp $
src/sys/dev/ata/ata-raid.c,v 1.3 2000/10/22 12:17:57 sos Exp $
src/sys/dev/ata/ata-raid.h,v 1.2 2000/10/22 12:17:57 sos Exp $
src/sys/dev/ata/atapi-all.c,v 1.55 2000/10/15 14:18:03 phk Exp $
src/sys/dev/ata/atapi-all.h,v 1.29 2000/09/19 11:08:39 sos Exp $
src/sys/dev/ata/atapi-cd.c,v 1.66 2000/09/20 07:00:24 sos Exp $
src/sys/dev/ata/atapi-cd.h,v 1.20 2000/09/19 11:08:39 sos Exp $
src/sys/dev/ata/atapi-fd.c,v 1.53 2000/09/20 07:00:24 sos Exp $
src/sys/dev/ata/atapi-fd.h,v 1.12 2000/09/19 11:08:39 sos Exp $
src/sys/dev/ata/atapi-tape.c,v 1.45 2000/09/19 11:08:39 sos Exp $
src/sys/dev/ata/atapi-tape.h,v 1.13 2000/09/19 11:08:39 sos Exp $
2000-10-25 06:43:02 +00:00
Søren Schmidt b41688cecd Add the ATA RAID subdriver 2000-10-25 06:26:55 +00:00
Boris Popov 54a06cc75c MFC:
protect nullfs node hash with lockmgr().
properly release vnode if mount deadlock detected.
give nullfs node its own malloc type.
2000-10-25 04:26:30 +00:00
Boris Popov 62d37044b0 MFC: Get rid from the __P() macro. Replace 'extern' with function prototype. 2000-10-25 03:35:12 +00:00
Boris Popov cd415b34fe MFC: Get rid from the extra SYSCTL_NODE() declaration. 2000-10-25 02:35:42 +00:00
Boris Popov 9347768cb2 MFC: Use lockmgr() to protect hash lists. Change vnode locking from shared
to exclusive.
2000-10-25 02:28:42 +00:00
Boris Popov aa4a6b60f8 MFC: Get rid from the __P() macro and 'register' keyword. Few style fixes
as well.
2000-10-25 02:11:10 +00:00
Bosko Milekic f923677894 MFC: Change "in use" percentage to actually display a real "in use"
metric; i.e. show how much of mb_map is in use.
2000-10-24 22:53:26 +00:00
Julian Elischer e6c0277b6f Change archie's and my email addresses to freebsd.org 2000-10-24 22:31:08 +00:00
David Greenman 4d619ec4a0 Brought in suspend/resume changes from -current. Revs 1.88 and 1.91. 2000-10-24 21:47:36 +00:00
cvs2svn 00f7c25346 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-24 20:10:26 +00:00
Hajimu UMEMOTO a651878692 MFC 1.108 -> 1.109: Popup IPv6 dialog, again. 2000-10-24 19:36:40 +00:00
Alfred Perlstein e4744df2ac MFC: 1.91 (new kern.openfiles sysctl) 2000-10-24 19:28:26 +00:00
Hajimu UMEMOTO 7f998091c2 MFC: Make ip6fw as loadable module.
netinet6/ip6_forward.c:	1.9 -> 1.10
	netinet6/ip6_fw.c:	1.6 -> 1.7
	netinet6/ip6_fw.h:	1.6 -> 1.7
 	netinet6/ip6_input.c:	1.15 -> 1.16
	netinet6/ip6_output.c: 	1.17 -> 1.18
	modules/Makefile:	1.139 -> 1.140
2000-10-24 19:27:43 +00:00
David Malone 521d3cf919 Sync -current and RELENG_4:
- Stop ident service looping on eof.
 - Rate limit=0 => unlimited.
 - Changing a builtin service for a external service now works.
 - Don't leak a file discriptor when shutting down a looping service.
2000-10-24 19:18:29 +00:00
Wilko Bulte aef6ef2b75 Document that pci_device_override on Miata requires a recent SRM version
Submitted by:	Ralph Schreyer <[email protected]>
2000-10-24 18:46:43 +00:00
Julian Elischer e0c3810691 MFC: change Archie's and my email addresses Whistle.com->freebsd.org 2000-10-24 18:36:46 +00:00
Bruce A. Mah c5d1fadd8a MFC: Fix pkg_version -c -l, new -L flag.
pkg_version.pl:		1.10 -> 1.12
pkg_version.1:		1.8 -> 1.9
2000-10-24 18:29:32 +00:00
Julian Elischer 4a86453971 Move archie and I from Whistle.com to FreeBSD.org 2000-10-24 18:27:46 +00:00
Andrew Gallatin d571fb34a8 MFC: support for kernels with more than 64k worth of globals 2000-10-24 16:09:36 +00:00
Gregory Neil Shapiro 617135a02c MFC 1.26: Don't allow BINDIR to be clobbered by an earlier setting 2000-10-24 16:08:58 +00:00
Gregory Neil Shapiro 110d39d700 MFC: Remove obsolete setting. The directory src/usr.sbin/sendmail/cf hasn't
existing since sendmail was moved to contrib.  Also, we now provide the cf
     subdirectory in /usr/share/sendmail/cf/.
2000-10-24 15:52:19 +00:00
Andrey A. Chernov c2a8d053b9 MFC: describe %c better 2000-10-24 15:39:45 +00:00
Akinori MUSHA 1e143a6605 MFC: revision 1.125, 1.126 2000-10-24 12:45:00 +00:00
Dag-Erling Smørgrav be46867fb4 MFC: everything (notably: better proxy support, better timeout handling,
fix FTP connection caching)
2000-10-24 12:12:44 +00:00
Mike Smith 44b6f3b1aa Don't scan for still-open devices on shutdown; if the root filesystem is
mounted on a drive, it won't have been closed.  This should fix
problems that people are having with unclean shutdowns.
2000-10-24 09:22:55 +00:00
Ruslan Ermilov 1cc45ca295 MFC: (rev 1.14) the -o is the default for -s display, not the -h. 2000-10-24 08:49:06 +00:00
Guido van Rooij 79ffbaf1df MFC: Fix broken PAM with SKEY behaviour: the skey.access file checks
were broken because the code failed to set PAM_RHOST.
2000-10-23 20:57:54 +00:00
Jordan K. Hubbard 10caa2706f MFC: more informative errx() messages, use ISO string functions. 2000-10-23 18:34:16 +00:00
Andrey A. Chernov 4d1a0f7109 MFC: fix %c 2000-10-23 14:32:00 +00:00
Nick Hibma 6498521078 MFC: Put the header in thge header file not the c file 2000-10-23 11:53:40 +00:00
Nick Hibma 9dbb9c962d MFC: quirks for Sony devices. 2000-10-23 11:51:56 +00:00
Wilko Bulte f3ab7562cd I don't expect AS2100A 'Lynx' support to be finalised before 4.2R
Document it now before I forget to do it.
2000-10-22 12:11:46 +00:00
Jordan K. Hubbard a287f9adb7 MFC: "high" and "extreme" security profiles. 2000-10-22 04:21:30 +00:00
Yoshihiro Takahashi 7a56740924 MFC: Fixed warnings. 2000-10-21 07:44:28 +00:00
Yoshihiro Takahashi 10ac37b8f2 MFC: Added the snc driver. 2000-10-21 03:30:05 +00:00
Yoshihiro Takahashi ce55c11534 MFC: Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-10-21 02:38:08 +00:00
Brian S. Dean 68197ca733 MFC: enable building of ia32 debug register helper functions. 2000-10-21 01:44:50 +00:00
Brian S. Dean 05a85bec78 MFC: #define's and prototypes for ia32 debug register helper
functions.
2000-10-21 01:42:52 +00:00
Brian S. Dean b757926272 MFC: ia32 debug register setting/clearing helper functions. 2000-10-21 01:33:34 +00:00
Boris Popov 465d85f059 MFC: properly setup link level header length for 802.2 and SNAP frames. 2000-10-20 18:26:30 +00:00
Wolfram Schneider 078943b80f MFC up to rev 1.31 2000-10-20 18:23:48 +00:00
Archie Cobbs b5ea1c65d3 MFC: (rev. 1.32) add actual URL for XMAC II datasheet in comments. 2000-10-20 16:43:21 +00:00
MIHIRA Sanpei Yoshiro 039aacb87a MFC(1.82): Mention pccard_beep. 2000-10-20 13:02:46 +00:00
MIHIRA Sanpei Yoshiro 69478de9f8 MFC(1.7 -> 1.9):
pccard_beep parameter was already supported by rc.conf.
  Fix abuse of the Pa, Nm and Ar macros.
2000-10-20 12:57:55 +00:00
Josef Karthauser ea8fdb25f3 MFC: When warning that a log file can't be compressed, tell the
reader which log file it was (revision 1.29).
2000-10-20 00:44:27 +00:00
Bruce A. Mah 15f7052b07 MFC: make(1) :C, :L, and :U variable modifiers. 2000-10-20 00:39:47 +00:00
Gregory Neil Shapiro 532f194091 MFC: Document the recent sendmail related changes:
- Use sendmail's version of vacation
     - mail.local no longer installed set-user-id root
     - Disable EXPN/VRFY SMTP commands by default
     - Copy sendmail/cf config building tree into /usr/share/sendmail/cf/
2000-10-19 21:48:05 +00:00
Gregory Neil Shapiro 34cb4969ec MFC: Install the sendmail cf building tools (contrib/sendmail/cf) in
/usr/share/sendmail/cf.
2000-10-19 21:30:26 +00:00
Gregory Neil Shapiro 2508c0bb54 MFC: Disable the SMTP EXPN and VRFY commands by default to prevent information
leakage.
2000-10-19 21:17:28 +00:00
Gregory Neil Shapiro 61c433ca98 MFC: mail.local(8) is no longer installed as a set-user-id binary. 2000-10-19 21:15:55 +00:00
Gregory Neil Shapiro 644aefb190 MFC: Use sendmail's version of vacation. It is command line and database
compatible with the old version but includes new functionality and bug
     fixes.

     Since it is not part of the NO_SENDMAIL make.conf option, libsmdb and
     libsmutil should always be built for vacation's sake.
2000-10-19 21:13:31 +00:00
cvs2svn 897138f333 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-19 18:18:36 +00:00
MIHIRA Sanpei Yoshiro 2d37ebee7f MFC: add "fe" cards into HARDWARE.TXT and RELNOTES.TXT
add TDK LAK-CD031(src/etc/defaults/pccard.conf rev. 1.133)
2000-10-19 14:27:38 +00:00
Ruslan Ermilov e462ae18ce MFC: i815 graphics support. 2000-10-19 10:36:27 +00:00
Will Andrews 5562f172b6 MFC: :C, :L, and :U variable modifiers. 2000-10-19 04:23:49 +00:00
KATO Takenori 695a6fcbd9 MFC: revision 1.37 (da -> rda and wd -> rwd). 2000-10-18 15:29:31 +00:00
Ruslan Ermilov 737142cb4c MFC: make rule number available from getsockopt(IP_FW_ADD). 2000-10-17 13:44:57 +00:00
Ruslan Ermilov 4d8274769a MFC: Style conversion. 2000-10-17 13:10:21 +00:00
Ruslan Ermilov a35826e8c0 MFC: Only interpret the last command line argument as a file to
be preprocessed if it is specified as an absolute pathname.
2000-10-17 13:09:53 +00:00
Roger Hardiman 197016d0a3 MFC: Add new bktr options 2000-10-17 08:01:19 +00:00
Scott Long b8fccdbd9c MFC: Mention the asr driver and how it supports the new Adaptec RAID cards.
Submitted by:	[email protected]
2000-10-17 00:21:07 +00:00
Nick Hibma 0b741a637c Remove the entry for the umass drives. It is no longer needed and has
been verified to work.

Make some of the comments more useful by explaining what the commands do.
2000-10-16 16:32:12 +00:00
Ruslan Ermilov 25d3327a1f MFC: (rev 1.17) restored the correct description of $BLOCKSIZE. 2000-10-16 10:02:49 +00:00
David E. O'Brien d19f794f01 MFC: Remove GLOBAL -- it has moved to Ports. 2000-10-16 08:53:30 +00:00
Peter Wemm 557b109f57 MFC: dumpsys()/savectx() cleanups.
kern_shutdown.c rev 1.78 and 1.85
swtch.s rev 1.98
2000-10-15 21:47:28 +00:00
Munechika SUMIKAWA 47f237537d MFC: rev1.5
- simplify option flags
- do not print header when using -c
- linklocal address are not cleared when using -c

Obtained from:	KAME
2000-10-15 20:31:26 +00:00
Alexander Langer 6ef75793ce MFC: optional args fix for usage and manpage. 2000-10-15 11:37:43 +00:00
MIHIRA Sanpei Yoshiro 4aa3d003f2 MFC: add some PC-Card
- Cisco Systems Aironet 340 series
	- COREGA FEther PCC-TXF
	- new version of ELECOM Air@Hawk/LD-WL11/PCC
	- all "wi" cards which were listed in etc/defaults/pccard.conf

	src/release/texts/HARDWARE.TXT		1.57  -> 1.59
						1.64  -> 1.66
	src/release/texts/i386/RELNOTES.TXT	1.111 -> 1.114
						1.130 -> 1.132
2000-10-15 10:52:57 +00:00
Paul Saab 20b859e527 MFC: Do not allocate a callout for all crashdumps. 2000-10-15 09:45:23 +00:00
MIHIRA Sanpei Yoshiro bb017b564c Merge pccard.conf from current. 1.128 -> 1.137 2000-10-15 04:57:59 +00:00
Alan Cox 66bdabe52d MFC: Recognize the ServerWorks IB6566 south bridge. 2000-10-15 04:28:37 +00:00
MIHIRA Sanpei Yoshiro ffd0149690 MFC: recent pccard changes(PC Card bus, kludge version)
- Add PIOCSRESOURCE(IOC_GET_RESOURCE_RANGE).
    Now /usr/sbin/pccardd read free resource(io,irq) range with
    this ioctl.

  - Add Vpp power at 5.0V rather than 0.(sys/pccard/pccard.c)
  - Remove 9 unnecessary includes.
  - here is no atdevbase on the alpha. Hide this case statement
    on alpha until the design/implementation is complete
    (sys/pccard/pccard.c 1.107->1.108)
  - Add PnP Id: ACTIONTECH and SMC Swapbox Plug and Play
  - Add some debug stuff hidden behind bootverbose.
    (sys/pccard/pcic.c 1.96->1.97)

  - check {IO,IRQ}_ASSIGNED flags before release {io,irq} resources.
  - fix multi io window in release io routine
  - print out error reason if it was failed in assign_io

	sys/pccard
		cardinfo.h	1.17  -> 1.18
		pccard.c	1.107 -> 1.108
				1.109 -> 1.112
		pccard_nbk.c	1.21  -> 1.22
		pcic.c		1.96  -> 1.98
		pcic.h		1.6   -> 1.7

	sys/dev/pcic
		i82365reg.h	1.3   -> 1.5

	usr.sbin/pccard/pccardd
		cardd.c		1.56  -> 1.63
		cardd.h		1.25  -> 1.26
		util.c		1.15  -> 1.16

Obtained from:  PAO
2000-10-15 04:12:45 +00:00
Yoshihiro Takahashi a37bc5bd70 MFC: Fixed FPU_ERROR_BROKEN code. 2000-10-15 03:10:13 +00:00
Yoshihiro Takahashi 4b2b65d3c7 MFC: Improved Cyrix 486DX supports for NEC PC-98. 2000-10-15 03:09:32 +00:00
Yoshihiro Takahashi 2e0f5d49c2 Merged from sys/boot/i386/loader/main.c revision 1.17.2.3. 2000-10-15 02:57:44 +00:00
Cameron Grant f52f5d6ee1 fix breakage in last commit 2000-10-14 20:59:41 +00:00
Alan Cox 924d154d64 MFC: [rev 1.20] Remove another unused field ("userinfo")
from struct __aiocb_private.
2000-10-14 20:19:16 +00:00
Larry Lile 7c51eb43dc o MFC: Replace most magic numbers related to token ring with #defines
from iso88025.h.

o MFC: Add minimal llc support to iso88025_input.

o MFC: Clean up most of the source routing code.

* Submitted by: Nikolai Saoukh <[email protected]>
2000-10-14 20:01:16 +00:00
Cameron Grant 303055c0ca comment out 'hwptr went backwards' message 2000-10-14 17:26:34 +00:00
Bill Paul fc7710333c MFC: bring in the SROM reading code for the alpha Miatas and friends. 2000-10-14 00:44:40 +00:00
Bruce A. Mah 025e3c2b81 Note bugfix for finger(1) and world-readable files. Slightly
reorder security fixes section to make a little more sense.
2000-10-13 16:32:17 +00:00
Dag-Erling Smørgrav c9b8562f04 MFC: rewrite, show Unix domain sockets 2000-10-13 16:27:47 +00:00
Bruce A. Mah e7a6facbba MFC: ncurses updated, pcn(4) support for PCnet/FAST III. 2000-10-13 14:32:23 +00:00
MIHIRA Sanpei Yoshiro 88d910c5ed MFC: Fix bug in ``the selection of pccard IRQs fully selectable''
in rev.1.12(and  rev.1.10.2.2.)
     card_irq is local variable, not global variable.
     (variable_set2 and variable_get)

Submitted by:	jkh
2000-10-13 11:47:09 +00:00
Matthew Dillon 0f5f27bf2d The swap bitmap allocator was not calculating the bitmap size properly
in the face of non-stripe-aligned swap areas.  The bug could cause a
    panic during boot.

    Refuse to configure a swap area that is too large (67 GB or so)

    Properly document the power-of-2 requirement for SWB_NPAGES.

    The patch is slightly different then the one Tor enclosed in the P.R.,
    but accomplishes the same thing.

PR: kern/20273
Submitted by: [email protected]
2000-10-13 07:13:23 +00:00
Archie Cobbs a283ef4fba MFC: fix broken const'ness in declaration of sha1_loop(). 2000-10-12 18:59:31 +00:00
Peter Wemm 91f6c53faa MFC: ncurses 5.1-20001009 2000-10-12 18:41:06 +00:00
Archie Cobbs b14ebf52fb MFC: don't call untimeout(9). 2000-10-12 18:36:02 +00:00
Archie Cobbs e60d007637 MFC: add missing option NETGRAPH_ETHER. 2000-10-12 17:51:59 +00:00
Ruslan Ermilov 8c4788591b MFC: fixed the fix of compilation warning of ip_input.c. 2000-10-12 16:36:10 +00:00
Dag-Erling Smørgrav 4af58bbc54 MFC: accept Status-Line with incomplete HTTP-Version 2000-10-12 16:32:32 +00:00
Justin T. Gibbs ec8acda469 MFC: Correct the transfer of cdbs > 12 bytes in length. 2000-10-12 14:37:05 +00:00
Ruslan Ermilov 67767e50d8 MFC: (rev 1.88) fixed the reporting of ip_portrange_XXX settings. 2000-10-12 11:28:16 +00:00
Ruslan Ermilov 9c5c462cb2 MFC: (rev 1.142) fix the compilation warning. 2000-10-12 10:43:26 +00:00
David E. O'Brien 20b560a268 Revert rev 1.536.2.25.
Requested by:	jkh
2000-10-12 02:11:28 +00:00
Mike Smith be11078a9b MFC: bring the 'twe' driver back from the dead. 2000-10-12 01:47:16 +00:00
Mike Smith 569b1e2650 MFC: reduce the outstanding command count to avoid upsetting the firmware. 2000-10-12 01:45:31 +00:00
Justin T. Gibbs 9ac0704b8b MFC: Store ahc pointer in SCB, fix timeout handler to not dereference
unsafe portions of the timedout SCB until we know it has not already
     completed, use a flag in the SCB to indicate that we are on the untagged
     queue, fix ahc_search_qinfifo's cleanup of the busy target table.
2000-10-11 23:48:20 +00:00
Archie Cobbs 9beafcc637 MFC: fix memory leak. 2000-10-11 19:05:38 +00:00
Peter Wemm 1e1ecb6550 MFC: unbreak sendmail build (do not override LDADD with -lutil -lwrap) 2000-10-11 12:41:28 +00:00
cvs2svn 1d3687b665 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-11 07:31:03 +00:00
Gregory Neil Shapiro a3e2592c64 MFC: Style fixes 2000-10-11 05:09:08 +00:00
Bruce A. Mah e1e8860678 Note new perl build procedure and death of miniperl.
MFC:  Ports Collection restructuring.
2000-10-10 22:32:47 +00:00
Gregory Neil Shapiro c368f56e59 MFC: Add FreeBSD-only options to the getopt string 2000-10-10 22:28:25 +00:00
Archie Cobbs 82b3e39330 MFC: minor clarification about the "bypass" hook. 2000-10-10 20:07:36 +00:00
Seigo Tanimura 6bf448dfa7 MFC: Add MAE0021. 2000-10-10 10:08:12 +00:00
Gregory Neil Shapiro f69d25dc5c MFC: Remove LIBRSAGLUE, add LIBSSL
Reviewed by:	kris
2000-10-10 06:19:39 +00:00
Gregory Neil Shapiro 1177d4078c sendmail has been updated to 8.11.1. 2000-10-10 05:11:18 +00:00
Gregory Neil Shapiro 14e9e52c2e MFC: Import of sendmail 8.11.1. 2000-10-10 05:07:30 +00:00
Nick Sayer da838738aa MFC: v1.15. 2000-10-10 01:39:53 +00:00
Archie Cobbs 51904f6786 MFC: (rev. 1.7) fix bug in "read" command. 2000-10-10 01:39:23 +00:00
Larry Lile 6383097189 o MFC: Get basic if_media support working.
o MFC: Add more diagnostic and status messages.

o MFC: General clean up of old debug messages and
    small style fixes.
2000-10-10 00:47:12 +00:00
Bruce A. Mah 90b30967b7 MFC: Fix typo: terrabytes->terabytes.
PR:		docs/21837
Submitted by:	Tony Finch <[email protected]>
2000-10-09 21:19:07 +00:00
Brian Somers d07eaa59d9 MFC: Actually make uu_lock_xfer() work. 2000-10-09 20:20:52 +00:00
Brian Somers f7b4ed22f1 MFC: Use `su -m'' instead of just `su'' when starting ppp. 2000-10-09 20:18:52 +00:00
Justin T. Gibbs 95f238e114 MFC: Resource shortage race condition fix. 2000-10-09 19:55:25 +00:00
Archie Cobbs 67681f2193 MFC: fix typo in NETGRAPH_INIT() macro. 2000-10-09 18:45:38 +00:00
Daniel C. Sobral 2a7d53c441 We do not support floppy tapes any longer. Since 1998, to be precise.
Reflect reality.

Stumbled upon by: Luiz Claudio Duarte <[email protected]>
2000-10-09 09:02:51 +00:00
Warner Losh 81591ef802 This is for tracking -stable.
Submitted by: [email protected] (Alexander Langer)
2000-10-09 04:31:07 +00:00
Warner Losh 9986b34e70 4.1R and 4.1.1R dates 2000-10-09 04:10:35 +00:00
Warner Losh 99d4152a24 miniperl
port tree layout
networking defaults tightened
2000-10-09 04:06:57 +00:00
Justin T. Gibbs ba66f6be27 MFC: disable chip interrupts when stepping out of a critical section,
correct critical section calculation, correct error recovery code
     to prevent unsolicited reconnect errors, and correct async notifications
     for BDR and bus reset events.
2000-10-09 01:48:20 +00:00
Archie Cobbs c4bff11062 MFC: driver for the Intel 82801AA (ICH) SMBus controller and compatibles. 2000-10-09 00:52:44 +00:00
Archie Cobbs 788d38f8be MFC: add reference to file /usr/share/examples/netgraph/ether.bridge. 2000-10-09 00:19:29 +00:00
Archie Cobbs 4b0041f191 MFC: script showing how to setup Ethernet bridging using ng_bridge(4). 2000-10-09 00:18:15 +00:00
Archie Cobbs 169b2e1617 MFC: remove some unneeded #include's 2000-10-09 00:09:49 +00:00
Archie Cobbs d776773ce0 MFC: fix for multi-link sequence number handling bugs. 2000-10-09 00:04:01 +00:00
cvs2svn 1dcd6440ef This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-08 21:34:01 +00:00
Nick Hibma f1ed72f9b8 MFC: print 'no tty' instead of '(null)' 2000-10-08 20:22:11 +00:00
Nick Hibma caac66681d MFC:
Add quirks for Sony DSC
Add quirks for Insystem USB cable
Disable ATAPI type device support. It breaks devices
Remove the use of _P() macros
Add basic support for RBC type devices
Fix conversion of Test Unit Read to Start/Stop Unit.
Print a more sensible number for the SIM.
Fix a panic when unloading umass.
2000-10-08 19:24:43 +00:00
Nick Hibma 886f7338c6 Add the quirk entry for the Matshita floppy drive. 2000-10-08 19:19:44 +00:00
Jeroen Ruigrok van der Werven ebdb275879 MFC: Format string paranoia. 2000-10-08 12:12:21 +00:00
Jeroen Ruigrok van der Werven c641a67b4f MFC: Format string paranoia. 2000-10-08 11:05:12 +00:00
Cameron Grant b781696864 put min play speed back to 8000 2000-10-08 03:55:20 +00:00
Justin T. Gibbs 865540a196 MFC: Fix qinfifo corruption by both ahc_search_qinfifo() and ahc_timeout().
The ahc_search_qinfifo() fix only applies to non-LVD controllers.
2000-10-08 03:38:58 +00:00
Gregory Neil Shapiro 5435efa63b MFC: Remove obsolete sendmail directory 2000-10-07 22:49:31 +00:00
Nick Hibma 550b2a9701 Regen. 2000-10-07 17:10:22 +00:00
Nick Hibma a545e216bb MFC: Ids, loads. 2000-10-07 17:10:02 +00:00
Alexander Langer da633e767e MFC: describe the postfix example better 2000-10-07 14:46:08 +00:00
Alfred Perlstein fe37e63494 Bring in my mergemaster mega-patch for better interaction with
users, also bring in several fixes that were done to my patch.
Version 1.10 was pre-MFC'd.

MFC: 1.7 (mega), 1.8 (fix), 1.9 (fix)
2000-10-07 11:20:01 +00:00
Jordan K. Hubbard ed4fbd68e6 MFC: always have at least some dists selected. 2000-10-07 09:11:47 +00:00
Bill Paul f530a03b20 MFC: add support for Am79c795, remember to restart receiver after
leaving suspend mode when switching promisc on/off.
2000-10-06 23:02:21 +00:00
Bruce A. Mah 38da24f66f MFC: string-handling library calls fixed, stronger randomness in TCP
initial sequence numbers.

Add $FreeBSD$.
2000-10-06 22:09:35 +00:00
Justin T. Gibbs 041c35252f MFC: Re-enable tagged queuing. 2000-10-06 19:35:07 +00:00
Alexander Langer e8a1f97014 MFC: fix typo. 2000-10-06 17:36:57 +00:00
Ruslan Ermilov a81e0c08f2 MFC: make it compile without -DNO_PAM again. 2000-10-06 17:09:32 +00:00
Ruslan Ermilov 8f6da85e11 MFC: (rev 1.34) fix the `missing footer' problem. 2000-10-06 13:26:48 +00:00
Alexander Langer 8b07ac7af3 MFC: list the -t option in usage(): 2000-10-06 12:11:25 +00:00
Alexander Langer 0a083de2f8 MFC: List options in alphabetic order. 2000-10-06 12:09:09 +00:00
Ruslan Ermilov e03eaa4c9a MFC: removed files not present in v1_15 import. 2000-10-06 11:07:19 +00:00
Ruslan Ermilov 36fc0340fc MFC: Fixed the `mysterious blank lines' problem, added FreeBSD 4.2. 2000-10-06 11:01:06 +00:00
Paul Saab fdd04b0bee MFC: [rev 1.4] Correct who pioneered the accept filters and Yahoo!'s
company name.
2000-10-06 10:52:51 +00:00
Ruslan Ermilov 40a88bb784 MFC: (rev 1.7) the final entry should be required', not sufficient'. 2000-10-06 10:50:18 +00:00
Ruslan Ermilov 7023b00af1 MFC: (rev 1.18) documented host/bits syntax and 3rd netmask argument. 2000-10-06 08:54:04 +00:00
Ruslan Ermilov bfbaae6404 MFC: (rev 1.41) distinguish between 0.0.0.0/8 and `default'.
(rev 1.42) interpret argument as network only for destination.
2000-10-06 08:51:00 +00:00
Ruslan Ermilov b649aa40e2 MFC: (rev 1.9) optarg and optind are now declared in <unistd.h>.
(rev 1.10) replaced unsafe use of sprintf() with snprintf().
2000-10-06 08:19:19 +00:00
Justin T. Gibbs 1ff1d79c2a MFC: Missing ahc_lock/unlock() calls, syncrate setup moved to ahc_execute_scb(),
selective broadcast of tag/disc enable on transfer updates, correction
     to SEARCH_COMPLETE case in ahc_search_qinfifo.
2000-10-06 04:02:54 +00:00
Bruce A. Mah 131bf63458 MFC: SMP configuration option changes, ahc(4) updates, tcpdump(1) updates,
ppp(8) updates.
2000-10-06 00:45:27 +00:00
Bruce A. Mah f146e99403 MFC: New pcm(4) hardware support and synchronize lists of supported
sound hardware.
2000-10-06 00:35:34 +00:00
Ruslan Ermilov 6dddecef73 MFC: let the user know if something wrong with the local talk daemon. 2000-10-05 17:40:38 +00:00
Ruslan Ermilov 4f75ef130d MFC: Do not allow `finger -m /somefile' as well. 2000-10-05 17:33:16 +00:00
Matt Jacob 9a5ea44619 MFC (1.57): Grab the ccb *after* writing filemarks. 2000-10-05 17:05:51 +00:00
Mark Murray 3aa24db4bc MFC: New perl build methodology. Don't install miniperl. 2000-10-05 09:56:49 +00:00
Mark Murray 3820a039ae MFC: Merge the CURRENT perl-building method to STABLE. This will
dramatically reduce the dependance on miniperl.

NOTE!! This does not bring Perl-5.6.0 to STABLE !!

NOTE!! You should delete /usr/bin/miniperl !!
2000-10-05 09:55:01 +00:00
Sheldon Hearn cab195c4b2 MFC rev 1.65: add healthd 2000-10-05 07:37:37 +00:00
Cameron Grant bce1d27bf8 connect up fm801/maestro/via82c686 modules 2000-10-05 05:47:39 +00:00
Cameron Grant d31e357237 via82c686 driver module 2000-10-05 05:45:55 +00:00
Cameron Grant daa5763e37 maestro driver makefile 2000-10-05 05:44:06 +00:00
Cameron Grant 495e274e10 fm801 driver module makefile 2000-10-05 05:41:40 +00:00
Cameron Grant 5470e98770 activate format conversion feeders and via82c686/maestro/fm801 newpcm
drivers
2000-10-05 05:38:25 +00:00
Cameron Grant 6eb6631bd0 MFC: via 82c686 chipset audio driver 2000-10-05 05:32:45 +00:00
Cameron Grant b44f5bc9d8 MFC: ess mastro-2e driver 2000-10-05 05:30:46 +00:00
Cameron Grant 215aa021a5 MFC: forte-media fm801 driver 2000-10-05 05:29:38 +00:00
Cameron Grant 5c6a37c812 MFC: 32bit formats, more ioctls for linux compatibility 2000-10-05 05:23:06 +00:00
Cameron Grant 9b02860421 MFC: format conversion feeders 2000-10-05 05:20:24 +00:00
Cameron Grant 8ef98d9198 forgotten header for feeder subsystem 2000-10-05 05:19:22 +00:00
Cameron Grant 1989013484 MFC: driver updates 2000-10-05 05:12:32 +00:00
Cameron Grant 0dee6f12b8 MFC: reworked feeder system, ac97 updates, unload support 2000-10-05 05:05:10 +00:00
Justin T. Gibbs cf41d43044 MFC: Improved queue algorithm, cachline sized S/G prefetch, verbose
transfer negotiation messages, locking bug fixes, syncrate setting
     bug fix, and resource shortage queue unfreeze fix.
2000-10-05 04:32:20 +00:00
Justin T. Gibbs c5dbf1704c MFC: Correct pedantic errors in generated arrays. 2000-10-05 04:30:06 +00:00
Justin T. Gibbs 31e08c1e79 MFC: Correct aicasm dependency. 2000-10-05 04:29:27 +00:00
Kris Kennaway b7e25d04ef MFC: tcpdump security fixes and string function cleanups 2000-10-05 02:56:32 +00:00
MIHIRA Sanpei Yoshiro 325c6fd8bb MFC: (GENERIC.hints Rev.1.3)
Default the pcic to polling

reviewed in mobile mailing list
2000-10-05 00:45:17 +00:00
Warner Losh e429d2b77f MFC: kill command fix and sprintf/snprintf paranoia 2000-10-04 23:43:28 +00:00
Wilko Bulte 71b8857bb7 Got an IDE disk to work on Multia. Document how & what 2000-10-04 22:15:25 +00:00
Wilko Bulte fe736f26b6 Multia seems to use different sound chips. Until now only the Crystal
Sound based one works for me.
2000-10-04 20:25:19 +00:00
Bruce A. Mah 9d9913b563 MFC: fingerd(8), rlogind(8), rshd(8) disabled by default on new installs. 2000-10-04 17:47:36 +00:00
Yoshihiro Takahashi 9b766a1232 MFC: Disabled the pcn device for small floppy. 2000-10-04 14:26:55 +00:00
Paul Saab 717832dbdb MFC: Add the PCI device ID for the on-board ethernet controllers
on the Intel 815E motherboard.
2000-10-04 10:16:12 +00:00
Ruslan Ermilov 4066f0200d MFC: (rev 1.93) respect the protocol when looking up the port. 2000-10-04 08:02:34 +00:00
Kris Kennaway 7a2ab32471 MFC: Disable rsh and rlogin by default. 2000-10-04 07:58:51 +00:00
Mark Ovens 98c8be6a3c Changed macros Em -> Dv.
Also removed hard sentence breaks introduced in my last commit.

Suggested by:	sheldonh
2000-10-03 22:36:14 +00:00
Alan Cox ef65e03e01 physwakeup(): B_CALL has already been cleared by biodone(). 2000-10-03 22:07:24 +00:00
Bruce A. Mah 4fd686e616 MFC: pcn(4). 2000-10-03 21:27:34 +00:00
Bill Paul b95fd9bacc Regenerate. 2000-10-03 21:01:24 +00:00
Bill Paul f6a3db1dee Rrrrr. Add the device ID for the D-Link DSB650 NIC. 2000-10-03 21:01:00 +00:00
Wilko Bulte a2dc358fe2 Re-phrase wording on Multia burnout. Add section on Multia sound.
Suggested by: obrien
2000-10-03 20:55:51 +00:00
Wilko Bulte cae9a03480 Update section on Multia now that I have a few of my own to dissect.. 2000-10-03 19:38:32 +00:00
Bill Paul c15b0673ea MFC: sync with -current. Add support for D-Link NIC with different
device ID, allow homePNA transceivers to work.
2000-10-03 18:52:54 +00:00
Bill Paul 07ef04457f MFC: bring the pcn(4) driver (and homePNA PHY driver that sort of goes
with it) over from -current. This includes today's minor update to support
the PCnet/PRO chip.
2000-10-03 18:46:56 +00:00
Bill Paul 8ef215d072 Regenerate. 2000-10-03 18:32:07 +00:00
Bill Paul edfb614d8c Add ID for AMD HomePNA PHY. 2000-10-03 18:31:47 +00:00
cvs2svn c30043ca9b This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-03 18:11:37 +00:00
Jordan K. Hubbard 47354abefa MFC: fix french mirror 2000-10-03 10:22:52 +00:00
Ruslan Ermilov 9560793270 MFC: (rev 1.122) do not clobber ${DESTDIR}/usr/include/{isofs,ufs,dev}. 2000-10-03 09:38:36 +00:00
Jordan K. Hubbard eccb63b60b MFC: turn fingerd OFF by default. 2000-10-03 00:03:44 +00:00
Brian Somers 90cead86ee MFC: Don't allow finger /somefile, only allow filname expansions from
inside /etc/finger.conf
2000-10-02 22:28:46 +00:00
Jonathan Lemon f49587a7ae MFC: r1.39, NULL dereference with TCPDEBUG. 2000-10-02 15:00:55 +00:00
Peter Wemm 8f1ed76f4b MFC: 1.18: Try and slow down the flow of bogus 'Confidential' PR's 2000-10-02 01:15:55 +00:00
Bruce A. Mah e311aea2c6 MFC: asr(4) driver. 2000-10-02 01:13:17 +00:00
Bruce A. Mah 8ad4af323d MFC: CD-ROMs can be ordered for 4.x-RELEASE, not just 4.0-RELEASE. 2000-10-02 01:02:06 +00:00
Archie Cobbs 3a65a8b877 MFC: add definition for PCIS_SERIALBUS_SMBUS. 2000-10-02 00:42:47 +00:00
Archie Cobbs e900bd168e MFC: allocate all memory with M_NOWAIT 2000-10-01 21:22:42 +00:00
Justin T. Gibbs 71246d47a2 MFC: rev 1.4. Avoid using ahc_set_transaction_status() to handle errors
when no SCB is available.
2000-10-01 20:57:54 +00:00
Jacques Vidrine 7a2f7c5805 MFC r1.12: Set h_errno when an error is encountered.
PR:		bin/21092
Submitted by:	Alexander Kabaev <[email protected]>
2000-10-01 16:39:47 +00:00
Alexander Langer 7f40933a71 No, we are not supporting NE[12]000 and clones on alpha w/o the
busspacified ed(4), which is in -CURRENT only.
2000-10-01 13:33:14 +00:00
Gregory Neil Shapiro 2f1fcb59fe MFC: Remove Build files -- they rely on the devtools system which isn't
imported (or used)
2000-10-01 01:23:20 +00:00
Brian Feldman a67b74a1ba Add notes about passwd_format. 2000-09-30 17:03:38 +00:00
Mark Ovens 29c4f692b0 MFC: SC_ALT_MOUSE_IMAGE is required for the mouse if SC_NO_FONT_LOADING
or VGA_NO_FONT_LOADING are used.

PR:		21626
Submitted by:	 Vivek Khera <[email protected]>
2000-09-30 16:39:10 +00:00
Yoshihiro Takahashi 36d219938b Merged from following changes.
sys/conf/options.i386	1.132.2.4
sys/i386/conf/GENERIC	1.246.2.12
sys/i386/i386/machdep.c	1.385.2.8
2000-09-30 15:58:27 +00:00
Alan Cox 6376b5b6b9 MFC: [rev 1.19] Remove unused fields from struct __aiocb_private. 2000-09-30 08:31:33 +00:00
Paul Saab bece0f81e6 MFC: Pentium4 support. 2000-09-30 03:32:21 +00:00
Paul Saab 9e9c7c4f77 MFC:
Remove the NCPU, NAPIC, NBUS, NINTR config options.  Make NAPIC,
NBUS, NINTR dynamic and set NCPU to a maximum of 16 under SMP.

Move MAXCPU from machine/smp.h to machine/param.h to expose MAXCPU
in the !SMP case and replace NCPUS with MAXCPU since they are
redundant.
2000-09-30 02:49:37 +00:00
Brian Feldman f3748c64ee MFC: passwd_format documentation 2000-09-30 00:44:47 +00:00
Ruslan Ermilov 63290cf2f9 MFC: net.inet.ip.fw.one_pass only affects dummynet(4). 2000-09-29 08:51:10 +00:00
Kris Kennaway a3d9c11228 MFC: Use stronger randomness for TCP_ISSINCR and tcp_iss 2000-09-29 08:49:56 +00:00
David E. O'Brien 08bf59be2a MFC: use the same 's/ident.*GENERIC/ident BOOTMFS/g' logic on the Alpha
as the the i386.
2000-09-29 03:25:22 +00:00
David E. O'Brien 660cc7d17c MFC: rev 1.33 (remove `pci' only)
rev 1.26 (add NETGRAPH_ETHER)
2000-09-29 03:22:24 +00:00
David E. O'Brien 4fa6fc26b3 Opps. I added MSDOSFS to the i386 rather than alpha section.
(I had it right on the Alpha 4.1.1 build box)
2000-09-29 03:20:20 +00:00
Peter Wemm d9971cb320 MFC: add first cut mod{stat,next,find,fnext}(2) manpages 2000-09-29 00:38:57 +00:00
cvs2svn 30fb08350f This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-28 22:40:00 +00:00
David E. O'Brien c07be7576d I should have stated that rev 1.23.2.4 only applies to the Alpha. 2000-09-28 16:30:11 +00:00
David E. O'Brien 7748946c77 Do not include the MSDOSFS in the MFSROOT kernel. 2000-09-28 07:31:34 +00:00
Jonathan Lemon 10965817a4 MFC: kqueue fixes - 1.80 (honor lowat value), 1.83 (return on udp error) 2000-09-28 04:51:58 +00:00
David E. O'Brien 2fd2db62b2 Ensure vn.ko is loaded. 2000-09-28 03:05:01 +00:00
David E. O'Brien bdde22b919 Reduce one diff from HEAD to this branch. 2000-09-28 03:03:56 +00:00
Alexey Zelkin 09aee619b9 MFC: rev 1.35, fix typo 2000-09-27 18:25:35 +00:00
Archie Cobbs b351174c28 MFC: (rev. 1.802 of NOTES) add the umodem driver. 2000-09-27 16:31:19 +00:00
Archie Cobbs b6b55a601c MFC: (rev. 1.389) add the umodem driver. 2000-09-27 16:29:50 +00:00
Jeroen Ruigrok van der Werven 60796aca33 MFC: Add some features which will now be recognised.
Add documentation comments.
	Fix Katmai spelling.
2000-09-27 11:32:54 +00:00
Mark Ovens 33524f71df MFC: rev 1.2 /etc/mailer.conf -> /etc/mail/mailer.conf
PR:		21586
Submitted by:	[email protected]
2000-09-27 07:49:32 +00:00
KATO Takenori f9e543099f MFC: Recognize new Pentium III Xeon (stepping A0). 2000-09-26 09:02:23 +00:00
Jun-ichiro itojun Hagino f0a85a0969 off-by-1 error in string length validation
From: Pavel Kankovsky <[email protected]>

MFC 1.5 -> 1.6
2000-09-25 23:12:25 +00:00
Justin T. Gibbs c0048ca25b MFC: Correct logic mistake is ahc_build_transfer_msg that
left ppr_options always 0.
2000-09-25 21:57:53 +00:00
Jordan K. Hubbard 4117b346a6 MFC: [and I'll take the opportunity to put a more informative commit message
into this one from the PR]

1) Installing via HTTP proxy ( mediaSetHTTP() ) relies on mediaSetFTP().
   It's broken right now because the method of looking up the correct
   directory on the FTP server was changed in version 1.39 of ftp.c.
   This has to be changed in http.c, too.  I only look for one path
   (pub/FreeBSD/releases/MACHINE), though.

2) The issue that the FTP server's name should be resolved by the proxy:
   The current fix unsets VAR_NAMESERVER before calling mediaSetFTP().
   But in a normal install, the network hasn't been set up at this
   time.  Therefore, mediaSetFTP() will call tcpDeviceSelect() which
   sets VAR_NAMESERVER. Therefore the unwanted lookup takes place.

PR:		21449
Submitted by:	Philipp Mergenthaler <[email protected]>
2000-09-25 20:23:06 +00:00
Peter Wemm 8ccd0ab51f MFC: -X flag 2000-09-25 18:47:12 +00:00
Jordan K. Hubbard f18b8ff44d whoops, put back host.conf too (I haven't finished my coffee yet) 2000-09-25 18:39:31 +00:00
Jordan K. Hubbard be1cf3a2a9 remove nsswitch.conf entry which mistakenly got in here.
Pointed out by:	ume
2000-09-25 18:25:08 +00:00
Peter Wemm c36f5de21e MFC rev 1.4: add missing quote 2000-09-25 18:24:19 +00:00
Nick Sayer 1c73a2c9c3 MFC: v1.26 - use m_dup instead of m_copypacket to avoid broadcast
corruption.
2000-09-25 17:30:01 +00:00
Paul Saab 547a51aa9d MFC: Dynamic sysctls. 2000-09-25 12:09:20 +00:00
Mark Ovens 2be474a079 MFC: Fix typo 2000-09-25 10:56:43 +00:00
Jordan K. Hubbard 1cb81fdb43 Back to -stable 2000-09-25 07:37:33 +00:00
Jordan K. Hubbard b71f109fb5 Update everything for a post-tag, post 4.1.1 world. 2000-09-25 07:37:11 +00:00
Mark Ovens 069d6c0f25 MFC: Make ``-r'' work
Approved by:	jkh
2000-09-25 07:35:08 +00:00
Jordan K. Hubbard 57293fdc2c MFC: correct yes/no status check for a question 2000-09-25 07:15:42 +00:00
Jordan K. Hubbard 825cbd2d78 We're now FreeBSD 4.1.1 2000-09-25 06:52:21 +00:00
Jordan K. Hubbard 8b4abf8ae8 Set to 4.1.1-RELEASE 2000-09-25 06:51:43 +00:00
Jordan K. Hubbard 3a8ec363e4 Update for 4.1.1-RELEASE before laying down the tag 2000-09-25 06:50:55 +00:00
Justin T. Gibbs 4a5edfb484 MFC: Rev 1.23 - Add memset and memcpy as inline functions to bzero/bcopy. 2000-09-25 06:29:15 +00:00
Hajimu UMEMOTO 09de5d5880 MFC 1.3 -> 1.5:
- Don't touch ai_canonname without checking NULL.  Current
implementation of getaddrinfo() may return NULL ai_canonname.
There is no consensus how getaddrinfo() should fill ai_canonname
when numeric hostname is given.
- reject numeric address
- validate scope in sockaddr comparison logic
2000-09-25 02:31:56 +00:00
Archie Cobbs 15e8001b33 MFC: (rev. 1.2) use m_dup() instead of m_copypacket() for the time being. 2000-09-24 21:00:52 +00:00
Jeroen Ruigrok van der Werven 8d011a9e53 MFC: Update to the latest IANA list and document divert is homebrewn. 2000-09-24 11:26:39 +00:00
Jordan K. Hubbard abe19b75db MFC: Add security profiles (nobody's squawked about it) and Lithuania. 2000-09-24 06:55:56 +00:00
Alfred Perlstein 6215d5989e MFC: forgotten -n to SYNOPSIS 2000-09-23 22:39:54 +00:00
Brian Somers bb6f41e392 MFC: Add DLT_PPP 2000-09-23 21:00:03 +00:00
Cameron Grant dcdaaee7ad add newpcm module makefiles. not enabled yet. 2000-09-23 19:15:09 +00:00
cvs2svn 77452f6b0e This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-23 18:51:00 +00:00
Jordan K. Hubbard 78edaa9675 MFC: style changes, touch ftp/cdrom passes on completion 2000-09-23 17:15:17 +00:00
Jordan K. Hubbard 2ca0f75424 MFC: add -u flag to tftpd which sets username tftpd runs as 2000-09-23 17:14:19 +00:00
Yoshihiro Takahashi 7b284872a0 Merged from sys/boot/i386/loader/main.c revision 1.17.2.4. 2000-09-23 01:43:32 +00:00
Yoshihiro Takahashi 216ce0ac18 Merged from sys/boot/i386/libi386/Makefile revision 1.15.2.2. 2000-09-23 01:42:58 +00:00
Justin T. Gibbs c89d51325b MFC: Move aicasm to its own subdir. 2000-09-23 00:24:23 +00:00
Justin T. Gibbs 210e7050e2 MFC: U160 support plus numerous bug fixes. Code is now identical to -current. 2000-09-23 00:24:04 +00:00
Justin T. Gibbs 58244ad89b MFC: Update for new arrangement of the aic7xxx driver. 2000-09-23 00:23:17 +00:00
Justin T. Gibbs b79a80b49c MFC: Update buildkernel target for new aicasm location. 2000-09-23 00:22:56 +00:00
Justin T. Gibbs 6a3e9bab46 MFC: Add PCIM_CMD_MWRICEN. 2000-09-23 00:08:14 +00:00
MIHIRA Sanpei Yoshiro cba46f9486 MFC: add ``xe'' driver
Approved by:	jkh
2000-09-22 23:50:53 +00:00
Justin T. Gibbs 2b31cc1a9d MFC: Add SPI-3 messages and message terms. 2000-09-22 23:11:41 +00:00
Justin T. Gibbs f47b598ce1 MFC: Cleanup the SCSI syncrate table. No functional change. 2000-09-22 23:10:54 +00:00
Justin T. Gibbs 9a46677f9d MFC: Don't attempt to negotiate DT transfers on devices that don't support them. 2000-09-22 23:10:06 +00:00
Justin T. Gibbs c6fa6ffc1c MFC: Add the CAM_NEGOTIATE flag. 2000-09-22 23:09:19 +00:00
cvs2svn 8460d7052a This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-22 22:19:56 +00:00
Archie Cobbs 104ee923e2 MFC: add support for the "nullconsole" console type. 2000-09-22 17:04:46 +00:00
Jeroen Ruigrok van der Werven 4b62b62258 MFC: wormcontrol is not present in 4-STABLE anymore as well. 2000-09-22 15:08:03 +00:00
Jeroen Ruigrok van der Werven 6d8afeb982 MFC: Document where CMSG_[SPACE|LEN] came from. 2000-09-22 14:44:16 +00:00
Alexey Zelkin 22451be68a MFC: document libusb as .Lb macro option 2000-09-22 14:37:16 +00:00
Alexey Zelkin 6c1af20ad5 Activate Ukrainian catalog for vi 2000-09-22 14:33:17 +00:00
Alexey Zelkin b93417e2e5 MFC: add Ukrainian catalogs 2000-09-22 14:32:11 +00:00
Jeroen Ruigrok van der Werven aba9ade241 MFC: Fix bsd-api-new-02a comment to reflect reality. 2000-09-22 10:52:58 +00:00
MIHIRA Sanpei Yoshiro 63f25a14ff Merge pccard.conf from current. 1.127 -> 1.128
comment-in "XXX NOT SUPPORTED YET" cards
	which was supported by "fe" driver.
2000-09-22 10:12:08 +00:00
Yoshihiro Takahashi 86e0da0f56 MFC: Newbus'ify and bus_space'ify. 2000-09-22 10:01:51 +00:00
cvs2svn 8f01a4a823 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-22 09:59:24 +00:00
Kris Kennaway 2731a7bb2e MFC: Sync with recent bugfixes and changes in -current. 2000-09-22 09:44:18 +00:00
Kris Kennaway f3627e61fa MFC: Clean up include file generation 2000-09-22 09:43:38 +00:00
Kris Kennaway 55c0c77d9b MFC: Add $FreeBSD$ tags 2000-09-22 09:42:03 +00:00
Alan Cox d7fb9c1ee2 MFC: [rev 1.79] Make filt_aio() check the jobstate for JOBST_JOBBFINISHED. 2000-09-22 09:39:30 +00:00
Jordan K. Hubbard c94e2c9c22 MFC: more sanity in release/arch checking with regard to "any" value. 2000-09-22 08:14:53 +00:00
Dag-Erling Smørgrav ccea88ec8b MFC: stat, uptime, version 2000-09-22 08:01:45 +00:00
Dag-Erling Smørgrav 5b841a70a3 MFC: externalize cp_time 2000-09-22 08:01:00 +00:00
Dag-Erling Smørgrav e163d357f5 MFC: include libfetch in 'includes' target. 2000-09-22 07:49:09 +00:00
Ralf S. Engelschall 5ac7fc75e3 MFC 1.14: Resurrect documentation of chflags(2)'s SF_ARCHIVED. 2000-09-22 07:02:25 +00:00
Brian Somers fc6bac58fe MFC: Remove a forgotten line 2000-09-22 06:55:23 +00:00
Maxim Sobolev 3d29eb5efa "zope language" --> "zope platform".
Requested by:	asami
2000-09-22 06:53:44 +00:00
Satoshi Asami 0695286eaa MFC (french, zope). 2000-09-22 06:34:01 +00:00
Satoshi Asami 651804135d MFC (ports-french). 2000-09-22 06:31:43 +00:00
John Polstra 33dfb5fcf5 MFC 1.3 -> 1.4: Call _thread_init() from pthread_once() if it has
not already been called.
2000-09-22 03:59:37 +00:00
John Polstra 1a50b5017d MFC 1.9 -> 1.11: Document RTLD_{DEFAULT,GLOBAL,LOCAL} and the symbol
search algorithm.
2000-09-22 02:26:20 +00:00
John Polstra 1b576e53c5 MFC: Add support for dlsym(RTLD_DEFAULT, ...).
dlfcn.h:      1.10 -> 1.11
  rtld.c:       1.48 -> 1.49
  rtld.h:       1.19 -> 1.20
2000-09-22 02:22:52 +00:00
John Polstra f7b9664e09 MFC 1.47 -> 1.48: Pass useful info to r_debug_state(), to
be used by debuggers and/or trace tools.
2000-09-22 02:09:12 +00:00
John Polstra 3f2cc942f2 MFC 1.20 -> 1.21: Fix prototype of r_brk to agree with change to
dynamic linker.
2000-09-22 02:08:25 +00:00
Matt Jacob 92d514dcc9 MFC the major rewrite of this driver (core version 2.0). MFC support
for the non-attach of Qlogic 12160 with certain sub-vendorid.
2000-09-21 21:19:08 +00:00
Mike Smith 2fe0b9f5f3 Disable the 'twe' driver for the 4.1.1 release; there are issues with current
card firmware and the current driver which make it unadvisable to support
installing.  Doing this means that I can supply a fixed driver in a loadable
module once we have resolved the issue.
2000-09-21 20:42:29 +00:00
Mike Smith 38649cba89 MFC: bring the 'asr' driver for current DPT RAID controllers back to -STABLE. 2000-09-21 20:33:53 +00:00
Bill Paul c988a7ad42 MFC: merge in HomePNA PHY fix. 2000-09-21 20:33:42 +00:00
Matt Jacob eb9ec8b9da MFC copyright cleanups 2000-09-21 20:24:32 +00:00
cvs2svn 3c18fbd55a This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-21 20:21:31 +00:00
Robert Nordier 078a65733e MFC: -s option; correct info regarding packet mode; line-breaking style. 2000-09-21 18:35:47 +00:00
Robert Nordier e0f3a411d1 MFC: typo and BSD/OS type. 2000-09-21 17:57:50 +00:00
Archie Cobbs 433bbba30b MFC: rename "struct session" to "struct sess_con" 2000-09-21 17:57:28 +00:00
Jonathan Lemon 24374d18af MFC, r1.32: allow root to make BIOS interrupt calls. 2000-09-21 17:50:31 +00:00
Archie Cobbs 4e81b2621f MFC: allocate memory with M_NOWAIT instead of M_WAITOK 2000-09-21 17:34:10 +00:00
Josef Karthauser ee2f07a69f The following patch is for newer ELSA Microlink PCI cards which have a
new version of the Siemens/Infineon IPAC chip, it solves the following
problem:

	isic0: <ELSA Microlink ISDN/PCI> port .....
	isic0: Error, IPAC version 2 unknown
	Fatal trap 12 : page fault while in kernel mode ...

Submitted by:	hm
2000-09-21 17:19:35 +00:00
Ruslan Ermilov a28dc9b359 MFC:
- Fixed broken ICMP error generation.
- Keep the ip_id field in network byte order.
2000-09-21 17:19:16 +00:00
Eivind Eklund 2bd09196cf More information around append mode 2000-09-21 16:41:46 +00:00
Kenjiro Cho 98a25f6ef2 MFC: r1.60 change the evaluation order of the rsvp socket in rsvp_input()
in favor of the new-style per-vif socket.
2000-09-21 12:08:13 +00:00
Sheldon Hearn 8bf90e6372 MFC revs 1.306 and 1.307: Add Boca K56Flex PnP and Zoom Internal V90 Fax.
Requested by:	Glenn Johnson <[email protected]>
2000-09-21 10:21:04 +00:00
Don Lewis 6be8976a3d MFC: 1.116
Remove an unneeded #include.

Found by:	phk
2000-09-21 09:06:43 +00:00
Ruslan Ermilov 77a982e209 MFC: (rev 1.37) only install `divert natd' rule for predefined types. 2000-09-21 07:44:53 +00:00
Ruslan Ermilov 9be884b0f0 MFC: (rev 1.3) fixed the calculations with UDP length. 2000-09-21 06:56:34 +00:00
Bill Paul 1287dcd093 MFC: close PR 21245 (handle wep keys correctly and pretty printing) 2000-09-21 00:26:59 +00:00
Brian Feldman 27849225a1 MFC: sed -E (extended regular expressions, i.e. standard)
PR:		21203
Submitted by:	Peter Pentchev <[email protected]>
2000-09-20 23:59:22 +00:00
Paul Saab 329cf91ab0 MFC:
[rev 1.36]
Yank out the NOPOLL conditionals.

[rev 1.37]
Change from using poll(2) to kqueue/kevent.
2000-09-20 21:37:01 +00:00
Paul Saab 880c9e41fb MFC: [rev 1.2] Add forgotten include of sysctl.h 2000-09-20 21:34:13 +00:00
Paul Saab df05f4d45c MFC:
A near complete re-write of the accf_http filter:
    1) Parse check if the request is HTTP/1.0 or HTTP/1.1 if not dump
       to the application.
       Because of the performance implications of this there is a sysctl
       'net.inet.accf.http.parsehttpversion' that when set to non-zero
       parses the HTTP version.
       The default is to parse the version.
    2) Check if a socket has filled and dump to the listener
    3) optimize the way that mbuf boundries are handled using some voodoo
    4) even though you'd expect accept filters to only be used on TCP
       connections that don't use m_nextpkt I've fixed the accept filter
       for socket connections that use this.
2000-09-20 21:19:22 +00:00
Jordan K. Hubbard 71402abb20 MFC: add libopie
Kindly noted by:	ru
2000-09-20 20:21:08 +00:00
Brian Somers 6069aaf9de MFC: Don't redirect output by default, fix a bogus $? usage 2000-09-20 20:17:21 +00:00
Brian Somers 08807eb582 MFC: Don't redirect output by default 2000-09-20 20:16:44 +00:00
Brian Somers 0407d43ecc MFC: return the correct values for the latest version of periodic(8) 2000-09-20 20:16:19 +00:00
Brian Somers 1a51451d83 MFC: Only realloc() environ if we're sure that we know where it came from. 2000-09-20 19:46:03 +00:00
Paul Saab 994760debf MFC: [rev 1.3] IN_CLASS*() macros assume host order and s_addr is
network byte order, so we must convert them to host order.
2000-09-20 18:37:25 +00:00
Kenneth D. Merry 079ed784d6 MFC, rev 1.31:
Adjust 'camcontrol negotiate -v' so it prints out the initiator ID from the
Path Inquiry CCB.
2000-09-20 16:43:59 +00:00
Ruslan Ermilov ea85cb7148 MFC: this file was repo-copied to the locale/ subdirectory. 2000-09-20 15:59:35 +00:00
Don Lewis 453942efb5 MFC: 1.163
access() shouldn't diddle with the contents of a potentially shared
crediential.  Create a temporary copy of the current credential and
modify the copy.

Submitted by:	tegge
2000-09-20 12:21:20 +00:00
Hajimu UMEMOTO 0d8353ac60 MFC 1.3 -> 1.4: cope with the following reply on PASV (without paren).
need more tests.  227 Entering Passive Mode x,x,x,x,x,x,x
2000-09-20 11:37:38 +00:00
Brian Feldman 0a25ad1031 MFC: login.conf password format switching 2000-09-20 11:19:55 +00:00
Maxim Sobolev ea1699f333 MFC: Add wrapper for fpathconf(2) syscall.
Reviewed by:	jlemon
Approved by:	jkh (MFC)
2000-09-20 10:28:52 +00:00
Jordan K. Hubbard 68b56651b4 MFC: Honour skey.access(5) by allowing UNIX passwords when skeyaccess(3)
has set pwok to a non-zero value.  Eliminate gratuitous extern.
2000-09-20 09:57:58 +00:00
Jordan K. Hubbard 4d8b243464 MFC: get at errno properly. 2000-09-20 09:55:34 +00:00
Jordan K. Hubbard 391532fbcd MFC: remove gratuitous register reference 2000-09-20 09:54:16 +00:00
Jordan K. Hubbard 888fea22a5 MFC: fix prototypes, add xref in man page 2000-09-20 09:53:24 +00:00
Jordan K. Hubbard be014011f1 MFC: parser fixes to radius and tacplus, add $FreeBSD$s, cosmetic tweaks 2000-09-20 09:49:18 +00:00
Jordan K. Hubbard 4ed529ed9c MFC: correct xref 2000-09-20 09:37:48 +00:00
Jordan K. Hubbard 5fbdca518a MFC: provide an opie module for pam. 2000-09-20 09:34:50 +00:00
Jordan K. Hubbard 4152100663 MFC: proper parsing of package names, spelling fixes, updates 2000-09-20 08:53:55 +00:00
Jordan K. Hubbard 012e830d4b MFC: syncronize periodic with new knobs in work scripts 2000-09-20 08:52:10 +00:00
Jordan K. Hubbard dbc8255316 MFC: document changes to periodic 2000-09-20 08:51:23 +00:00
Jordan K. Hubbard 6c05034cbe MFC: Use strtok instead of strsep. Handle links explicitly in remove.
Check additional failure case in getopt.
2000-09-20 04:43:13 +00:00
Jordan K. Hubbard ace4f30866 MFC: use strtok, eliminate warnings. 2000-09-20 04:40:57 +00:00
Jordan K. Hubbard 06c6272fec MFC: add quite a few more seat-belt checks and user tunable knobs 2000-09-20 02:46:17 +00:00
Jordan K. Hubbard 631e8e6c2e MFC: add log entries for periodic scripts 2000-09-20 02:43:46 +00:00
Jordan K. Hubbard 525b7bbca5 MFC: new defaults for message logging 2000-09-20 02:35:57 +00:00
Jordan K. Hubbard 750473c511 MFC: simplify periodic entries 2000-09-20 02:32:51 +00:00
Jordan K. Hubbard 4907415129 MFC: Add missing $FreeBSD$ lines. 2000-09-20 02:32:06 +00:00
Jordan K. Hubbard dcc3893ba3 MFC: eliminate unnecessary global reference 2000-09-20 02:27:57 +00:00
Jordan K. Hubbard 9ca41b1ad1 MFC: fix trailing newline bug 2000-09-20 02:24:32 +00:00
Jordan K. Hubbard 1ce6421eca MFC: use /.amd_mnt as default for -a 2000-09-20 02:17:04 +00:00
Jordan K. Hubbard 6d59ffa2c3 MFC: spelling correction 2000-09-20 02:16:11 +00:00
Gregory Neil Shapiro d8a4f54f47 MFC: Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.
2000-09-19 23:37:14 +00:00
Peter Wemm 5526424e67 MFC: 1.25: Initialize variable to avoid strange stuff 2000-09-19 23:00:18 +00:00
Archie Cobbs 391695ceb6 MFC: NGM_BPF_{G,S}ET_FILTER should be NGM_BPF_{G,S}ET_PROGRAM. 2000-09-19 21:36:01 +00:00
cvs2svn e789e41f8c This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-19 18:01:04 +00:00
Julian Elischer 6b36b3ea2c MFC: 1.10
When sending a packet back to a network interface to simulate an arrived
papcket, make sure that the packet has the interface marked in the first mbuf,
the same a truely arrived packets would have.
    (stops a kernel page fault on multicast/broadcast udp packets).
2000-09-19 10:11:02 +00:00
Paul Saab fc4ac9ad5a MFC: [rev 1.148]
Teach the NFS && NFS_ROOT case how to pick up information left by the
PXE loader, and use this to build the nfs_diskless structure.
2000-09-19 09:16:28 +00:00
Paul Saab 0d720da3c4 MFC: [rev 1.64] Add new line character to debugging printf's. 2000-09-19 09:00:29 +00:00
Jordan K. Hubbard 542a4bd3fd MFC: simplify directory search code / elide warning 2000-09-19 07:47:09 +00:00
Jonathan Lemon f9492f4cfd MFC: r1.38, close race window for TCP timer callbacks. 2000-09-19 02:41:30 +00:00
Mark Ovens a63e181741 MFC rev 1.14. Missinf .It macros
PR:		21215
2000-09-18 23:15:05 +00:00
Brian Somers 9d1ffd86e5 MFC: Add PPP_NOSUID 2000-09-18 17:05:08 +00:00
Hajimu UMEMOTO 452463d905 MFC 1.8 -> 1.9: examined the gateway (from the routing table) only
when the address family of the gateway is AF_INET6.
2000-09-18 16:53:39 +00:00
Ruslan Ermilov 85143955db MFC: (rev 1.45) fixed printing of header for IPv4 routing table. 2000-09-18 11:18:14 +00:00
Paul Saab a1ac306c0f Properly fix the build on the alpha. 2000-09-18 08:09:39 +00:00
Sheldon Hearn 2473ca9ba4 MFC: rev 1.19: fix typos 2000-09-18 07:46:39 +00:00
Matt Jacob 4758193e82 The alpha -stable builds have been broken for awhile. This is
a temporary patch so that things can proceed. The complexity
of what got (only partially) MFC'd needs still to be addressed-
hopefully by those who were involved.
2000-09-18 07:35:41 +00:00
Kris Kennaway 94717f659c MFC: Roll librsa* back into libcrypto 2000-09-18 03:00:07 +00:00
Jordan K. Hubbard 8d19d31c5a MFC: remove gratuitous getopt dependencies
add -i flag to ln(1)
2000-09-18 02:07:12 +00:00
Kris Kennaway ee5c54e6dc Sync up the relevant parts of make.conf with -current. Missing are
ENABLE_SUIDPERL and PPP_NOSUID, not yet merged.
2000-09-17 23:58:04 +00:00
Andrey A. Chernov 28536f39a5 MFC: spelling 2000-09-17 20:32:46 +00:00
Dag-Erling Smørgrav 0537eed641 MFC: absolute paths, raw sockets 2000-09-17 20:02:53 +00:00
Dag-Erling Smørgrav 641aa40590 MFC: if output file is a device node, don't set mtime or unlink 2000-09-17 19:51:14 +00:00
Dag-Erling Smørgrav dd2d1e78b3 MFC: describe FTP_PROXY better 2000-09-17 19:49:55 +00:00
Gerard Roudier 475d7ca868 PR: 20895
MFC: sym_defs.h 1.6, sym_hipd.c 1.18
- Fix PR kern/20895
- Work-around PR misc/17584
2000-09-17 18:50:20 +00:00
Gerard Roudier 8809b3e1d5 PR: 21029
Change:
- Let ncr return -1000 (priority) from the
  probe routine. The new-bus related changes
  broke this trick ( hack ? :) ) that allows
  to use both `ncr' and `sym' drivers.

PR 21029:
- Reported `ncr' attaching a sym53c875 when
  `sym' was expected. Should be fixed by this
  commit.
- Reported that `ncr' failed at boot.
  This was caused by WIDE data transfers
  being negotiated with a WIDE device
  connected using a NARROW  cable.
  `sym' can cope with that, thanks to
  reading setup information from NVRAM.
2000-09-17 18:47:00 +00:00
MIHIRA Sanpei Yoshiro 6bfe57d576 MFC(1.56): fix multi io window patch. 2000-09-17 15:17:07 +00:00
Alexander Langer 3fca249e96 MFC: Reference DRIVER_MODULE.9 2000-09-17 12:41:34 +00:00
Alexander Langer e8aaad5861 MFC: Add DRIVER_MODULE.9 2000-09-17 12:38:27 +00:00
cvs2svn f1e231f65d This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-17 12:15:13 +00:00
Roger Hardiman 73f19c8760 Place bktr_mem before bktr so the modules load in the correct order 2000-09-17 07:23:44 +00:00
Don Lewis c91b0048df MFC: 1.16
Silence lame compiler warning.

Submitted by:	bde
2000-09-17 00:00:48 +00:00
Brian Somers 7c291eafb7 MFC: Fix some typos
Sync some #ifdefs that don't affect FreeBSD
     Understand ESP packets
     Add ``set log filter''
     Count the number of packets when gathering throughput stats
2000-09-16 23:09:06 +00:00
Brian Somers 0fb1062407 MFC: Add an example of how to use pppctl to tweak ppp filters to avoid
dial-on-demand at certain times of the day.
2000-09-16 22:54:54 +00:00
Brian Somers acb7aab0a1 MFC: If -p is used on the command line, nuke it and it's argument using
setproctitle().
2000-09-16 22:53:52 +00:00
Brian Somers 560d2edaf7 MFC: Nuke libutil dependencies now that setproctitle() is in libc 2000-09-16 22:52:29 +00:00
Brian Somers b31e3e417a MFC: Move setproctitle() from libutil to libc
and bump __FreeBSD_version to 410002 to mark the occasion.
2000-09-16 22:47:18 +00:00
Andrey A. Chernov a2a0bc933b MFC: add tr_TR.ISO_8859-9 2000-09-16 22:26:07 +00:00
Jordan K. Hubbard d2ed71b0e5 MFC: crypto is now a reasonable default. 2000-09-16 21:39:26 +00:00
Andrey A. Chernov 8065be85bd MFC: tr_TR 2000-09-16 18:08:40 +00:00
cvs2svn e9805d928b This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-16 18:06:30 +00:00
Roger Hardiman 9df9190731 MFC: Merge changes from 1.16 and 1.17 which allow ISA PnP drivers
to by dynamically loaded after the kernel has booted.

Submitted by:	Devin Butterfield <[email protected]>
Reviewed by:	Doug Rabson
2000-09-16 15:49:52 +00:00
Jordan K. Hubbard f066f5da64 MFC: changes to search snapshot sites, add selection of fixit tty,
selectable pccard IRQs and some misc fixes.
2000-09-16 09:08:45 +00:00
John Baldwin 0375ec1799 s/#elsif/#elif/
Submitted by:	B. Scott Michel <[email protected]>
2000-09-16 01:08:03 +00:00
Brian Somers 5b0ad3b32b MFC: Don't quit when we've processed argc-1 password entries 2000-09-15 21:51:00 +00:00
Bruce A. Mah d41c9be39d MFC: Release note for netgraph enhancements/improvements.
Submitted by:	archie
2000-09-15 20:52:48 +00:00
Mitsuru IWASAKI e1150dec31 MFC: Fix typo in manpage.
Submitted by:	OKAZAKI Tetsurou <[email protected]>
2000-09-15 19:19:28 +00:00
Hajimu UMEMOTO 7e7a090d51 MFC rev 1.10 -> 1.11: Avoid doing rtsol to psuedo interface. 2000-09-15 16:41:54 +00:00
Hajimu UMEMOTO 146f2ce258 MFC rev 1.17 -> 1.18: Make sure to accept RA. Some laptops run
/etc/pccard_ether before /etc/rc.network6.
2000-09-15 16:40:07 +00:00
Matt Jacob d9e427b1bd MFC(1.55):" QIC 525 really should be 512 byte fixed blocksize. 2000-09-15 15:15:28 +00:00
Matt Jacob a4a2bba676 MFC:Fix sign extension. 2000-09-15 15:09:37 +00:00
Jordan K. Hubbard 6a075b1278 MFC: fix DHCP variable check 2000-09-15 08:35:55 +00:00
Roger Hardiman 005052738f MFC Add device 155 /dev/phone for Quicknet cards 2000-09-15 07:47:47 +00:00
Don Lewis b6546b418f MFC: 1.82
Enforce process limit policy in one place to keep proccnt from diverging
from reality.
2000-09-14 23:21:18 +00:00
Jonathan Lemon 1d8743e9d0 MFC: r1.141, do not reference fragment after calling m_cat(). 2000-09-14 21:12:13 +00:00
Jonathan Lemon 9e30f596b9 MFC, r1.66 - bugfix for filt_pipewrite. 2000-09-14 20:27:13 +00:00
Ruslan Ermilov f8ac4c0f42 MFC: latest fixes from -current. 2000-09-14 17:32:39 +00:00
Bruce A. Mah a83464c5b5 MFC: PORTREVISION/PORTEPOCH support and update URL for on-line INDEX
example.
	pkg_version.pl:	1.6->1.9
	pkg_version.1:	1.6->1.7
2000-09-14 17:15:06 +00:00
Yoshihiro Takahashi 897b2afbd9 MFC: Added boot selector supports for PC-98. 2000-09-14 12:10:46 +00:00
Garrett Wollman f7b535d5db MFC: compilation and bounds-checking fix from rev. 1.6
PR:		21177
Submitted by:	[email protected]
2000-09-13 19:55:30 +00:00
Warner Losh 4d9ce950c5 Add mergemaster step before reboot.
Suggested by: Kent Stewart <[email protected]>
2000-09-13 18:50:54 +00:00
Julian Elischer f76f62269b MFC: fix minor typo in sample code. 2000-09-13 13:57:25 +00:00
Sheldon Hearn e778354b75 MFC rev 1.24: improve wording of previuos commit 2000-09-13 08:41:36 +00:00
Archie Cobbs 34a1181492 MFC: (rev. 1.47) no snd_nxt rollback optimization for SYN packets 2000-09-13 04:27:06 +00:00
Archie Cobbs 7e65ee8515 MFC: netgraph node type for Ethernet bridging 2000-09-13 04:24:00 +00:00
Archie Cobbs 113a77299b MFC: (rev. 1.9) fix wrong offset bug in ng_enaddr_unparse() 2000-09-13 04:12:29 +00:00
Archie Cobbs b653663272 MFC: (rev. 1.6) export ng_ether_enaddr_type. 2000-09-13 04:11:57 +00:00
Sheldon Hearn 2972fc525e MFC rev 1.23: clarify handling of securelevel 2000-09-12 12:31:32 +00:00
Semen Ustimenko c1457f9a7f Sign tx driver as useing miibus, and depending on it. 2000-09-11 20:07:15 +00:00
Bruce A. Mah 6d3d72d806 MFC: binutils->2.10.0, libreadline->4.1, ifconfig(8) lladdr,
bktr(4)->2.1.5.
2000-09-11 18:19:43 +00:00
Bruce A. Mah 085aed68b0 Note MFC: killall(1) as a C program, boot98cfg(8) for i386. 2000-09-11 15:08:21 +00:00
Roger Hardiman 9637ca662a MFC: Correct the module initialisation position. 2000-09-11 12:25:15 +00:00
Roger Hardiman 5869d5290b Make bktr module user bktr_mem module 2000-09-11 11:18:55 +00:00
Roger Hardiman d16121a18b MFC: Add bktr_mem_load, default set to NO 2000-09-11 11:16:43 +00:00
KATO Takenori 68c32223aa MFC: Activate boot98cfg and moved boot0cfg into IBM-PC only section. 2000-09-11 11:04:37 +00:00
KATO Takenori 4b0bf1608d MFC: Added boot98cfg - boot manager installation and configuration
utility.
2000-09-11 11:02:41 +00:00
Roger Hardiman 1f5f580ac3 MFC: Change to SI_ORDER_FIRST 2000-09-11 10:38:02 +00:00
KATO Takenori 6c459120a2 MFC: added boot selector for PC-98. 2000-09-11 09:19:46 +00:00
Roger Hardiman 235bbe89a0 MFC: Update makefiles to buld bktr and bktr_mem modules
Note: this will build bktr_mem, but it is not being used yet.
2000-09-11 09:03:10 +00:00
Roger Hardiman a74de1a65e MFC: Add new files for bktr_mem module 2000-09-11 08:24:41 +00:00
Roger Hardiman e33b9ce7e3 MFC: Update to driver release 2.15.
Functional changes: New tuner types added, improvmemts to KLD module
                    and memory allocation.
2000-09-11 07:59:57 +00:00
cvs2svn 63f72fa3bd This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-11 07:14:44 +00:00
Kenneth D. Merry 1249a06d12 MFC: Add quirk entries from Andre Albsmeier to disable the sync cache
command for the Quantum "MAVERICK 540S" and "LPS525S".

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

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

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

Tested by:	Andre Albsmeier <[email protected]>
Discussed with:	gibbs
2000-09-11 05:37:00 +00:00
Peter Wemm 018b3aaeb4 MFC: rev 1.168: no longer force USA_RESIDENT to be set. 2000-09-10 23:02:58 +00:00
Semen Ustimenko 218561808a MFC: tx driver can be built as KLD. 2000-09-10 20:39:26 +00:00
Semen Ustimenko 6d78272f9d MFC: driver converted to use newbus and miibus. Alos support for
BTX and TX_2 cards.

PR:		kern/20967
2000-09-10 19:51:07 +00:00
Semen Ustimenko a9c5b62537 MFC: added ALTIMA's AC 101 PHY. AC101 and QS6612 are quite compatible
with DP83840, so support them as nsphy. All this to convert tx driver
to use miibus.

PR:		kern/20967
Obtained from:	current
2000-09-10 19:22:04 +00:00
Yoshihiro Takahashi cbaea43510 MFC:
- bus_space'ify.
 - Fixed the IRQ9/IRQ2 confusion.
 - Added support for AX88190, equipped in MELCO LPC3-TX.
 - Added PC-98 Cbus devices support.
 - Removed old ed driver.
2000-09-10 08:45:13 +00:00
Yoshihiro Takahashi 82b2a95498 Merged from sys/boot/i386/loader/Makefile revision 1.41.2.4. 2000-09-10 07:58:22 +00:00
Paul Saab 60eeb8b84b MFC:
Add support to send the string 'PXEClient' as the Vendor class
  identifier to the DHCP server.  Now you can check for this string
  in your dhcp configuration to decide whether you will hand out a
  lease to the client or not.
2000-09-10 02:52:19 +00:00
Paul Saab 3fb3ca8401 MFC: [rev 1.47]
Look for libstand in the built tree rather than in /usr/lib.  This
likely could be done better, but the tree is broken and I wanted to
get a fix into the tree.
2000-09-10 01:46:51 +00:00
Paul Saab 102f8a9317 MFC: [rev 1.16]
Export the salient configuration items in a non-pxe-specific namespace
  to allow commonality between varying platforms.  This is a step
  towards parsing the diskless configuration information with MI code
  inside the kernel.

  Export the interface hardware address to the kernel, so that it is possible
  to determine the boot interface with certainty.

  Export the NFS filehandle for the root mount to the kernel, so that the
  kernel does not need to perform a mount RPC call.
2000-09-10 01:46:14 +00:00
Paul Saab 375247b7c8 MFC: [rev 1.92] Don't scan for the "right" network interface by
shooting in the dark.  Assume that the nfs_diskless structure is
correctly set up; the provider ought to be getting it right.
2000-09-10 01:45:36 +00:00
Paul Saab 17ccbf932d MFC: Expose the NFS root node, so that an evil consumer can use it
to get the NFS filehandle for the root mount.
2000-09-10 01:33:25 +00:00
Paul Saab cda1cae951 MFC: Implement readahead buffering for non-raw files. 2000-09-10 01:32:06 +00:00
Paul Saab 08aac913b1 MFC: Silence warnings. 2000-09-10 01:25:52 +00:00
Paul Saab 7db54a7dda MFC: Cleanup warnings by adding missint prototypes, removing
unneeded duplicate prototypes, and adding in several 'const's.
Also, add some missing $FreeBSD$'s.

Found by:     BDECFLAGS
2000-09-10 01:24:16 +00:00
Paul Saab 8dea286d3c MFC: C version of killall. 2000-09-09 23:58:19 +00:00
Wilko Bulte f1157fff55 Overhaul of AS2[01]0[A] description. 2000-09-09 10:02:39 +00:00
Bruce A. Mah ff9a5d3994 Document MFC: 3C556/3C556B support in xl(4) driver. 2000-09-08 22:14:28 +00:00
Daniel C. Sobral 7c39fe5b00 MFC. The boot-conf command now requires an argument. 2000-09-08 17:19:01 +00:00
Andrey A. Chernov 8f36954927 MFC: prevent buffer overflow 2000-09-08 11:45:14 +00:00
Kris Kennaway fc52943f8c MFC: Disallow '/' in LC_* environment variables 2000-09-08 07:32:43 +00:00
Warner Losh 2539af615d Add entries for MFC of libkvm changes forcing recall.
MFC the sendmail warning about /etc/mail/aliases.
2000-09-08 04:43:05 +00:00
Bruce A. Mah ac21201414 Move a misplaced release note documenting AS1200 support from userland
to kernel.
2000-09-07 21:32:39 +00:00
Bruce A. Mah fd3ff8ef3c Crypto-related release notes: RSAREF no longer needed in the USA,
sshd now enabled by default on new installs.
2000-09-07 21:30:01 +00:00
Don Lewis 274b361964 MFC:
Remove hash table lookups and maintenance from chgproccnt() and chgsbsize()
and chase pointers stored in pcred and ucred instead for better performance
and to avoid these operations in interrupt context which could possibly
cause panics.

Because the pcred and ucred structures changed size, libkvm and friends
will need to be rebuilt.
2000-09-07 19:13:55 +00:00
Bill Paul 14fe08292a MFC: don't twiddle the LED enable bits on the NEC VersaPro NoteBook PC. 2000-09-07 18:51:49 +00:00
Bill Paul 6f6502f1a7 MFC: close PR #20963, don't let non-root users see encryption keys. 2000-09-07 17:10:41 +00:00
Andrey A. Chernov cc13a2cc6d MFC: more checks, rewritting, SUSv2 conformance 2000-09-07 16:46:33 +00:00
Jordan K. Hubbard 94e00feef2 MFC: sshd enabled by default. The other foo_enable lines are no-ops
for now since the respective services are already enabled by default,
but this will likely change before 4.2 so might as well make sure
we're covered when the time comes.
2000-09-07 16:02:48 +00:00
Yoshihiro Takahashi f7e51511f1 MFC: Don't assume that address of I/O address table increase (PC-98 only). 2000-09-07 14:43:52 +00:00
Peter Wemm 149f8fd52b MFC: build librsaintl by default now that RSA Security Inc have waived
all rights to the patent.
2000-09-07 04:02:06 +00:00
Tor Egge cf270333f2 Performing a locked instruction after the call to rel_mplock does not
guarantee that other processors will be able to obtain the giant lock.

Using the wbinvd instruction avoids the livelock.
2000-09-07 01:18:26 +00:00
Mark Ovens 6da4cbc3cd MFC rev 1.14 markup typo 2000-09-06 20:15:28 +00:00
Bruce A. Mah 7ae6c80272 MFC: Bring in the list of supported ATA controllers from -CURRENT.
Reviewed by:	soren (casually)
2000-09-06 17:15:32 +00:00
Bruce A. Mah 40912c4190 In release notes, reflect MFC of Alteon AceNIC 1000baseT and Netgear
GA620T 1000baseT support in ti(4).

In hardware list, add aforementioned NICs, add some other ti(4) NICs
found by source code examination, and re-sort list of NICs supported
by ti(4) driver.
2000-09-06 17:06:45 +00:00
Sheldon Hearn ff6bba1ae0 MFC rev 1.274: add Norwegian mirror. 2000-09-06 13:20:47 +00:00
Martin Cracauer 2a91167cce Merge various fixes that had their test time in -current:
- stack fixes (from tegge)
- backout of parts of my 8-bit fixes
- type for absolute paths
2000-09-06 08:38:45 +00:00
Bruce A. Mah 77b43afb80 Note the MFC of ATA100 support into the ata(4) driver. 2000-09-05 21:37:33 +00:00
Wilko Bulte 461827c6f4 silly typo
Submitted by:	"Koster, K.J." <[email protected]>
2000-09-05 17:18:36 +00:00
MIHIRA Sanpei Yoshiro 574fbe4da1 Merge pccard.conf from current. 1.124 -> 1.127 2000-09-05 14:18:58 +00:00
Sheldon Hearn 8fc083fd73 MFC rev 1.40: only be verbose when -v is specified. 2000-09-05 12:07:56 +00:00
Sheldon Hearn 6753af6e8a MFC rev 1.64: add acap. 2000-09-05 08:38:14 +00:00
Robert Watson d7aa95c1e7 o MFC of 1.165
o Remove commented out code which modified return values from
  extattr_{get,set} syscalls in the face of partial reads or writes.

Obtained from:	TrustedBSD Project
2000-09-05 02:13:48 +00:00
Robert Watson cd6a0afa2c o MFC if_loop.c 1.52 - add a missing "\n" to the end of a warning printf. 2000-09-04 21:50:39 +00:00
Wilko Bulte 26748169d7 Add AS1200 to description for DEC_KN300 2000-09-04 21:04:56 +00:00
Nick Hibma 4adfc2220c Implement the Power enable command in the vhub. Removes the IOError message
on startup.
2000-09-04 17:15:31 +00:00
Gregory Neil Shapiro ad0bdcc095 MFC: Typo fix 2000-09-04 04:00:13 +00:00
Wilko Bulte 51ad96ee53 Tincup & Rawhide need their VGA cards in a slot connected to PCI0 for the
BIOS emulation to work.
2000-09-03 17:34:44 +00:00
Jun-ichiro itojun Hagino cc06314de7 MFC 1.2 -> 1.3 2000-09-03 13:46:55 +00:00
Ralf S. Engelschall 50261115da MFC: Fix resolv.conf line hint: "name-server" -> "nameserver" 2000-09-03 12:25:54 +00:00
David E. O'Brien 8873f942be MFC: rev 1.4 (fix version) 2000-09-03 02:46:58 +00:00
Wilko Bulte 54e4a29841 Correct wording
Submitted by:	obrien
2000-09-02 20:30:57 +00:00
Wilko Bulte 034f5cb83b - Add AS1200/Tincup description
- Add a bunch of new machine codenames
- Cleanup Miata a bit
- Update AS[56]00 description
- fix typos
2000-09-02 10:19:32 +00:00
Wilko Bulte ac82815415 Document AS1200/Tincup has been tested successfully 2000-09-02 10:17:59 +00:00
Bill Paul 7211b2e190 MFC: make link and activity LEDs work on non-MII 21143 cards 2000-09-02 00:05:23 +00:00
Mike Smith 2a17a83ad9 MFC: fix up botched PCI configuration by the BIOS in the case where a
resource has been allocated but its class is not marked as enabled
in the command register.
2000-09-01 23:29:34 +00:00
Archie Cobbs fe81ac50e4 MFC: (rev. 1.6) avoid free'ing a NULL pointer 2000-09-01 22:45:19 +00:00
Brian Somers d730fb1323 MFC: Allow file name specs in finger.conf 2000-09-01 20:14:16 +00:00
Bruce A. Mah 945b98f389 Note in release notes that finger(1) now supports finger aliases. 2000-09-01 18:40:56 +00:00
Bruce A. Mah 83bb66225b Reflect the MFC of: Posix.1b shared memory objects, OpenSSL 0.9.5a.
(routed 2.22 already mentioned in a prior commit)
2000-09-01 16:40:29 +00:00
Kris Kennaway a0357e1aac MFC: Fix for buffer overflow in command-line arguments to dnsquery(1) 2000-09-01 09:14:04 +00:00
David E. O'Brien 945d1a372c MFC: rev 1.78 (remove "-c" override from amd_flags). 2000-09-01 01:09:42 +00:00
Brian Feldman e01d44bde6 MFC: Casts are needed to subtract u_longs.
Submitted by:	tor
2000-08-31 22:23:28 +00:00
Brian Feldman 617f828786 MFC: fix hangs in sbreserve().
Submitted by:	Nickolay Dudorov <[email protected]>
2000-08-31 11:32:42 +00:00
Sheldon Hearn e14f5f5555 Fix typo: guesst -> guessed.
PR:		20955
Submitted by:	Don Brearley <[email protected]>
2000-08-31 10:27:17 +00:00
Hidetoshi Shimokawa edbd68108a MFC: 1.4 reflect chgproccnt() change. 2000-08-31 02:48:24 +00:00
Brian Somers f69ca51519 MFC: Don't treat two or more whitespace followed by a comment as
an empty argument
2000-08-30 20:52:17 +00:00
Brian Somers 85ae4f3b42 MFC: Complain about invalid arguments passed to ``set ifaddr'' 2000-08-30 20:51:49 +00:00
Ruslan Ermilov 25a3ffe80c MFC: (rev 1.45) return error not zero from div_bind(). 2000-08-30 14:47:53 +00:00
Andrey A. Chernov f6041c8a62 MFC: Turkish keyboard 2000-08-30 11:06:49 +00:00
cvs2svn 18b96927ee This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-30 11:04:52 +00:00
Andrey A. Chernov 7107cc2d91 MFC: descriptor lifetime 2000-08-30 10:26:17 +00:00
David E. Cross e5d918ba99 PR: kern/20878
Submitted by:	Jon Chen <[email protected]>
Reviewed by:	David Cross <[email protected]>, Bill Paul <[email protected]>
Approved by:	Bill Paul <[email protected]>
Obtained from:	Jon Chen <[email protected]>
MFC: Patches to support the 3Com 556 and 556B MiniPCI ethernet adapters.
Tested and verified to work with 556B with -STABLE.
2000-08-30 05:46:23 +00:00
Jacques Vidrine e49c83a56e MFC revision 1.5: Fix ordering for real this time. 2000-08-30 03:51:09 +00:00
Paul Saab 2a26b68676 Fix typo in previous commit.. inT -> int
Big pointy hat to:	green
2000-08-30 02:40:54 +00:00
Jun-ichiro itojun Hagino e859b2730f MFC; IN_MULTICAST has different endian on *BSD. 2000-08-30 02:37:06 +00:00
Brian Feldman a2e5a65e73 MFC: chgsbsize() API change (it modifies the passed &sb_hiwat itself under
an splnet() 'lock')

Alfred initally came to the conclusion this was another race condition.
2000-08-30 00:32:25 +00:00
Brian Feldman 30b902add9 MFC: chgsbsize() API change (it modifies the passed &sb_hiwat itself under
an splnet() 'lock')

Alfred initally came to the conclusion this was another race condition.
2000-08-30 00:20:47 +00:00
Brian Feldman 60ee22579d MFC: uidinfo race fixes 2000-08-30 00:01:48 +00:00
Jacques Vidrine 0fe62d7318 MFC revision 1.4: Add a dependency needed when using parallel make.
Approved by:    markm
2000-08-29 19:24:12 +00:00
Bruce A. Mah feaa69cfb2 Make the following additional entries to RELNOTES.TXT files:
alpha and i386:  tap driver, accept_filters, routed update
to 2.22, truncate(1), syslogd(8) -n option, kenv(1),
periodic(8) controlled by periodic.conf, logger(1) support for
remote syslogs.

PR:		20630
Submitted by:	[email protected]
2000-08-29 17:25:51 +00:00
Dag-Erling Smørgrav e7348d1e1c MFC: grok 125 replies to passive RETR 2000-08-29 16:04:36 +00:00
Alexey Zelkin a76f25198d MFC: rev 1.4, bring manual page into reality
MFC: rev 1.5, remove hard sentence breaks
2000-08-29 15:49:24 +00:00
Alexey Zelkin baa5ecebc4 MFC: rev 1.30, add libusb 2000-08-29 15:16:47 +00:00
Andrey A. Chernov 6c02973b2d MFC: 8859-9 font 2000-08-29 08:00:14 +00:00
cvs2svn 6085b4b9cc This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-29 07:58:53 +00:00
Andrey A. Chernov 7b0b69f1d0 MFC: iw fixes 2000-08-29 04:14:13 +00:00
Andrey A. Chernov c43ea0e3fe Hebrew keyboard 2000-08-29 04:07:52 +00:00
cvs2svn f064852a82 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-29 04:05:31 +00:00
Satoshi Asami 8f3f150b5c Merge 1.235 (BSD.x11-4.dist). 2000-08-28 20:26:15 +00:00
Murray Stokely 8cf9086572 This allows you to script sysinstall to say "NO" to DHCP and IPv6.
Previously, you could only script these features if you said YES.

PR:		20334
Approved by:	jkh
2000-08-28 17:55:35 +00:00
Andrey A. Chernov b2bf7260c5 MFC: 8859-8 fonts 2000-08-28 16:30:41 +00:00
cvs2svn 895c13aefa This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-28 15:07:59 +00:00
Sheldon Hearn fb2c932b9b MFC rev 1.33: better explanation of where to find additional mount
options.
2000-08-28 08:55:04 +00:00
Hajimu UMEMOTO d2ea14b124 MFC 1.19 -> 1.20: make sure we have IV that is random enough. memory
allocator on some of platforms give us almost constant number (oops).
2000-08-28 08:29:34 +00:00
Paul Saab baf9d6391f MFC: rev 1.58
Don't create a garbage file named "install" for the NOINFO case when
there happens to be a source file named install.sh.  The null rule
for "install" in the NOINFO case must not be completely null, since
then it may be overridden by the implicit .sh rule.
2000-08-28 02:58:20 +00:00
Warner Losh 738b91672d MFC: Sendmail 8.11.0 2000-08-28 00:11:35 +00:00
Gregory Neil Shapiro cef18057c8 MFC: Import of sendmail 8.11.0.
Includes: moving /etc/aliases to /etc/mail/aliases, removing outdated
               documentation, and updating freebsd.mc for new syntax.
2000-08-27 17:31:46 +00:00
Kazutaka YOKOTA 7970a0eb3a MFC: Fix ioctl MOUSE_SETMODE as defined in mouse(4). (1.5) 2000-08-27 12:37:36 +00:00
Peter Wemm 1a8b94c5f5 MFC: this file isn't used. 2000-08-27 03:57:50 +00:00
Peter Wemm 0aac330671 MFC: rev 1.21: allow PCI irqs to be shared like before.
Submitted by:	Jonathan Chen <[email protected]>
2000-08-26 22:21:21 +00:00
Hajimu UMEMOTO 5ff67ac1b0 MFC: Add UNIX domain socket feature to pccardd. This makes pccard
related PAO3/ports such as gxcardmon work.
2000-08-26 15:49:48 +00:00
Paul Saab df1b95e982 MFC: rev 1.11
Fix systat to use the kern.ipc.mbtypes sysctl instead of referencing a
structure member that doesn't exist anymore.
Use getsysctlbyname for kern.ipc.mbstat instead of sysctl.
Use netstat's method of displaying values from mtnames.
2000-08-26 09:36:55 +00:00
Paul Saab 5bbded3b39 MFC: rev 1.70
sysctl which hides all process except those that belong to the user
asking for the process list.
2000-08-26 05:14:20 +00:00
Warner Losh b1a7587d5a In updating a machine from 3.5.1 CDROM to -stable, I found that
ldconfig is always needed, so go ahead and just include it in the
upgrade instructions.  People will always hit this and there's no need
to have an IF statement that always evaluates to true.
2000-08-26 05:05:18 +00:00
Kazutaka YOKOTA c640f66a9b MFC: add option BROKEN_KEYBOARD_RESET to opt_reset.h.
PR: conf/20806
2000-08-26 04:19:26 +00:00
Peter Wemm 260316605f MFC: rev 1.56: splimp() protect a tsleep/wakeup race for mbuf frees from
interrupt context (eg: network card drivers)
2000-08-25 23:23:32 +00:00
Peter Wemm 7c4164c611 MFC: kern/uipc_mbuf.c v1.53, sys/mbuf.h v1.52, netstat/mbuf.c v1.18
Make mbstat.m_mtypes seperate and viewable via sysctl. Expand the
type from u_short to u_long to stop 64K wraparounds, especially on
mbtypes[MT_FREE].  Also, the MT_FREE counter was never incremented on
creation of new mbufs, so the freelist count was wrong.

PR:		kern/19809
Submitted by:	Ian Dowse <[email protected]>
MFC forgotten by:	albert
2000-08-25 23:18:52 +00:00
Brian Somers 7b88be9a59 MFC: First appeared in 4.2 2000-08-25 22:22:36 +00:00
Archie Cobbs 166967e08d MFC:
- Check FTP_PASSIVE_MODE for the value "NO" (implying active mode)
    instead of just checking whether it is defined
  - Remove bogus "PASV toggle" behavior from ftpPassive()
  - Clarify the relationship between FTP_PASSIVE_MODE and ftpPassive()
    in the man page
2000-08-25 19:28:18 +00:00
Bill Paul b75f24993a MFC: Merge support for the NatSemi DP83815 into stable. 2000-08-25 19:09:43 +00:00
Bruce A. Mah 6fd515dc2d MFC: Makefile 1.5 -> 1.6
pkg_version.1 1.5 -> 1.6
	pkg_version.pl 1.5 -> 1.6

Reflect change in pkg_version MAINTAINER.
2000-08-25 19:00:50 +00:00
Brian Somers d3abf07948 MFC: Correct variable spelling 2000-08-25 18:52:36 +00:00
Søren Schmidt 3b425e52ba Fix the lba calculation, too much -current'ness crept in, sorry... 2000-08-25 18:38:52 +00:00
Satoshi Asami 5db502112f Add BSD.x11-4.dist to RELENG_4. 2000-08-25 10:08:20 +00:00
cvs2svn 1a39787b1b This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-25 10:07:23 +00:00
Andrey A. Chernov 4f0c045662 MFC: sync with main 2000-08-25 08:57:45 +00:00
Andrey A. Chernov ec9a770c94 MFC: minimize cons25r vs cons25 differences 2000-08-25 08:37:56 +00:00
Brian Feldman c01f428f66 Merge evp.h problem fixes.
Prompted by:	dirk
2000-08-25 03:58:59 +00:00
Warner Losh 95a9cf1d7c Remove manual installation of modules. installkernel does that. 2000-08-24 18:46:51 +00:00
Brian Somers 0072f1c98f MFC: understand /etc/finger.conf 2000-08-24 18:18:26 +00:00
John Baldwin 3215031910 MFC:
- Properly adjust partitions to start on head boundaries and end on cylinder
  boundaries.
- Add sanitize_partition() function.
2000-08-24 17:56:21 +00:00
Kazutaka YOKOTA 85b85aeffa MFC: rev 1.28 and 1.29.
- Fix GENERIC_MOUSE_ENTRY.
- Add spltty() and splx().
2000-08-24 08:50:38 +00:00
KATO Takenori 7cf830b9ca MFC: Fixed freeing wrong address (rev. 1.13). 2000-08-24 08:06:08 +00:00
Bill Paul 49686981fa MFC: merge in the support for 1000baseT Tigon cards from -current.
This also updates the firmware to 12.4.11+wpaul_hacks.
2000-08-24 00:07:59 +00:00
Wilko Bulte 251c77f1a9 [MFC] Various cleanups all around. Document AS1000[A]/800 serial/graphics
console selection.
2000-08-23 19:28:59 +00:00
John Baldwin 9b09bdb1b0 MFC: Save any binaries we use by installworld, so that we won't use the
binaries we just installed. This allows a future upgrade target to
     install a new system without intermediate reboots and also
     prevents conflicts for parallel make runs where we might exec a
     binary that's being installed at the same time.

Note that 4-stable requires miniperl to be saved as an install tool
unlike -current.
2000-08-23 19:27:30 +00:00
cvs2svn 4cd12ae4ad This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-23 11:54:11 +00:00
Sheldon Hearn 897e9ff845 MFC rev 1.55: matcdc -> matcd 2000-08-23 09:44:20 +00:00
Kris Kennaway dc2d51d67d MFC: Install mode 644, not mode 664 during kernel compile. 2000-08-23 09:00:15 +00:00
Kris Kennaway f886f17c19 MFC: Don't extract these files as mode 664 during build, use mode 644 instead. 2000-08-23 08:58:56 +00:00
Kris Kennaway bef4b630fc MFC: Don't extract these files as mode 666 during build, use mode 644 instead. 2000-08-23 08:58:01 +00:00
Kris Kennaway d0421f95ba MFC: Return an error instead of overflowing the buffer in the case of a long
$HOME in ruserpass()
2000-08-23 08:54:22 +00:00
Kris Kennaway b4a6efd3a5 MFC: sprintf() -> snprintf() paranoia. 2000-08-23 08:53:44 +00:00
Kris Kennaway a159579b87 MFC: Limit the amount of data copied to the error buffer to _POSIX2_LINE_MAX. 2000-08-23 08:53:00 +00:00
Kris Kennaway 7e3d62f650 MFC: Prevent buffer overflows. 2000-08-23 08:52:31 +00:00
Kris Kennaway a1fb9483fb MFC: Cleanup of TMPDIR code. 2000-08-23 08:51:46 +00:00
Kris Kennaway 16ef9820b9 MFC: Change use of perror() to warn() 2000-08-23 08:51:25 +00:00
Kris Kennaway 2f510f4448 MFC: Don't segv when trying to add a 0-length unit name.
Some string-related cleanups inspired by OpenBSD.
2000-08-23 08:50:19 +00:00
Kris Kennaway 623d133df4 MFC: Don't coredump on long input lines. 2000-08-23 08:49:49 +00:00
Kris Kennaway b3037496a0 MFC: errx() and warnx() format string paranoia 2000-08-23 08:48:36 +00:00
Jason Evans 60719a69b2 MFC: Make sem_post() safe for use within signal handlers. 2000-08-23 08:11:13 +00:00
John Baldwin 85541729bf MFC:
- Fix various compliance bugs, mostly having to do with error return
  values.
- Implement pthread_mutexattr_gettype().
2000-08-23 03:22:31 +00:00
John Baldwin 95eeaabef1 MFC: Add wrapper for kevent() syscall
Approved by:	jlemon (in concept)
2000-08-23 02:48:48 +00:00
John Baldwin 56b7f4fb6b MFC:
- Fix bug with timeout
- Change code to avoid calling tsleep if we have no intention of sleeping.
- Bring in bugfix from sys_select.c, r1.60 which also applies here.
- Modify error handling slightly
2000-08-23 02:41:41 +00:00
John Baldwin ced71529b2 MFC: Change _thread_kern_set_timeout() to use a const argument. 2000-08-23 02:20:29 +00:00
John Baldwin 3abcb7ded8 MFC: pthread_once --> pthread_once_t. 2000-08-23 01:29:38 +00:00
John Baldwin 3f1166058e MFC:
- Fix subject/verb agreement
- Add a missing comma
2000-08-23 00:57:40 +00:00
John Baldwin de5d81ac20 MFC: Remove blank line. 2000-08-23 00:56:03 +00:00
John Baldwin aafca6a31f MFC:
- Remove a superfluous `.Pp'.
- Add a note about the behavior of sendfile() in the threaded library.
2000-08-23 00:55:15 +00:00
John Baldwin a029e56e50 MFC: Fix typo. Use `.Fa' to denote a function argument. 2000-08-23 00:52:37 +00:00
John Baldwin 7035085abb MFC: Properly separate paragraphs by using \`.Pp' instead of a blank line. 2000-08-23 00:50:48 +00:00
John Baldwin 6a439919e9 MFC: Replace an erroneous \.Va error' with \.Va errno'. 2000-08-23 00:48:01 +00:00
John Baldwin 5cb596218b MFC: Replace .Va, .Ar and .Nm with .Fa or .Va where necessary. 2000-08-23 00:45:19 +00:00
John Baldwin c9b6e146cd MFC:
- Replace .Va, .Ar and .Nm with .Fa or .Va where necessary, examples:
  ``.Ar errno'' -> ``.Va errno''
  ``.Nm ops'' -> ``.Fa ops''
  ``.Va fd'' -> ``.Fa fd''
- Replace ``FreeBSD 4.0'' with ``.Fx 4.0'' and remove a useless empty line
  at the end of the file.
- Replace a `manual(section)' reference with a proper .Xr statement.
2000-08-23 00:27:47 +00:00
John Baldwin 71810e4132 MFC: Content-free commit: only remove trailing whitespace 2000-08-23 00:24:37 +00:00
John Baldwin 4e95251944 MFC:
- Replace .Va references to function arguments to .Fa references.
- The accept() function is a call, not an argument.  Also, add: serial
  comma, missing-hyphen, and a word-erase character.
2000-08-23 00:24:05 +00:00
John Baldwin a8e4715f39 MFC: Correct factor-of-10 error in INT_STRLEN_MAXIMUM() calculation. 2000-08-23 00:19:15 +00:00
John Baldwin 91d04eff70 MFC:
- Add a missing THREAD_UNLOCK()
- Remove allocation failure check from 'A' option, the 'X' option does
  this as a standalone check now.
2000-08-23 00:12:17 +00:00
John Baldwin 1e784a7792 MFC:
- Correct string length bounds checking.
- Calculate the string length of a u_long at compile-time, instead of using
  a hardcoded value.
- Add FreeBSD id tag.
2000-08-23 00:05:29 +00:00
John Baldwin 4fcb0747ad MFC: Don't overflow the internal buffer in clnt_sperror() 2000-08-23 00:02:04 +00:00
John Baldwin a4e4913d12 MFC: Prevent internal buffer overflow due to expansion of $LANG and/or name
argument in catopen().

Approved by:	kris
2000-08-22 23:57:35 +00:00
John Baldwin 8a9c752897 Forced commit to document what the last revision actually does:
MFC: Decrement the timeout being passed to poll() if poll was interrupted
     for some reason.  This will prevent an infinite loop if (say) a
     sigalarm is being scheduled at a more frequent interval than the poll
     timeout.
2000-08-22 21:54:46 +00:00
John Baldwin 521e20a474 The API change mentioned in the previous revision didn't actually make it
into 4.x, so don't document it.

Noticed by:	brian, ume
2000-08-22 21:53:24 +00:00
John Baldwin 4a6acafd55 MFC: Document the API change to allocate rcmd{,_af}()'s *ahost argument
using malloc() rather than pointing it at something that's free()d
     before the function returns.
2000-08-22 19:21:08 +00:00
Archie Cobbs d6fe9d5bc0 MFC: (rev. 1.8, 1.9) three new control messages, fix nit. 2000-08-22 18:58:09 +00:00
Archie Cobbs c40932856f MFC: take advantage of the new unsigned and hex integer types 2000-08-22 18:52:16 +00:00
Archie Cobbs 3b8e99cc3f MFC: three more control messages, better EN address parsing 2000-08-22 18:49:46 +00:00
Archie Cobbs d89d0d3659 MFC:
- Add new control message NGM_VJC_GET_CONFIG
- Implement control message ASCII'fication for all control messages
2000-08-22 18:46:17 +00:00
Archie Cobbs 8be77ff67d MFC: (rev. 1.4) unsigned statistics, new control message 2000-08-22 18:44:59 +00:00
Archie Cobbs f33d01de02 MFC: (rev. 1.9) new control message to atomically get and clear statistics 2000-08-22 18:44:00 +00:00
Archie Cobbs 26fcd1fdef MFC: (rev. 1.15) increase the maximum allowable datagram length 2000-08-22 18:42:57 +00:00
Archie Cobbs fa48cba18e MFC: (rev. 1.8, 1.9) timing fixes, etc. 2000-08-22 18:42:12 +00:00
Archie Cobbs 4bb087c123 MFC: (rev. 1.3, 1.4) timing fixes, use unsigned parse types 2000-08-22 18:41:13 +00:00
Archie Cobbs 45a3373d36 MFC: (rev. 1.3) "u_int32_t" should have been "int32_t". 2000-08-22 18:39:08 +00:00
Archie Cobbs 23d57eb728 MFC: (rev. 1.5) unsigned and hex types, allocate buffer dynamically 2000-08-22 18:37:42 +00:00
Archie Cobbs 90c611009e MFC: (rev. 1.4) new unsigned and hex types, fix comment in example code 2000-08-22 18:35:57 +00:00
Archie Cobbs 447befeaec MFC: (rev. 1.23) use a bigger buffer for NGM_BINARY2ASCII conversion. 2000-08-22 18:33:53 +00:00
Archie Cobbs dd758dac19 MFC: implement SIOCSIFLLADDR ioctl()
MFC: add support to the 'ether' address family to support setting of addresses
MFC: show actual usage in man page and usage string
2000-08-22 18:08:42 +00:00
Archie Cobbs ab6e6ab39b MFC: implement SIOCSIFLLADDR ioctl(). 2000-08-22 18:06:21 +00:00
Joerg Wunsch 7fc571ae40 Mention hardware watchpoint support in GDB. 2000-08-22 12:41:13 +00:00
Joerg Wunsch eafbe84fc2 MFC (freebsd-nat.c 1.23, nm.h 1.10): hardware watchpoint support for GDB
on the i386 architecture.  Since the original implementation has been done
on a FreeBSD 4.1 machine, and both files are identical to -current, i feel
save to MFC it rather quickly.
2000-08-22 12:28:19 +00:00
Jordan K. Hubbard 2c7818cb05 MFC: use consistent timezone in dates 2000-08-22 09:43:55 +00:00
Søren Schmidt 9410ca24df MFC:
Update with latest fixes from -current.

ATA100 support.
New improved probe.
Multisector setup more restrictive ata-disk.
New error recovery in ata-disk.
Remove sequence checks in atapi-cd

Brings -stable functionality up to and including following -current revisions:

$FreeBSD: src/sys/dev/ata/ata-all.c,v 1.64
$FreeBSD: src/sys/dev/ata/ata-all.h,v 1.30
$FreeBSD: src/sys/dev/ata/ata-disk.c,v 1.74
$FreeBSD: src/sys/dev/ata/ata-disk.h,v 1.27
$FreeBSD: src/sys/dev/ata/ata-dma.c,v 1.42
$FreeBSD: src/sys/dev/ata/atapi-all.c,v 1.51
$FreeBSD: src/sys/dev/ata/atapi-all.h,v 1.28
$FreeBSD: src/sys/dev/ata/atapi-cd.c,v 1.63
$FreeBSD: src/sys/dev/ata/atapi-cd.h,v 1.19
$FreeBSD: src/sys/dev/ata/atapi-fd.c,v 1.51
$FreeBSD: src/sys/dev/ata/atapi-fd.h,v 1.11
$FreeBSD: src/sys/dev/ata/atapi-tape.c,v 1.44
$FreeBSD: src/sys/dev/ata/atapi-tape.h,v 1.12
2000-08-22 08:41:29 +00:00
John Baldwin f30b7f18ad MFC: fp_except -> fp_except_t 2000-08-22 02:44:19 +00:00
John Baldwin d05c2a6466 MFC:
- Mention that getipnodeby* and get{addr,name}info are not thread-safe.
  (sync with kame)
- s/.Os KAME/.Os/
2000-08-22 02:34:05 +00:00
John Baldwin 81e80ea3d5 MFC:
- Mention that getipnodeby* and get{addr,name}info are not thread-safe.
  (sync with kame)
- s/.Os KAME/.Os/
2000-08-22 02:28:21 +00:00
John Baldwin de5a66cfe4 MFC: Use _close() instead of close() in addrconfig() to keep it from
becoming a potential cancellation point in libc_r.
2000-08-22 02:25:51 +00:00
John Baldwin cf08002341 MFC:
- Describe valid argument domain for 8-bit wide locales to prevent common
  error calling ctype functions with signed char as an argument
- Add reference to multibyte(3)
- Remove unneeded comment.
2000-08-22 02:18:43 +00:00
John Baldwin 17d9d079b9 MFC: Reword test condition better. Previous variant was true for negative
characters too.
2000-08-22 02:08:27 +00:00
John Baldwin 3707163312 MFC:
- Describe valid argument domain for 8-bit wide locales to prevent common
  error calling ctype functions with signed char as an argument
- Add reference to multibyte(3)
2000-08-22 02:05:57 +00:00
John Baldwin d3e158380a MFC: Fix comment 2000-08-22 01:54:39 +00:00
John Baldwin 03c44ca492 MFC: #include <string.h> for memcpy() prototype 2000-08-22 01:52:50 +00:00
John Baldwin 324aacdd9c MFC: sprintf -> snprintf paranoia 2000-08-22 01:51:37 +00:00
John Baldwin 203fc22788 MFC: Add shm_open(3) and shm_unlink(3). 2000-08-22 01:48:12 +00:00
John Baldwin 69ef2f9d3d MFC: Implement POSIX.1b shared memory objects. 2000-08-22 01:46:30 +00:00
Archie Cobbs 945f190d58 MFC: remove obsolete comment. 2000-08-22 00:33:18 +00:00
John Baldwin 4453db1c56 MFC: Prevent TMPDIR overflow. 2000-08-21 22:44:47 +00:00
John Baldwin 7a8b01acc1 MFC:
- Change hcreate to take a size_t rather than u_int
- Remove private search.h
- Add FreeBSD id tag.
2000-08-21 22:11:03 +00:00
John Baldwin 838838dffe MFC: Add FreeBSD id tag. 2000-08-21 21:09:29 +00:00
John Baldwin 5724947a9c MFC: Remove extra FreeBSD id tag. 2000-08-21 21:08:35 +00:00
Sheldon Hearn 92eb71f03f MFC rev 1.7: sync poll() prototype with manpage. 2000-08-21 12:25:58 +00:00
Sheldon Hearn 935aa6d112 MFC rev 1.33: quote the argument to test -n . 2000-08-21 08:19:46 +00:00
Mike Pritchard 5f74545bf8 MFC: add the jail paper
PR:		doc/20728
Requested-by:  Yusuf Goolamabbas <[email protected]>
2000-08-20 13:16:44 +00:00
Kris Kennaway 32564311ab MFC: OpenSSL 0.9.5a 2000-08-20 09:09:47 +00:00
Kris Kennaway fffc9555c8 MFC: OpenSSL 0.9.5a 2000-08-20 08:56:56 +00:00
Kris Kennaway 3c1b3e1840 MFC: OpenSSL 0.9.5a 2000-08-20 08:48:49 +00:00
Cameron Grant acafef5305 MFC:
fix ecc/nmi problem
fix static
don't waste voices
2000-08-20 00:43:55 +00:00
Cameron Grant 0dac30f75f MFC:
increase init delay
2000-08-20 00:41:00 +00:00
Cameron Grant 003ced9faa MFC:
change irq handling - reportedly fixes channel dead error
2000-08-20 00:38:30 +00:00
Cameron Grant ad7d5d757a MFC:
handle shared irq
2000-08-20 00:34:12 +00:00
Cameron Grant 7a270630e0 MFC:
suspend/resume support
2000-08-20 00:29:24 +00:00
Cameron Grant 0e95fda646 MFC:
Recognize ESS 1888 in Dell Latitude XPi
2000-08-20 00:28:27 +00:00
Cameron Grant 798220c4a1 MFC:
add warning for hwptr going backwards
rate-limit overrun warning
2000-08-20 00:25:05 +00:00
Cameron Grant 7bde978681 MFC:
do close right for multiply-open channels
fix SNDCTL_DSP_GETODELAY
2000-08-20 00:22:11 +00:00
Bruce Evans 623ac586c7 MFC (rev.1.46: fixed a missing splx() in if_addmulti()). 2000-08-19 22:16:13 +00:00
Hajimu UMEMOTO 0c40a92484 MFC: Add output of per battery information to apm(1).
New ioctl APMIO_GETPWSTATUS is introduced.
2000-08-19 17:13:48 +00:00
Yoshihiro Takahashi 49a3447a39 MFC: Disabled serial console. 2000-08-19 10:20:19 +00:00
Brian Somers bdac805213 MFC: Tidy things up, remove redundant (and wrong) settings, use an
MRU of 1504 in MP mode.
2000-08-19 09:33:23 +00:00
Brian Somers 887a5f1be9 MFC: -DPPP_NOSUID support
``!'' escaping
     autoload fixes and enhancments
     filter timeout specs and PPPoUDP recognition
     Support ppp idents
     Warn about the depricated alias command
     Don't run setproctitle() as uid 0
     Default ISDN B channel speeds to 65536^H^H^H^H4000
     Don't delete sticky routes
     Allow multiple ``allow users'' lines per section
2000-08-19 09:30:08 +00:00
John Baldwin 9024ee7554 MFC: Add $FreeBSD$ 2000-08-18 20:01:49 +00:00
John Baldwin 261260f6aa MFC:
- Add address translation support for RTSP/RTP used by RealPlayer and
  Quicktime streaming media applications.
- Add a BUGS section to the man page.
2000-08-18 20:00:01 +00:00
Jordan K. Hubbard d942fa9fd9 Correct comments to fit current realities of exporting crypto.
Reviewed by:	jdp and kris
2000-08-18 18:50:21 +00:00
Hajimu UMEMOTO cf785fd3b1 MFC rev 1.11 -> 1.12: reorder "localhost" entry,
to prefer ::1 than 127.0.0.1.
2000-08-18 18:29:19 +00:00
John Baldwin 40fc4713e1 Add errata entry for the busted boot0 in 4.1. 2000-08-18 18:28:43 +00:00
Yoshihiro Takahashi b301582083 Merged from sys/isa/fd.c revision 1.176.2.1. 2000-08-18 17:43:15 +00:00
Yoshihiro Takahashi 96f1b58c67 Merged from sys/i386/i386/machdep.c revision 1.385.2.7. 2000-08-18 17:42:43 +00:00
Nick Hibma 5759261d9a MFC: Get rid of 'fd is usurping... ' message when there are two floppy
drives attached to the machine.
2000-08-18 16:20:21 +00:00
Nick Hibma 91273141d5 MFC: Save state between suspend and resume. Makes resume work on most
UHCI based laptops.
2000-08-18 16:17:13 +00:00
Alexander Langer ebd4600f66 MFC: unvis.3 --> strunvisx.3 MLINK 2000-08-18 14:58:22 +00:00
Sheldon Hearn bc2b7f682c MFC rev 1.11: remove one space from a message. 2000-08-18 10:40:41 +00:00
Sheldon Hearn ac17809222 MFC: publicize ibcs2_loaders. 2000-08-18 10:27:50 +00:00
Sheldon Hearn 26f5207227 MFC rev 1.55: add missing `;;'. 2000-08-18 09:47:22 +00:00
Sheldon Hearn 1c9c832d87 MFC rev 1.54: don't use module-loading shell scripts. 2000-08-18 09:24:10 +00:00
Sheldon Hearn 4a56d49e68 MFC rev 1.226 and rev 1.227: don't use module-loading shell scripts
and provide a missing "section" description.
2000-08-18 09:22:02 +00:00
John Baldwin 0488db8de5 MFC:
- Add a default ident string and do some minor whitespace adjustments
- Add some comments and wrap the dial line nicely
2000-08-18 08:33:02 +00:00
John Baldwin 17369b7a75 MFC:
- Don't forget to clean "grog".
- Don't use MANDEPEND.
- Style fixes.
2000-08-18 06:32:26 +00:00
John Baldwin 4892b17a19 MFC: Fix substitution of TMAC_M and TMAC_S_PREFIX in manpages. 2000-08-18 06:30:16 +00:00
John Baldwin aeb0bafae8 MFC: Update to using periodic.conf 2000-08-18 06:02:03 +00:00
Nick Sayer f4c1c793bc MFC: v1.4. Fix telnet -X coredump.
PR# 19835
2000-08-17 18:52:29 +00:00
Nick Sayer c794522352 MFC: ESS Solo-1/1E driver for newpcm 2000-08-17 18:35:36 +00:00
Nick Sayer 3538951162 Eliminate whitespace diff. 2000-08-17 18:33:02 +00:00
Nick Sayer ee660dbbb3 Document the soon-to-be-merged ESS Solo driver 2000-08-17 18:27:37 +00:00
John Baldwin 897e361711 MFC: Change the prototypes in the code as well as in the headers.
Noticed by:	Sean O'Connell <[email protected]>
Pointy hat to:	jhb
2000-08-17 18:16:54 +00:00
John Baldwin 6fd89059e9 MFC: Catch up to my earlier commits to rc.conf.
Reminded by:	brian
2000-08-17 18:01:17 +00:00
Sheldon Hearn de8f884ceb MFC rev 1.32: empty MAKEOBJDIRPREFIX means use PWD for obj. 2000-08-17 16:01:52 +00:00
Brian S. Dean 3e07184b06 MFC rev 1.402: Don't allow undefined DR7 bits to be set. 2000-08-17 14:59:41 +00:00
Sheldon Hearn 2c8bf8c715 MFC rev 1.67: use MAXLOGNAME. 2000-08-17 12:33:12 +00:00
Yoshihiro Takahashi 3aae84d11c MFC: Make both 1.2MB and 1.44MB floppy images for PC-98. 2000-08-17 11:58:03 +00:00
John Baldwin fcf84f7a8b MFC: Separate the K4 build from K5 properly. 2000-08-17 08:30:48 +00:00
John Baldwin 243e3114b4 MFC: Check for 'YES' and 'yes' rather than for 'yes' twice. 2000-08-17 08:28:42 +00:00
John Baldwin 38925f2ca4 MFC: VIS_HTTPSTYLE 2000-08-17 08:25:54 +00:00
John Baldwin c17ce707d2 MFC: Add missing const's and a missing prototype. 2000-08-17 08:17:58 +00:00
John Baldwin 95712d5942 MFC: Add $FreeBSD$ 2000-08-17 08:10:05 +00:00
John Baldwin e065e1b70f MFC: Use the same IEEE fp types on the alpha as on the i386. 2000-08-17 08:08:15 +00:00
John Baldwin 6c7f93e6a8 MFC: Binary search tree code. 2000-08-17 07:38:39 +00:00
Ruslan Ermilov 64fc9f8550 MFC: (rev 1.66) fix `control socket: Protocol not supported'
failure in standalone mode.
2000-08-17 07:34:44 +00:00
Ruslan Ermilov ea40916105 MFC: (rev 1.42) fix the DESTDIR abuse. 2000-08-17 07:30:34 +00:00
Ruslan Ermilov 726e250815 MFC: (rev 1.37) do not display icmp sockets as non-existent bridge sockets. 2000-08-17 07:25:38 +00:00
John Baldwin 045ece51ad MFC: Fix a bug in keyed sorting due to malloc abuse. 2000-08-17 06:56:30 +00:00
John Baldwin ffde397a62 Note that in my previous commit, I MFC'd the firewall_logging option,
not the firewall_enable option.

Noticed by:	ru
2000-08-17 06:55:34 +00:00
John Baldwin d93a8f0e92 MFC:
- Use ${MAIL_AGENT} if it is present.
- Don't allow people to submit 'wish' PR's.
2000-08-17 06:49:02 +00:00
John Baldwin 3d3f5561eb MFC: Don't allow people to submit 'wish' PR's directly. 2000-08-17 06:46:56 +00:00
John Baldwin a74399893b MFC: Wrap the uucp subdirectory in the NOUUCP option. 2000-08-17 06:44:37 +00:00
John Baldwin 61aceed419 MFC: ${BDECFLAGS} 2000-08-17 06:24:54 +00:00
John Baldwin 792fb2bfe1 MFC: Various fixes and cleanups. 2000-08-17 06:21:44 +00:00
John Baldwin f500e8dbef MFC: Fix warnings. 2000-08-17 06:18:58 +00:00
John Baldwin 028a7a8217 MFC:
- Add missing negative to a clause.
- Add xref to strfile.
2000-08-17 06:17:49 +00:00
John Baldwin 970927a5e0 MFC:
- Reorder some entries properly.
- Add yet another Bill Paul quote.
2000-08-17 06:15:20 +00:00
John Baldwin 6e7956546b MFC: Add a real prototype for printit(). 2000-08-17 06:13:06 +00:00
John Baldwin 6a33301dcc MFC: Add /bin/tcsh. 2000-08-17 06:11:46 +00:00
John Baldwin c1df2a5137 MFC:
- Add firewall_logging option
- Add default ppp_user setting
- Add weak_mountd_authentication option
- Move some things around and remove extra lines to minimize diff with
  current.
2000-08-17 06:08:43 +00:00
John Baldwin d473b533a3 Remove a gratuitous whitespace diff from current. 2000-08-17 01:45:53 +00:00
John Baldwin 3b21d513a6 MFC: Add a SUPHOST option to override the cvsup server used. 2000-08-17 01:43:36 +00:00
John Baldwin d1e0c6955c MFC: Disconnect libm from the build. 2000-08-17 00:57:08 +00:00
John Baldwin 588797de44 MFC: NO_SHAREDOCS world option. 2000-08-17 00:49:26 +00:00
John Baldwin 864c1f0246 MFC: Document the DOC_LANG variable. 2000-08-17 00:43:02 +00:00
Brian Feldman 3065cd52a6 MFC: fix SSHv2 resource limits. 2000-08-16 23:40:30 +00:00
John Baldwin dde6c413e2 MFC: Use more restrictive permissions on various log files. 2000-08-16 23:31:01 +00:00
John Baldwin f165b8eec1 MFC: Use more secure permissions on /var/crash/minfree and several logfiles
in /var/log.
2000-08-16 23:30:01 +00:00
John Baldwin e1739d20b1 MFC: Use shell globbing instead of sed. 2000-08-16 23:26:01 +00:00
John Baldwin 25843a0061 MFC: Id -> FreeBSD 2000-08-16 23:21:30 +00:00
John Baldwin 472bdabcb3 MFC: Add ipv6_ipv4mapping knob. 2000-08-16 23:17:33 +00:00
John Baldwin f6dcfb2b30 MFC:
- firewall_enable knob
- ppp_user knob for ppp startup at boot
- cleanup whitespace bogons to minimize diff from current
2000-08-16 23:10:53 +00:00
John Baldwin 3cc9647871 MFC: Add in an autologin example. 2000-08-16 22:46:30 +00:00
John Baldwin d58eb24093 MFC: mdoc fixes 2000-08-16 22:21:00 +00:00
Archie Cobbs 0fec5b3884 MFC: make netstat(1) to be aware of divert(4) sockets. 2000-08-16 20:07:46 +00:00
John Baldwin 341eb56936 MFC: CLICOLOR and CLICOLOR_FORCE support. 2000-08-16 19:57:11 +00:00
Alfred Perlstein aee1b49675 MFC: make getfp non static and make sendfile() use it 2000-08-16 19:20:32 +00:00
John Baldwin 8bd95e415f MFC: linux, tcl83, and tk83 port categories 2000-08-16 18:47:59 +00:00
John Baldwin f80b69ece6 MFC: Add new 'ruby' category. 2000-08-16 17:45:24 +00:00
Sheldon Hearn 407e0356d2 (null commit)
The previous commit message on this branch was incorrect and should be:
don't kill the source directory in cleandir when MAKEOBJDIRPREFIX is
defined and empty.
2000-08-16 16:14:42 +00:00
Sheldon Hearn cb26a5aa47 MFC rev 1.31: don't kill the source directory in cleandir when
MAKEOBJDIRPREFIX is defined but not empty.
2000-08-16 15:17:47 +00:00
Andrey A. Chernov 23a8cf448a MFC: signals and preserve tty modes fixes. 2000-08-16 14:43:40 +00:00
Brian Somers 964383fc63 MFC: Treat all interface alias addresses as local addresses 2000-08-16 14:04:37 +00:00
Brian Somers 0c70ba89ae MFC: Use /usr/bin/less rather than /usr/local/bin/less and make the
PAGER tests and texts more sane.
2000-08-16 14:02:29 +00:00
Jayanth Vijayaraghavan c1350f515d MFC:
When a connection is being dropped due to a listen queue overflow,
  delete the cloned route that is associated with the connection.
  This does not exhaust the routing table memory when the system
  is under a SYN flood attack. The route entry is not deleted if there
  is any prior information cached in it.
2000-08-16 06:14:23 +00:00
Paul Saab 4e43a5e80c MFC: Change NMI's to log better and introduce tunables to decide
whether we panic, go to DDB, or ignore it all together.
2000-08-16 05:35:34 +00:00
John Baldwin 5038cfdcea MFC: Mention the buildkernel/installkernel targets in the documentation. 2000-08-15 23:28:44 +00:00
Peter Wemm 7fb1432485 MFC: 1.304: add Yet Another USR modem 2000-08-15 21:05:30 +00:00
David E. O'Brien 8defcc1073 MFC: move running of Linux and SVR4 bits to arch indepenent location 2000-08-15 18:06:13 +00:00
Sheldon Hearn 9e1f235a59 MFC rev 1.165: add NO_PORTSUPDATE and NO_DOCUPDATE. 2000-08-15 17:51:02 +00:00
Sheldon Hearn 27bdd3bf8e MFC rev 1.75: dd IPX ifconfig sample 2000-08-15 15:13:01 +00:00
Brian Somers b20131b012 MFC: Don't use find(1) before nfs filesystems are mounted 2000-08-15 11:02:11 +00:00
Archie Cobbs f4cc49c617 MFC: (rev. 1.46) improved performance when ip_output() returns an error. 2000-08-15 01:31:15 +00:00
Archie Cobbs 163c6a551a MFC: (rev. 1.26) strip address and control field bytes from outgoing frames
MFC: (rev. 1.24) misc fixes (not described in that commit message)
2000-08-15 01:25:04 +00:00
John Baldwin 0ebf0a5e9b MFC: Support propogation of file flags when building a home directory. 2000-08-14 19:01:35 +00:00
John Baldwin 7a54cdc824 MFC: Move test for -w flag outside of the code dealing with -D (defaults). 2000-08-14 18:57:38 +00:00
Sheldon Hearn 23e23e3d6c MFC: Update to routed-2.22. Most of the fixes in the release were
applied locally anyway, but this does fix one outstanding problem,
namely the handling of interface aliases.

Thanks to Andre Albsmeier <[email protected]> for
liasing with the author to hunt this one down.
2000-08-14 17:00:04 +00:00
Hajimu UMEMOTO 4c1eff9b9b MFC rev 1.28 -> 1.29: Don't retry connecting via the same medium.
PR:		bin/20515
2000-08-14 16:51:13 +00:00
Hajimu UMEMOTO bb12bae345 MFC rev 1.5 -> 1.6: Make ip6fw zero work.
PR:		bin/20522
2000-08-14 16:07:54 +00:00
Ruslan Ermilov 7375459a48 MFC: (rev 1.37) fixed PunchFW code segmentation violation bug. 2000-08-14 15:27:37 +00:00
Kelly Yancey 515a925785 MFC: Fix patch such that skipping files does not count as a failure. 2000-08-14 06:12:39 +00:00
Kelly Yancey 5ed20877e9 MFC: Enhanced mode page editing functionality.
(Missed a file in the last commit)
2000-08-14 05:43:38 +00:00
Kelly Yancey 8f16777495 MFC: Enhanced mode page editing functionality. 2000-08-14 05:42:33 +00:00
cvs2svn 5f4053c8ec This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-13 19:20:03 +00:00
Alfred Perlstein dfd9ce69af MFC: 1.23 fix off-by-one error with recursive mutexes 2000-08-13 16:54:58 +00:00
Alexander Langer a1b75a49cc MFC: rev. 1.22 - 1.25:
1.22:	NetBSD 1.4.2
	1.23:	latest 2.11BSD patchlevel is 430
	1.24:	Reference to UNIX history graphing project,
		correct derivation of Eighth Edition Research UNIX,
		correct some typos,
		remove dead URLs
	1.25:	dates for FreeBSD 3.5 and 4.1
2000-08-13 14:59:52 +00:00
Alexander Langer 17816001f3 MFC: rev. 1.3 2000-08-13 14:49:04 +00:00
Alexander Langer 558bbab962 MFC: secure/ 2000-08-13 14:36:06 +00:00
Kris Kennaway a2e6b922b3 MFC: Fix vulnerabilities in non-compiled code. 2000-08-13 11:33:50 +00:00
Yoshihiro Takahashi f9bf7ad477 MFC: Changed default cursor shape to non-blink mode. 2000-08-13 11:01:37 +00:00
Yoshihiro Takahashi 2f5ef907cc MFC: Fixed PC-9821 NOTE supports with LINE30 mode. 2000-08-13 11:00:10 +00:00
Yoshihiro Takahashi 42e68916e9 MFC: Added support for 1bpp and 4bpp BMP files and PC-98. 2000-08-13 10:59:00 +00:00
Kris Kennaway 1eeb928b41 MFC: Missing format string bugs. 2000-08-13 04:48:23 +00:00
Kris Kennaway a54f6ca736 MFC: Fix setproctitle() vulnerability in non-compiled code. 2000-08-13 04:38:01 +00:00
Tor Egge 88d1e7d3c4 MFC: Add workaround for livelock problem when starting APs. 2000-08-13 00:49:32 +00:00
Tor Egge 0bf220c266 MFC: Remove 3 off by 128 errors. 2000-08-13 00:47:18 +00:00
Tor Egge 0f24f68c18 MFC: Detect and resolve IOAPIC id conflicts.
PR:		20312, 18919
2000-08-13 00:45:51 +00:00
Hajimu UMEMOTO 304cd4519c MFC rev 1.24 -> 1.25: If caller have privilege to r/w access to
/dev/apm, show the info about resume timer and resume on ring
indicator, again.
2000-08-12 17:57:53 +00:00
Jun-ichiro itojun Hagino 1659da47d9 pullup 1.4 -> 1.6 (duplicated rtfree on default router list change). 2000-08-11 23:58:24 +00:00
Sheldon Hearn 97fe09c208 MFC: explain why ``options KERBNFS'' breaks the kernel build. 2000-08-11 13:12:37 +00:00
Josef Karthauser a241e8e2f9 MFC: revision 1.100.
A termcap entry for Top Gun telnet and Top Gun ssh, Palm Pilot
applications.
2000-08-11 12:22:46 +00:00
Sheldon Hearn 44d6565b39 MFC rev 1.22: explain why tmp files are different for -r and -R. 2000-08-11 10:40:51 +00:00
Daniel C. Sobral a65662291f MFC: add missing "is".
PR:		20524
Submitted by:	Peter Pentchev <[email protected]>
2000-08-11 10:34:04 +00:00
Paul Saab 5aad4ddf58 MFC: [rev 1.14] Pass dhcp variables to the kernel. 2000-08-11 05:42:57 +00:00
Archie Cobbs bcf92a2f95 MFC: back out previous duplicate bug fix 2000-08-10 23:07:21 +00:00
Archie Cobbs 622ee009e8 MFC: (rev. 1.7) handle zero sa->sa_len. 2000-08-10 21:45:53 +00:00
Josef Karthauser 2680df2abe MFC: 0xA0 = Suspend to disk (revision 1.45). 2000-08-10 13:46:24 +00:00
Brian Somers f0b7a3e471 MFC: Correct dodgy wild card expansion
PR:	20514
2000-08-10 11:00:08 +00:00
Warner Losh fed70d119b Add section on updating 4.0 RELEASE and newer to the most recent
4.x-stable with pragmatic notes about what you can and cannot get away
with and a recommendation to use a serial console on remote installs.
Remove the moving the kernel around instructions since the MFC for
installkernel no longer requires it.  Also add a note about moving
modules out of the way at the proper places in the upgrade proceedure.
2000-08-10 05:17:27 +00:00
Warner Losh e859d74c5a Add entry about the MFC of the building of modules and the
difficulties that causes for those people that don't want to follow
the instructs.  Was going to add an entry for binutils, but that was
already there.

Suggested by: dillon
2000-08-10 03:31:28 +00:00
Brian Somers 41f912153c MFC: Correct a typo 2000-08-10 00:27:31 +00:00
Archie Cobbs 4fc9011aa1 MFC: bundle-level receive statistics 2000-08-09 19:24:19 +00:00
Archie Cobbs 531a755496 MFC: document three new control messages 2000-08-09 19:21:10 +00:00
Archie Cobbs 4dbcb4d7f6 MFC: three new control messages 2000-08-09 19:20:46 +00:00
David E. O'Brien 1c4e281ebc MFC: rev 1.17 (bring in vendor fix) 2000-08-09 18:39:14 +00:00
Cameron Grant 2c9cf4b69d sync with peter's module.h changes 2000-08-09 18:37:53 +00:00
David E. O'Brien cc1d32f8b3 MFC: rev 1.2 (add missing prototypes / fix a cross building problem) 2000-08-09 08:37:18 +00:00
Peter Wemm 110f9d7007 Sigh. Spell "dettach" correctly. *blush* 2000-08-09 00:59:27 +00:00
Peter Wemm 83c0124c6f Regen 2000-08-09 00:35:56 +00:00
Peter Wemm 8cf4603df0 MFC: fix up various things that were hidden by NOPROTO previously that
the makesyscalls.sh changes exposed.
2000-08-09 00:24:11 +00:00
Peter Wemm 87c935e03e MFC: 1.76: fix mmap() prototype, and netbsd_lchown/msync() 2000-08-09 00:08:30 +00:00
Peter Wemm 3a14860d85 MFC: allow these drivers to be detached 2000-08-09 00:01:45 +00:00
Peter Wemm be7b3744a4 Put in stub MODULE_VERSION() macros to avoid the need for ifdefs 2000-08-09 00:00:07 +00:00
Peter Wemm 0e154291c1 MFC: fix printf at unload 2000-08-08 23:55:02 +00:00
Peter Wemm 5c4262c864 MFC: remove useless #include "aic.h" 2000-08-08 23:51:23 +00:00
Peter Wemm d0aab44772 MFC: remove useless #include "adw.h" - NADW is not used here. 2000-08-08 23:50:48 +00:00
Peter Wemm a3509d5f62 MFC: 1.17: hide annoying message behind bootverbose 2000-08-08 23:50:00 +00:00
Peter Wemm 6845e0ddbe MFC: bring majors up to HEAD 2000-08-08 23:47:22 +00:00
Peter Wemm b166e610be MFC: spelling fixes 2000-08-08 23:44:04 +00:00
Peter Wemm 3553e1e83a Teach the RELENG_4 loader.conf to pull in /boot/device.hints if it exists.
This doesn't do anything under RELENG_4 (yet?) but will make it easier to
test-boot 5.0 kernels with a 4.x userland.
2000-08-08 23:42:28 +00:00
Peter Wemm 379005f8cf MFC: regen 2000-08-08 23:28:18 +00:00
Peter Wemm ef9e535346 "Fix" some ISADMA_* breakage I caused. 2000-08-08 23:19:54 +00:00
Matt Jacob a18e62acaa MFC:Don't attempt to actually read SAF-TE temperature objects- nobody seems
to be obeying the original spec as to what the numeric value means.

Temperature flags are unaffected- these are still the 'pseudo-thermometers'
and overtemp/undertemp warnings will be caught and translated to SES objects
here.

PR:     20475
2000-08-08 23:19:21 +00:00
Peter Wemm 32d4b1bd6c MFC: 1.41: fix the argument counting 2000-08-08 22:25:55 +00:00
Peter Wemm c39d041e8e MFC: followup to previous commit - two extra B_READ->ISADMA_READ changes 2000-08-08 22:19:24 +00:00
Peter Wemm 6d1951f216 MFC: stop abusing B_READ etc for isadma*() functions. This is relatively
harmless since the ISADMA_READ flag == B_READ etc, so any driver mixups
will not hurt much.
2000-08-08 19:49:56 +00:00
Peter Wemm d33a9bebac MFC: add kenv(1) 2000-08-08 19:24:23 +00:00
Peter Wemm 5b8899d476 MFC: 1.19: optimize useless if () 2000-08-08 19:05:17 +00:00
Mike Smith ce304828d5 MFC: mention the 3ware controllers. 2000-08-08 18:55:17 +00:00
Mike Smith 1b524c5e70 MFC: mention 3ware controllers 2000-08-08 18:53:50 +00:00
Mike Smith 2d58157471 Update to mention support for 6x00 series controllers. 2000-08-08 18:48:58 +00:00
Brian Somers b2d47312d8 MFC: Introduce periodic.conf
PR:		20381
Submitted by:	Vlad Skvortsov <[email protected]>

Although any commit mistakes are probably mine....
2000-08-08 18:05:42 +00:00
Archie Cobbs 3320cb8fee MFC: don't access already free'd memory during node shutdown. 2000-08-08 16:32:18 +00:00
Sheldon Hearn cb81782c2e MFC rev 1.14: fix unsafe tempfile creation. 2000-08-08 12:19:44 +00:00
Sheldon Hearn 3039c38135 MFC rev 1.37: clarify guidelines surrounding the use of macros. 2000-08-08 09:56:53 +00:00
Ruslan Ermilov 480eade4b0 MFC:
- rev 1.35: Update 'draft-manning-dsua' version.
- rev 1.36: Ensure natd(8) "compatibility" with firewall_type="simple".
2000-08-08 08:10:24 +00:00
Kelly Yancey 6a1d182098 Fix the comments to properly document the PQ_MEDIUMCACHE and
PQ_NORMALCACHE options.

PR:		20409
Submitted by:	Tony Finch <[email protected]>
2000-08-08 08:02:18 +00:00
Kelly Yancey 513ef9ca32 MFC: Replace the PQ_*CACHE options with a single PQ_CACHESIZE option that
you set equal to the number of kilobytes in your cache.  The old
     options are still supported for backwards compatibility.
2000-08-08 07:50:57 +00:00
Kenneth D. Merry 3359f9cb30 MFC: The Yamaha CDR100 doesn't seem to like multi-LUN probing.
PR:		kern/20347
Submitted by:	Andre Albsmeier <[email protected]>
2000-08-08 06:52:37 +00:00
Yoshihiro Takahashi 5d7132fc3c MFC: Fixed warnings and typo. Recognize slice type 0x24 as FAT (only PC-98). 2000-08-08 04:03:19 +00:00
Paul Saab 03982f5722 MFC: [rev 1.21] Add MLINK init.8 --> securelevel.8 2000-08-08 03:47:21 +00:00
Paul Saab d72bc05b50 MFC: remove unneeded CFLAGS. 2000-08-08 03:43:17 +00:00
Paul Saab 89802b2d10 MFC: [rev 1.12] /dev/rXXX -> /dev/XXX. Change a warnx to an errx. 2000-08-08 03:19:47 +00:00
Paul Saab 9ae58b6ba3 MFC: [rev 1.14] Let wall report the local timezone as well on output. 2000-08-08 03:15:13 +00:00
Paul Saab 088d840f96 MFC: [rev 1.54] Add braces to avoid ambiguity in a nested conditional
(silences a gcc warning).
2000-08-08 03:12:59 +00:00
Paul Saab 0e8df9d8c6 MFC: Allow logger to send messages directly to a remote syslog. 2000-08-08 03:11:22 +00:00
Paul Saab c6bcf593d9 MFC:
colcrt.1 [rev 1.5]
Start enumerate option with `The following options are available' like
most of the utilities.
.Nm prog -> .Nm

colcrt.c [rev 1.7]
Remove unused include.  Use getopt().
2000-08-08 03:08:48 +00:00
Paul Saab 47f6fe7815 MFC: /dev/rXXX -> /dev/XXX 2000-08-08 03:04:10 +00:00
Mark Ovens abcca66b7c MFC: rev 1.6 update link to handbook 2000-08-07 23:27:37 +00:00
Mark Ovens b42a1b9b77 MFC: rev 1.5 fix bug in -c option
PR:		18176
2000-08-07 22:50:50 +00:00
Brian Somers 78b3ac8c76 MFC: diff -w setuid files rather than diff -b 2000-08-07 20:02:01 +00:00
Peter Wemm 7193ca65fb MFC: 1.78: complete the #ifdef VFS_AIO option. 2000-08-07 19:20:33 +00:00
Peter Wemm 9a3c54d638 Oops, this was a commit accident. The dpt_isa.c code is marked:
- Add support for ISA based DPT adapters (this doesn't quite work yet).
.. so leave it out of -stable until it is done.
2000-08-07 18:50:07 +00:00
Peter Wemm bd1d2039d1 MFC: newbusify, add isa support 2000-08-07 18:48:14 +00:00
Peter Wemm 45e522527f MFC: rev 1.13: deal with warnings 2000-08-07 18:28:22 +00:00
Peter Wemm fa6b7fc118 Fix a style(9) indentation problem by syncing whitespace with -current 2000-08-07 18:24:43 +00:00
Peter Wemm 3647795f20 MFC: 1.25: fix unused variable warning 2000-08-07 18:23:04 +00:00
Peter Wemm 79618882de MFC: 1.63: fix warning. 2000-08-07 18:20:48 +00:00
Peter Wemm 9413206634 MFC: 1.84: fix warnings (yes, these bcopys are perfectly safe) 2000-08-07 18:18:28 +00:00
Bill Paul a21457350a MFC: sync with current: fix PR 20438 (make LED fix conditional on Intel
chip), add support for newer Macronix PCI chips).
2000-08-07 17:14:03 +00:00
Hajimu UMEMOTO f61cb85197 MFC: To make compilable without -DINET6.
PR:		bin/20407
Submitted by:	Patrick Bihan-Faou <[email protected]>
2000-08-07 16:45:43 +00:00
Brian Somers a49d3c36b7 MFC: Correct the command for extracting INCLUDE_CONFIG_FILE data
PR:		20127
2000-08-07 15:12:01 +00:00
Paul Saab 123d2f42b0 MFC: NOUUCP make flag. 2000-08-07 11:22:12 +00:00
Paul Saab 89561b6c74 MFC: Add 'nc' flag to gettytab -- no carrier. 2000-08-07 11:18:14 +00:00
Paul Saab 1b3d9c8fb4 MFC: [rev 1.8] Don't uselessly set MANDEPEND/MANSRC. Fix some
other style bugs.
2000-08-07 11:14:54 +00:00
Paul Saab 2bd5de139f MFC: [rev 1.10] Spelling fix. 2000-08-07 11:10:11 +00:00
David E. O'Brien b7496edc85 Grab the latest FSF bug fixes to the anonvcs GCC 'gcc-2_95-branch' branch.
This covers the bug fixes from May 26th - August 3rd, 2000.
This isn't being brought in on the vendor branch as that has moved passed
the GCC 2.95 branch since the import of a 2.96 snapshot.  Otherwise this
would have had a vendor import tag of "gcc_2_95_cvs_20000703".
2000-08-07 10:07:01 +00:00
Paul Saab ac15f82c68 MFC: /dev/rXXX -> /dev/XXX 2000-08-07 08:55:19 +00:00
Paul Saab ef5163f07a MFC:
args.c 1.26, dd.c 1.29, dd.h 1.16, extern.h 1.10, position.c 1.18
Various cleanups are made to reduce warnings.  Check return value
of ftruncate() and die on failure.

dd.c 1.28
Fix ``dd if=/dev/zero of=/dev/daN'' on the Alpha by allowing the
label to be overwritten.

dd.c 1.30
Make the comment regarding ftruncate() correct.
2000-08-07 08:30:17 +00:00
Paul Saab fae3a2252b MFC: Expand the -r option to support hex. 2000-08-07 08:12:57 +00:00
Paul Saab 880124e540 MFC: [rev 1.16] Add overflow tests. 2000-08-07 08:07:10 +00:00
Paul Saab b17eb02c59 MFC: [rev 1.23] Add the missing flags to ls(1)'s usage: -Bb. 2000-08-07 08:05:08 +00:00
Paul Saab 25d1a9c404 MFC: [rev 1.18] Optimize out no-op chmod() syscalls. 2000-08-07 07:33:23 +00:00
Paul Saab 11a86806e1 MFC: [rev 1.15, 1.16, 1.17, 1.18] Fix off-by-one errors detected
by malloc flags.
2000-08-07 02:09:43 +00:00
Paul Saab 388e0c5052 MFC: [rev 1.16] Initialize vflag like the rest. Optimize out
chown(2) syscalls if there is no change in uid or gid.
2000-08-07 02:03:09 +00:00
Paul Saab e972e760d6 MFC: [rev 1.5] ncurses -> termcap 2000-08-07 01:54:25 +00:00
Paul Saab f94a6b910c MFC: $FreeBSD$ 2000-08-07 01:47:56 +00:00
Paul Saab 1df31f8c47 MFC: -n option to disable dns queries for every request. 2000-08-07 01:11:31 +00:00
Warner Losh c7addcc345 o Add note about behavior change for installkernel.
o Update 4.0 -> 4.x or 4.1 as appropriate
o Add a note warning people to read the -stable archive before updating
  to a new version because of the (up to) 1 week lag in updating UPDATING.
o Warn people doing upgrades of remote machines to use the exact version
  they are updating the remote machine to for testing purposes.  This
  would be obvious, but I've had several grump-o-grams when things broke
  and the base cause was lack of testing of methods up front.

installkernel changes submitted by John Reynolds.  Other people have
made passing comments on the rest, or sent me patches.  Sadly, I've
lost their names :-(.
2000-08-06 21:11:00 +00:00
Archie Cobbs 4cac82bcaa MFC: misspelling (again) 2000-08-06 19:28:34 +00:00
Archie Cobbs 37859e8071 MFC: misspelling 2000-08-06 19:28:33 +00:00
Neil Blakey-Milner ac93abd98f MFC (1.81): Add to, don't overwrite, user-settable mountd_flags. 2000-08-06 16:58:30 +00:00
Mark Ovens 3f9ed9e16f MFC rev 1.18 2000-08-05 23:07:51 +00:00
Ben Smithurst 96787e9a01 MFC: mention non-English docs as well as ports. 2000-08-05 18:35:28 +00:00
Ben Smithurst 8bf83080cf MFC: fix description of argv[0] passed to script interpreter. 2000-08-05 16:39:20 +00:00
Alexander Langer 2eae5a2996 MFC: Reflect reality (kernel targets, cryptography and related) 2000-08-05 13:25:20 +00:00
Paul Saab 8c79b68b2f MFC: [rev 1.21] /dev/rXXX -> /dev/XXX 2000-08-05 08:37:28 +00:00
Yoshihiro Takahashi 4e24968d9c Merged from sys/isa/sio.c revision 1.291.2.10. 2000-08-05 04:46:39 +00:00
Yoshihiro Takahashi 36d2e25682 Merged from sys/i386/conf/GENERIC revision 1.246.2.8. 2000-08-05 04:36:15 +00:00
Yoshihiro Takahashi 8c852d9f5d Merged from sys/i386/isa/wd.c revision 1.219.2.2. 2000-08-05 04:29:45 +00:00
Bill Fumerola f3d71e2997 MFC: v1.67: tcpoptions (dan and [email protected]) 2000-08-05 00:43:18 +00:00
Peter Wemm 50f2cb88de MFC: add pmap_kenter_temporary() to replace CADDR1 for crashdump usage. 2000-08-05 00:41:22 +00:00
Peter Wemm d6815a1c2e MFC: use non-2.2 compat PCI register names 2000-08-04 23:50:44 +00:00
Peter Wemm 00fef77c00 MFC: use correct FreeBSD 3.x+ register names, not FreeBSD <= 2.2
compatability names.
2000-08-04 23:45:29 +00:00
Peter Wemm e07cc459da MFC: use correct PCI register names and add a few extra bridge PCI id's 2000-08-04 23:41:10 +00:00
Peter Wemm ef4869fa3e MFC: newbus'ify and bus_space'ify 2000-08-04 23:37:03 +00:00
Peter Wemm c615e875c2 MFC: revs 1.124-1.127,1.129. newbusify, ignore LanMedia WAN (not
ethernet), use bus_space, fix register names, and a bpf fix.
(and corresponding if_devar.h changes)
2000-08-04 23:25:10 +00:00
Peter Wemm 58a15b1ce2 MFC: use correct PCI register names 2000-08-04 23:16:01 +00:00
John Baldwin 1aa9f5779a MFC: Set all of %cx, not just %cl. 2000-08-04 22:43:37 +00:00
Jim Mock be24a8ad5b MFC: Explain that in order to track -STABLE, you should leave the src-all
collection uncommented.
2000-08-04 22:41:53 +00:00
Peter Wemm 5fe02406b2 MFC: pmap interface optimizations, optionally physically backed SYSVSHM. 2000-08-04 22:31:11 +00:00
John Polstra b39393c8a2 MFC: Remove all (non-)"comments" from "refuse". 2000-08-04 21:35:37 +00:00
cvs2svn 433fdde6a4 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-04 21:32:54 +00:00
Peter Wemm 2cc36ee584 MFC: rev 1.31: fix zget to not bzero() a NULL pointer on kvm exhaustion
and 1.32: fix missing update of a counter.
2000-08-04 18:58:42 +00:00
Peter Wemm b115d3ca2b MFC: s/__FreeBSD_Version/__FreeBSD_version/ 2000-08-04 17:52:23 +00:00
David E. O'Brien 6167cc333c MFC: rev 1.5 (fix rules so `make' can do its job properly) 2000-08-04 08:31:08 +00:00
Sheldon Hearn 08eb79247b Merge the truncate(1) utility onto the RELENG_4 branch and adjust
the HISTORY section to reflect the first release of FreeBSD in
which this utility will appear.
2000-08-04 08:05:54 +00:00
cvs2svn 9817a6f41e This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-04 08:05:53 +00:00
Sheldon Hearn 59a6808533 Merge the truncate(1) utility onto the RELENG_4 branch and adjust
the HISTORY section to reflect the first release of FreeBSD in
which this utility will appear.
2000-08-04 08:05:52 +00:00
Mike Smith 5105e958fd MFC: support for 2.x/3.x adapters without memory-mapped register windows. 2000-08-04 06:52:50 +00:00
Peter Wemm 8f30c24b53 MFC: set socket stat values appropriately.. eg: turn off read or write bits
if it has been shutdown() in one direction, set uid/gid, set the size etc.
2000-08-04 00:49:17 +00:00
Peter Wemm e6bcad16fb MFC: fix harmless SYSINIT() bubble sort bug 2000-08-04 00:39:50 +00:00
Peter Wemm 059087d59f Add the mcclock_tlsb.c file from -current onto RELENG_4 so that it is clear
that I didn't edit Matt's copyright.

Suprise, suprise, this ends up exactly the same in the RCS files, but
consumes an additional RCS delta.
2000-08-04 00:30:11 +00:00
Peter Wemm 8d02258be2 Remove this file from RELENG_4 in preperation for replacing it with
the one in -current, since Matt Jacob objects to me editing the file.
The previous MFC has been deleted.
2000-08-04 00:26:23 +00:00
Peter Wemm 04d3ac7958 MFC: change default bus limit from 4 to 8 - many newer machines need this. 2000-08-03 21:36:50 +00:00
Peter Wemm 02fef154ba MFC: 1.38: Fully initialize apics 2000-08-03 21:33:35 +00:00
Peter Wemm 3605f22979 MFC: spelling fix 2000-08-03 21:10:58 +00:00
Peter Wemm f8f28b7dd6 MFC: make tree k-12 safe[r] :-) 2000-08-03 21:07:27 +00:00
Peter Wemm 5b8f20d68e MFC: $FreeBSD$ 2000-08-03 18:56:28 +00:00
Peter Wemm 4405e46a8e regen: out of sync with syscall.master 2000-08-03 18:54:28 +00:00
Peter Wemm bbe10b1193 Regen: adds $FreeBSD$, and some were out of sync 2000-08-03 18:52:02 +00:00
Peter Wemm f68eeb2db6 Regen. This fixes $FreeBSD$ - and the files were out of date anyway. 2000-08-03 18:49:43 +00:00
Peter Wemm e7351cf99a move $FreeBSD$ to the same place as -current 2000-08-03 18:48:27 +00:00
Peter Wemm d9076b68e0 MFC: $FreeBSD$ 2000-08-03 18:47:38 +00:00
Warner Losh 0ba372bf28 MFC: pci modem support. I forgot to do this for 4.1.
sio.c 1.294
2000-08-03 06:38:39 +00:00
Warner Losh a529d99c78 MFC: device_set_unit, don't use this, but it is needed for pci modem.
sys/bus.h       1.31
	kern/subr_bus.c 1.56
2000-08-03 06:36:38 +00:00
Marcel Moolenaar 745ebbb0ee MFC: buildkernel and installkernel:
1.151: Add NO_KERNELDEPEND and NO_KERNELCONFIG
1.162: Name all kernels 'kernel'
1.164: Fix when KERNEL is set in /etc/make.conf
2000-08-03 06:12:19 +00:00
Peter Wemm 8f782fbc5a MFC: $FreeBSD$ 2000-08-03 01:09:59 +00:00
Peter Wemm b245958cd3 MFC: $FreeBSD$ 2000-08-03 00:54:41 +00:00
Peter Wemm cf366897ad MFC: newbusify 2000-08-03 00:26:00 +00:00
Peter Wemm 7346a5ced3 MFC: add device_set_softc() 2000-08-03 00:25:22 +00:00
Peter Wemm d73894ffca MFC: don't limp along if there is an unknown option - just complain and
get it fixed.
2000-08-03 00:09:56 +00:00
Paul Saab 5527912ed0 MFC: Sanitize SYSCTL_HANDLER_ARGS. 2000-08-03 00:09:44 +00:00
Peter Wemm ea79246b02 MFC: use the correct name (PCIR_MAPS) for the pci map registers 2000-08-02 23:54:41 +00:00
Peter Wemm b3b4e05cf3 MFC: use the correct (non-2.2-compat) names for the PCI map registers. 2000-08-02 23:52:55 +00:00
Peter Wemm 36684c0c10 MFC: add $FreeBSD$ 2000-08-02 22:42:34 +00:00
Peter Wemm 07116c9293 MFC: use the delay on all YMF740 ds1 chips. 2000-08-02 22:40:52 +00:00
Peter Wemm bada00b50f sync with -current: add matching braces 2000-08-02 22:39:30 +00:00
Peter Wemm 89cfe95f84 MFC: add $FreeBSD$ 2000-08-02 22:36:29 +00:00
Peter Wemm 51fb925490 MFC: remove '#include "fb.h"' (unused) 2000-08-02 22:35:22 +00:00
Peter Wemm 6a489c6fe1 MFC; spelling fixes; remove unused '#include "bt.h"' 2000-08-02 22:32:26 +00:00
Peter Wemm fbca8295bd s/limitted/limited/ 2000-08-02 22:30:37 +00:00
Peter Wemm c347c48da0 MFC: PCI register name fixes, unload verbosity. 2000-08-02 22:29:50 +00:00
Peter Wemm 887712d887 MFC: spelling fixes 2000-08-02 22:25:25 +00:00
Peter Wemm 3beb9f85e6 MFC: add PnP Id's, spelling fixes. 2000-08-02 22:24:40 +00:00
Peter Wemm f36b036d4f MFC: use correct PCI symbol names, not the FreeBSD 2.2 backwards
compatability ones.
2000-08-02 22:22:40 +00:00
Peter Wemm e6f104190f MFC: use correct pci symbol (PCIR_MAPS), not the compat ones. 2000-08-02 22:19:57 +00:00
Peter Wemm b2c4d34ee1 MFC: eliminate useless (and unused) third arg to vsunlock(). 2000-08-02 22:15:09 +00:00
Peter Wemm c9c62036de MFC: various minor spelling fixes 2000-08-02 22:04:31 +00:00
Peter Wemm 65a81df27a MFC: spelling fix: contion -> condition 2000-08-02 21:54:37 +00:00
Peter Wemm 54312fc441 MFC: rev 1.5: add a comment about a wierd line in MAKE_SET to quiet gcc. 2000-08-02 21:52:20 +00:00
Peter Wemm a40f614d17 MFC: rev 1.15: add an alias from ENOTSUP (SUSv2) to EOPNOTSUPP 2000-08-02 21:50:30 +00:00
Peter Wemm 9da4e42645 MFC: add $FreeBSD$ 2000-08-02 21:27:07 +00:00
Bill Paul 058c85ffbe MFC: remember to call bus_generic_attach() in sk_attach() if we want all
our child devices instantiated correctly.
2000-08-02 18:19:56 +00:00
Bill Paul f2d1baf089 MFC: define DC_WDOG_CTLWREN 2000-08-02 16:32:13 +00:00
Dag-Erling Smørgrav bf5371d157 MFC: signedness bogon.
MFCed quickly because it causes a confusing (and incorrect) warning and
-STABLE users have been complaining about it.
2000-08-02 11:31:33 +00:00
Paul Saab 119c70f411 MFC: [rev 1.150] Check for the NMI first and then trap to debugger. 2000-08-02 09:16:28 +00:00
Paul Saab b7cf7ca3b5 MFC: [rev 1.61] remove unneeded splnet call when setting an accept
filter.
2000-08-01 23:49:10 +00:00
Nick Hibma fefa704414 MFC: make the recognition of Zip drives work. 2000-08-01 23:26:26 +00:00
Nick Sayer 705fedbd96 Back out last commit -- wrong branch. 2000-08-01 22:43:15 +00:00
Nick Sayer 7e93621989 The solo driver now works for playback, so far as I can tell.
recording is still broken, but IMHO that's enough to at least
"hook it up" to the rest of the kernel/module builds.
2000-08-01 22:42:22 +00:00
Andrey A. Chernov f71ddc4d79 MFC: linux console colors 2000-08-01 20:57:43 +00:00
Bill Paul 2281deaa63 MFC: fix LED handling on some cards 2000-08-01 19:36:03 +00:00
Sheldon Hearn 5c6e41c666 MFC rev 1.15: use LIBDATADIR instead of /usr/libdata . 2000-08-01 09:34:45 +00:00
Paul Saab 24b524333f MFC: If the format string passed to setproctitle begins with a '-'
character, skip the program name when setting the process title.
2000-08-01 07:50:26 +00:00
David E. O'Brien 1197d9c214 MFC: rev 1.269 (add all US keymaps) 2000-07-31 21:16:20 +00:00
David E. O'Brien 9af02f561c MFC: rev 1.180 (dike out lk98 and Xsetup98 on non-i386 installs) 2000-07-31 20:54:04 +00:00
Robert Watson 020997b2f2 o MFC asmodai's csh.login:1.20 and profile:1.13
o Remove all mention of LANG and MM_CHARSET
o Point people at login.conf

PR:		9245
2000-07-31 20:13:26 +00:00
Bill Fumerola db364a8745 RELENG_4 people are more interested in getting RELENG_4 by default
instead of accidently overwriting their files with the HEAD.
2000-07-31 18:33:10 +00:00
Alexander Langer 37dff77a41 MFC: export control changes 2000-07-31 12:26:51 +00:00
Kris Kennaway 38d24ea58d MFC: Default to "FallBackToRsh no" and sync internal defaults and
documentation to the default config files.
2000-07-31 07:47:37 +00:00
Daniel C. Sobral c2861446f0 MFC:
engine.c: 1.6 through 1.9
regcomp.c: 1.14 through 1.23
regex.3: 1.5
regex2.h: 1.4 and 1.5
regfree.c: 1.2 and 1.3

Improve search heuristics by:

1. Using Boyer-Moore algorithm for search the "must" string when those
strings are at least 4 characters in length.
2. Use the point at which the must string was found to compute the
earliest possible point at which the pattern may be found, if possible.

Correct the BUGS section of the man page.

PR:		15561
PR:		14342
2000-07-31 06:30:37 +00:00
Andrey A. Chernov 1b139adb86 MFC: #ports/hebrew 2000-07-31 04:24:54 +00:00
Satoshi Asami 00adae4439 MFC (hebrew). 2000-07-31 00:18:17 +00:00
Kris Kennaway a2177321de MFC: Don't build sshd if NO_OPENSSL defined. 2000-07-30 22:26:29 +00:00
MIHIRA Sanpei Yoshiro c00881f8de MFC 1.14 -> 1.15: Update the description of available channel for Japan. 2000-07-30 14:52:43 +00:00
Yoshihiro Takahashi 3aed20d5c2 Merged from sys/dev/syscons/scterm-sc.c revisions from 1.4.2.4 to 1.4.2.7. 2000-07-30 08:13:03 +00:00
Marcel Moolenaar b04bb59e4b MFC: bounds checking to stackgap_alloc. 2000-07-30 05:36:11 +00:00
Peter Wemm 3ca67b7d86 RELENG_4 is post 4.1-RELEASE - this should have been bumped a while ago. 2000-07-29 21:14:11 +00:00
John Polstra 6a68c3c190 MFC 1.32 -> 1.33: Don't omit header line in output of "netstat -si". 2000-07-29 20:33:38 +00:00
John Polstra a3319a57b8 MFC: Call init and fini functions in a proper order based on the
interdependencies of the shared libraries.  Includes these revisions:

        rtld.c          1.47
        rtld.h          1.19
2000-07-29 20:26:23 +00:00
Hajimu UMEMOTO 1cc951a59d MFC 1.46 -> 1.47: Workaround to avoid panic during detach pccard nic. 2000-07-29 15:48:26 +00:00
Hajimu UMEMOTO 31bb475ba6 MFC rev 1.29 -> 1.30: Make compilable without -DINET6.
With shut up unused variable warnings.

PR:		bin/20225
Submitted by:	Paul Herman <[email protected]>
2000-07-29 15:31:56 +00:00
Paul Saab 69dc0a5272 Alfred merged the wrong file for the accept filter core. 2000-07-29 04:08:19 +00:00
David E. O'Brien 2afef39ba8 MFC: add RAID controllers. 2000-07-29 02:15:24 +00:00
Bill Fumerola f51e37d767 MFC
ipfw.c:
	r1.84,1.88: tcpoptions support (dan, [email protected])
	r1.86: reorder output of 'prob' to match the input method (billf)
ip_fw.c:
	r1.138: tcpoptions support (dan, [email protected])
ip_fw.h:
	r1.50(partial): complete WF2Q+ merge, comment only (luigi)
	r1.51: tcpoptions support (dan, [email protected])
2000-07-28 23:16:30 +00:00
SADA Kenji e9cc666822 MFC: 1.26, 1.27 Fix inhelitance of file flags when files are moved
across devices.
2000-07-28 21:40:39 +00:00
Mark Ovens efbc9347f3 MFC rev 1.6 2000-07-28 19:54:44 +00:00
Robert Watson a47721e1fe o MFC phk's #include optimization in 1.3 to reduce diffs between -current
and -stable
2000-07-28 18:48:16 +00:00
Robert Watson b8b69075d2 o MFC locking changes in extended attribute interface (locks required on vnodes
for all extended attribute vnops)
o MFC related formatting changes to decrease diffs between -current
  and -stable in that code.

Obtained from:	TrustedBSD Project
2000-07-28 18:46:49 +00:00
Dag-Erling Smørgrav 373b1d679a MFC: don't die if server doesn't grok MDTM 2000-07-28 10:37:35 +00:00
Alfred Perlstein 17493f7de0 MFC: accept_filters 2000-07-28 04:03:48 +00:00
David E. O'Brien fd37ae77c9 MFC: add HISTORY 2000-07-27 23:00:09 +00:00
David E. O'Brien 84642296bf MFC: add this empty file 2000-07-27 22:59:35 +00:00
David E. O'Brien e9ed600a15 MFC: refer to sysctl.conf 2000-07-27 22:59:01 +00:00
cvs2svn 3426f47503 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-07-27 22:53:43 +00:00
Jonathan Lemon 61a9f3aab6 MFC: support for DEC version of controller + multiple controller cards. 2000-07-27 22:27:39 +00:00
Archie Cobbs 065589cc9f MFC: check for and display any synchronous reply from command line message 2000-07-27 22:05:36 +00:00
Archie Cobbs 5f67bd92df MFC: (rev. 1.5): remove node's name reference when the interface is detached. 2000-07-27 21:59:08 +00:00
Andrey A. Chernov cb817ff3d3 Restore dtterm color fix which was absent in -current and lost in MFC 2000-07-27 21:06:30 +00:00
David E. O'Brien 517b77124b MFC: rev 1.13 (arp(8) invocation fix) 2000-07-27 20:58:10 +00:00
Andrey A. Chernov 4628df7b97 MFC: describe SGR 22,24,25,27 and reset 2000-07-27 20:48:33 +00:00
Andrey A. Chernov 338ad53f11 MFC: sync with main termcap 2000-07-27 20:43:30 +00:00
Andrey A. Chernov 5dbc0d7f17 MFC:
cons*: ue/se/rs/md fixes (needs updated kernel)
dosansi: mh fix
dtterm: no color
2000-07-27 20:41:26 +00:00
Andrey A. Chernov 9be8cad97d MFC: reset fix and SGR 22,24,25,27 2000-07-27 20:31:36 +00:00
Mark Ovens 34d70ffdde MFC rev 1.13 2000-07-27 17:28:23 +00:00
Nick Sayer 6d38c3a67a MFC: tap driver. Virtual Ethernet device, mostly used in bridged
configurations. Used by vmware and vtun ports, among other things.
2000-07-27 13:57:05 +00:00
Jeroen Ruigrok van der Werven 71131cae19 MFC: comment typo fix. Do - > does. 2000-07-27 11:43:16 +00:00
Brian Feldman 9eb3798817 MFC: rev. 1.62, race fixes 2000-07-27 03:46:51 +00:00
cvs2svn cde10e618a This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-07-27 01:22:25 +00:00
Jordan K. Hubbard 7b9dceaa43 Adjust the docs to now be in a post 4.1-RELEASE world. 2000-07-26 21:16:45 +00:00
3410 changed files with 229629 additions and 133823 deletions

No files matched your search

+3 -3
View File
@@ -7,6 +7,8 @@
# upgrades.
# installworld - Install everything built by "buildworld".
# world - buildworld + installworld.
# buildkernel - Rebuild the kernel and the kernel-modules.
# installkernel - Install the kernel and the kernel-modules.
# update - Convenient way to update your source tree (cvs).
# upgrade - Upgrade a.out (2.2.x/3.0) system to the new ELF way
# most - Build user commands, no libraries or include files.
@@ -98,7 +100,6 @@ ${TGTS}: upgrade_checks
# Set a reasonable default
.MAIN: all
STARTTIME!= LC_TIME=C date
#
# world
#
@@ -107,7 +108,7 @@ STARTTIME!= LC_TIME=C date
#
world: upgrade_checks
@echo "--------------------------------------------------------------"
@echo ">>> ${OBJFORMAT} make world started on ${STARTTIME}"
@echo ">>> ${OBJFORMAT} make world started on `LC_TIME=C date`"
@echo "--------------------------------------------------------------"
.if target(pre-world)
@echo
@@ -127,7 +128,6 @@ world: upgrade_checks
.endif
@echo
@echo "--------------------------------------------------------------"
@echo ">>> ${OBJFORMAT} make world started on ${STARTTIME}"
@echo ">>> ${OBJFORMAT} make world completed on `LC_TIME=C date`"
@echo "--------------------------------------------------------------"
+56 -34
View File
@@ -14,6 +14,10 @@
# -DNOINFO do not make or install info files
# -DNOLIBC_R do not build libc_r.
# -DNO_FORTRAN do not build g77 and related libraries.
# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
# -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel
# -DNO_PORTSUPDATE do not update ports in ${MAKE} update
# -DNO_DOCUPDATE do not update doc in ${MAKE} update
# LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list
#
@@ -109,6 +113,9 @@ CLEANDIR= cleandir
SUP?= cvsup
SUPFLAGS?= -g -L 2 -P -
.if defined(SUPHOST)
SUPFLAGS+= -h ${SUPHOST}
.endif
MAKEOBJDIRPREFIX?= /usr/obj
TARGET_ARCH?= ${MACHINE_ARCH}
@@ -123,24 +130,28 @@ WORLDTMP= ${OBJTREE}${.CURDIR}/${BUILD_ARCH}
STRICTTMPPATH= ${WORLDTMP}/usr/sbin:${WORLDTMP}/usr/bin:${WORLDTMP}/usr/games
TMPPATH= ${STRICTTMPPATH}:${PATH}
TMPDIR?= /tmp
TMPPID!= echo $$$$
INSTALLTMP= ${TMPDIR}/install.${TMPPID}
#
# Building a world goes through the following stages
#
# bootstrap-tool stage [BMAKE]
# 1. bootstrap-tool stage [BMAKE]
# This stage is responsible for creating programs that
# are needed for backward compatibility reasons. They
# are not built as cross-tools.
# build-tool stage [TMAKE]
# 2. build-tool stage [TMAKE]
# This stage is responsible for creating the object
# tree and building any tools that are needed during
# the build process.
# cross-tool stage [XMAKE]
# 3. cross-tool stage [XMAKE]
# This stage is responsible for creating any tools that
# are needed for cross-builds. A cross-compiler is one
# of them.
# world stage [WMAKE]
# 4. world stage [WMAKE]
# This stage actually builds the world.
# install stage (optional) [IMAKE]
# 5. install stage (optional) [IMAKE]
# This stage installs a previously built world.
#
@@ -183,7 +194,8 @@ WMAKEENV= ${CROSSENV} \
WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1
# install stage
IMAKEENV= ${CROSSENV}
IMAKEENV= ${CROSSENV} \
PATH=${STRICTTMPPATH}:${INSTALLTMP}
IMAKE= ${IMAKEENV} ${MAKE} -f Makefile.inc1
USRDIRS= usr/bin usr/lib/compat/aout usr/games usr/libdata/ldscripts \
@@ -203,18 +215,6 @@ INCDIRS= arpa g++/std objc protocols readline rpc rpcsvc openssl \
# success, regardless of how old your existing system is.
#
buildworld:
.if !defined(NOSECURE) && !defined(NO_OPENSSL) && exists(${.CURDIR}/secure) && \
(!defined(USA_RESIDENT) || (${USA_RESIDENT} != NO && \
${USA_RESIDENT} != YES))
@echo
@echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
@echo ">>> You must define the value of USA_RESIDENT as 'YES' or"
@echo ">>> 'NO' as appropriate, in the environment or /etc/make.conf"
@echo ">>> before building can proceed."
@echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
@/usr/bin/false
.endif
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Rebuilding the temporary build tree"
@@ -297,7 +297,14 @@ everything:
# Installs everything compiled by a 'buildworld'.
#
installworld:
mkdir -p ${INSTALLTMP}
for prog in [ awk cat chflags chown date echo egrep find grep \
install ln make makewhatis mtree mv perl rm sed sh sysctl \
test true uname wc zic; do \
cp `which $$prog` ${INSTALLTMP}; \
done
cd ${.CURDIR}; ${IMAKE} reinstall
rm -rf ${INSTALLTMP}
#
# reinstall
@@ -379,15 +386,20 @@ buildkernel:
.for _kernel in ${BUILDKERNELS}
@echo "===> ${_kernel}"
mkdir -p ${KRNLOBJDIR}
.if !defined(NO_KERNELCONFIG)
cd ${KRNLCONFDIR}; \
PATH=${TMPPATH} \
config ${CONFIGARGS} -d ${KRNLOBJDIR}/${_kernel} ${_kernel}
.endif
cd ${KRNLOBJDIR}/${_kernel}; \
MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx \
${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/Makefile; \
${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} \
${MAKE} depend; \
${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} ${MAKE} all
MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx/aicasm \
${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/aicasm/Makefile
.if !defined(NO_KERNELDEPEND)
cd ${KRNLOBJDIR}/${_kernel}; \
${WMAKEENV} MACHINE=${MACHINE} ${MAKE} KERNEL=kernel depend
.endif
cd ${KRNLOBJDIR}/${_kernel}; \
${WMAKEENV} MACHINE=${MACHINE} ${MAKE} KERNEL=kernel all
.endfor
#
@@ -397,8 +409,7 @@ buildkernel:
#
installkernel:
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
${IMAKEENV} MACHINE=${MACHINE} KERNEL=${INSTALLKERNEL} \
${MAKE} install
${CROSSENV} MACHINE=${MACHINE} ${MAKE} KERNEL=kernel install
#
# update
@@ -420,9 +431,12 @@ update:
.if defined(SUPFILE2)
@${SUP} ${SUPFLAGS} ${SUPFILE2}
.endif
.if defined(PORTSSUPFILE)
.if defined(PORTSSUPFILE) && !defined(NO_PORTSUPDATE)
@${SUP} ${SUPFLAGS} ${PORTSSUPFILE}
.endif
.if defined(DOCSUPFILE) && !defined(NO_DOCUPDATE)
@${SUP} ${SUPFLAGS} ${DOCSUPFILE}
.endif
.endif
.if defined(CVS_UPDATE)
@echo "--------------------------------------------------------------"
@@ -522,9 +536,13 @@ _libkrb5= kerberos5/lib/libroken kerberos5/lib/libasn1 kerberos5/lib/libhdb \
kerberos5/lib/libsl
.endif
.if !defined(NOPERL)
_perl= gnu/usr.bin/perl
.endif
build-tools:
.for _tool in bin/sh ${_games} gnu/usr.bin/cc/cc_tools ${_fortran} \
${_libroken4} ${_libkrb5} lib/libncurses ${_share}
${_libroken4} ${_libkrb5} lib/libncurses ${_share} ${_perl}
cd ${.CURDIR}/${_tool}; ${MAKE} build-tools
.endfor
@@ -617,6 +635,7 @@ includes:
.if exists(${.CURDIR}/lib/csu/${MACHINE_ARCH})
cd ${.CURDIR}/lib/csu/${MACHINE_ARCH}; ${MAKE} beforeinstall
.endif
cd ${.CURDIR}/gnu/lib/csu; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libalias; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libatm; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libdevstat; ${MAKE} beforeinstall
@@ -625,6 +644,7 @@ includes:
cd ${.CURDIR}/lib/libcam; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libdisk; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libedit; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libfetch; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libftpio; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libkvm; ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libmd; ${MAKE} beforeinstall
@@ -655,7 +675,7 @@ includes:
#
# The following dependencies exist between the libraries:
#
# lib*: csu
# lib*: csu libgcc_pic
# libatm: libmd
# libcrypt: libmd
# libdialog: libncurses
@@ -663,8 +683,8 @@ includes:
# libg++: libm
# libkrb: libcrypt
# libopie: libmd
# libpam: libcom_err libcrypt libcrypto libgcc_pic libkrb libradius libskey \
# libtacplus libutil libz libssh
# libpam: libcom_err libcrypt libcrypto libkrb libopie libradius \
# libskey libtacplus libutil libz libssh
# libradius: libmd
# libreadline: libncurses
# libskey: libcrypt libmd
@@ -676,7 +696,7 @@ includes:
#
# gnu/lib: lib/libm lib/libncurses
# kerberosIV/lib kerberos5/lib: lib/libcrypt
# lib/libpam: secure/lib/libcrypto kerberosIV/lib/libkrb gnu/lib/libgcc \
# lib/libpam: secure/lib/libcrypto kerberosIV/lib/libkrb \
# secure/lib/libssh lib/libz
# secure/lib: lib/libmd
#
@@ -715,9 +735,11 @@ _libkeycap= usr.sbin/pcvt/keycap
.endif
libraries:
.for _lib in ${_csu} lib/libmd lib/libcrypt ${_secure_lib} ${_kerberosIV_lib} \
${_kerberos5_lib} gnu/lib/libgcc lib/libcom_err ${_libm} lib/libncurses \
lib/libradius lib/libskey lib/libtacplus lib/libutil lib/libz lib gnu/lib \
.for _lib in ${_csu} gnu/lib/csu gnu/lib/libgcc lib/libmd lib/libcrypt \
${_secure_lib} ${_kerberosIV_lib} \
${_kerberos5_lib} lib/libcom_err ${_libm} lib/libncurses \
lib/libopie lib/libradius lib/libskey lib/libtacplus lib/libutil \
lib/libz lib gnu/lib \
${_libperl} usr.bin/lex/lib ${_libkeycap}
.if exists(${.CURDIR}/${_lib})
cd ${.CURDIR}/${_lib}; \
+12 -7
View File
@@ -11,14 +11,19 @@ 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.
kernel, the kernel-modules and the contents of /etc. The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below). 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:
Building a kernel 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.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you have to build
world before. More information is available in the handbook.
The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
@@ -35,7 +40,7 @@ bin System/User commands.
contrib Packages contributed by 3rd parties.
crypto Export controlled stuff (see crypto/README).
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc
@@ -56,7 +61,7 @@ release Release building Makefile & associated tools.
sbin System commands.
secure DES and DES-related utilities - NOT FOR EXPORT!
secure Cryptographic libraries and commands.
share Shared resources.
+119 -21
View File
@@ -6,8 +6,79 @@ chronology since 4.0 was released is included, followed by the common
items quick how-tos, followed by entries for versions of -current
prior to 4.0 Release.
20001120:
FreeBSD 4.2 RELEASE.
20001020:
****************************** WARNING ******************************
Sendmail has been updated.
****************************** WARNING ******************************
o mail.local(8) is no longer installed as a set-user-id binary.
o sendmail(8) is now built with STARTTLS support unless NO_OPENSSL
is set.
o The default /etc/mail/sendmail.cf disables the SMTP EXPN and VRFY
commands.
o Now using sendmail's version of vacation(1).
o The sendmail cf building tools (contrib/sendmail/cf) are installed
in /usr/share/sendmail/cf.
o sendmail.cw changed to local-host-names
More details can be found at
http://people.freebsd.org/~imp/UPDATING/sendmail-20001010
20001009:
The ports tree's new layout is in place. Be sure to update
your entire ports tree, or you will have problems.
20001006:
The perl build procedure no longer installs miniperl, nor uses
the installed miniperl. It is recommended that you delete
/usr/bin/miniperl.
20000925:
FreeBSD 4.1.1 RELEASE.
20000907:
Changes to libkvm requires a recompile of the usual suspects.
(find /usr/src -name Makefile | xargs egrep -l LIBKVM)
This means that your world must match your kernel around this
point.
20000904:
A new issue with the sendmail upgrade has come to light.
/etc/aliases has moved to /etc/mail/aliases. Mergemaster will
incorrectly install the default aliases in /etc/mail rather than
move the old one from /etc. So you'll need to manually move the
file, create a symbolic link, remove the old /etc/aliases.db and
run newaliases. For safety sake, you should stop sendmail
while doing this and run the upgrade when locally sourced email
is not likely to be generated.
20000827:
sendmail has been updated from 8.9.3 to 8.11.0. Some of the more
visible changes that may immediately affect your configuration
include:
- New default file locations from src/contrib/sendmail/cf/README
- newaliases limited to root and trusted users
- MSA port (587) turned on by default
- New queue file naming system so can't go from 8.11 -> 8.9
- FEATURE(`rbl') renamed to FEATURE(`dnsbl')
- FEATURE(`nullclient') is more full featured
- FEATURE(`nouucp') requires an argument: `reject' or `nospecial'
- mail.local FreeBSD-only -b option changed to -B
- See src/contrib/sendmail/RELEASE_NOTES for more info
20000803:
The "installkernel" target has changed slightly. Now even if
you override KERNEL e.g. 'make installkernel KERNEL=MYKERNEL'
it will install the MYKERNEL file (built with the buildkernel
target) as /kernel rather than /MYKERNEL. Those who have
updated their /boot/loader.conf files to point to /MYKERNEL
should remove that entry or perform manual rename of /kernel
to /MYKERNEL.
20000724:
FreeBSD 4.1 Released on or about this date.
FreeBSD 4.1 RELEASE
20000711:
If you use CVSUP or CTM to get CVS trees, AND you used to get
@@ -20,6 +91,12 @@ prior to 4.0 Release.
If you are merely a mirror, or don't answer yes to each of the
clauses above, you needn't worry.
20000707:
We started building modules here. IF you don't wish to
follow the documented proceedure for building kernels, then
you'll have to install new mk files from src/share/mk, or
define NO_MODULES.
20000706:
Binutils were updated. In order to build a kernel after this
date, you must follow the updating procedure for building
@@ -51,17 +128,12 @@ COMMON ITEMS:
-----------------
cd /usr/src
# If you have not already done so, please buildworld here
# You will also need to update your config file to 4.0. Usually
# people tend to start with GENERIC from 4.0 and hack from there.
# You will also need to update your config file to 4.x. Usually
# people tend to start with GENERIC from 4.x and hack from there.
make buildkernel KERNEL=<YOUR_KERNEL_HERE>
make installkernel KERNEL=<YOUR_KERNEL_HERE>
# Verify that the new kernel works, it will be installed as
# /YOUR_KERNEL_HERE
chflags noschg /kernel
chflags noschg /YOUR_KERNEL_HERE
mv /kernel /kernel.old
mv /YOUR_KERNEL_HERE /kernel
chflags schg /kernel
# /kernel
To rebuild disk /dev entries
----------------------------
@@ -80,15 +152,21 @@ COMMON ITEMS:
Except when it doesn't work :-)
To update from 3.x to 4.0 stable
To update from 3.x to 4.x stable
--------------------------------
***********************************************************
READ -STABLE ARCHIVES FOR THE LAST WEEK OR TWO BEFORE
STARTING THIS PROCESS. UPDATING MAY LAG BEHIND A LITTLE
A GOTCHAS ARE OFTEN REPORTED IN [email protected]
BEFORE BEING INCLUDED HERE. IF YOU ARE GOING TO DO REMOTE
MACHINES, MAKE SURE THAT THE EXACT VERSION YOU ARE UPDATING
THEM TO WORKS ON LOCAL MACHINES BEFORE PROCEEDING.
***********************************************************
<see notes below> [3]
cd /usr/src
<see notes below> [2]
make buildworld
<follow directions to build/install a kernel>
cd /usr/src/sys/modules
make install
cd /usr/src/sbin/mknod
make install
<follow rebuild disk /dev entries above> [1]
@@ -98,31 +176,51 @@ COMMON ITEMS:
cd gnu/usr.bin/texinfo/install-info
make install
cd ../../../..
ldconfig -R /usr/obj/usr/src/lib/libc
make installworld [5]
mergemaster [4]
reboot
<multi-user>
[1] You may need to switch from wd to ad ala 19991210
[1] You may need to switch from wd to ad ala 19991210. In
addition, you should disable any third party modules such as
vmware so that you don't crash your system on reboot.
[2] If you have any of the following in your /etc/make.conf,
please comment them out before following these instructions
and then do a make buildworld + make installworld after you
are back to <multi-user> above:
MAKE_KERBEROS4
[3] Update to 4.0-stable sources. Make sure that you get all
[3] Update to 4.x-stable sources. Make sure that you get all
the parts. If you are using cvsup files that are older than a
couple of months, be sure they have all the components listed
in /usr/share/examples/cvsup. Crypto and secure are now
required.
[4] This step is optional, but is generally a good idea. If
you wish to use many of the new features in 4.0, you must do
you wish to use many of the new features in 4.x, you must do
this anyway.
[5] If you get warnings from ld-elf.so that it cannot load
libc.so, run 'ldconfig -R /usr/obj/usr/src/lib/libc' and repeat
the installworld target.
To update from 4.0-RELEASE or later to the most current
4.x-STABLE
----------
make buildworld
make buildkernel KERNEL=YOUR_KERNEL_HERE
make installkernel KERNEL=YOUR_KERNEL_HERE
reboot (in single user) [1]
make installworld
mergemaster
reboot
[1] You can often get away without doing this step as the
system will be properly updated. During the running of the
installworld, however, system components may break and other
oddities may happen. Don't do this on systems that aren't
otherwise quiet as unpredictable results may happen. If in
doubt, reboot into single user. For remote installs, keep
a separate kernel around and use a serial console if at all
possible.
What follows are older entries for those people upgrading from earlier
versions of -stable.
versions of -stable/-current.
20000308:
The binary interface of perl to its modules changed. You
@@ -513,7 +611,7 @@ versions of -stable.
o sio no longer supports pnp nor pccard. This will be corrected,
but the new pccard code needs to be completed.
o Some of the sound drivers broke for some people. It seems
inconsistant as to who/what/when/where things broke.
inconsistent as to who/what/when/where things broke.
o Duplicate device entries in your config do not work. Previously
they were silently ignored. psm0 seems to be the most common
duplicate choice, although some reports have come in from people
@@ -739,7 +837,7 @@ http://www.freebsd.org/cgi/getmsg.cgi?fetch=827400+0+current/freebsd-current
FORMAT:
This file contains a list, in reverse chronologocal order, of major
breakages in tracking -current. Not all things will be listed here,
breakages in tracking -stable. Not all things will be listed here,
and it only starts on November 18, 1998. If you have an earlier
version of FreeBSD, you are on your own to get to November 18, 1998.
+1 -1
View File
@@ -34,7 +34,7 @@ SUBDIR= cat \
SUBDIR+=csh
.endif
.if !defined(NO_SENDMAIL)
.if !defined(NO_SENDMAIL) && !defined(NOUUCP)
SUBDIR+=rmail
.endif
+70 -44
View File
@@ -58,7 +58,7 @@ The options are as follows:
.Bl -tag -width indent
.It Fl f Ar changer
Use the device
.Pa changer
.Ar changer
rather than the default device
.Pa /dev/ch0 .
.El
@@ -69,20 +69,27 @@ to the desired changer device.
.Pp
A medium changer apparatus is made up of
.Em elements .
There are four element types:
There are five element types:
.Em picker
(medium transport),
.Em slot
(storage),
.Em portal
(import/export), and
(import/export),
.Em drive
(data transfer). In this command description, the shorthand
(data transfer), and
.Em voltag
(select by volume identifier). The
.Em voltag
pseudo-element type allows the selection of tapes by their volume tag
(typically a barcode on the tape).
.Pp
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
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
@@ -93,82 +100,92 @@ would be
.Pp
.Sh SUPPORTED COMMANDS
.Bl -tag -width indent
.It Xo Nm move
.It Ic move Xo
.Ar <from ET> <from EU> <to ET> <to EU>
.Op Ar inv
.Op Cm inv
.Xc
Move the media unit from
.Pa <from ET/EU>
.Ar <from ET/EU>
to
.Pa <to ET/EU> .
.Ar <to ET/EU> .
If the optional modifier
.Pa inv
.Cm inv
is specified, the media unit will be inverted before insertion.
.It Xo Nm exchange
.It Ic exchange Xo
.Ar <src ET> <src EU> <dst1 ET> <dst1 EU>
.Op Ar <dst2 ET> <dst2 ET>
.Op Ar inv1
.Op Ar inv2
.Op Cm inv1
.Op Cm inv2
.Xc
Perform a media unit exchange operation. The media unit in
.Pa <src ET/EU>
.Ar <src ET/EU>
is moved to
.Pa <dst1 ET/EU>
.Ar <dst1 ET/EU>
and the media unit previously in
.Pa <dst1 ET/EU>
.Ar <dst1 ET/EU>
is moved to
.Pa <dst2 ET/EU> .
.Ar <dst2 ET/EU> .
In the case of a simple exchange,
.Pa <dst2 ET/EU>
.Ar <dst2 ET/EU>
is omitted and the values
.Pa <src ET/EU>
.Ar <src ET/EU>
are used in their place.
The optional modifiers
.Pa inv1
.Cm inv1
and
.Pa inv2
.Cm inv2
specify whether the media units are to be inverted before insertion into
.Pa <dst1 ET/EU>
.Ar <dst1 ET/EU>
and
.Pa <dst2 ET/EU>
.Ar <dst2 ET/EU>
respectively.
.Pp
Note that not all medium changers support the
.Ic exchange
operation; the changer must have multiple free pickers or emulate
multiple free pickers with transient storage.
.It Xo Nm position
.It Ic return Xo
.Ar <from ET> <from EU>
.Xc
Return the media unit to its source element.
This command will query the status of the specified media unit, and
will move it to the element specified in its source attribute.
This is a convenient way to return media from a drive or portal
to its previous element in the changer.
.Pp
.It Ic position Xo
.Ar <to ET> <to EU>
.Op Ar inv
.Op Cm inv
.Xc
Position the picker in front of the element described by
.Pa <to ET/EU> .
.Ar <to ET/EU> .
If the optional modifier
.Pa inv
.Cm 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 params
.It Ic 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 getpicker
.It Ic getpicker
Report which picker unit the changer is currently configured to use.
.It Xo Nm setpicker
.It Ic setpicker Xo
.Ar <unit>
.Xc
Configure the changer to use picker
.Pa <unit> .
.Ar <unit> .
.Pp
.It Xo Nm ielem
.Op Pa <timeout>
.It Ic ielem Xo
.Op Ar <timeout>
.Xc
Perform an \fBINITIALIZE ELEMENT STATUS\fR
Perform an
.Em INITIALIZE ELEMENT STATUS
operation on the changer. The optional
.Pa <timeout>
.Ar <timeout>
parameter may be given to specify a timeout in seconds for the
operations. This may be used if the operation takes unusually long
because of buggy firmware or the like.
.It Xo Nm voltag
.It Ic voltag Xo
.Op Fl fca
.Ar <ET>
.Ar <EU>
@@ -195,17 +212,18 @@ volume tag information defined.
The command works with the primary volume tag or, if the
.Fl a
flag is given, with the alternate volume tag.
.It Xo Nm status
.It Ic status Xo
.Op Fl vVsSbIa
.Op Ar <type>
.Xc
Report the status of all elements in the changer. If
.Pa <type>
.Ar <type>
is specified, report the status of all elements of type
.Pa <type> .
.Ar <type> .
.It Fl v
Print the primary volume tag for each loaded medium, if any. The volume
tag is printed as \fB<LABEL:SERIAL>\fR.
tag is printed as
.Dq <LABEL:SERIAL> .
.It Fl V
Print the alternate volume tag for each loaded medium, if any.
.It Fl s
@@ -244,9 +262,14 @@ Element supports receiving media (importing) from an outside human operator.
.Pp
.Sh EXAMPLES
.Bl -tag -width indent
.It Nm chio move slot 3 drive 0
.It Li chio move slot 3 drive 0
Move the media in slot 3 (fourth slot) to drive 0 (first drive).
.It Nm chio setpicker 2
.It Li chio move voltag VOLUME01 drive 0
Move the media with the barcode VOLUME01 to drive 0 (first drive).
.It Li chio return drive 0
Remove the tape from drive 0 (first drive) and return it to its original
location in the rack.
.It Li chio setpicker 2
Configure the changer to use picker 2 (third picker) for operations.
.El
.Sh FILES
@@ -265,4 +288,7 @@ program and SCSI changer driver were written by
for And Communications, http://www.and.com/.
.br
Additional work by
.An Hans Huebner Aq [email protected]
.An Hans Huebner
.Aq [email protected]
and Steve Gunn
.Aq [email protected]
+274 -10
View File
@@ -32,6 +32,7 @@
*/
/*
* Additional Copyright (c) 1997, by Matthew Jacob, for NASA/Ames Research Ctr.
* Addidional Copyright (c) 2000, by C. Stephen Gunn, Waterspout Communications
*/
#ifndef lint
@@ -54,7 +55,6 @@ static const char rcsid[] =
#include "pathnames.h"
extern char *__progname; /* from crt0.o */
extern int optreset; /* from getopt.o */
static void usage __P((void));
static void cleanup __P((void));
@@ -65,6 +65,9 @@ static int parse_special __P((char *));
static int is_special __P((char *));
static const char *bits_to_string __P((int, const char *));
static void find_element __P((char *, u_int16_t *, u_int16_t *));
static struct changer_element_status *get_element_status __P((u_int16_t, u_int16_t));
static int do_move __P((char *, int, char **));
static int do_exchange __P((char *, int, char **));
static int do_position __P((char *, int, char **));
@@ -73,14 +76,20 @@ static int do_getpicker __P((char *, int, char **));
static int do_setpicker __P((char *, int, char **));
static int do_status __P((char *, int, char **));
static int do_ielem __P((char *, int, char **));
static int do_return __P((char *, int, char **));
static int do_voltag __P((char *, int, char **));
#ifndef CHET_VT
#define CHET_VT 10 /* Completely Arbitrary */
#endif
/* Valid changer element types. */
const struct element_type elements[] = {
{ "drive", CHET_DT },
{ "picker", CHET_MT },
{ "portal", CHET_IE },
{ "slot", CHET_ST },
{ "voltag", CHET_VT }, /* Select tapes by barcode */
{ NULL, 0 },
};
@@ -94,6 +103,7 @@ const struct changer_command commands[] = {
{ "position", do_position },
{ "setpicker", do_setpicker },
{ "status", do_status },
{ "return", do_return },
{ "voltag", do_voltag },
{ NULL, 0 },
};
@@ -196,14 +206,24 @@ do_move(cname, argc, argv)
cmd.cm_fromtype = parse_element_type(*argv);
++argv; --argc;
/* <from EU> */
cmd.cm_fromunit = parse_element_unit(*argv);
/* Check for voltag virtual type */
if (CHET_VT == cmd.cm_fromtype) {
find_element(*argv, &cmd.cm_fromtype, &cmd.cm_fromunit);
} else {
/* <from EU> */
cmd.cm_fromunit = parse_element_unit(*argv);
}
++argv; --argc;
/* <to ET> */
cmd.cm_totype = parse_element_type(*argv);
++argv; --argc;
/* Check for voltag virtual type, and report error */
if (CHET_VT == cmd.cm_totype)
errx(1,"%s: voltag only makes sense as an element source",
cname);
/* <to EU> */
cmd.cm_tounit = parse_element_unit(*argv);
++argv; --argc;
@@ -267,16 +287,26 @@ do_exchange(cname, argc, argv)
cmd.ce_srctype = parse_element_type(*argv);
++argv; --argc;
/* <src EU> */
cmd.ce_srcunit = parse_element_unit(*argv);
/* Check for voltag virtual type */
if (CHET_VT == cmd.ce_srctype) {
find_element(*argv, &cmd.ce_srctype, &cmd.ce_srcunit);
} else {
/* <from 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);
/* Check for voltag virtual type */
if (CHET_VT == cmd.ce_fdsttype) {
find_element(*argv, &cmd.ce_fdsttype, &cmd.ce_fdstunit);
} else {
/* <from EU> */
cmd.ce_fdstunit = parse_element_unit(*argv);
}
++argv; --argc;
/*
@@ -294,6 +324,10 @@ do_exchange(cname, argc, argv)
cmd.ce_sdsttype = parse_element_type(*argv);
++argv; --argc;
if (CHET_VT == cmd.ce_sdsttype)
errx(1,"%s %s: voltag only makes sense as an element source",
cname, *argv);
/* <dst2 EU> */
cmd.ce_sdstunit = parse_element_unit(*argv);
++argv; --argc;
@@ -653,9 +687,9 @@ do_status(cname, argc, argv)
cesr.cesr_element_base = base;
cesr.cesr_element_count = count;
/* Allocate storage for the status structures. */
cesr.cesr_element_status
= (struct changer_element_status *)
malloc(count * sizeof(struct changer_element_status));
cesr.cesr_element_status =
(struct changer_element_status *)
calloc(count, sizeof(struct changer_element_status));
if (!cesr.cesr_element_status)
errx(1, "can't allocate status storage");
@@ -935,6 +969,236 @@ bits_to_string(v, cp)
return (buf);
}
/*
* do_return()
*
* Given an element reference, ask the changer/picker to move that
* element back to its source slot.
*/
static int
do_return(cname, argc, argv)
char *cname;
int argc;
char **argv;
{
struct changer_element_status *ces;
struct changer_move cmd;
u_int16_t type, element;
++argv; --argc;
if (argc < 2) {
warnx("%s: too few arguments", cname);
goto usage;
} else if (argc > 3) {
warnx("%s: too many arguments", cname);
goto usage;
}
type = parse_element_type(*argv);
++argv; --argc;
/* Handle voltag virtual Changer Element Type */
if (CHET_VT == type) {
find_element(*argv, &type, &element);
} else {
element = parse_element_unit(*argv);
}
++argv; --argc;
ces = get_element_status(type, element); /* Get the status */
if (NULL == ces)
errx(1, "%s: null element status pointer", cname);
if (!(ces->ces_flags & CES_SOURCE_VALID))
errx(1, "%s: no source information", cname);
(void) memset(&cmd, 0, sizeof(cmd));
cmd.cm_fromtype = type;
cmd.cm_fromunit = element;
cmd.cm_totype = ces->ces_source_type;
cmd.cm_tounit = ces->ces_source_addr;
if (ioctl(changer_fd, CHIOMOVE, &cmd) == -1)
err(1, "%s: CHIOMOVE", changer_name);
free(ces);
return(0);
usage:
(void) fprintf(stderr, "usage: %s %s "
"<from ET> <from EU>\n", __progname, cname);
return(1);
}
/*
* get_element_status()
*
* return a *cesr for the specified changer element. This
* routing will malloc()/calloc() the memory. The caller
* should free() it when done.
*/
static struct changer_element_status *
get_element_status(type, element)
u_int16_t type;
u_int16_t element;
{
struct changer_element_status_request cesr;
struct changer_element_status *ces;
ces = (struct changer_element_status *)
calloc(1, sizeof(struct changer_element_status));
if (NULL == ces)
errx(1, "can't allocate status storage");
(void)memset(&cesr, 0, sizeof(cesr));
cesr.cesr_element_type = type;
cesr.cesr_element_base = element;
cesr.cesr_element_count = 1; /* Only this one element */
cesr.cesr_flags |= CESR_VOLTAGS; /* Grab voltags as well */
cesr.cesr_element_status = ces;
if (ioctl(changer_fd, CHIOGSTATUS, (char *)&cesr) == -1) {
free(ces);
err(1, "%s: CHIOGSTATUS", changer_name);
/* NOTREACHED */
}
return ces;
}
/*
* find_element()
*
* Given a <voltag> find the chager element and unit, or exit
* with an error if it isn't found. We grab the changer status
* and iterate until we find a match, or crap out.
*/
static void
find_element(voltag, et, eu)
char *voltag;
u_int16_t *et;
u_int16_t *eu;
{
struct changer_params cp;
struct changer_element_status_request cesr;
struct changer_element_status *ch_ces, *ces;
int elem, total_elem, found = 0;
/*
* Get the changer parameters, we're interested in the counts
* for all types of elements to perform our search.
*/
if (ioctl(changer_fd, CHIOGPARAMS, (char *)&cp))
err(1, "%s: CHIOGPARAMS", changer_name);
/* Allocate some memory for the results */
total_elem = (cp.cp_nslots + cp.cp_ndrives
+ cp.cp_npickers + cp.cp_nportals);
ch_ces = (struct changer_element_status *)
calloc(total_elem, sizeof(struct changer_element_status));
if (NULL == ch_ces)
errx(1, "can't allocate status storage");
ces = ch_ces;
/* Read in the changer slots */
if (cp.cp_nslots > 0) {
cesr.cesr_element_type = CHET_ST;
cesr.cesr_element_base = 0;
cesr.cesr_element_count = cp.cp_nslots;
cesr.cesr_flags |= CESR_VOLTAGS;
cesr.cesr_element_status = ces;
if (ioctl(changer_fd, CHIOGSTATUS, (char *)&cesr) == -1) {
free(ch_ces);
err(1, "%s: CHIOGSTATUS", changer_name);
}
ces += cp.cp_nslots;
}
/* Read in the drive information */
if (cp.cp_ndrives > 0 ) {
(void) memset(&cesr, 0, sizeof(cesr));
cesr.cesr_element_type = CHET_DT;
cesr.cesr_element_base = 0;
cesr.cesr_element_count = cp.cp_ndrives;
cesr.cesr_flags |= CESR_VOLTAGS;
cesr.cesr_element_status = ces;
if (ioctl(changer_fd, CHIOGSTATUS, (char *)&cesr) == -1) {
free(ch_ces);
err(1, "%s: CHIOGSTATUS", changer_name);
}
ces += cp.cp_ndrives;
}
/* Read in the portal information */
if (cp.cp_nportals > 0 ) {
(void) memset(&cesr, 0, sizeof(cesr));
cesr.cesr_element_type = CHET_IE;
cesr.cesr_element_base = 0;
cesr.cesr_element_count = cp.cp_nportals;
cesr.cesr_flags |= CESR_VOLTAGS;
cesr.cesr_element_status = ces;
if (ioctl(changer_fd, CHIOGSTATUS, (char *)&cesr) == -1) {
free(ch_ces);
err(1, "%s: CHIOGSTATUS", changer_name);
}
ces += cp.cp_nportals;
}
/* Read in the picker information */
if (cp.cp_npickers > 0) {
(void) memset(&cesr, 0, sizeof(cesr));
cesr.cesr_element_type = CHET_MT;
cesr.cesr_element_base = 0;
cesr.cesr_element_count = cp.cp_npickers;
cesr.cesr_flags |= CESR_VOLTAGS;
cesr.cesr_element_status = ces;
if (ioctl(changer_fd, CHIOGSTATUS, (char *)&cesr) == -1) {
free(ch_ces);
err(1, "%s: CHIOGSTATUS", changer_name);
}
}
/*
* Now search the list the specified <voltag>
*/
for (elem = 0; elem <= total_elem; ++elem) {
ces = &ch_ces[elem];
/* Make sure we have a tape in this element */
if ((ces->ces_flags & (CES_STATUS_ACCESS|CES_STATUS_FULL))
!= (CES_STATUS_ACCESS|CES_STATUS_FULL))
continue;
/* Check to see if it is our target */
if (strcasecmp(voltag, ces->ces_pvoltag.cv_volid) == 0) {
*et = ces->ces_type;
*eu = ces->ces_addr;
++found;
break;
}
}
if (!found) {
errx(1, "%s: unable to locate voltag: %s", changer_name,
voltag);
}
free(ch_ces);
return;
}
static void
cleanup()
+5 -2
View File
@@ -72,6 +72,7 @@ main(argc, argv)
int Hflag, Lflag, Pflag, Rflag, ch, fflag, fts_options, hflag, rval;
int vflag;
char *ep, *mode;
int newmode;
set = NULL;
omode = 0;
@@ -191,8 +192,10 @@ done: argv += optind;
default:
break;
}
if (chmod(p->fts_accpath, oct ? omode :
getmode(set, p->fts_statp->st_mode)) && !fflag) {
newmode = oct ? omode : getmode(set, p->fts_statp->st_mode);
if ((newmode & ALLPERMS) == (p->fts_statp->st_mode & ALLPERMS))
continue;
if (chmod(p->fts_accpath, newmode) && !fflag) {
warn("%s", p->fts_path);
rval = 1;
} else {
+1
View File
@@ -41,6 +41,7 @@ static const char rcsid[] =
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/time.h>
#ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED
#include <sys/mman.h>
#endif
+6 -5
View File
@@ -118,11 +118,10 @@ Print the date and time represented by
where
.Ar seconds
is the number of seconds since the Epoch
.Po
00:00:00 UTC, January 1, 1970;
(00:00:00 UTC, January 1, 1970;
see
.Xr time 3
.Pc .
.Xr time 3 ) ,
and can be specified in decimal, octal, or hex.
.It Fl t Ar minutes_west
Set the system's value for minutes west of
.Tn GMT .
@@ -195,7 +194,9 @@ the clock goes back at 02:00 to 01:00, using
will be necessary to reach October 29, 2:30.
.Pp
When the date is adjusted to a specific value that doesn't actually exist
.Pq for example March 26, 1:30 BST 2000 in the Europe/London timezone ,
.Po
for example March 26, 1:30 BST 2000 in the Europe/London timezone
.Pc ,
the date will be silently adjusted forwards in units of one hour until it
reaches a valid time.
When the date is adjusted to a specific value that occurs twice
+2 -3
View File
@@ -78,8 +78,6 @@ main(argc, argv)
int argc;
char **argv;
{
extern int optind;
extern char *optarg;
struct timezone tz;
int ch, rflag;
int jflag, nflag;
@@ -116,7 +114,8 @@ main(argc, argv)
break;
case 'r': /* user specified seconds */
rflag = 1;
tval = atol(optarg);
if (sscanf(optarg,"%li",&tval) != 1)
usage();
break;
case 't': /* minutes west of UTC */
/* error check; don't allow "PST" */
+3 -2
View File
@@ -132,11 +132,12 @@ jcl(argv)
* just wanted to set both the input and output block sizes
* and didn't want the bs semantics, so we don't warn.
*/
if (ddflags & (C_BLOCK|C_LCASE|C_SWAB|C_UCASE|C_UNBLOCK))
if (ddflags & (C_BLOCK | C_LCASE | C_SWAB | C_UCASE |
C_UNBLOCK))
ddflags &= ~C_BS;
/* Bs supersedes ibs and obs. */
if (ddflags & C_BS && ddflags & (C_IBS|C_OBS))
if (ddflags & C_BS && ddflags & (C_IBS | C_OBS))
warnx("bs supersedes ibs and obs");
}
+24 -12
View File
@@ -52,6 +52,7 @@ static const char rcsid[] =
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/conf.h>
#include <sys/disklabel.h>
#include <sys/filio.h>
#include <ctype.h>
@@ -69,6 +70,7 @@ static const char rcsid[] =
static void dd_close __P((void));
static void dd_in __P((void));
int main __P((int, char *[]));
static void getfdtype __P((IO *));
static void setup __P((void));
@@ -167,11 +169,13 @@ setup()
pos_out();
/*
* Truncate the output file; ignore errors because it fails on some
* kinds of output files, tapes, for example.
* Truncate the output file. If it fails on a type of output file
* that it should _not_ fail on, error out.
*/
if ((ddflags & (C_OF | C_SEEK | C_NOTRUNC)) == (C_OF | C_SEEK))
(void)ftruncate(out.fd, out.offset * out.dbsz);
if ((ddflags & (C_OF | C_SEEK | C_NOTRUNC)) == (C_OF | C_SEEK) &&
out.flags & ISTRUNC)
if (ftruncate(out.fd, out.offset * out.dbsz) == -1)
err(1, "truncating %s", out.name);
/*
* If converting case at the same time as another conversion, build a
@@ -190,10 +194,10 @@ setup()
} else {
if (ddflags & C_LCASE) {
for (cnt = 0; cnt <= 0377; ++cnt)
casetab[cnt] = tolower(cnt);
casetab[cnt] = tolower((int)cnt);
} else {
for (cnt = 0; cnt <= 0377; ++cnt)
casetab[cnt] = toupper(cnt);
casetab[cnt] = toupper((int)cnt);
}
}
ctab = casetab;
@@ -212,14 +216,22 @@ getfdtype(io)
if (fstat(io->fd, &sb) == -1)
err(1, "%s", io->name);
if (S_ISREG(sb.st_mode))
io->flags |= ISTRUNC;
if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
if (ioctl(io->fd, FIODTYPE, &type) == -1) {
err(1, "%s", io->name);
} else {
if (type & D_TAPE)
io->flags |= ISTAPE;
else if (type & (D_DISK | D_MEM))
else if (type & (D_DISK | D_MEM)) {
if (type & D_DISK) {
const int one = 1;
(void)ioctl(io->fd, DIOCWLABEL, &one);
}
io->flags |= ISSEEK;
}
if (S_ISCHR(sb.st_mode) && (type & D_TAPE) == 0)
io->flags |= ISCHR;
}
@@ -244,7 +256,7 @@ dd_in()
case 0:
break;
default:
if (st.in_full + st.in_part >= cpy_cnt)
if (st.in_full + st.in_part >= (u_quad_t)cpy_cnt)
return;
break;
}
@@ -296,7 +308,7 @@ dd_in()
++st.in_full;
/* Handle full input blocks. */
} else if (n == in.dbsz) {
} else if ((size_t)n == in.dbsz) {
in.dbcnt += in.dbrcnt = n;
++st.in_full;
@@ -327,7 +339,7 @@ dd_in()
++st.swab;
--n;
}
swab(in.dbp, in.dbp, n);
swab(in.dbp, in.dbp, (size_t)n);
}
in.dbp += in.dbrcnt;
@@ -427,7 +439,7 @@ dd_out(force)
}
outp += nw;
st.bytes += nw;
if (nw == n) {
if ((size_t)nw == n) {
if (n != out.dbsz)
++st.out_part;
else
@@ -435,7 +447,7 @@ dd_out(force)
break;
}
++st.out_part;
if (nw == cnt)
if ((size_t)nw == cnt)
break;
if (out.flags & ISTAPE)
errx(1, "%s: short write on tape device",
+3 -2
View File
@@ -48,13 +48,14 @@ typedef struct {
size_t dbsz; /* buffer size */
#define ISCHR 0x01 /* character device (warn on short) */
#define ISPIPE 0x02 /* pipe-like (not truncatable) */
#define ISPIPE 0x02 /* pipe-like (see position.c) */
#define ISTAPE 0x04 /* tape */
#define ISSEEK 0x08 /* valid to seek on */
#define NOREAD 0x10 /* not readable */
#define ISTRUNC 0x20 /* valid to ftruncate() */
u_int flags;
char *name; /* name */
const char *name; /* name */
int fd; /* file descriptor */
off_t offset; /* # of blocks to skip */
+2 -1
View File
@@ -53,10 +53,11 @@ void summaryx __P((int));
void terminate __P((int));
void unblock __P((void));
void unblock_close __P((void));
void bitswab __P((void *, size_t));
extern IO in, out;
extern STAT st;
extern void (*cfunc)();
extern void (*cfunc) __P((void));
extern quad_t cpy_cnt;
extern size_t cbsz;
extern u_int ddflags;
+7 -3
View File
@@ -130,7 +130,7 @@ pos_out()
* going to fail, but don't protect the user -- they shouldn't
* have specified the seek operand.
*/
if (!(out.flags & ISTAPE)) {
if (out.flags & (ISSEEK | ISPIPE)) {
errno = 0;
if (lseek(out.fd, out.offset * out.dbsz, SEEK_CUR) == -1 &&
errno != 0)
@@ -166,9 +166,13 @@ pos_out()
if (ioctl(out.fd, MTIOCTOP, &t_op) == -1)
err(1, "%s", out.name);
while (cnt++ < out.offset)
if ((n = write(out.fd, out.db, out.dbsz)) != out.dbsz)
while (cnt++ < out.offset) {
n = write(out.fd, out.db, out.dbsz);
if (n == -1)
err(1, "%s", out.name);
if ((size_t)n != out.dbsz)
errx(1, "%s: write failure", out.name);
}
break;
}
}
+76 -3
View File
@@ -14,7 +14,9 @@
#include <locale.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <regex.h>
#include <limits.h>
enum valtype {
integer, numeric_string, string
@@ -154,7 +156,11 @@ struct val *vp;
return 0;
/* vp->type == numeric_string, make it numeric */
errno = 0;
i = strtoq(vp->u.s, (char**)NULL, 10);
if (errno != 0) {
errx (2, "overflow");
}
free (vp->u.s);
vp->u.i = i;
vp->type = integer;
@@ -409,6 +415,20 @@ struct val *a, *b;
return r;
}
int
chk_plus (a, b, r)
quad_t a, b, r;
{
/* sum of two positive numbers must be positive */
if (a > 0 && b > 0 && r <= 0)
return 1;
/* sum of two negative numbers must be negative */
if (a < 0 && b < 0 && r >= 0)
return 1;
/* all other cases are OK */
return 0;
}
struct val *
op_plus (a, b)
struct val *a, *b;
@@ -420,11 +440,29 @@ struct val *a, *b;
}
r = make_integer (/*(quad_t)*/(a->u.i + b->u.i));
if (chk_plus (a->u.i, b->u.i, r->u.i)) {
errx (2, "overflow");
}
free_value (a);
free_value (b);
return r;
}
int
chk_minus (a, b, r)
quad_t a, b, r;
{
/* special case subtraction of QUAD_MIN */
if (b == QUAD_MIN) {
if (a >= 0)
return 1;
else
return 0;
}
/* this is allowed for b != QUAD_MIN */
return chk_plus (a, -b, r);
}
struct val *
op_minus (a, b)
struct val *a, *b;
@@ -436,11 +474,27 @@ struct val *a, *b;
}
r = make_integer (/*(quad_t)*/(a->u.i - b->u.i));
if (chk_minus (a->u.i, b->u.i, r->u.i)) {
errx (2, "overflow");
}
free_value (a);
free_value (b);
return r;
}
int
chk_times (a, b, r)
quad_t a, b, r;
{
/* special case: first operand is 0, no overflow possible */
if (a == 0)
return 0;
/* cerify that result of division matches second operand */
if (r / a != b)
return 1;
return 0;
}
struct val *
op_times (a, b)
struct val *a, *b;
@@ -452,11 +506,26 @@ struct val *a, *b;
}
r = make_integer (/*(quad_t)*/(a->u.i * b->u.i));
if (chk_times (a->u.i, b->u.i, r->u.i)) {
errx (2, "overflow");
}
free_value (a);
free_value (b);
return (r);
}
int
chk_div (a, b, r)
quad_t a, b, r;
{
/* div by zero has been taken care of before */
/* only QUAD_MIN / -1 causes overflow */
if (a == QUAD_MIN && b == -1)
return 1;
/* everything else is OK */
return 0;
}
struct val *
op_div (a, b)
struct val *a, *b;
@@ -472,6 +541,9 @@ struct val *a, *b;
}
r = make_integer (/*(quad_t)*/(a->u.i / b->u.i));
if (chk_div (a->u.i, b->u.i, r->u.i)) {
errx (2, "overflow");
}
free_value (a);
free_value (b);
return r;
@@ -492,6 +564,7 @@ struct val *a, *b;
}
r = make_integer (/*(quad_t)*/(a->u.i % b->u.i));
/* chk_rem necessary ??? */
free_value (a);
free_value (b);
return r;
+27 -4
View File
@@ -44,11 +44,11 @@
.Nd make links
.Sh SYNOPSIS
.Nm ln
.Op Fl fsv
.Op Fl fisv
.Ar source_file
.Op target_file
.Nm ln
.Op Fl fsv
.Op Fl fisv
.Ar source_file ...
.Op target_dir
.Nm link
@@ -72,7 +72,28 @@ to a file is one of the differences between a hard and symbolic link.
The options are as follows:
.Bl -tag -width flag
.It Fl f
Unlink any already existing file, permitting the link to occur.
If the target file already exists,
then unlink it so that the link may occur.
(The
.Fl f
option overrides any previous
.Fl i
options.)
.It Fl i
Cause
.Nm
to write a prompt to standard error if the target file exists.
If the response from the standard input begins with the character
.Sq Li y
or
.Sq Li Y ,
then unlink the target file so that the link may occur.
Otherwise, do not attempt the link.
(The
.Fl i
option overrides any previous
.Fl f
options.)
.It Fl s
Create a symbolic link.
.It Fl v
@@ -143,8 +164,10 @@ operation using the two passed arguments.
.Xr symlink 7
.Sh COMPATIBILITY
The
.Fl i
and
.Fl v
option is non-standard and its use in scripts is not recommended.
options are non-standard and their use in scripts is not recommended.
.Sh HISTORY
An
.Nm
+37 -8
View File
@@ -56,6 +56,7 @@ static const char rcsid[] =
#include <unistd.h>
int fflag; /* Unlink existing files. */
int iflag; /* Interactive mode. */
int sflag; /* Symbolic, not hard, link. */
int vflag; /* Verbose output. */
/* System link call. */
@@ -70,7 +71,6 @@ main(argc, argv)
int argc;
char *argv[];
{
extern int optind;
struct stat sb;
int ch, exitval;
char *p, *sourcedir;
@@ -92,10 +92,15 @@ main(argc, argv)
usage();
}
while ((ch = getopt(argc, argv, "fsv")) != -1)
while ((ch = getopt(argc, argv, "fisv")) != -1)
switch (ch) {
case 'f':
fflag = 1;
iflag = 0;
break;
case 'i':
iflag = 1;
fflag = 0;
break;
case 's':
sflag = 1;
@@ -139,7 +144,7 @@ linkit(target, source, isdir)
int isdir;
{
struct stat sb;
int exists;
int ch, exists, first;
char *p, path[MAXPATHLEN];
if (!sflag) {
@@ -169,10 +174,34 @@ linkit(target, source, isdir)
exists = !lstat(source, &sb);
/*
* If the file exists, and -f was specified, unlink it.
* Attempt the link.
* If the file exists, then unlink it forcibly if -f was specified
* and interactively if -i was specified.
*/
if ((fflag && exists && unlink(source)) || (*linkf)(target, source)) {
if (fflag && exists) {
if (unlink(source)) {
warn("%s", source);
return (1);
}
} else if (iflag && exists) {
fflush(stdout);
fprintf(stderr, "replace %s? ", source);
first = ch = getchar();
while(ch != '\n' && ch != EOF)
ch = getchar();
if (first != 'y' && first != 'Y') {
fprintf(stderr, "not replaced\n");
return (1);
}
if (unlink(source)) {
warn("%s", source);
return (1);
}
}
/* Attempt the link. */
if ((*linkf)(target, source)) {
warn("%s", source);
return (1);
}
@@ -185,8 +214,8 @@ void
usage()
{
(void)fprintf(stderr, "%s\n%s\n%s\n",
"usage: ln [-fsv] file1 file2",
" ln [-fsv] file ... directory",
"usage: ln [-fisv] file1 file2",
" ln [-fisv] file ... directory",
" link file1 file2");
exit(1);
}
+2 -1
View File
@@ -407,7 +407,8 @@ the
.Nm ls
command acts a little differently. If you do not specify the
.Fl F ,
.Fl d or
.Fl d
or
.Fl l
options,
.Nm ls
+45 -30
View File
@@ -91,29 +91,9 @@ a percent sign (%) after each whiteout,
and a vertical bar (|) after each that is a
.Tn FIFO .
.It Fl G
Use
.Tn ANSI
color sequences to distinguish file types.
See
.Ev LSCOLORS
below.
In addition to those mentioned above in
.Fl F ,
some extra attributes (setuid bit set, etc.) are also displayed.
The colorization is dependent on a terminal type with the proper
.Xr termcap 5
capabilities.
The default
.Dq cons25
console has the proper capabilities,
however if you want to display the colors in an
.Xr xterm 1
for example,
you need to set your
.Ev TERM
variable to
.Dq xterm-color .
Other terminal types may require similar adjustments.
Enable colorized output. This option is equivalent to defining
.Ev CLICOLOR
in the environment. (See below).
.It Fl H
Symbolic links on the command line are followed. This option is assumed if
none of the
@@ -393,7 +373,43 @@ is set, the block counts
(see
.Fl s )
will be displayed in units of that size block.
.It COLUMNS
.It Ev CLICOLOR
Use
.Tn ANSI
color sequences to distinguish file types.
See
.Ev LSCOLORS
below.
In addition to the file types mentioned in the
.Fl F
option some extra attributes (setuid bit set, etc.) are also displayed.
The colorization is dependent on a terminal type with the proper
.Xr termcap 5
capabilities.
The default
.Dq cons25
console has the proper capabilities,
however if you want to display the colors in an
.Xr xterm 1
for example,
you need to set your
.Ev TERM
variable to
.Dq xterm-color .
Other terminal types may require similar adjustments. Colorization
is silently disabled if the output isn't directed to a terminal
unless the
.Ev CLICOLOR_FORCE
variable is defined.
.It Ev CLICOLOR_FORCE
Color sequences are normally disabled if the output isn't directed to
a terminal. This can be overridden by setting this flag.
The
.Ev TERM
variable still needs to reference a color capable terminal however
otherwise it is not possible to determine which color sequences to
use.
.It Ev COLUMNS
If this variable contains a string representing a
decimal integer, it is used as the
column position width for displaying
@@ -412,11 +428,10 @@ format output.
See
.Xr environ 7
for more information.
.It LSCOLORS
.It Ev LSCOLORS
The value of this variable describes what color to use for which
attribute when the color output
.Pq Fl G
is specified.
attribute when colors are enabled with
.Ev CLICOLOR.
This string is a concatenation of pairs of the format
.Sy fb ,
where
@@ -494,8 +509,8 @@ in order: inode, block count, number of links, user name,
group name, flags, file size, file name.
.It Ev TERM
The
.Fl G
option depends on a terminal type with color capabilities.
.Ev CLICOLOR
functionality depends on a terminal type with color capabilities.
.It Ev TZ
The timezone to use when displaying dates.
See
+22 -18
View File
@@ -202,24 +202,7 @@ main(argc, argv)
fts_options |= FTS_COMFOLLOW;
break;
case 'G':
if (isatty(STDOUT_FILENO))
#ifdef COLORLS
if (tgetent(termcapbuf, getenv("TERM")) == 1) {
ansi_fgcol = tgetstr("AF", &bp);
ansi_bgcol = tgetstr("AB", &bp);
/* To switch colours off use 'op' if
* available, otherwise use 'oc', or
* don't do colours at all. */
ansi_coloff = tgetstr("op", &bp);
if (!ansi_coloff)
ansi_coloff = tgetstr("oc", &bp);
if (ansi_fgcol && ansi_bgcol && ansi_coloff)
f_color = 1;
}
#else
(void)fprintf(stderr, "Color support not compiled in.\n");
#endif
setenv("CLICOLOR", "", 1);
break;
case 'L':
fts_options &= ~FTS_PHYSICAL;
@@ -294,6 +277,27 @@ main(argc, argv)
argc -= optind;
argv += optind;
/* Enabling of colours is conditional on the environment. */
if (getenv("CLICOLOR") &&
(isatty(STDOUT_FILENO) || getenv("CLICOLOR_FORCE")))
#ifdef COLORLS
if (tgetent(termcapbuf, getenv("TERM")) == 1) {
ansi_fgcol = tgetstr("AF", &bp);
ansi_bgcol = tgetstr("AB", &bp);
/* To switch colours off use 'op' if
* available, otherwise use 'oc', or
* don't do colours at all. */
ansi_coloff = tgetstr("op", &bp);
if (!ansi_coloff)
ansi_coloff = tgetstr("oc", &bp);
if (ansi_fgcol && ansi_bgcol && ansi_coloff)
f_color = 1;
}
#else
(void)fprintf(stderr, "Color support not compiled in.\n");
#endif /*COLORLS*/
#ifdef COLORLS
if (f_color) {
/*
+2 -2
View File
@@ -162,9 +162,9 @@ usage()
{
(void)fprintf(stderr,
#ifdef COLORLS
"usage: ls [-ACFGHLPRTWacdfgiklnoqrstu1]"
"usage: ls [-ABCFGHLPRTWabcdfgiklnoqrstu1]"
#else
"usage: ls [-ACFHLPRTWacdfgiklnoqrstu1]"
"usage: ls [-ABCFHLPRTWabcdfgiklnoqrstu1]"
#endif
" [file ...]\n");
exit(1);
+11
View File
@@ -290,6 +290,17 @@ err: if (unlink(to))
}
if (fchmod(to_fd, sbp->st_mode))
warn("%s: set mode (was: 0%03o)", to, oldmode);
/*
* XXX
* NFS doesn't support chflags; ignore errors unless there's reason
* to believe we're losing bits. (Note, this still won't be right
* if the server supports flags and we were trying to *remove* flags
* on a file that we copied, i.e., that we didn't create.)
*/
errno = 0;
if (fchflags(to_fd, sbp->st_flags))
if (errno != EOPNOTSUPP || sbp->st_flags != 0)
warn("%s: set flags (was: 0%07o)", to, sbp->st_flags);
tval[0].tv_sec = sbp->st_atime;
tval[1].tv_sec = sbp->st_mtime;
-2
View File
@@ -188,8 +188,6 @@ pax_options(argc, argv)
unsigned int bflg = 0;
register char *pt;
FSUB tmp;
extern char *optarg;
extern int optind;
/*
* process option flags
+1 -1
View File
@@ -185,7 +185,7 @@ state(k, ve)
break;
case SSLEEP:
if (flag & P_SINTR) /* interuptable (long) */
if (flag & P_SINTR) /* interruptable (long) */
*cp = p->p_slptime >= MAXSLP ? 'I' : 'S';
else
*cp = 'D';
+22 -1
View File
@@ -1,10 +1,31 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/sendmail/rmail
MAINTAINER= [email protected]
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/rmail
PROG= rmail
SRCS= rmail.c
MAN8= rmail.8
CFLAGS+=-I${SENDMAIL_DIR}/include
.if exists(${.OBJDIR}/../../lib/libsmutil)
LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
.else
LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
.endif
LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
DPADD= ${LIBSMUTIL}
LDADD= ${LIBSMUTIL}
# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}
DPADD+=${SENDMAIL_DPADD}
LDADD+=${SENDMAIL_LDADD}
LDFLAGS+=${SENDMAIL_LDFLAGS}
# If you want to have your rmail queuing the mail only, uncomment the
# following:
+16 -9
View File
@@ -891,14 +891,21 @@ typecmd(argc, argv)
switch (entry.cmdtype) {
case CMDNORMAL: {
int j = entry.u.index;
char *path = pathval(), *name;
do {
name = padvance(&path, argv[i]);
stunalloc(name);
} while (--j >= 0);
out1fmt(" is%s %s\n",
cmdp ? " a tracked alias for" : "", name);
if (strchr(argv[i], '/') == NULL) {
char *path = pathval(), *name;
int j = entry.u.index;
do {
name = padvance(&path, argv[i]);
stunalloc(name);
} while (--j >= 0);
out1fmt(" is%s %s\n",
cmdp ? " a tracked alias for" : "", name);
} else {
if (access(argv[i], X_OK) == 0)
out1fmt(" is %s\n", argv[i]);
else
out1fmt(": %s\n", strerror(errno));
}
break;
}
case CMDFUNCTION:
@@ -910,7 +917,7 @@ typecmd(argc, argv)
break;
default:
out1str(" not found\n");
out1str(": not found\n");
error |= 127;
break;
}
+2 -1
View File
@@ -253,12 +253,13 @@ cmdloop(top)
evaltree(n, 0);
}
popstackmark(&smark);
setstackmark(&smark);
if (evalskip == SKIPFILE) {
evalskip = 0;
break;
}
}
popstackmark(&smark); /* unnecessary */
popstackmark(&smark);
}
+19
View File
@@ -118,6 +118,7 @@ struct stack_block {
struct stack_block stackbase;
struct stack_block *stackp = &stackbase;
struct stackmark *markp;
char *stacknxt = stackbase.space;
int stacknleft = MINSIZE;
int sstrnleft;
@@ -176,6 +177,8 @@ setstackmark(mark)
mark->stackp = stackp;
mark->stacknxt = stacknxt;
mark->stacknleft = stacknleft;
mark->marknext = markp;
markp = mark;
}
@@ -186,6 +189,7 @@ popstackmark(mark)
struct stack_block *sp;
INTOFF;
markp = mark->marknext;
while (stackp != mark->stackp) {
sp = stackp;
stackp = sp->prev;
@@ -215,6 +219,7 @@ growstackblock()
char *oldspace;
int oldlen;
struct stack_block *sp;
struct stack_block *oldstackp;
newlen = ALIGN(stacknleft * 2 + 100);
oldspace = stacknxt;
@@ -222,6 +227,7 @@ growstackblock()
if (stacknxt == stackp->space && stackp != &stackbase) {
INTOFF;
oldstackp = stackp;
sp = stackp;
stackp = sp->prev;
sp = ckrealloc((pointer)sp, sizeof(struct stack_block) -
@@ -230,6 +236,19 @@ growstackblock()
stackp = sp;
stacknxt = sp->space;
stacknleft = newlen;
{
/* Stack marks pointing to the start of the old block
* must be relocated to point to the new block
*/
struct stackmark *xmark;
xmark = markp;
while (xmark != NULL && xmark->stackp == oldstackp) {
xmark->stackp = stackp;
xmark->stacknxt = stacknxt;
xmark->stacknleft = stacknleft;
xmark = xmark->marknext;
}
}
INTON;
} else {
p = stalloc(newlen);
+1
View File
@@ -41,6 +41,7 @@ struct stackmark {
struct stack_block *stackp;
char *stacknxt;
int stacknleft;
struct stackmark *marknext;
};
+1 -4
View File
@@ -909,10 +909,7 @@ readtoken1(firstc, syntax, eofmark, striptabs)
for (;;) { /* until end of line or end of word */
CHECKSTRSPACE(3, out); /* permit 3 calls to USTPUTC */
if (c < 0 && c != PEOF)
synentry = CWORD;
else
synentry = syntax[c];
synentry = syntax[c];
switch(synentry) {
case CNL: /* '\n' */
+2 -2
View File
@@ -116,7 +116,7 @@ The last form is described below.
.It Fl a Ar temporary-directory
Specify an alternative location for the real mount points.
The default is
.Pa /a .
.Pa /.amd_mnt .
.It Fl c Ar duration
Specify a
.Ar duration ,
@@ -284,7 +284,7 @@ Map entries that are tagged with a tag other than
will not be processed.
.Sh FILES
.Bl -tag -width /axx
.It Pa /a
.It Pa /.amd_mnt
directory under which filesystems are dynamically mounted
.It Pa /etc/amd.conf
default configuration file
+1 -1
View File
@@ -225,7 +225,7 @@ init_global_options(void)
gopt.arch = HOST_ARCH;
/* automounter temp dir */
gopt.auto_dir = "/a";
gopt.auto_dir = "/.amd_mnt";
/* cluster name */
gopt.cluster = NULL;
+1 -2
View File
@@ -195,8 +195,7 @@ be in the
database.
.Sh SEE ALSO
.Xr amd.conf 5 ,
.Xr amd 8 ,
.Xr ctl-amd 8
.Xr amd 8
.Sh AUTHORS
.An Jan-Simon Pendry Aq [email protected] ,
Department of Computing, Imperial College, London, UK.
+2 -2
View File
@@ -84,7 +84,7 @@ server for the directory containing
which defaults to
.Pa /hlfs/home .
Lookups within that directory are handled by
.Nm ,
.Nm hlfsd ,
which uses the password map to determine how to resolve the lookup. The
directory will be created if it doesn't already exist. The symbolic link will
be to the accessing user's home directory, with
@@ -156,7 +156,7 @@ If no group is provided, and there is no group
this feature is disabled.
.It Fl h
Help. Print a brief help message, and exit.
.It i Ar reload-interval
.It Fl i Ar reload-interval
Map-reloading interval. Each
.Ar reload-interval
seconds,
+57 -1
View File
@@ -1,3 +1,59 @@
--- 8.2.3-T6B released ---
1029. [bug] incredibly busy systems could starve handle_needs().
1028. [protocol] unrecognized TSIG was returning NOERROR (now NOTAUTH).
1027. [support] INSIST(), ENSURE(), et al, now always have sideeffects.
1026. [port] some kernels bogusly return tv_usec>1000000 from
gettimeofday(). panic and dump core when this happens.
1025. [proto] NOTIFY messages should have AA.
1024. [bug] we were unwilling to use the last 10 octets of a
response buffer in certain transaction types.
1023. [port] HP-UX 10.20 was looping inside contrib/dnssigner.
1022. [port] ensure that all handled signals are unblocked.
1021. [bug] the "host" command wasn't properly printing SRV RR's.
1020. [contrib] new "updatehosts" (V1.1.0) contributed by author.
1019. [port] separate CFLAGS and CPPFLAGS for unusual builds.
1018. [bug] When maintain_ixfr_base is set to "no" a zones IXFR
file was still being written too.
1017. [doc] resolver(3) was out of date with respect to recent API
changes.
1016. [bug] nslookup wasn't properly printing SIG RR's.
1015. [bug] when merging group information gr_name and gr_passwd
could be left pointing at freed memory.
1014. [bug] iquery: DoS (potential), information leak.
1013. [bug] mangled hostent structures returned by
gethostbyname_r() and friends.
1012. [doc] add named-bootconf example to INSTALL.
1011. [bug] if spawnxfer() fails we should return immediately.
1010. [bug] bad responses to the initial IXFR/SOA query could
result in using an uninitalised variable.
1009. [port] Add support for darwin / Mac OS X
1008. [doc] specify allow-query default in named.conf.
1007. [bug] only set STREAM_AXFRIXFR if the original query is
an IXFR.
--- 8.2.3-T5B (RC3) released ---
1006. [port] Windows/NT does not have fchown().
@@ -38,7 +94,7 @@
991. [protocol] send A6 glue records in xfr.
990. [bug] we could loose track of a bottom of zone cut is the
990. [bug] we could loose track of a bottom of zone cut if the
write buffer filled up at just the correct moment.
989. [bug] apply to "fetch-glue no;" to notify processing. need
+6 -2
View File
@@ -6,6 +6,7 @@ Systems it is known to compile and run on:
Debian GNU/Linux 2.2.9 ("unreleased")
Digital UNIX 3.2C, 4.0, 5.0
NetBSD/i386 1.3.2, 1.4
Darwin 1.x (Mac OS X)
SunOS 5.6 (Solaris 2.6), SunOS 5.7 (Solaris 7)
SCO UnixWare 7.0, 7.0.1, 7.1
IRIX 6.5
@@ -265,8 +266,11 @@ Using the Server
there are lots of {curly braces} and it takes some getting used to.
You may get a lot more help from the example file (which is
bin/named/named.conf) than from the documentation (see ../doc/html).
You can convert your named.boot file to a named.conf file if you have
Perl; see bin/named/named-bootconf.pl.
You can convert your named.boot file to a named.conf file using
bin/named-bootconf/named-bootconf.
e.g.
named-bootconf < /etc/named.boot > /etc/named.conf
All the files that used to be created in /var/tmp, e.g. named.run,
will now be created in the directory specified in the options
+2 -2
View File
@@ -1,4 +1,4 @@
## Copyright (c) 1993-1999 by Internet Software Consortium.
## Copyright (c) 1993-2000 by Internet Software Consortium, Inc.
##
## Permission to use, copy, modify, and distribute this software for any
## purpose with or without fee is hereby granted, provided that the above
@@ -19,4 +19,4 @@
Tel: 1-888-868-1001 (toll free in U.S.)
Tel: 1-650-779-7091
Fax: 1-650-779-7055
Email: [email protected]
Email: <[email protected]>
+1 -1
View File
@@ -1 +1 @@
8.2.3-T5B
8.2.3-T6B
+4 -3
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 8.27 1999/08/08 17:13:24 vixie Exp $
# $Id: Makefile,v 8.28 2000/07/11 06:41:26 vixie Exp $
DESTDIR=
CC= cc
@@ -54,11 +54,12 @@ MARGS = "SYSTYPE=${SYSTYPE}" "SHELL=${SHELL}" "A=${A}" "O=${O}" \
"RANLIB=${RANLIB}" "AR=${AR}" "ARPREF=${ARPREF}" "ARSUFF=${ARSUFF}" \
"INCL=../${INCL}" "PORTINCL=../${PORTINCL}" "EXE=${EXE}" \
"LIBBIND=../${LIBBIND}" "LIBPORT=../${LIBPORT}" \
"INSTALL=${INSTALL}" "CPPFLAGS=${CPPFLAGS}" "TOP=../${TOP}" \
"INSTALL=${INSTALL}" "TOP=../${TOP}" \
"VER=${VER}" "STRIP=${STRIP}" "PS=${PS}" "INSTALL_LIB=${INSTALL_LIB}" \
"INSTALL_EXEC=${INSTALL_EXEC}" "BOUNDS=${BOUNDS}"
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
SUBDIRS = addr nslookup dig dnsquery host named named-xfer ndc nsupdate \
mkservdb irpd dnskeygen named-bootconf
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 8.25 1999/08/08 17:51:00 vixie Exp $
# $Id: Makefile,v 8.26 2000/07/11 06:41:27 vixie Exp $
DESTDIR=
CC= cc
@@ -42,7 +42,8 @@ INSTALL_EXEC=
INSTALL_LIB=-o bin -g bin
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
PROG= addr
SRCS= ${PROG}.c
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 8.25 1999/08/08 17:51:01 vixie Exp $
# $Id: Makefile,v 8.26 2000/07/11 06:41:27 vixie Exp $
DESTDIR=
CC= cc
@@ -42,7 +42,8 @@ INSTALL_EXEC=
INSTALL_LIB=-o bin -g bin
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
NSLOOKUP_OBJS= \
../nslookup/subr.${O} ../nslookup/send.${O} \
+7 -2
View File
@@ -1,5 +1,5 @@
#ifndef lint
static const char rcsid[] = "$Id: dig.c,v 8.41 2000/04/20 07:36:04 vixie Exp $";
static const char rcsid[] = "$Id: dig.c,v 8.42 2000/07/17 07:36:52 vixie Exp $";
#endif
/*
@@ -167,6 +167,7 @@ static const char rcsid[] = "$Id: dig.c,v 8.41 2000/04/20 07:36:04 vixie Exp $";
#include <isc/dst.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
@@ -348,6 +349,7 @@ main(int argc, char **argv) {
res.id = 1;
gettimeofday(&tv1, NULL);
assert(tv1.tv_usec >= 0 && tv1.tv_usec < 1000000);
/*
* Main section: once if cmd-line query
@@ -848,6 +850,7 @@ main(int argc, char **argv) {
if (res.pfcode & RES_PRF_HEAD1)
fp_resstat(&res, stdout);
(void) gettimeofday(&start_time, NULL);
assert(start_time.tv_usec >= 0 && start_time.tv_usec < 1000000);
if (keyfile)
n = res_nsendsigned(&res, packet, n, &key, answer, sizeof answer);
else
@@ -872,6 +875,7 @@ main(int argc, char **argv) {
}
}
(void) gettimeofday(&end_time, NULL);
assert(end_time.tv_usec >= 0 && end_time.tv_usec < 1000000);
if (res.pfcode & RES_PRF_STATS) {
time_t t;
@@ -905,6 +909,7 @@ main(int argc, char **argv) {
* batches started at different sites somewhat synchronized.
*/
gettimeofday(&tv2, NULL);
assert(tv2.tv_usec >= 0 && tv2.tv_usec < 1000000);
delay = (int)(tv2.tv_sec - tv1.tv_sec);
if (delay < wait) {
sleep(wait - delay);
@@ -949,7 +954,7 @@ where: server,\n\
fputs("\
notes: defname and search don't work; use fully-qualified names.\n\
this is DiG version " VSTRING "\n\
$Id: dig.c,v 8.41 2000/04/20 07:36:04 vixie Exp $\n\
$Id: dig.c,v 8.42 2000/07/17 07:36:52 vixie Exp $\n\
", stderr);
}
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 1.5 1999/08/08 17:51:01 vixie Exp $
# $Id: Makefile,v 1.6 2000/07/11 06:41:28 vixie Exp $
DESTDIR=
CC= cc
@@ -44,7 +44,8 @@ INSTALL_LIB=-o bin -g bin
PS=ps
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
PROG= dnskeygen
SRCS= dnskeygen.c
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 8.24 1999/08/08 17:51:01 vixie Exp $
# $Id: Makefile,v 8.25 2000/07/11 06:41:29 vixie Exp $
DESTDIR=
CC= cc
@@ -42,7 +42,8 @@ INSTALL_EXEC=
INSTALL_LIB=-o bin -g bin
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
PROG= dnsquery
SRCS= ${PROG}.c
+12 -2
View File
@@ -80,7 +80,12 @@ main(int argc, char *argv[]) {
case 'p' : res.retrans = atoi(optarg);
break;
case 'h' : strcpy(name, optarg);
case 'h' : if (strlen(optarg) >= sizeof(name)) {
fprintf(stderr,
"Domain name too long (%s)\n", optarg);
exit(-1);
} else
strcpy(name, optarg);
break;
case 'c' : {
@@ -158,7 +163,12 @@ main(int argc, char *argv[]) {
}
}
if (optind < argc)
strcpy(name, argv[optind]);
if (strlen(argv[optind]) >= sizeof(name)) {
fprintf(stderr,
"Domain name too long (%s)\n", argv[optind]);
exit(-1);
} else
strcpy(name, argv[optind]);
len = sizeof(answer);
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 8.24 1999/08/08 17:51:01 vixie Exp $
# $Id: Makefile,v 8.25 2000/07/11 06:41:29 vixie Exp $
DESTDIR=
CC= cc
@@ -42,7 +42,8 @@ INSTALL_EXEC=
INSTALL_LIB=-o bin -g bin
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
PROG= host
SRCS= ${PROG}.c
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef lint
static const char rcsid[] = "$Id: host.c,v 8.36 2000/01/25 00:20:21 cyarnell Exp $";
static const char rcsid[] = "$Id: host.c,v 8.37 2000/07/11 07:06:14 vixie Exp $";
#endif /* not lint */
/*
@@ -1043,7 +1043,7 @@ pr_rr(const u_char *cp, const u_char *msg, FILE *file, int filter) {
cp += sizeof(u_short);
cp = (u_char *)pr_cdname(cp, msg, name, sizeof(name));
if (doprint)
fprintf(file,"%s",name);
fprintf(file, " %s", name);
break;
case ns_t_naptr:
+5 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 1.4 2000/05/09 07:02:22 vixie Exp $
# $Id: Makefile,v 1.6 2000/07/17 07:15:08 vixie Exp $
DESTDIR=
CC= cc
@@ -46,7 +46,8 @@ STRIP=-s
PS=ps
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL} -I${TOP}/lib/irs ${DEFS}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL} -I${TOP}/lib/irs ${DEFS}
VER= LOCAL-`date +%y%m%d.%H%M%S`
HOSTNAMECMD= hostname || uname -n
@@ -61,6 +62,8 @@ all: ${PROG}${EXE}
${PROG}${EXE}: irpd.${O} tmp_version.${O} ${LIBBIND}
${CC} ${CDEBUG} ${LDFLAGS} -o ${PROG}${EXE} ${OBJS} tmp_version.${O} \
${LIBBIND} ${SYSLIBS}
.c.${O}:
${CC} ${CPPFLAGS} ${CFLAGS} ${BOUNDS} -c $*.c
tmp_version.${O}: tmp_version.c
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 1.6 1999/08/08 17:51:01 vixie Exp $
# $Id: Makefile,v 1.7 2000/07/11 06:41:30 vixie Exp $
DESTDIR=
CC= cc
@@ -41,7 +41,8 @@ INSTALL_EXEC=
INSTALL_LIB=-o bin -g bin
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
PROG= mkservdb
SRCS= ${PROG}.c
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 1.1 1999/01/07 02:09:37 vixie Exp $
# $Id: Makefile,v 1.2 2000/07/11 06:41:33 vixie Exp $
DESTDIR=
CC= cc
@@ -41,7 +41,8 @@ INSTALL_EXEC=
INSTALL_LIB=-o bin -g bin
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
PROG= named-bootconf
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 8.29 1999/08/08 17:51:02 vixie Exp $
# $Id: Makefile,v 8.30 2000/07/11 06:41:34 vixie Exp $
DESTDIR=
CC= cc
@@ -45,7 +45,8 @@ INSTALL_LIB=-o bin -g bin
PS=ps
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
NAMED_OBJS= \
../named/db_glue.${O} ../named/ns_glue.${O} ../named/tmp_version.${O}
+5 -2
View File
@@ -131,7 +131,7 @@ char copyright[] =
#if !defined(lint) && !defined(SABER)
static const char sccsid[] = "@(#)named-xfer.c 4.18 (Berkeley) 3/7/91";
static const char rcsid[] = "$Id: named-xfer.c,v 8.93 2000/04/20 07:33:47 vixie Exp $";
static const char rcsid[] = "$Id: named-xfer.c,v 8.94 2000/07/11 05:38:27 vixie Exp $";
#endif /* not lint */
#include "port_before.h"
@@ -1216,6 +1216,7 @@ getzone(struct zoneinfo *zp, u_int32_t serial_no, int port) {
* the response.
*/
loop_cnt = 0;
bp = NULL;
do {
u_char *cp4;
u_short type, class, dlen;
@@ -1227,6 +1228,9 @@ getzone(struct zoneinfo *zp, u_int32_t serial_no, int port) {
}
tmp += n;
if (loop_cnt == 0)
bp = tmp;
/* Are type, class, and ttl OK? */
cp4 = tmp; /* Leave tmp pointing to type field */
if (eom - cp4 < 3 * INT16SZ + INT32SZ) {
@@ -1247,7 +1251,6 @@ getzone(struct zoneinfo *zp, u_int32_t serial_no, int port) {
break;
}
if ((methode == ISIXFR) && (loop_cnt == 0)) {
bp = tmp;
soa_cnt++;
badsoa_msg = soa_zinfo(&zp_finish, tmp, eom);
if (badsoa_msg)
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 8.49 2000/05/09 07:02:22 vixie Exp $
# $Id: Makefile,v 8.50 2000/07/11 06:41:32 vixie Exp $
# $FreeBSD$
DESTDIR=
@@ -48,7 +48,8 @@ INSTALL_LIB=-o bin -g bin
PS=ps
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL} ${DEFS}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL} ${DEFS}
VER= LOCAL-`date +%Y%m%d.%H%M%S`
HOSTNAMECMD= hostname || uname -n
+2 -2
View File
@@ -1,6 +1,6 @@
#if !defined(lint) && !defined(SABER)
static const char sccsid[] = "@(#)db_load.c 4.38 (Berkeley) 3/2/91";
static const char rcsid[] = "$Id: db_load.c,v 8.103 2000/04/21 06:54:02 vixie Exp $";
static const char rcsid[] = "$Id: db_load.c,v 8.104 2000/07/17 07:48:09 vixie Exp $";
#endif /* not lint */
/*
@@ -530,7 +530,7 @@ db_load(const char *filename, const char *in_origin,
ns_warning(ns_log_load,
"Zone \"%s\" (file %s): %s",
zp->z_origin, filename,
"No default TTL set using SOA minimum instead");
"No default TTL ($TTL <value>) set, using SOA minimum instead");
default_warn = 0;
}
ttl = (u_int32_t)default_ttl;
+1 -2
View File
@@ -1,6 +1,6 @@
/*
* from ns.h 4.33 (Berkeley) 8/23/90
* $Id: ns_glob.h,v 8.54 2000/04/21 06:54:07 vixie Exp $
* $Id: ns_glob.h,v 8.55 2000/07/20 22:50:38 vixie Exp $
*/
/*
@@ -209,7 +209,6 @@ DECL options server_options INIT(NULL);
DECL server_info nameserver_info INIT(NULL);
DECL key_info_list secretkey_info INIT(NULL);
DECL int main_needs_exit INIT(0);
DECL ip_match_list bogus_nameservers INIT(NULL);
DECL log_context log_ctx;
+2 -1
View File
@@ -1,5 +1,5 @@
#if !defined(lint) && !defined(SABER)
static const char rcsid[] = "$Id: ns_glue.c,v 8.16 2000/04/21 06:50:18 vixie Exp $";
static const char rcsid[] = "$Id: ns_glue.c,v 8.17 2000/07/17 07:36:52 vixie Exp $";
#endif /* not lint */
/*
@@ -252,6 +252,7 @@ void
gettime(struct timeval *ttp) {
if (gettimeofday(ttp, NULL) < 0)
ns_error(ns_log_default, "gettimeofday: %s", strerror(errno));
INSIST(ttp->tv_usec >= 0 && ttp->tv_usec < 1000000);
}
/*
+34 -29
View File
@@ -1,6 +1,6 @@
#if !defined(lint) && !defined(SABER)
static const char sccsid[] = "@(#)ns_main.c 4.55 (Berkeley) 7/1/91";
static const char rcsid[] = "$Id: ns_main.c,v 8.125 2000/04/21 06:54:08 vixie Exp $";
static const char rcsid[] = "$Id: ns_main.c,v 8.126 2000/07/20 22:50:39 vixie Exp $";
#endif /* not lint */
/*
@@ -163,8 +163,9 @@ static u_int16_t nsid_state2;
static int nsid_algorithm;
typedef void (*handler)(void);
static int needs = 0;
static int needs = 0, needs_exit = 0;
static handler handlers[main_need_num];
static void need_waitfunc(evContext, void *, const void *);
static struct qstream *sq_add(void);
static int opensocket_d(interface *),
@@ -196,7 +197,7 @@ static void stream_send(evContext, void *, int,
static int only_digits(const char *);
static void init_needs(void),
handle_need(void);
handle_needs(void);
#ifndef HAVE_CUSTOM
static void custom_init(void),
@@ -525,21 +526,16 @@ main(int argc, char *argv[], char *envp[]) {
ns_notice(ns_log_default, "Ready to answer queries.");
gettime(&tt);
prime_cache();
while (!main_needs_exit) {
while (!needs_exit) {
evEvent event;
ns_debug(ns_log_default, 15, "main loop");
if (needs != 0) {
/* Drain outstanding events; handlers ~block~. */
while (evGetNext(ev, &event, EV_POLL) != -1)
INSIST_ERR(evDispatch(ev, event) != -1);
INSIST_ERR(errno == EINTR || errno == EWOULDBLOCK);
handle_need();
} else if (evGetNext(ev, &event, EV_WAIT) != -1) {
if (needs != 0)
handle_needs();
else if (evGetNext(ev, &event, EV_WAIT) != -1)
INSIST_ERR(evDispatch(ev, event) != -1);
} else {
else
INSIST_ERR(errno == EINTR);
}
}
ns_info(ns_log_default, "named shutting down");
#ifdef BIND_UPDATE
@@ -2550,11 +2546,6 @@ deallocate_everything(void) {
}
}
static void
ns_exit(void) {
main_needs_exit++;
}
static void
ns_restart(void) {
ns_info(ns_log_default, "named restarting");
@@ -2639,7 +2630,7 @@ init_needs(void) {
handlers[main_need_zoneload] = loadxfer;
handlers[main_need_dump] = doadump;
handlers[main_need_statsdump] = ns_stats;
handlers[main_need_exit] = ns_exit;
handlers[main_need_exit] = wild;
handlers[main_need_qrylog] = toggle_qrylog;
handlers[main_need_debug] = use_desired_debug;
handlers[main_need_restart] = ns_restart;
@@ -2648,20 +2639,32 @@ init_needs(void) {
}
static void
handle_need(void) {
int need;
handle_needs(void) {
int need, queued = 0;
ns_debug(ns_log_default, 15, "handle_need()");
ns_debug(ns_log_default, 15, "handle_needs()");
block_signals();
for (need = 0; need < main_need_num; need++)
if ((needs & (1 << need)) != 0) {
/* Turn off flag first, handlers ~turn~ it back on. */
block_signals();
needs &= ~(1 << need);
unblock_signals();
(handlers[need])();
return;
INSIST_ERR(evWaitFor(ev, handle_needs, need_waitfunc,
handlers[need], NULL) != -1);
queued++;
}
ns_panic(ns_log_default, 1, "handle_need() found no needs", NULL);
needs = 0;
unblock_signals();
ns_debug(ns_log_default, 15, "handle_needs(): queued %d", queued);
if (queued != 0) {
INSIST_ERR(evDo(ev, handle_needs) != -1);
return;
}
ns_panic(ns_log_default, 1, "ns_handle_needs: queued == 0", NULL);
}
static void
need_waitfunc(evContext ctx, void *uap, const void *tag) {
handler hand = (handler) uap;
(*hand)();
}
void
@@ -2675,6 +2678,8 @@ ns_need(enum need need) {
void
ns_need_unsafe(enum need need) {
needs |= (1 << need);
if (need == main_need_exit)
needs_exit = 1;
}
void
+8 -6
View File
@@ -1,6 +1,6 @@
#if !defined(lint) && !defined(SABER)
static const char sccsid[] = "@(#)ns_maint.c 4.39 (Berkeley) 3/2/91";
static const char rcsid[] = "$Id: ns_maint.c,v 8.103 2000/04/23 02:18:58 vixie Exp $";
static const char rcsid[] = "$Id: ns_maint.c,v 8.105 2000/07/17 07:25:00 vixie Exp $";
#endif /* not lint */
/*
@@ -586,12 +586,12 @@ qserial_answer(struct qinfo *qp) {
if (qs->serial != zp->z_serial)
ns_notice(ns_log_xfer_in,
"Zone \"%s\" (%s) SOA serial# (%lu) rcvd from [%s] is < ours (%lu)%s",
"Zone \"%s\" (%s) SOA serial# (%lu) rcvd from [%s] is < ours (%lu)%s",
zp->z_origin, p_class(zp->z_class),
qs->serial,
(u_long) qs->serial,
inet_ntoa(qs->ns_addr.sin_addr),
zp->z_serial, qp->q_naddr != 1 ?
": skipping" : "");
(u_long) zp->z_serial,
qp->q_naddr!=1 ? ": skipping" : "");
qs->serial = 0;
continue;
}
@@ -834,8 +834,10 @@ startxfer(struct zoneinfo *zp) {
return;
}
if ((pid = spawnxfer(argv, zp)) == -1)
if ((pid = spawnxfer(argv, zp)) == -1) {
unlink(tsig_name);
return;
}
xferstatus[i].xfer_state = XFER_RUNNING;
xferstatus[i].xfer_pid = pid; /* XXX - small race condition here if we
+25 -10
View File
@@ -1,6 +1,6 @@
#if !defined(lint) && !defined(SABER)
static const char sccsid[] = "@(#)ns_req.c 4.47 (Berkeley) 7/1/91";
static const char rcsid[] = "$Id: ns_req.c,v 8.113 2000/04/21 06:54:11 vixie Exp $";
static const char rcsid[] = "$Id: ns_req.c,v 8.119 2000/08/21 05:57:09 vixie Exp $";
#endif /* not lint */
/*
@@ -208,6 +208,7 @@ ns_req(u_char *msg, int msglen, int buflen, struct qstream *qsp,
key = find_key(buf, NULL);
if (key == NULL) {
error = ns_r_badkey;
hp->rcode = ns_r_notauth;
ns_debug(ns_log_default, 1,
"ns_req: TSIG verify failed - unknown key %s",
buf);
@@ -270,7 +271,11 @@ ns_req(u_char *msg, int msglen, int buflen, struct qstream *qsp,
* safely assume these are always 0 when a query
* comes in.
*/
hp->aa = hp->ra = 0;
#ifdef BIND_NOTIFY
if (hp->opcode != ns_o_notify)
#endif
hp->aa = 0;
hp->ra = 0;
ra = (NS_OPTION_P(OPTION_NORECURSE) == 0);
if (error == NOERROR)
@@ -361,6 +366,7 @@ ns_req(u_char *msg, int msglen, int buflen, struct qstream *qsp,
hp->ancount = htons(0);
hp->nscount = htons(0);
hp->arcount = htons(0);
cp = msg + HFIXEDSZ;
}
/*
@@ -458,6 +464,17 @@ req_notify(HEADER *hp, u_char **cpp, u_char *eom, u_char *msg,
char dnbuf[MAXDNAME];
struct zoneinfo *zp;
/* valid notify's are authoritative */
if (!hp->aa) {
ns_debug(ns_log_notify, 1,
"FORMERR Notify request without AA");
#ifdef not_yet
hp->rcode = ns_r_formerr;
return (Finish);
#endif
}
hp->aa = 0;
/* valid notify's have one question */
if (ntohs(hp->qdcount) != 1) {
ns_debug(ns_log_notify, 1,
@@ -556,6 +573,7 @@ req_notify(HEADER *hp, u_char **cpp, u_char *eom, u_char *msg,
}
noerror:
hp->rcode = ns_r_noerror;
hp->aa = 1;
return (Finish);
refuse:
hp->rcode = ns_r_refused;
@@ -587,9 +605,6 @@ req_query(HEADER *hp, u_char **cpp, u_char *eom, struct qstream *qsp,
struct databuf *dp;
DST_KEY *in_key = (in_tsig != NULL) ? in_tsig->key : NULL;
nameserIncr(from.sin_addr, nssRcvdQ);
nsp[0] = NULL;
@@ -727,7 +742,7 @@ req_query(HEADER *hp, u_char **cpp, u_char *eom, struct qstream *qsp,
nameserIncr(from.sin_addr, nssRcvdAXFR);
hp->rd = 0; /* Recursion not possible. */
}
*buflenp -= *msglenp;
*buflenp -= (*msglenp - HFIXEDSZ);
count = 0;
founddata = 0;
dname = dnbuf;
@@ -1146,7 +1161,7 @@ req_query(HEADER *hp, u_char **cpp, u_char *eom, struct qstream *qsp,
if (qsp == NULL)
return (Finish);
else {
if (!ixfr_found) {
if (!ixfr_found && type == ns_t_ixfr) {
qsp->flags |= STREAM_AXFRIXFR;
hp->qdcount = htons(1);
}
@@ -1409,13 +1424,13 @@ req_iquery(HEADER *hp, u_char **cpp, u_char *eom, int *buflenp,
GETSHORT(class, *cpp);
*cpp += INT32SZ; /* ttl */
GETSHORT(dlen, *cpp);
*cpp += dlen;
if (*cpp != eom) {
if (*cpp + dlen != eom) {
ns_debug(ns_log_default, 1,
"FORMERR IQuery message length off");
hp->rcode = ns_r_formerr;
return (Finish);
}
*cpp += dlen;
/*
* not all inverse queries are handled.
@@ -1760,7 +1775,7 @@ make_rr(const char *name, struct databuf *dp, u_char *buf,
/* Replacement */
ns_debug(ns_log_default, 1, "Replacement = %s", cp1);
n = dn_comp((char *)cp1, cp, buflen, dnptrs, edp);
n = dn_comp((char *)cp1, cp, buflen, comp_ptrs, edp);
ns_debug(ns_log_default, 1, "dn_comp's n = %u", n);
if (n < 0)
goto cleanup;
+4 -2
View File
@@ -1,6 +1,6 @@
#if !defined(lint) && !defined(SABER)
static const char sccsid[] = "@(#)ns_resp.c 4.65 (Berkeley) 3/3/91";
static const char rcsid[] = "$Id: ns_resp.c,v 8.143 2000/05/09 07:38:38 vixie Exp $";
static const char rcsid[] = "$Id: ns_resp.c,v 8.144 2000/07/11 08:26:09 vixie Exp $";
#endif /* not lint */
/*
@@ -614,7 +614,8 @@ ns_resp(u_char *msg, int msglen, struct sockaddr_in from, struct qstream *qsp)
*/
if (hp->opcode == NS_NOTIFY_OP) {
ns_info(ns_log_notify,
"Received NOTIFY answer from %s for \"%s %s %s\"",
"Received NOTIFY answer (%sAA) from %s for \"%s %s %s\"",
hp->aa ? "" : "!",
inet_ntoa(from.sin_addr),
*(qp->q_name) ? qp->q_name : ".",
p_class(qp->q_class), p_type(qp->q_type));
@@ -2367,6 +2368,7 @@ sysquery(const char *dname, int class, int type,
hp = (HEADER *) qp->q_msg;
hp->id = qp->q_nsid = htons(nsid_next());
hp->rd = (qp->q_addr[qp->q_curaddr].forwarder ? 1 : 0);
hp->aa = (opcode == NS_NOTIFY_OP);
/* First check for an already pending query for this data. */
for (oqp = nsqhead; oqp != NULL; oqp = oqp->q_link) {
+4 -1
View File
@@ -1,6 +1,6 @@
#if !defined(lint) && !defined(SABER)
static const char sccsid[] = "@(#)ns_main.c 4.55 (Berkeley) 7/1/91";
static const char rcsid[] = "$Id: ns_signal.c,v 8.12 2000/04/21 06:54:12 vixie Exp $";
static const char rcsid[] = "$Id: ns_signal.c,v 8.13 2000/07/11 07:10:12 vixie Exp $";
#endif /* not lint */
/*
@@ -245,6 +245,9 @@ init_signals(void) {
"sigaction failed in set_signal_handler(%d): %s",
sighandlers[sh].sig, strerror(errno));
}
/* Unblock all signals that we expect to handle. */
if (sigprocmask(SIG_UNBLOCK, &mask, NULL) < 0)
ns_panic(ns_log_os, 1, "sigblock failed: %s", strerror(errno));
}
void
+77 -57
View File
@@ -1,5 +1,5 @@
#if !defined(lint) && !defined(SABER)
static const char rcsid[] = "$Id: ns_update.c,v 8.78 2000/04/23 02:19:00 vixie Exp $";
static const char rcsid[] = "$Id: ns_update.c,v 8.81 2000/07/11 09:25:14 vixie Exp $";
#endif /* not lint */
/*
@@ -286,16 +286,24 @@ printupdatelog(struct sockaddr_in srcaddr,
if (fp == NULL)
return;
ifp = open_ixfr_log(zp);
if (ifp == NULL) {
(void) close_transaction_log(zp, fp);
return;
if (zp->z_maintain_ixfr_base == 1) {
ifp = open_ixfr_log(zp);
if (ifp == NULL) {
(void) close_transaction_log(zp, fp);
return;
}
}
else
ifp = NULL;
sprintf(time, "at %lu", (u_long)tt.tv_sec);
fprintf(fp, "[DYNAMIC_UPDATE] id %u from %s %s (named pid %ld):\n",
ntohs(hp->id), sin_ntoa(srcaddr), time, (long)getpid());
fprintf(ifp, "[DYNAMIC_UPDATE] id %u from %s %s (named pid %ld):\n",
ntohs(hp->id), sin_ntoa(srcaddr), time, (long)getpid());
if (ifp)
fprintf(ifp,
"[DYNAMIC_UPDATE] id %u from %s %s (named pid %ld):\n",
ntohs(hp->id), sin_ntoa(srcaddr), time,
(long)getpid());
for (rrecp = HEAD(*updlist); rrecp != NULL; rrecp = NEXT(rrecp, r_link)) {
INSIST(zp == &zones[rrecp->r_zone]);
switch (rrecp->r_section) {
@@ -303,9 +311,11 @@ printupdatelog(struct sockaddr_in srcaddr,
fprintf(fp, "zone:\torigin %s class %s serial %u\n",
zp->z_origin, p_class(zp->z_class),
old_serial);
fprintf(ifp, "zone:\torigin %s class %s serial %u\n",
zp->z_origin, p_class(zp->z_class),
old_serial);
if (ifp)
fprintf(ifp,
"zone:\torigin %s class %s serial %u\n",
zp->z_origin, p_class(zp->z_class),
old_serial);
break;
case S_PREREQ:
opcode = rrecp->r_opcode;
@@ -332,15 +342,17 @@ printupdatelog(struct sockaddr_in srcaddr,
while (dp != NULL) {
if (dp->d_rcode == 0 &&
!was_added(updlist, dp)) {
fprintf(ifp,
"update:\t{%s} %s. %u %s %s ",
"delete",
rrecp->r_dname,
dp->d_ttl,
p_class(dp->d_class),
p_type(dp->d_type));
(void) rdata_dump(dp, ifp);
fprintf(ifp, "\n");
if (ifp) {
fprintf(ifp,
"update:\t{%s} %s. %u %s %s ",
"delete",
rrecp->r_dname,
dp->d_ttl,
p_class(dp->d_class),
p_type(dp->d_type));
(void) rdata_dump(dp, ifp);
fprintf(ifp, "\n");
}
}
dp = dp->d_next;
}
@@ -353,13 +365,15 @@ printupdatelog(struct sockaddr_in srcaddr,
dp->d_type != T_SOA &&
(dp->d_mark & D_MARK_ADDED) != 0 &&
!was_deleted(updlist, dp)) {
fprintf(ifp, "update:\t{%s} %s. ",
opcodes[opcode], rrecp->r_dname);
fprintf(ifp, "%u ", rrecp->r_ttl);
fprintf(ifp, "%s ", p_class(zp->z_class));
fprintf(ifp, "%s ", p_type(rrecp->r_type));
(void) rdata_dump(dp, ifp);
fprintf(ifp, "\n");
if (ifp) {
fprintf(ifp, "update:\t{%s} %s. ",
opcodes[opcode], rrecp->r_dname);
fprintf(ifp, "%u ", rrecp->r_ttl);
fprintf(ifp, "%s ", p_class(zp->z_class));
fprintf(ifp, "%s ", p_type(rrecp->r_type));
(void) rdata_dump(dp, ifp);
fprintf(ifp, "\n");
}
}
/* Update log. */
fprintf(fp, "update:\t{%s} %s. ",
@@ -398,13 +412,15 @@ printupdatelog(struct sockaddr_in srcaddr,
dp->d_type == T_SOA &&
(dp->d_mark & D_MARK_ADDED) != 0 &&
!was_deleted(updlist, dp)) {
fprintf(ifp, "update:\t{%s} %s. ",
opcodes[opcode], rrecp->r_dname);
fprintf(ifp, "%u ", rrecp->r_ttl);
fprintf(ifp, "%s ", p_class(zp->z_class));
fprintf(ifp, "%s ", p_type(rrecp->r_type));
(void) rdata_dump(dp, ifp);
fprintf(ifp, "\n[END_DELTA]\n");
if (ifp) {
fprintf(ifp, "update:\t{%s} %s. ",
opcodes[opcode], rrecp->r_dname);
fprintf(ifp, "%u ", rrecp->r_ttl);
fprintf(ifp, "%s ", p_class(zp->z_class));
fprintf(ifp, "%s ", p_type(rrecp->r_type));
(void) rdata_dump(dp, ifp);
fprintf(ifp, "\n[END_DELTA]\n");
}
}
break;
default:
@@ -413,7 +429,8 @@ printupdatelog(struct sockaddr_in srcaddr,
}
fprintf(fp, "\n");
(void) close_transaction_log(zp, fp);
(void) close_ixfr_log(zp, ifp);
if (ifp)
(void) close_ixfr_log(zp, ifp);
}
static void
@@ -547,7 +564,7 @@ process_prereq(ns_updrec *ur, int *rcodep, u_int16_t zclass) {
*/
if (rdp && (rdp->d_mark & D_MARK_FOUND) != 0) {
/* Already processed. */
return (1);
return (1);
}
if (ttl != 0) {
ns_debug(ns_log_update, 1,
@@ -2962,32 +2979,35 @@ incr_serial(struct zoneinfo *zp) {
old_serial, serial, checked_ctime(&t));
if (close_transaction_log(zp, fp)<0)
return (-1);
ifp = open_ixfr_log(zp);
if (ifp == NULL)
return (-1);
dp = findzonesoa(zp);
if (dp) {
olddp = memget(DATASIZE(dp->d_size));
if (olddp != NULL) {
memcpy(olddp, dp, DATASIZE(dp->d_size));
cp = findsoaserial(olddp->d_data);
PUTLONG(old_serial, cp);
fprintf(ifp, "update: {delete} %s. %u %s %s ",
if (zp->z_maintain_ixfr_base) {
ifp = open_ixfr_log(zp);
if (ifp == NULL)
return (-1);
dp = findzonesoa(zp);
if (dp) {
olddp = memget(DATASIZE(dp->d_size));
if (olddp != NULL) {
memcpy(olddp, dp, DATASIZE(dp->d_size));
cp = findsoaserial(olddp->d_data);
PUTLONG(old_serial, cp);
fprintf(ifp, "update: {delete} %s. %u %s %s ",
zp->z_origin, dp->d_ttl,
p_class(dp->d_class),
p_type(dp->d_type));
(void) rdata_dump(olddp, ifp);
fprintf(ifp, "\n");
memput(olddp, DATASIZE(dp->d_size));
}
fprintf(ifp, "update: {add} %s. %u %s %s ",
zp->z_origin, dp->d_ttl,
p_class(dp->d_class), p_type(dp->d_type));
(void) rdata_dump(olddp, ifp);
p_class(dp->d_class), p_type(dp->d_type));
(void) rdata_dump(dp, ifp);
fprintf(ifp, "\n");
memput(olddp, DATASIZE(dp->d_size));
}
fprintf(ifp, "update: {add} %s. %u %s %s ",
zp->z_origin, dp->d_ttl,
p_class(dp->d_class), p_type(dp->d_type));
(void) rdata_dump(dp, ifp);
fprintf(ifp, "\n");
fprintf(ifp, "[END_DELTA]\n");
if (close_ixfr_log(zp, ifp) < 0)
return (-1);
}
fprintf(ifp, "[END_DELTA]\n");
if (close_ixfr_log(zp, ifp)<0)
return (-1);
/*
* This shouldn't happen, but we check to be sure.
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 1.15 1999/08/08 17:51:02 vixie Exp $
# $Id: Makefile,v 1.16 2000/07/11 06:41:34 vixie Exp $
DESTDIR=
CC= cc
@@ -44,7 +44,8 @@ INSTALL_LIB=-o bin -g bin
PS=ps
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL} ${DEFS}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL} ${DEFS}
PROG= ndc
SRCS= ${PROG}.c
+4 -3
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 8.24 1999/10/13 01:14:46 vixie Exp $
# $Id: Makefile,v 8.25 2000/07/11 06:41:35 vixie Exp $
DESTDIR=
CC= cc
@@ -42,8 +42,9 @@ INSTALL_EXEC=
INSTALL_LIB=-o bin -g bin
LDFLAGS=
DEFS= -D_PATH_HELPFILE=\"${DESTHELP}/nslookup.help\"
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL} ${DEFS}
DEFS= -D_PATH_HELPFILE=\"${DESTDIR}${DESTHELP}/nslookup.help\"
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL} ${DEFS}
PROG= nslookup
CSRCS= main.c getinfo.c debug.c send.c skip.c list.c subr.c
+9 -2
View File
@@ -54,7 +54,7 @@
#ifndef lint
static const char sccsid[] = "@(#)debug.c 5.26 (Berkeley) 3/21/91";
static const char rcsid[] = "$Id: debug.c,v 8.15 1999/10/13 16:39:16 vixie Exp $";
static const char rcsid[] = "$Id: debug.c,v 8.16 2000/07/11 05:59:32 vixie Exp $";
#endif /* not lint */
/*
@@ -622,8 +622,15 @@ Print_rr(const u_char *ocp, const u_char *msg, const u_char *eom, FILE *file) {
case T_KEY:
default: {
char buf[2048]; /* XXX need to malloc/realloc. */
char rrname[NS_MAXDNAME];
if (ns_sprintrrf(msg, eom - msg, "?", (ns_class)class,
cp2 = p_fqnname(ocp, msg, NS_MAXCDNAME, rrname, sizeof rrname);
if (cp2 == NULL) {
fprintf(file, "(name truncated?)\n");
return (NULL); /* compression error */
}
if (ns_sprintrrf(msg, eom - msg, rrname, (ns_class)class,
(ns_type)type, rrttl, cp1, dlen, NULL, NULL,
buf, sizeof buf) < 0) {
perror("ns_sprintrrf");
+5 -5
View File
@@ -54,7 +54,7 @@
#ifndef lint
static const char sccsid[] = "@(#)getinfo.c 5.26 (Berkeley) 3/21/91";
static const char rcsid[] = "$Id: getinfo.c,v 8.15 1999/10/13 16:39:16 vixie Exp $";
static const char rcsid[] = "$Id: getinfo.c,v 8.16 2000/07/11 04:36:26 vixie Exp $";
#endif /* not lint */
/*
@@ -651,11 +651,11 @@ GetHostInfoByName(nsAddrPtr, queryClass, queryType, name, hostPtr, isServer)
* - there is at least one dot, there is no trailing dot,
* and RES_DNSRCH is set.
*/
if ((n == 0 && res.options & RES_DEFNAMES) ||
(n != 0 && *--cp != '.' && res.options & RES_DNSRCH))
for (domain = res.dnsrch; *domain; domain++) {
if ((n == 0 && (res.options & RES_DEFNAMES) != 0) ||
(n != 0 && *--cp != '.' && (res.options & RES_DNSRCH) != 0))
for (domain = res.dnsrch; *domain != NULL; domain++) {
result = GetHostDomain(nsAddrPtr, queryClass, queryType,
name, *domain, hostPtr, isServer);
name, *domain, hostPtr, isServer);
/*
* If no server present, give up.
* If name isn't found in this domain,
+3 -2
View File
@@ -13,7 +13,7 @@
## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
## SOFTWARE.
# $Id: Makefile,v 8.24 1999/08/08 17:51:02 vixie Exp $
# $Id: Makefile,v 8.25 2000/07/11 06:41:35 vixie Exp $
DESTDIR=
CC= cc
@@ -42,7 +42,8 @@ INSTALL_EXEC=
INSTALL_LIB=-o bin -g bin
LDFLAGS=
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
PROG= nsupdate
SRCS= ${PROG}.c
+2 -4
View File
@@ -1,5 +1,5 @@
#if !defined(lint) && !defined(SABER)
static const char rcsid[] = "$Id: nsupdate.c,v 8.23 2000/02/04 07:51:04 vixie Exp $";
static const char rcsid[] = "$Id: nsupdate.c,v 8.24 2000/07/11 06:32:01 vixie Exp $";
#endif /* not lint */
/*
@@ -168,8 +168,6 @@ main(argc, argv)
char *keyfile=NULL, *keyname=NULL, *p, *pp;
int file_major, file_minor, alg;
progname = argv[0];
while ((c = getopt(argc, argv, "dsvk:n:")) != -1) {
@@ -196,7 +194,7 @@ main(argc, argv)
*colon='\0';
break;
}
case 'n':
case 'n':
keyname=optarg;
break;
default:
+3 -3
View File
@@ -12,9 +12,9 @@
<A NAME="Syntax"><H3>Syntax</H3></A>
<PRE>
<VAR>address_match_list</VAR> = 1*<VAR>address_match_element</VAR>
<VAR>address_match_list</VAR> = <VAR>address_match_element</VAR> [ <VAR>address_match_element</VAR> ... ]
<VAR>address_match_element</VAR> = [ "!" ] (<VAR><A HREF="docdef.html">address_match_list</A></VAR> / <VAR><A HREF="docdef.html">ip_address</A></VAR> / <VAR><A HREF="docdef.html">ip_prefix</A></VAR> / <VAR><A HREF="acl.html">acl_name</A></VAR> / <VAR><A HREF="docdef.html">"key" key_id</A></VAR>) ";"
<VAR>address_match_element</VAR> = [ "!" ] ( <VAR><A HREF="docdef.html">ip_address</A></VAR> / <VAR><A HREF="docdef.html">ip_prefix</A></VAR> / <VAR><A HREF="acl.html">acl_name</A></VAR> / <VAR><A HREF="docdef.html">"key" key_id</A></VAR> / { <VAR>address_match_list</VAR> } ) ;
</PRE>
<HR>
@@ -94,7 +94,7 @@ fall through.
<HR>
<ADDRESS>
Last Updated: $Id: address_list.html,v 1.8 1999/09/15 20:28:00 cyarnell Exp $
Last Updated: $Id: address_list.html,v 1.9 1999/12/03 02:20:42 gson Exp $
</ADDRESS>
</BODY>
</HTML>
+3 -3
View File
@@ -11,9 +11,9 @@
<UL>
<LI>DNS Dynamic Updates
(<A HREF=http://ds.internic.net/rfc/rfc2136.txt>RFC 2136</A>)</LI>
(<A HREF=http://www.ietf.org/rfc/rfc2136.txt>RFC 2136</A>)</LI>
<LI>DNS Change Notification
(<A HREF=http://ds.internic.net/rfc/rfc1996.txt>RFC 1996</A>)</LI>
(<A HREF=http://www.ietf.org/rfc/rfc1996.txt>RFC 1996</A>)</LI>
<LI>Completely new configuration syntax</LI>
<LI>Flexible, categorized logging system</LI>
<LI>IP-address-based access control for queries, zone transfers, and
@@ -58,7 +58,7 @@ and generally kind hearted folk such as yourself.
<HR>
<ADDRESS>
Last Updated: $Id: index.html,v 1.5 1998/11/24 01:44:43 marka Exp $
Last Updated: $Id: index.html,v 1.6 1999/12/28 10:03:40 cyarnell Exp $
</ADDRESS>
</BODY>
+4 -4
View File
@@ -11,7 +11,7 @@
<P>
The Master File Format was initially defined in
<A HREF=http://ds.internic.net/rfc/rfc1035.txt>RFC 1035</A>
<A HREF=http://www.ietf.org/rfc/rfc1035.txt>RFC 1035</A>
and has subsequently been extended.
<P>
While the Master File Format is class independent all records in a
@@ -46,7 +46,7 @@ point.
set to that value otherwise the current <CODE>$ORIGIN</CODE> is used.
<I>NOTE: The behaviour when &lt;origin&gt; is specified differs from that
described in
<A HREF=http://ds.internic.net/rfc/rfc1035.txt>RFC 1035</A>.</I>
<A HREF=http://www.ietf.org/rfc/rfc1035.txt>RFC 1035</A>.</I>
<P>
The origin and current domain revert to the values they were prior to the
<CODE>$INCLUDE</CODE> once the file has been read.
@@ -57,7 +57,7 @@ Set the default Time To Live (TTL) for subsequent records with undefined
TTL's. Valid TTL's are of the range 0-2147483647.
<P>
<CODE>$TTL</CODE> is defined in
<A HREF=http://ds.internic.net/rfc/rfc2308.txt>RFC 2308</A>.
<A HREF=http://www.ietf.org/rfc/rfc2308.txt>RFC 2308</A>.
<H3>BIND Master File Extentions</H3>
<H4>$GENERATE</H4>
Syntax: <CODE>$GENERATE &lt;range&gt; &lt;lhs&gt; &lt;type&gt; &lt;rhs&gt;
@@ -67,7 +67,7 @@ Syntax: <CODE>$GENERATE &lt;range&gt; &lt;lhs&gt; &lt;type&gt; &lt;rhs&gt;
that only differ from each other by an iterator. <CODE>$GENERATE</CODE>
can be used to easily generate the sets of records required to support
sub /24 reverse delegations described in
<A HREF=http://ds.internic.net/rfc/rfc2317.txt>RFC 2317: Classless IN-ADDR.ARPA delegation</A>.
<A HREF=http://www.ietf.org/rfc/rfc2317.txt>RFC 2317: Classless IN-ADDR.ARPA delegation</A>.
<PRE>
$ORIGIN 0.0.192.IN-ADDR.ARPA.
+7 -9
View File
@@ -33,7 +33,7 @@ options {
[ rfc2308-type1 <VAR><A HREF="docdef.html">yes_or_no</A></VAR>; ]
[ use-id-pool <VAR><A HREF="docdef.html">yes_or_no</A></VAR>; ]
[ treat-cr-as-space <VAR><A HREF="docdef.html">yes_or_no</A></VAR>; ]
[ also-notify { <VAR><A HREF="docdef.html">ip_addr</A></VAR>; [ <VAR><A HREF="docdef.html">ip_addr</A></VAR>; ... ] };
[ also-notify { <VAR><A HREF="docdef.html">ip_addr</A></VAR>; [ <VAR><A HREF="docdef.html">ip_addr</A></VAR>; ... ] }; ]
[ forward ( only | first ); ]
[ forwarders { [ <VAR><A HREF="docdef.html">in_addr</A></VAR> ; [ <VAR><A HREF="docdef.html">in_addr</A></VAR> ; ... ] ] }; ]
[ check-names ( master | slave | response ) ( warn | fail | ignore); ]
@@ -65,7 +65,7 @@ options {
[ statistics-interval <VAR>number</VAR>; ]
[ <A HREF="#topology">topology</A> { <VAR>address_match_list</VAR> }; ]
[ <A HREF="#sortlist">sortlist</A> { <VAR>address_match_list</VAR> }; ]
[ rrset-order { <VAR>order_spec</VAR> ; [ <VAR>order_spec</VAR> ; ... ] ] };
[ rrset-order { <VAR>order_spec</VAR> ; [ <VAR>order_spec</VAR> ; ... ] }; ]
};
</PRE>
<HR>
@@ -189,12 +189,10 @@ becoming corrupted (at the cost of requiring more work from the client).
<DT><CODE>has-old-clients</CODE>
<DD>
Setting the option to <CODE>yes</CODE> is equivalent to setting the follow
three options <CODE>auth-nxdomain yes;</CODE>, <CODE>maintain-ixfr-base
yes;</CODE> and <CODE>rfc2308-type1 no;</CODE>.
The use of <CODE>has-old-clients</CODE> with <CODE>auth-nxdomain</CODE>,
<CODE>maintain-ixfr-base</CODE> and <CODE>rfc2308-type1</CODE> is order
dependant.
Setting the option to <CODE>yes</CODE> is equivalent to setting the following
options: <CODE>auth-nxdomain yes;</CODE> and <CODE>rfc2308-type1 no;</CODE>.
The use of <CODE>has-old-clients</CODE> with <CODE>auth-nxdomain</CODE>
and <CODE>rfc2308-type1</CODE> is order dependent.
<DT><CODE>host-statistics</CODE>
<DD>
@@ -808,7 +806,7 @@ request for the root servers to be accepted. Default 2.
<HR>
<ADDRESS>
Last Updated: $Id: options.html,v 1.36 1999/10/13 20:57:05 cyarnell Exp $
Last Updated: $Id: options.html,v 1.40 2000/06/01 21:37:46 cyarnell Exp $
</ADDRESS>
</BODY>
</HTML>
+4 -4
View File
@@ -23,10 +23,10 @@ zone <VAR><A HREF="docdef.html">domain_name</A></VAR> [ ( in | hs | hesiod | cha
[ allow-transfer { <VAR><A HREF="address_list.html">address_match_list</A></VAR> }; ]
[ dialup <VAR><A HREF="docdef.html">yes_or_no</A></VAR>; ]
[ notify <VAR><A HREF="docdef.html">yes_or_no</A></VAR>; ]
[ also-notify { <VAR><A HREF="docdef.html">ip_addr</A></VAR>; [ <VAR>ip_addr</VAR>; ... ] };
[ also-notify { <VAR><A HREF="docdef.html">ip_addr</A></VAR>; [ <VAR>ip_addr</VAR>; ... ] }; ]
[ ixfr-base <VAR><A HREF="docdef.html">path_name</A></VAR>; ]
[ pubkey <VAR><A HREF="docdef.html">number</A></VAR> <VAR><A HREF="docdef.html">number</A></VAR> <VAR><A HREF="docdef.html">number</A></VAR> <VAR>string</VAR>; ]
};
};
zone <VAR><A HREF="docdef.html">domain_name</A></VAR> [ ( in | hs | hesiod | chaos ) ] {
type ( slave | stub );
@@ -43,7 +43,7 @@ zone <VAR><A HREF="docdef.html">domain_name</A></VAR> [ ( in | hs | hesiod | cha
[ dialup <VAR><A HREF="docdef.html">yes_or_no</A></VAR>; ]
[ max-transfer-time-in <VAR>number</VAR>; ]
[ notify <VAR><A HREF="docdef.html">yes_or_no</A></VAR>; ]
[ also-notify { <VAR><A HREF="docdef.html">ip_addr</A></VAR>; [ <VAR>ip_addr</VAR>; ... ] };
[ also-notify { <VAR><A HREF="docdef.html">ip_addr</A></VAR>; [ <VAR>ip_addr</VAR>; ... ] }; ]
[ pubkey <VAR><A HREF="docdef.html">number</A></VAR> <VAR><A HREF="docdef.html">number</A></VAR> <VAR><A HREF="docdef.html">number</A></VAR> <VAR>string</VAR>; ]
};
@@ -238,7 +238,7 @@ string representing the key.
<HR>
<ADDRESS>
Last Updated: $Id: zone.html,v 1.23 1999/09/30 17:58:41 cyarnell Exp $
Last Updated: $Id: zone.html,v 1.24 2000/01/12 01:28:32 cyarnell Exp $
</ADDRESS>
</BODY>
</HTML>
+1 -1
View File
@@ -279,7 +279,7 @@ NSUPDATE_OUT = nsupdate.${SYS_OPS_OUT_EXT}
# Network library routines manual entries
#
LIB_NETWORK_BASE = gethostbyname inet_cidr resolver hesiod getnetent \
tsig getaddrinfo inet_cidr getipnodebyname
tsig getaddrinfo getnameinfo getipnodebyname
LIB_NETWORK_SRC_EXT = 3
LIB_NETWORK_SRC = gethostbyname.${LIB_NETWORK_SRC_EXT} \
inet_cidr.${LIB_NETWORK_SRC_EXT} \
+34 -19
View File
@@ -50,7 +50,7 @@
.\" SOFTWARE.
.\" -
.\" --Copyright--
.\" $Id: host.1,v 8.2 1997/03/14 02:29:44 vixie Exp $
.\" $Id: host.1,v 8.4 2000/02/29 03:50:47 vixie Exp $
.\" $FreeBSD$
.\"
.Dd December 15, 1994
@@ -194,6 +194,10 @@ Turn off recursion in the request.
This means that the name server will return only data it has in
its own database. It will not ask other servers for more
information.
.It Fl d
Turn on debugging. Network transactions are shown in detail.
.It Fl s
Chase signatures back to parent key (DNSSEC).
.It Fl t Ar querytype
Allows you to specify a particular
.Ar querytype
@@ -239,24 +243,35 @@ option is particularly useful for filtering information returned by
.Ic host ;
see the explanation of the
.Dq Fl l
option for more information.
.It Fl v
Use "verbose" format for printout. This
is the official domain master file format, which is documented
in the man page for
.Xr @INDOT@named @SYS_OPS_EXT@ .
Without this option, output still follows
this format in general terms, but some attempt is made to make it
more intelligible to normal users. Without
.Dq Fl v ,
any "a", "mx", and "cname" records
are written out as "has address", "mail is handled by", and
"is a nickname for" (respectively), and TTL and class fields are not shown.
.It Fl w
This causes
.Ic host
to wait forever for a response. Normally
it will time out after approximate one minute.
option, below, for more information.
.It Fl a
.Dq all ;
this is equivalent to
.Dq Fl v Fl t Cm any .
.It Fl l
List a complete domain; e.g.:
.Pp
.D1 Ic host -l rutgers.edu
.Pp
will give a listing of all hosts in the rutgers.edu domain. The
.Dq Fl t
option is used to filter what information is presented, as you
would expect. The default is address information, which also
include PTR and NS records. The command
.Pp
.D1 Ic host -l -v -t any rutgers.edu
.Pp
will give a complete download of the zone data for rutgers.edu,
in the official master file format. (However the SOA record is
listed twice, for arcane reasons.)
.Pp
.Sy NOTE:
.Dq Fl l
is implemented by
doing a complete zone transfer and then filtering out the information
the you have asked for. This command should be used only if it
is absolutely necessary.
.El
.Sh CUSTOMIZING HOST NAME LOOKUP
In general, if the name supplied by the user does not
have any dots in it, a default domain is appended to the end.
+2 -1
View File
@@ -332,7 +332,7 @@ An example SOA record is as follows:
86400 ) ; minimum
.Ed
.Pp
The SOA specifies a serial number, which should be changed each time the
The SOA specifies a serial number, which should be incremented each time the
master file is changed. Note that the serial number can be given as a
dotted number, but this is a
.Em very
@@ -416,6 +416,7 @@ Toggles logging of all incoming queries via
(requires server to have been built with the
.Li QRYLOG
option).
.El
.Sh FILES
.Bl -tag -width "/var/tmp/named_dump.db (_PATH_DUMPFILE) " -compact
.It Pa /etc/named.conf
+7 -1
View File
@@ -1281,7 +1281,8 @@ may also be specified in the
.Ic zone
statement, in which case it overrides the
.Ic options allow-query
statement. If not specified, the default is
statement. If not specified, the default is to allow queries
from all hosts.
.Bl -tag -width 1
.It Ic allow-recursion
@@ -1310,6 +1311,7 @@ Specifies a list of addresses that the server will not accept queries from
or use to resolve a query. Queries from these addresses will not be
responded to.
.El
.El
.Ss Interfaces
@@ -1757,6 +1759,8 @@ zone \fIdomain_name\fR [ ( in | hs | hesiod | chaos ) ] {
[ allow-update { \fIaddress_match_list\fR }; ]
[ allow-query { \fIaddress_match_list\fR }; ]
[ allow-transfer { \fIaddress_match_list\fR }; ]
[ forward ( only | first ); ]
[ forwarders { [ \fIip_addr\fR ; [ \fIip_addr\fR ; ... ] ] }; ]
[ dialup \fIyes_or_no\fR; ]
[ notify \fIyes_or_no\fR; ]
[ also-notify { \fIip_addr\fR; [ \fIip_addr\fR; ... ] };
@@ -1771,6 +1775,8 @@ zone \fIdomain_name\fR [ ( in | hs | hesiod | chaos ) ] {
[ allow-update { \fIaddress_match_list\fR }; ]
[ allow-query { \fIaddress_match_list\fR }; ]
[ allow-transfer { \fIaddress_match_list\fR }; ]
[ forward ( only | first ); ]
[ forwarders { [ \fIip_addr\fR ; [ \fIip_addr\fR ; ... ] ] }; ]
[ transfer-source \fIip_addr\fR; ]
[ max-transfer-time-in \fInumber\fR; ]
[ notify \fIyes_or_no\fR; ]
+3
View File
@@ -53,6 +53,7 @@
.\" --Copyright--
.\"
.\" @(#)nslookup.8 5.3 (Berkeley) 6/24/90
.\" $FreeBSD$
.\"
.Dd June 24, 1990
.Dt NSLOOKUP @SYS_OPS_EXT_U@
@@ -517,12 +518,14 @@ initial domain name and name server addresses
user's initial options
.It Pa /usr/share/misc/nslookup.help
summary of commands
.El
.Sh ENVIRONMENT
.Bl -tag -width "HOSTALIASESXXXX" -compact
.It Ev HOSTALIASES
file containing host aliases
.It Ev LOCALDOMAIN
overrides default domain
.El
.Sh SEE ALSO
.Xr @INDOT@named @SYS_OPS_EXT@ ,
.Xr resolver @LIB_NETWORK_EXT@ ,
+7 -4
View File
@@ -1,4 +1,4 @@
.\" $Id: nsupdate.8,v 8.4 1999/10/17 06:26:18 cyarnell Exp $
.\" $Id: nsupdate.8,v 8.5 2000/02/29 03:50:48 vixie Exp $
.\"
.\"Copyright (c) 1999 by Internet Software Consortium
.\"
@@ -47,6 +47,7 @@ Debug mode.
.It Fl v
Virtual circuit - use TCP to communication with server.
Default is UDP.
.El
.Sh INPUT FORMAT
.Ic Nsupdate
reads input records, one per line,
@@ -79,7 +80,7 @@ will be performed.
understands the following input record formats:
.Pp
.Bl -ohang
.Bl -hang
.It Ic prereq nxdomain Va domain-name
Requires that no RR of any type exists with name
@@ -178,7 +179,7 @@ $ nsupdate -k /var/named/keys:mykey
.Ed
.Sh DIAGNOSTICS
.Bl -ohang
.Bl -hang
.It Qq send error
Typically indicates that the authoritative nameservers could not be reached
@@ -196,9 +197,11 @@ being performed. The only way to determine if the update was performed
is to use debug mode
.Fl ( d )
and examine the status field in the nameserver's reply.
.El
.Sh FILES
.Bl -hang
.It Pa /etc/resolv.conf
.El
initial domain name and name server addresses
.Sh SEE ALSO
.Xr @INDOT@named @SYS_OPS_EXT@ ,
+22 -32
View File
@@ -16,17 +16,17 @@
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\" @(#)resolver.3 6.5 (Berkeley) 6/23/90
.\" $Id: resolver.3,v 8.11 1999/09/13 23:33:24 vixie Exp $
.\" $Id: resolver.3,v 8.12 2000/07/11 06:10:55 vixie Exp $
.\"
.Dd October 19, 1998
.Dd July 4, 2000
.Dt RESOLVER @LIB_NETWORK_EXT_U@
.Os BSD 4
.Sh NAME
.Nm res_ninit ,
.Nm res_nisourserver ,
.Nm res_ourserver_p ,
.Nm fp_resstat ,
.Nm res_npquery ,
.Nm res_hostalias ,
.Nm res_pquery ,
.Nm res_nquery ,
.Nm res_nsearch ,
.Nm res_nquerydomain ,
@@ -36,16 +36,15 @@
.Nm res_nmkupdate ,
.Nm res_nclose ,
.Nm res_nsendsigned ,
.Nm res_nsendupdate ,
.Nm res_findzonecut ,
.Nm dn_comp ,
.Nm dn_expand ,
.Nm hstrerror ,
.Nm res_init ,
.Nm res_isourserver ,
.Nm p_nquery ,
.Mm p_query ,
.Mm hostalias ,
.Nm fp_nquery ,
.Nm p_query ,
.Nm hostalias ,
.Nm res_query ,
.Nm res_search ,
.Nm res_querydomain ,
@@ -61,10 +60,10 @@
.Fd #include <arpa/nameser.h>
.Fd #include <resolv.h>
.Fn res_ninit "res_state statp"
.Fn res_nisourserver "const res_state statp" "const struct sockaddr_in *addr"
.Fn res_ourserver_p "const res_state statp" "const struct sockaddr_in *addr"
.Fn fp_resstat "const res_state statp" "FILE *fp"
.Fn res_npquery "const res_state statp" "const u_char *msg" "int msglen" "FILE *fp"
.Fn res_hostalias "const res_state statp" "const char *name" "char *buf" "size_t buflen"
.Fn res_pquery "const res_state statp" "const u_char *msg" "int msglen" "FILE *fp"
.Fn res_nquery "res_state statp" "const char *dname" "int class" "int type" "u_char *answer" "int anslen"
.Fn res_nsearch "res_state statp" "const char *dname" "int class" "int type" "u_char * answer" "int anslen"
.Fn res_nquerydomain "res_state statp" "const char *name" "const char *domain" "int class" "int type" "u_char *answer" "int anslen"
@@ -75,7 +74,6 @@
.Fn res_nclose "res_state statp"
.Fn res_nsendsigned "res_state statp" "const u_char *msg" "int msglen" "ns_tsig_key *key" "u_char *answer" "int anslen"
.Fn res_findzonecut "res_state statp" "const char *dname" "ns_class class" "int options" "char *zname" "size_t zsize" "struct in_addr *addrs" "int naddrs"
.Fn res_nsendupdate "res_state statp" "ns_updrec *rrecp_in" "ns_tsig_key *key" "char *zname" "struct in_addr addr"
.Fn dn_comp "const char *exp_dn" "u_char *comp_dn" "int length" "u_char **dnptrs, **lastdnptr"
.Fn dn_expand "const u_char *msg, *eomorig, *comp_dn" "char *exp_dn" "int length"
.Fn hstrerror "int err"
@@ -87,7 +85,7 @@
.Fd #include <resolv.h>
.Fn res_init "void"
.Fn res_isourserver "const struct sockaddr_in *addr"
.Fn p_nquery "const u_char *msg" "int msglen" "FILE *fp"
.Fn fp_nquery "const u_char *msg" "int msglen" "FILE *fp"
.Fn p_query "const u_char *msg" "FILE *fp"
.Fn hostalias "const char *name"
.Fn res_query "const char *dname" "int class, type" "u_char *answer" "int anslen"
@@ -111,7 +109,7 @@ should be set to all zeros prior to the first call to any of these functions.
The functions
.Fn res_init ,
.Fn res_isourserver ,
.Fn p_nquery ,
.Fn fp_nquery ,
.Fn p_query ,
.Fn hostalias ,
.Fn res_query ,
@@ -373,11 +371,9 @@ MUST be big enough to receive a maximum UDP response from the server or
parts of the answer will be silently discarded.
The default maximum UDP response size is 512 bytes.
.Pp
The functions
.Fn res_nisourserver
/
.Fn res_isourserver
return true when
The function
.Fn res_ourserver_p
returns true when
.Fa inp
is one of the servers in
.Fa statp->nsaddr_list
@@ -385,9 +381,7 @@ is one of the servers in
.Fa _res.nsaddr_list .
.Pp
The functions
.Fn res_npquery
/
.Fn p_nquery
.Fn fp_nquery
/
.Fn p_query
print out the query and any answer in
@@ -396,7 +390,7 @@ on
.Fa fp .
.Fn p_query
is equivalent to
.Fn p_nquery
.Fn fp_nquery
with
.Fa msglen
set to 512.
@@ -429,22 +423,18 @@ The functions
take a list of ns_updrec
.Fa rrecp_in .
Identifies the containing zone for each record and groups the records
according to containing zone maintaining in zone order then sends and
update request to the servers for these zones.
The number of zones updated is returned or -1 on error.
according to containing zone maintaining in zone order then sends and update
request to the servers for these zones. The number of zones updated is
returned or -1 on error. Note that
.Fn res_nupdate
will perform TSIG authenticated dynamic update operations if the key is not
NULL.
.Pp
The function
.Fn res_findzonecut
discovers the closest enclosing zone cut for a specified domain name,
and finds the IP addresses of the zone's master servers.
.Pp
The function
.Fn res_nsendupdate
is used to perform TSIG authenticated dynamic update operations.
.Fn res_nsendupdate
sends a dynamic update to the specified IP address, authenticating the update
if the key is not NULL.
.Pp
The functions
.Fn res_nmkupdate
/
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+9 -9
View File
@@ -16,7 +16,7 @@
*/
/*
* $Id: assertions.h,v 8.2 1999/01/08 19:23:01 vixie Exp $
* $Id: assertions.h,v 8.3 2000/07/17 07:53:59 vixie Exp $
*/
#ifndef ASSERTIONS_H
@@ -73,8 +73,8 @@ char *assertion_type_to_text(assertion_type type);
((__assertion_failed)(__FILE__, __LINE__, assert_require, \
#cond, 1), 0)))
#else
#define REQUIRE(cond) ((void) 0)
#define REQUIRE_ERR(cond) ((void) 0)
#define REQUIRE(cond) ((void) (cond))
#define REQUIRE_ERR(cond) ((void) (cond))
#endif /* CHECK_REQUIRE */
#if CHECK_ENSURE != 0
@@ -87,8 +87,8 @@ char *assertion_type_to_text(assertion_type type);
((__assertion_failed)(__FILE__, __LINE__, assert_ensure, \
#cond, 1), 0)))
#else
#define ENSURE(cond) ((void) 0)
#define ENSURE_ERR(cond) ((void) 0)
#define ENSURE(cond) ((void) (cond))
#define ENSURE_ERR(cond) ((void) (cond))
#endif /* CHECK_ENSURE */
#if CHECK_INSIST != 0
@@ -101,8 +101,8 @@ char *assertion_type_to_text(assertion_type type);
((__assertion_failed)(__FILE__, __LINE__, assert_insist, \
#cond, 1), 0)))
#else
#define INSIST(cond) ((void) 0)
#define INSIST_ERR(cond) ((void) 0)
#define INSIST(cond) ((void) (cond))
#define INSIST_ERR(cond) ((void) (cond))
#endif /* CHECK_INSIST */
#if CHECK_INVARIANT != 0
@@ -115,8 +115,8 @@ char *assertion_type_to_text(assertion_type type);
((__assertion_failed)(__FILE__, __LINE__, assert_invariant, \
#cond, 1), 0)))
#else
#define INVARIANT(cond) ((void) 0)
#define INVARIANT_ERR(cond) ((void) 0)
#define INVARIANT(cond) ((void) (cond))
#define INVARIANT_ERR(cond) ((void) (cond))
#endif /* CHECK_INVARIANT */
#endif /* ASSERTIONS_H */
+2 -2
View File
@@ -13,7 +13,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: Makefile,v 8.22 1999/06/08 01:42:57 vixie Exp $
# $Id: Makefile,v 8.23 2000/07/11 06:41:36 vixie Exp $
SUBDIRS = resolv irs isc bsd inet nameser dst cylink dnssafe
@@ -51,7 +51,7 @@ MARGS = "SYSTYPE=${SYSTYPE}" "SHELL=${SHELL}" "A=${A}" "O=${O}" \
"RANLIB=:" "AR=${AR}" "ARPREF=${ARPREF}" "ARSUFF=${ARSUFF}" \
"INCL=../${INCL}" "PORTINCL=../${PORTINCL}" "EXE=${EXE}" \
"LIBBIND=../${LIBBIND}" "LIBPORT=../${LIBPORT}" \
"INSTALL=${INSTALL}" "CPPFLAGS=${CPPFLAGS}" "TOP=../${TOP}" \
"INSTALL=${INSTALL}" "TOP=../${TOP}" \
"REENTRANT=${REENTRANT}" "INSTALL_LIB=${INSTALL_LIB}" \
"INSTALL_EXEC=${INSTALL_EXEC}" "BOUNDS=${BOUNDS}"
+3 -2
View File
@@ -13,7 +13,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: Makefile,v 1.16 2000/02/29 03:38:21 vixie Exp $
# $Id: Makefile,v 1.17 2000/07/11 06:41:39 vixie Exp $
# these are only appropriate for BSD 4.4 or derivatives, and are used in
# development. normal builds will be done in the top level directory and
@@ -32,7 +32,8 @@ INCL = ${TOP}/include
PORTINCL = ${TOP}/port/${SYSTYPE}/include
LIBBIND = ${TOP}/lib/libbind.${A}
LIBBINDR = ../${TOP}/lib/libbind_r.${A}
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
LD_LIBFLAGS= -x -r
AR= ar cru
RANLIB= ranlib
+3 -1
View File
@@ -1,5 +1,5 @@
#ifndef LINT
static const char rcsid[] = "$Header: /proj/cvs/isc/bind/src/lib/dst/prandom.c,v 1.8 1999/10/13 16:39:24 vixie Exp $";
static const char rcsid[] = "$Header: /proj/cvs/isc/bind/src/lib/dst/prandom.c,v 1.9 2000/07/17 07:36:53 vixie Exp $";
#endif
/*
* Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc.
@@ -20,6 +20,7 @@ static const char rcsid[] = "$Header: /proj/cvs/isc/bind/src/lib/dst/prandom.c,v
#include "port_before.h"
#include <assert.h>
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>
@@ -203,6 +204,7 @@ do_time(dst_work *work)
zone = (struct timezone *) tmp;
mtime = (struct timeval *)(tmp + sizeof(struct timezone));
gettimeofday(mtime, zone);
assert(mtime->tv_usec >= 0 && mtime->tv_usec < 1000000);
cnt = sizeof(tmp);
my_digest(work, tmp, sizeof(tmp));
+2 -1
View File
@@ -1,5 +1,5 @@
#ifdef RSAREF
static const char rcsid[] = "$Header: /proj/cvs/isc/bind/src/lib/dst/rsaref_link.c,v 1.6 1999/10/13 16:39:24 vixie Exp $";
static const char rcsid[] = "$Header: /proj/cvs/isc/bind/src/lib/dst/rsaref_link.c,v 1.7 2000/07/17 07:36:53 vixie Exp $";
/*
* Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc.
@@ -706,6 +706,7 @@ dst_rsaref_init_random_struct(R_RANDOM_STRUCT * randomstruct)
* This must be the FIRST CALL
*/
gettimeofday(&tv, 0);
assert(tv.tv_usec >= 0 && tv.tv_usec < 1000000);
R_RandomUpdate(randomstruct, (u_char *) &tv,
sizeof(struct timeval));
+3 -2
View File
@@ -13,7 +13,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: Makefile,v 8.19 2000/02/29 03:38:22 vixie Exp $
# $Id: Makefile,v 8.20 2000/07/11 06:41:40 vixie Exp $
# these are only appropriate for BSD 4.4 or derivatives, and are used in
# development. normal builds will be done in the top level directory and
@@ -32,7 +32,8 @@ INCL = ${TOP}/include
PORTINCL = ${TOP}/port/${SYSTYPE}/include
LIBBIND = ${TOP}/lib/libbind.${A}
LIBBINDR = ../${TOP}/lib/libbind_r.${A}
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
LD_LIBFLAGS= -x -r
AR= ar cru
RANLIB= ranlib
+3 -2
View File
@@ -13,7 +13,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: Makefile,v 8.19 2000/02/29 03:38:22 vixie Exp $
# $Id: Makefile,v 8.20 2000/07/11 06:41:40 vixie Exp $
# these are only appropriate for BSD 4.4 or derivatives, and are used in
# development. normal builds will be done in the top level directory and
@@ -32,7 +32,8 @@ INCL = ${TOP}/include
PORTINCL = ${TOP}/port/${SYSTYPE}/include
LIBBIND = ${TOP}/lib/libbind.${A}
LIBBINDR = ../${TOP}/lib/libbind_r.${A}
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
# -D__BIND_NOSTATIC -Wimplicit
LD_LIBFLAGS= -x -r
AR= ar cru
+7 -3
View File
@@ -16,7 +16,7 @@
*/
#if !defined(LINT) && !defined(CODECENTER)
static const char rcsid[] = "$Id: gen_gr.c,v 1.21 1999/10/13 16:39:29 vixie Exp $";
static const char rcsid[] = "$Id: gen_gr.c,v 1.22 2000/07/11 05:51:56 vixie Exp $";
#endif
/* Imports */
@@ -325,7 +325,7 @@ static void
grmerge(struct irs_gr *this, const struct group *src, int preserve) {
struct pvt *pvt = (struct pvt *)this->private;
char *cp, **m, **p;
int n, ndst, nnew;
int n, ndst, nnew, memadj;
if (!preserve) {
pvt->group.gr_gid = src->gr_gid;
@@ -377,6 +377,7 @@ grmerge(struct irs_gr *this, const struct group *src, int preserve) {
/* No harm done, no work done. */
return;
}
memadj = cp - pvt->membuf;
pvt->membuf = cp;
cp += pvt->membufsize;
pvt->membufsize += n;
@@ -391,7 +392,10 @@ grmerge(struct irs_gr *this, const struct group *src, int preserve) {
strcpy(cp, *m);
cp += strlen(cp) + 1;
}
if (!preserve) {
if (preserve) {
pvt->group.gr_name += memadj;
pvt->group.gr_passwd += memadj;
} else {
pvt->group.gr_name = cp;
strcpy(cp, src->gr_name);
cp += strlen(src->gr_name) + 1;
+1 -2
View File
@@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static const char rcsid[] = "$Id: gethostent_r.c,v 8.4 1999/01/18 07:46:52 vixie Exp $";
static const char rcsid[] = "$Id: gethostent_r.c,v 8.5 2000/07/11 05:46:35 vixie Exp $";
#endif /* LIBC_SCCS and not lint */
#include <port_before.h>
@@ -143,7 +143,6 @@ copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) {
memcpy(cp, he->h_addr_list[i], n);
hptr->h_addr_list[i] = cp;
cp += n;
i++;
}
hptr->h_addr_list[i] = NULL;
ptr++;
+3 -2
View File
@@ -13,7 +13,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: Makefile,v 8.25 2000/02/29 03:38:23 vixie Exp $
# $Id: Makefile,v 8.26 2000/07/11 06:41:41 vixie Exp $
# these are only appropriate for BSD 4.4 or derivatives, and are used in
# development. normal builds will be done in the top level directory and
@@ -32,7 +32,8 @@ INCL = ${TOP}/include
PORTINCL = ${TOP}/port/${SYSTYPE}/include
LIBBIND = ${TOP}/lib/libbind.${A}
LIBBINDR = ../${TOP}/lib/libbind_r.${A}
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
# -Wimplicit
LD_LIBFLAGS= -x -r
AR= ar cru
+3 -1
View File
@@ -20,7 +20,7 @@
*/
#if !defined(LINT) && !defined(CODECENTER)
static const char rcsid[] = "$Id: ev_timers.c,v 1.25 1999/10/07 20:44:04 vixie Exp $";
static const char rcsid[] = "$Id: ev_timers.c,v 1.26 2000/07/17 07:36:54 vixie Exp $";
#endif
/* Import. */
@@ -30,6 +30,7 @@ static const char rcsid[] = "$Id: ev_timers.c,v 1.25 1999/10/07 20:44:04 vixie E
#include <errno.h>
#include <isc/assertions.h>
#include <isc/eventlib.h>
#include "eventlib_p.h"
@@ -110,6 +111,7 @@ evNowTime() {
if (gettimeofday(&now, NULL) < 0)
return (evConsTime(0, 0));
INSIST(now.tv_usec >= 0 && now.tv_usec < 1000000);
return (evTimeSpec(now));
}
+4 -5
View File
@@ -20,7 +20,7 @@
*/
#if !defined(LINT) && !defined(CODECENTER)
static const char rcsid[] = "$Id: ev_waits.c,v 8.10 2000/02/04 07:25:50 vixie Exp $";
static const char rcsid[] = "$Id: ev_waits.c,v 8.11 2000/07/20 18:17:52 vixie Exp $";
#endif
#include "port_before.h"
@@ -49,7 +49,7 @@ static evWaitList * evGetWaitList(evContext_p *, const void *, int);
*/
int
evWaitFor(evContext opaqueCtx, const void *tag,
evWaitFunc func, void *uap, evWaitID *id)
evWaitFunc func, void *uap, evWaitID *id)
{
evContext_p *ctx = opaqueCtx.opaque;
evWait *new;
@@ -60,11 +60,10 @@ evWaitFor(evContext opaqueCtx, const void *tag,
new->uap = uap;
new->tag = tag;
new->next = NULL;
if (wl->last != NULL) {
if (wl->last != NULL)
wl->last->next = new;
} else {
else
wl->first = new;
}
wl->last = new;
if (id != NULL)
id->opaque = new;
+3 -2
View File
@@ -15,7 +15,7 @@
# SOFTWARE.
#
# $Id: Makefile,v 8.19 2000/02/29 03:38:23 vixie Exp $
# $Id: Makefile,v 8.20 2000/07/11 06:41:42 vixie Exp $
# these are only appropriate for BSD 4.4 or derivatives, and are used in
# development. normal builds will be done in the top level directory and
@@ -34,7 +34,8 @@ INCL = ${TOP}/include
PORTINCL = ${TOP}/port/${SYSTYPE}/include
LIBBIND = ${TOP}/lib/libbind.${A}
LIBBINDR = ../${TOP}/lib/libbind_r.${A}
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
LD_LIBFLAGS= -x -r
AR= ar cru
RANLIB= ranlib
+3 -2
View File
@@ -13,7 +13,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: Makefile,v 8.33 2000/02/29 03:38:24 vixie Exp $
# $Id: Makefile,v 8.34 2000/07/11 06:41:42 vixie Exp $
# these are only appropriate for BSD 4.4 or derivatives, and are used in
# development. normal builds will be done in the top level directory and
@@ -32,7 +32,8 @@ INCL = ${TOP}/include
PORTINCL = ${TOP}/port/${SYSTYPE}/include
LIBBIND = ${TOP}/lib/libbind.${A}
LIBBINDR = ../${TOP}/lib/libbind_r.${A}
CFLAGS= ${CDEBUG} -I${PORTINCL} -I${INCL}
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}
# -D__BIND_NOSTATIC
LD_LIBFLAGS= -x -r
AR= ar cru
-99
View File
@@ -1,99 +0,0 @@
$FreeBSD$
CVS
testsuite
.cvsignore
config.if
mkdep
*COPYING*
etc
*-hp*
*-macos*
*-ncr*
*.bat
*.com
*.info*
arlex.c
arparse.[ch]
deflex.c
gprof
itbl-lex.c
itbl-parse.[ch]
ldgram.[ch]
ldlex.c
sysinfo.[ch]
syslex.c
testsuite
texinfo
*10[23]00*
*532*
*[a-z]29k*
*[a-z][89]60*
*_be*
*a68*
*adobe*
*aix*
*apollo*
*beos*
*bout*
*cisco*
*d10v*
*delt88*
*delta*
*dgux*
*djgpp*
*dos*
*dpx2*
*dynix*
*epoc*
*go32*
*h8[35]00*
*hp300*
*hp[-.]*
*hppa*
*hpux*
*interix*
*irix*
*lynx*
*m32r*
*m[68]8k*
*mac-*
*mach*
*mcore*
*mpw*
*netware*
*news*
*nlm*
*ns32*
*oasys*
*os9*
*pei*
*pmac*
*psos*
*pyr*
*riscix*
*riscos*
*rs6000*
*sa29200*
*shpe*
*som*
*st2000*
*sun*
*symmetry*
*tahoe*
*u68k*
*vax*
*vms*
*vxworks*
*w65*
*we32k*
*win*
*xcoff*
*i370*
*avr*
*tic54x*
*tic80*
*d30v*
*fr30*
*-sh.*
*pj*
*ver.texi
-34
View File
@@ -1,34 +0,0 @@
/* Name of package. */
#undef PACKAGE
/* Version of package. */
#undef VERSION
/* Whether strstr must be declared even if <string.h> is included. */
#undef NEED_DECLARATION_STRSTR
/* Whether malloc must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_MALLOC
/* Whether realloc must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_REALLOC
/* Whether free must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_FREE
/* Whether getenv must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_GETENV
@TOP@
/* Do we need to use the b modifier when opening binary files? */
#undef USE_BINARY_FOPEN
/* Name of host specific header file to include in trad-core.c. */
#undef TRAD_HEADER
/* Define only if <sys/procfs.h> is available *and* it defines prstatus_t. */
#undef HAVE_SYS_PROCFS_H
/* Do we really want to use mmap if it's available? */
#undef USE_MMAP
Loaded 100 of 3410 files, more files were not shown because too many files have changed in this diff. Show more