Commit Graph

126712 Commits

Author SHA1 Message Date
mr
f9af67a2ee Add locking to vge_ifmedia_upd().
With this WD-timeouts for vge(4) got reduced signifficantly.
Testet on -stable.

Submitted by:	Oleg Bulyzhin
MFC after:	1 day
2006-09-04 13:14:44 +00:00
trhodes
f8eddfe5ae Reword previous commit, now supporting better English.
Discussed with:	ceri
2006-09-04 10:20:53 +00:00
thomas
b6505e0884 Fix typo in comment. 2006-09-04 08:32:17 +00:00
ru
4dbb4c1732 If building the module as part of the kernel build, determine
the "device isa" presence out of the opt_isa.h in the kernel
build directory, rather than always assuming its presence.
sparc64 is still special cased and is not affected by this
change.

Noticed by:	bde
2006-09-04 07:40:53 +00:00
rwatson
9af04e1fec White space cleanup, no functional change. 2006-09-04 06:06:23 +00:00
dwhite
3631541670 Avoid an infinite loop in empty_both_buffers() by adding a timeout.
This helps systems that don't actually have atkbd controllers, such as the Intel
SBX82 blade, boot without device.hints hacks.

Hardware for this fix provided by iXsystems.

PR:		94822
Submitted by:	Devon H. O'Dell <devon.odell@coyotepoint.com>
MFC After:	3 days
2006-09-04 00:19:31 +00:00
alc
9fce925349 Make vm_page_release_contig() static. 2006-09-03 22:24:08 +00:00
trhodes
a984b3d1de Belated update for login.conf checks.
Bump doc date.
2006-09-03 21:31:20 +00:00
marius
e2d308d090 Do as the USII CPU manual suggests and leave interrupts enabled
for a bit before retrying to resend an IPI in order to avoid
deadlocks if the other CPU is also trying to send one.
OpenSolaris uses a delay of 1 microsecond here but waiting 2
microseconds with interrupts enabled like Linux does shouldn't
hurt but is a bit safer.

MFC after:	1 day
2006-09-03 21:20:21 +00:00
ru
27ee15c183 Use a #define to refer to /etc/crontab. 2006-09-03 17:52:19 +00:00
rwatson
de3d4015b8 Regenerate. 2006-09-03 16:24:36 +00:00
rwatson
fcca60a093 Set freebsd32 system call event identifiers for:
- old truncate, ftruncate
- old getpeername, gethostid, sethostid, getrlimit, setrlimit, killpg.
- old quota, getsockname, getdirentries.
- lgetfh
- old getdomainname, setdomainname
- sysarch, rtprio, __getcwd, jail, sigtimedwait
- extattrctl, extattr_{get,set,delete,list}_{file,fd,link}
- getresgid, getresuid, kqueue, eaccess, nmount, sendfile
- fhstatfs, kldunloadf

Right identifiers for:

- nfssvc

Remove incorrect identifier for:

- __acl_get_file

Compile tested with help of:	sam
Obtained from:	TrustedBSD Project
2006-09-03 16:17:49 +00:00
rwatson
58bc728eee Regenerate for updated audit event identifiers. 2006-09-03 15:11:13 +00:00
rwatson
211375c235 Assign proper audit event identifiers to a number of system calls not
covered in previous passes:

- sysarch, rtprio
- clock_settime
- preadv/pwritev
- __getcwd
- kqueue
- fhstatfs
- kldunloadf

Obtained from:	TrustedBSD Project
2006-09-03 15:10:40 +00:00
ume
d5da60dc31 Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin (nnnn) to
specify temperature.

Reviewed by:	njl
MFC after:	3 days
2006-09-03 15:10:04 +00:00
rwatson
c5e1a3ed4e Regenerate. 2006-09-03 13:48:48 +00:00
rwatson
01259c59f9 Regenerate. Looks like someone missed doing this previously as more than
just the audit event change appears in the diff.
2006-09-03 13:47:52 +00:00
rwatson
9e972f8275 Use AUE_NTP_ADJTIME instead of AUE_ADJTIME for ntp_adjtime().
Obtained from:	TrustedBSD Project
2006-09-03 13:47:24 +00:00
rwatson
3387bd0cd3 Use AUE_NTP_ADJTIME for ntp_adjtime() instead of AUE_ADJTIME.
Obtained from:	TrustedBSD Project
2006-09-03 13:44:21 +00:00
brueffer
206bf22b07 Document VIA 8237A support. 2006-09-03 11:33:52 +00:00
mjacob
639497743e Restore multi-version cleanliness. 2006-09-03 01:26:55 +00:00
mjacob
90adef8e68 Bump __FreeBSD_version by one due to newbus changes. 2006-09-03 01:12:34 +00:00
jmg
632f50effc up the default msgbuf limit to 64k.. a verbose boot on i386 on modern
hardware returns almost 48k of data...  to change the default per platform,
it should be done in DEFAULTS, not here...

Discussed on:	-arch
2006-09-03 00:33:19 +00:00
jmg
6c51ecb8c4 now that we have bus_get_dma_tag, document it's requirement in
bus_dma_tag_create
2006-09-03 00:31:21 +00:00
jmg
c25fb06d92 add a newbus method for obtaining the bus's bus_dma_tag_t... This is
required by arches like sparc64 (not yet implemented) and sun4v where there
are seperate IOMMU's for each PCI bus...  For all other arches, it will
end up returning NULL, which makes it a no-op...

Convert a few drivers (the ones we've been working w/ on sun4v) to the
new convection...  Eventually all drivers will need to replace the parent
tag of NULL, w/ bus_get_dma_tag(dev), though dev is usually different for
each driver, and will require hand inspection...

Reviewed by:	scottl (earlier version)
2006-09-03 00:27:42 +00:00
jmg
84ee477ac3 Break out typedefs from bus_dma.h to _bus_dma.h so that we can get the
typedef for bus_dma_tag_t in sys/bus.h w/o poluting the namespace...
This is in preperation for adding bus_get_dma_tag to sys/bus.h...
2006-09-03 00:26:17 +00:00
davidxu
b73a4c5234 Check if it is root user in do_unlock_pp. 2006-09-03 00:07:37 +00:00
marius
30c9ad00f1 Add a belated entry regarding the removal of lnc(4). 2006-09-02 22:17:15 +00:00
marcel
fe9fda2d7c Unbreak PowerPC build after addition of powermac_nvram(4powerpc). 2006-09-02 20:58:37 +00:00
marius
20f3c95d3c - s/UltraSparc/UltraSPARC/
- Add info about the requirement of OFW support.
2006-09-02 20:15:21 +00:00
sam
ba5297eb2d incorporate Rui Paulo's work
Obtained from:	netbsd
2006-09-02 17:56:24 +00:00
bmah
8c7fe5bd19 New release notes: audit(4) (somewhat belatedly, now that I
marginally understand how this feature works), cp(1) -l (+MFC),
pkill(1)/pgrep(1) to /bin, lukemftpd 20060831.

Updated release notes: OpenBSM 1.0a10 (also do a minor markup fix,
+MFC).

MFCs noted:  OpenBSM userland, freebsd-update(8), rc.d/auditd.
2006-09-02 16:25:50 +00:00
sos
f62c7d769a Add support for VIA 8237A. 2006-09-02 12:55:42 +00:00
marius
7e23ec5e9d Add the usual info about loading as module on startup to the SYNOPSIS. 2006-09-02 12:12:16 +00:00
rwatson
4d618dc386 s/6.1/6.2/ as the introduction date for kernel audit support.
Obtained from:	TrustedBSD Project
2006-09-02 11:55:38 +00:00
rwatson
079c101b83 Merge OpenBSM 1.0 alpha 10 changes into src/sys/bsm; comment spelling
fixes.

Obtained from:	TrustedBSD Project
2006-09-02 10:49:44 +00:00
cperciva
bba5063847 Conform to wider English usage.
Submitted by:	Royce Williams
2006-09-02 10:47:01 +00:00
rwatson
3ea08baaf6 Note removal of certain contrib/openbsm/bsm include files from
FreeBSD development branches, they exist only in the vendor branch.

Obtained from:	TrustedBSD Project
2006-09-02 09:56:28 +00:00
rwatson
e86b2a5131 This commit was generated by cvs2svn to compensate for changes in r161863,
which included commits to RCS files with non-trunk default branches.
2006-09-02 09:37:14 +00:00
rwatson
24713adf43 Vendor import of OpenBSM 1.0 alpha 10, with the following changes:
- auditd now generates complete audit records for its events, as required for
  application-submitted audit records in the the FreeBSD kernel audit
  implementation.

This also restores contrib/openbsm/bsm/audit_record to the vendor version
after the build fixes previously committed; however, this file is not used
in the build.

Obtained from:	TrustedBSD Project
2006-09-02 09:37:14 +00:00
phk
8200abddc7 Document that the default timeout is 16 seconds 2006-09-02 09:11:58 +00:00
rwatson
ecf4fc184b Enforce the compile-time threads limit at run-time, so that a high thread
count argument doesn't cause a segfault or memory corruption when the
compile-time array is overrun.
2006-09-02 08:25:40 +00:00
rwatson
4f2dba52bb Remove two hypothetical calls to suser() in ifdef'd (and uncompilable)
svr4 code: this code would call centralized sysctl code that does
these checks also.

MFC after:	1 week
Obtained from:	TrustedBSD Project
Sponsored by:	nCircle Network Security, Inc.
2006-09-02 08:18:22 +00:00
davidxu
f41d0bcd97 Make sure we get new m_owner value if we can not unlock it in
uncontested case. Reorder statements in do_unlock_umutex.
2006-09-02 02:41:33 +00:00
marcel
587bff4653 Whitespace fix. 2006-09-02 01:07:21 +00:00
davidch
7e86517989 Resolve "firmware handshake" error on 5752.
Approved by:	ps
MFC after:	2 weeks
2006-09-01 22:45:11 +00:00
marius
0c8438c832 - Improve the description of gem(4); the Sun chips it supports are
termed ERI and GEM rather than GMAC.
- Bring the description of le(4) in line with the current le(4); it
  was still refering to the old i386 ISA-only le(4) which was nuked
  along with ISA_COMPAT while HEAD was FreeBSD 5.
- Add an entry for hme(4).
- Remove the obsolete entry for lnc(4).

MFC after:	1 day
2006-09-01 22:34:49 +00:00
davidch
d04203c60c /tmp/cvsleYf6y 2006-09-01 22:30:56 +00:00
marius
f4983d42f5 Replace the .Pq added in rev 1.2 with literal parenthesis as the former
aren't required for plain text and the latter formats faster.

Pointed out by:	ru
2006-09-01 21:54:58 +00:00
marius
92269444e3 - s/gigabit/Gigabit/
- Talk about supported chips rather than supported cards as the majority
  of the hardware supported by gem(4) is on-board.
- "the .Nm driver"
- Sort the list of supported chips alphabetically.
- Sun GEM aren't used on-board though, so don't claim they'd be.
- Add a CAVEATS section informing that Sun GEM cards aren't supported
  so far.

MFC after:	1 day
2006-09-01 21:42:22 +00:00