109939 Commits

Author SHA1 Message Date
lukem
b1026bf11c Enable check in in_pcbbind() to enforce sin_family == AF_INET.
If there are any "old programs which incorrectly set this" left,
they will now fail with EAFNOSUPPORT.
This make in_pcbbind() consistent with in_pcbconnect() and the other
protocol families.

As per my PR [kern/4441], which has the comment:
	Steven's "TCP/IP Illustrated, Volume 2", page 730, notes that
	in_pcbbind() has the check which determines if sin_family == AF_INET
	commented out, but the same check in in_pcbconnect() is still active.
2003-03-16 03:33:28 +00:00
kristerw
3735c66934 Add snprintf, divdi3, moddi3, and qdivrem so that ufsboot builds. 2003-03-16 01:29:04 +00:00
wiz
83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
fvdl
c5eb2581e1 Make struct sigcontext consistent with other regstate-holding structures. 2003-03-15 23:41:25 +00:00
wiz
76c4d78af3 eliminating, not elimininating. From Igor Sobrado in PR 20723. 2003-03-15 22:38:46 +00:00
wiz
65daab973d retransmit, not restransmit. From Igor Sobrado in PR 20723. 2003-03-15 22:34:25 +00:00
he
dace8f1df0 Do not try to build LKMs on evbppc, because we cannot predetermine
the PPC_INTR_IMPL, which is used to include a file in <machine/intr.h>.
To allow evbppc to complete a ``make release'', we also need to
factor out the LKM files to a new set list file, and tweak makeflist
to not include this file for evbppc.

Discussed with Matt Thomas.
2003-03-15 22:32:07 +00:00
wiz
66793552fe Fix two typos, from Igor Sobrado in PR 20722. 2003-03-15 22:30:37 +00:00
wiz
4163cb2aee Fix some typos. From Igor Sobrado in PR 20722. 2003-03-15 22:25:37 +00:00
wiz
7d23ed38db IPsec, not ipsec. From Igor Sobrado in PR 20722. 2003-03-15 22:24:18 +00:00
jhawk
d935301e6f Xr vfork(2); not worth a Dd bump 2003-03-15 22:06:34 +00:00
wiz
da8cf668e4 Fix spelling of acknowledgement. From Soren Jacobsen in PR 20726. 2003-03-15 22:04:56 +00:00
hubertf
89b4984304 Catch one more place that could result in Current not being set properly
(and thus in the execution of "rm -fr /") if ^C is pressed at the wrong time.

See also PR 19436.
2003-03-15 20:54:25 +00:00
agc
9d52ce445c Bump version string for pkgdb_dump changes. 2003-03-15 20:50:13 +00:00
agc
2c442ad8d2 Introduce a pkgdb_dump() function, which dumps the cache file of
(filename, package) pairs.

Modify calling functions to use pkgdb_dump() directly, rather than
sequences of
	pkgdb_open
	{ pkgdb_iter, pkgdb_retrieve }
	pkgdb_close
calls.

Remove the now unnecessary pkgdb_iter function.
2003-03-15 20:49:25 +00:00
matt
640bee3010 Reduce visible globals. (gt_handle is now gt_memh and is only known to
machdep.c, gt_mainbus.c, and extintr.c)
2003-03-15 19:51:48 +00:00
matt
101a152db1 This contains no marvell specific code now. It now completely hides the
underlying PCI MD implementation.  XXX want to move this to
powerpc/include/ someday.
2003-03-15 19:50:31 +00:00
jmmv
d69e6401db Note the DDB_ONPANIC option (commented out). Closes my own PR port-i386/17649. 2003-03-15 19:34:16 +00:00
wiz
49e9f32df4 source, not sourse. From Igor Sobrado in PR 20721. 2003-03-15 19:29:11 +00:00
wiz
628f423c52 IPv4, not IPV4. From Igor Sobrado in PR 20718. 2003-03-15 19:27:17 +00:00
wiz
c9ac698957 IPv4, not IPV4. 2003-03-15 19:26:42 +00:00
wiz
37a402fc28 IPv4/IPv6, not IPV4/IPV6. 2003-03-15 19:26:08 +00:00
wiz
46ebb6111a Correct spelling of "overridden". Found in follow-up to PR 20718. 2003-03-15 19:24:02 +00:00
wiz
839680dfba Correct spelling of "overridden". From PR 20718 by Igor Sobrado. 2003-03-15 19:22:16 +00:00
wiz
5606e5cc70 Correct spelling of "specification". From PR 20717 by Igor Sobrado. 2003-03-15 19:18:41 +00:00
wiz
a6bd266319 Correct spelling of "preferred". From PR 20716 by Igor Sobrado. 2003-03-15 19:15:58 +00:00
thorpej
c165d23d2b Back out rev. 1.4. The problem only occurs when using pre-compiled
headers, which we turn off.  (Nevermind the mis-placed #endif which
would cause incorrect output from a non-Apple host, sigh.)
2003-03-15 17:40:33 +00:00
hannken
1ef5d39c1a Add -mstrict-align to the CC1 default options.
At least the 403 ports cannot handle unaligned access.

Discussed with Jason Thorpe and Matt Thomas.
2003-03-15 16:09:34 +00:00
hannken
94a50cb223 Make it work on cpus with cachelinesize < 32.
Tested on macppc by Markus W Kilbinger.
2003-03-15 14:10:21 +00:00
darcy
48e2f3947b The pkg_add examples assume sh(1). Adding text to mention csh(1) syntax.
Closes PR install/14797.
2003-03-15 12:46:49 +00:00
fvdl
e4189529ce No need to use movq for the small immediate values here, they'll be
zero-extended with movl.
2003-03-15 12:34:33 +00:00
wiz
fe8e96c537 Add atc_score in place of atc_scores; completes solution of PR 20709. 2003-03-15 12:33:55 +00:00
bouyer
3cb1252a05 Ops, I commited the previous change (improved SiS support) from thr wrong tree.
Sync with the latest diff I made available, and also include changes from
kern/20710 which is much better than the hack I've done.
2003-03-15 12:23:34 +00:00
jdolecek
2a74d10407 atc uses /var/games/atc_score, not atc_scores
Problem pointed out and fix supplied in PR install/20709 by Kazuhito Tsuburaya
2003-03-15 08:44:16 +00:00
matt
a0b2076415 New generic powerpc bus_space framework. 2003-03-15 08:03:19 +00:00
matt
e2765c0933 Allow a machine-dependent definition of schednetisr. 2003-03-15 07:51:06 +00:00
matt
0f1794e44a Make lint happy and use __asm && __volatile.
manipulate netisr via lwarx/stwcx. to get atomicity.
2003-03-15 07:50:28 +00:00
matt
7ad3fe6e03 When mapping a page with BUS_SPACE_NOCACHE, make sure to flush the
physical page from the data cache.
2003-03-15 07:25:20 +00:00
perseant
1d23f2f4ea Add write-behind to lfs_write(). 2003-03-15 07:24:37 +00:00
matt
35962f72c9 s;backside;; and report L2CR_L2DO & L2CR_L2IO 2003-03-15 07:22:46 +00:00
matt
2b8417e488 Add LINTSTUBs and make oea_init() agree with them. 2003-03-15 07:21:02 +00:00
perseant
b105ddb1d6 Make LFS LKM versions of ufs_makeinode and ufs_mkdir fail correctly.
Note dependency of lfs_vnops.o on ufs_readwrite.c.
2003-03-15 07:20:22 +00:00
matt
df24bda908 Make lint happy. 2003-03-15 07:19:20 +00:00
perseant
ea03a1ac09 Add simple_lock protection for lfs_seglock and lfs_subsys_pages; these will
be expanded to cover other per-fs and subsystem-wide data as well.

Fix a case of IN_MODIFIED being set without updating lfs_uinodes, resulting
in a "lfs_uinodes < 0" panic.

Fix a deadlock in lfs_putpages arising from the need to busy all pages in a
block; unbusy any that had already been busied before starting over.
2003-03-15 06:58:49 +00:00
christos
8b16d6d256 PR/20554: John Heasley: gcc should define __sparcv9 for 64 bit compilation 2003-03-15 04:51:13 +00:00
christos
be6d6ca02b PR/18984: John Heasley: telnet spins on dead tty 2003-03-15 04:48:22 +00:00
christos
1131a3ec35 PR/17399: John Heasley: describe filter error codes and lock file modes. 2003-03-15 04:45:52 +00:00
christos
75fdb547df PR/13242: John Heasley: ENOTDIR is not fatal 2003-03-15 04:41:17 +00:00
kristerw
3a7b34238b The implementation of the try/catch functionality uses two gcc extensions
that our lint does not understand.

One of these extensions (local labels) is needed only when using multiple
try/catch blocks within a function, and the comment before these macros
say that they should be used only once per function so that the implementaton
may be portable.

The other extension (taking the address of a label) is not needed at all.

Remove the use of the extensions.
2003-03-15 02:54:24 +00:00
kristerw
ea98786439 SO C requires a statement after a label. 2003-03-15 02:27:18 +00:00