Commit Graph

86792 Commits

Author SHA1 Message Date
trhodes
76ed67bf98 Return bits which were removed in revision 1.22.
Requested by:	imp
2003-02-24 05:59:12 +00:00
mikeh
aeedc1f513 Check whether setmode(3) fails and deallocate its return value after
calling getmode(3).

Approved by: wollman
MFC after: 1 week
2003-02-24 05:56:36 +00:00
trhodes
078fd34f19 Return bits which were removed in revision 1.28.
Requested by:	imp
2003-02-24 05:53:27 +00:00
scottl
d3806508a8 Don't NULL out p_fd until after closefd() has been called. This isn't
totally correct, but it has caused breakage for too long.  I welcome
someone with more fd fu to fix it correctly.
2003-02-24 05:46:55 +00:00
obrien
558a6485f6 pst(4) should be portable across all our platforms. 2003-02-24 05:12:24 +00:00
mckusick
500c3a3ca8 Revert to old (broken for over 1.5Tb filesystems) version of cgbase
so that boot loader once again will fit.

Sponsored by:   DARPA & NAI Labs.
2003-02-24 04:57:01 +00:00
obrien
34073c086f Wrap the static endian functions to shutup GCC. 2003-02-24 04:44:53 +00:00
trhodes
532d2bdd63 Be more specific about supported cards.
Submitted by:	imp
2003-02-24 04:23:56 +00:00
silby
73e327842e Fix a comment which didn't match the new cookie behavior.
Submitted by:	Scott Renfro <scott@renfro.org>
MFC after:	1 day
2003-02-24 03:15:48 +00:00
grehan
47fb20d3f1 Catch up with ATAng changes 2003-02-24 03:12:30 +00:00
obrien
9590f548c3 I thought groff was wrapped with NO_CXX. Oh well, it is now. 2003-02-24 02:40:56 +00:00
gad
6f5632ffc0 Check the value given for number-of-logs to keep in config-file entries,
and error-out if the value is negative (avoiding an infinite loop).

PR:		bin/30654 (part of it)
MFC after:	3 weeks
2003-02-24 02:28:46 +00:00
trhodes
750547befe Remove a comment about pccardd(8).
Discussed with:	imp
2003-02-24 02:20:20 +00:00
gad
371919ba7e 1) Fix so -a honors the -n ("do nothing") option. Before, if the directory
given for -a did not exist, then newsyslog would always try to create
   it, even if -n was specified.
2) When -a processing *does* create the directory, have it check the result
   from mkdir(), and immediately error-out if that failed.

PR:		bin/46974
MFC after:	3 weeks
2003-02-24 02:09:02 +00:00
jlemon
5c4b278a9c Fix another case for timewait. 2003-02-24 02:06:50 +00:00
jlemon
17b1f4c526 Update to work with the new timewait state.
Reviewed by: sam
2003-02-24 02:06:02 +00:00
trhodes
ec3fae0b41 Add device wlan as its now required.
Discussed with:	imp
2003-02-24 01:45:44 +00:00
davidxu
075f8dfffd Remove a XXXKSE. kg_completed now needs proc lock. 2003-02-24 01:28:10 +00:00
gad
0e9df41dbb Minor style fix. Add parenthesis around 'return' values.
Reviewed by:	md5
MFC after:	3 weeks
2003-02-24 01:05:05 +00:00
hsu
90305f610e tcp_twstart() need to be called with the TCP protocol lock held to avoid
a race condition with the TCP timer routines.
2003-02-24 00:52:03 +00:00
gad
06f0413c15 Add the idea of a "default rotate action", which will be used if a file is
specified at runtime, but that filename is not listed in the newsyslog.conf
file.  This default-action can be changed by having a line in newsyslog.conf
with the filename of "<default>".  Before this change, the program would
quietly ignore the given file.  An update to the man page will be written
after I finish some other updates to newsyslog.c.

Reviewed by:	no objections from freebsd-arch
MFC after:	3 weeks
2003-02-24 00:51:41 +00:00
davidxu
6e6d69e258 Backout last surplus commit. That day just wasn't my day. 2003-02-24 00:49:55 +00:00
hsu
8133d4eddb Pass the right function to callout_reset() for a compressed
TIME-WAIT control block.
2003-02-24 00:48:12 +00:00
jake
5c99d4e544 Use the direct mapping of IdlePTD setup in locore for proc0's page directory,
instead of allocating another page of kva and mapping it in again.  This was
likely an oversight in revision 1.174 (cut and paste from pmap_pinit).

Discussed with:	peter, tegge
Sponsored by:	DARPA, Network Associates Laboratories
2003-02-24 00:39:50 +00:00
grehan
5bd49ab382 Add apple partition map GEOM module 2003-02-24 00:16:51 +00:00
obrien
1625e4bdfe Make the 'a' parameter of bus_space_write_multi_stream_*() a const pointer. 2003-02-24 00:11:15 +00:00
tegge
762ff6ef1c Allow machines with one CPU and a valid mp table to boot an SMP kernel. 2003-02-23 23:49:57 +00:00
dan
f302079cd8 Add support for Peppercon ROL-F Card.
Submitted by: Sascha Holzeiter <sascha@root-login.org>
PR: 48559
2003-02-23 23:35:35 +00:00
marcel
0ae2956720 Use the correct size for reading and writing the PCI config space.
Reading the PCI config space with the wrong (larger) size is not
a problem in this case, but writing can be as it clobbers unrelated
registers. In this case the clobbering is for reserved fields, which
too is mostly harmless... for now. Hence, this change is mostly
preventive in nature.
2003-02-23 23:09:17 +00:00
tegge
2072a48a93 Sync new socket nonblocking/async state with file flags in accept().
PR:		1775
Reviewed by:	mbr
2003-02-23 23:00:28 +00:00
obrien
9e9a8e4f69 There is no reason to be cute with ntohl(). Just call it directly rather
than use a macro that tries to do conversions in place.

Compile tested on:	sparc64
2003-02-23 22:26:39 +00:00
imp
76e7d7e7b7 Explain what exca is. 2003-02-23 22:22:29 +00:00
jake
e12ad10b6b Previous commit missed a 1 that should be NGPTD, and an NPDEPG that should
be NPDEPTD.  Grumble.

Sponsored by:	DARPA, Network Associates Laboratories
2003-02-23 22:12:08 +00:00
obrien
5678186922 This commit was generated by cvs2svn to compensate for changes in r111368,
which included commits to RCS files with non-trunk default branches.
2003-02-23 21:58:31 +00:00
obrien
eaf1f0ff8c Import Linux's linux/include/asm-sparc64/bitopts.h.
This is taken from the 2.4.3 Linux sources as shipped on Red Hat 7.1 Alpha.
2003-02-23 21:58:31 +00:00
obrien
268e9045b3 Import Linux's linux/include/asm-sparc64/bitopts.h.
This is taken from the 2.4.3 Linux sources as shipped on Red Hat 7.1 Alpha.
2003-02-23 21:58:31 +00:00
gshapiro
99b99437f7 Follow the (good) trend of returning import files to vendor versions
where possible for easier future imports.
2003-02-23 21:58:16 +00:00
gshapiro
c25e5a60be This local FreeBSD mod isn't needed now that we have the freebsd* ostype
files.
2003-02-23 21:53:16 +00:00
chris
46357b9840 o Improve vocabulary/wording
o Expand on MAC policy enforcement on network interfaces
o Add cross-references to su(1) and setfsmac(8) where appropriate
o Comment out mmap revocation sysctls as they are a bit too experimental
o Add the standard BUGS section

Prompted by:	rwatson
Sponsored by:	DARPA, Network Associates Laboratories
2003-02-23 21:47:03 +00:00
des
4531e083d4 If more than one argument were given on the command line, interpret the
additional arguments as a series of architectures to build.  This is
useful for running subsets of a particular configuration.
2003-02-23 21:24:08 +00:00
jake
c614cef2af - Added macros NPGPTD, NBPTD, and NPDEPTD, for dealing with the size of the
page directory.
- Use these instead of the magic constants 1 or PAGE_SIZE where appropriate.
  There are still numerous assumptions that the page directory is exactly
  1 page.

Sponsored by:	DARPA, Network Associates Laboratories
2003-02-23 21:20:00 +00:00
mini
9318f6d82c Insert threads interrupted by a signal while running onto the run queue. 2003-02-23 21:15:25 +00:00
mini
dd3fb86399 Add signal logic to the build. 2003-02-23 21:14:08 +00:00
green
339a4ba4db It seems that sound(4)'s feeder routines don't need to allocate memory
without waiting, since they are called from a system-call context only.
This appears to fix all sorts of problems with open("/dev/dsp", O_WRONLY)
randomly returning ENXIO.

Found by:	cognet
2003-02-23 20:49:45 +00:00
obrien
d0bb7e7afb The rest of our platforms make bus_space_write_multi_stream_2's 'a' a
const pointer.
2003-02-23 20:42:32 +00:00
obrien
3965f1d79a Add an empty bus_space_unmap() like Alpha has. puc(4) uses it. 2003-02-23 19:54:16 +00:00
obrien
7501a40564 PAGE_SIZE is unsigned on all our platforms, and is a long on some.
So cast to u_long before printing out and use a matching specifier.

Tested on:	sparc64
2003-02-23 19:49:30 +00:00
obrien
1b31cacb04 Pass 'nodevice' onto the final output. 2003-02-23 19:40:45 +00:00
obrien
a5c4e25f0e Add adv_adj_endian_qdone_info() & adv_adj_scsiq_endian()
so this at least compiles on big-endian machines.
2003-02-23 19:16:53 +00:00
ru
919bdd6598 At least we don't need the whole <bsd.prog.mk> glue.
(I did test build the original change, but apparently
forgot to include it to LOCAL_PATCHES.  It happens.)
2003-02-23 19:15:55 +00:00