Gleb Smirnoff
f7a679b200
Save space on stack moving token ring stuff to its own hack block.
2006-10-04 11:08:14 +00:00
Gleb Smirnoff
9b9a52b496
Style rev. 1.152.
2006-10-04 10:59:21 +00:00
Dag-Erling Smørgrav
7705c58f36
Go figure how an extra $Id$ line crept in...
2006-10-04 10:21:00 +00:00
Dag-Erling Smørgrav
27241b599f
Merge vendor patch.
2006-10-04 10:15:53 +00:00
John Birrell
3c3f6fd0cf
Include the Solaris compatibility definions iff _SOLARIS_C_SOURCE is defined.
2006-10-04 07:25:55 +00:00
John Birrell
fba0d3f839
This file is the same as the one installed in /usr/include, however
...
there are enough places in the DTrace kernel/module sources that
having a header that gathers together all the individual elf headers
is convenient.
Note that the Solaris compatibility definions are conditionally
included iff _SOLARIS_C_SOURCE is defined.
2006-10-04 07:23:31 +00:00
John Birrell
47c14e2ae2
ELF compatibility definitions for OpenSolaris. These are covered
...
by Sun's CDDL and this file is only intended for inclusion where
_SOLARIS_C_SOURCE is defined (with the assumption that the code
being compiled is licensed under the CDDL too).
2006-10-04 07:19:39 +00:00
Martin Blapp
89ff1e4cb8
Back out part of rev. 1.149. While adding a workaround in ptcopen() to
...
avoid leaked ptys works fine, this opens a possible security hole.
Submitted by: bde
MFC after: 3 days
2006-10-04 05:43:39 +00:00
Tim Kientzle
011a0a0432
Performance: If the dir mode requested is "reasonable", then just
...
restore it directly and skip chmod() during the post-extract fixup.
In particular, bsdtar -xm now completely skips the post-extract fixup
for directories, which produces a noticable speedup in that case.
2006-10-04 02:08:04 +00:00
Andrey A. Chernov
f68412f927
Automatically re-stir every 400000 calls
...
Obtained from: OpenBSD
2006-10-04 01:17:23 +00:00
Ruslan Ermilov
aed19ad525
Format the list of commands so that the output looks nicer,
...
by putting command aliases on the adjacent lines.
Prodded by: bde
2006-10-03 21:06:19 +00:00
Robert Watson
531147aa3e
Regenerate.
2006-10-03 20:48:11 +00:00
Robert Watson
dfb041ca62
Change getpagesize() system call audit event to more clearly indicate
...
that we don't audit it.
MFC after: 3 days
Obtained from: TrustedBSD Project
2006-10-03 20:48:03 +00:00
Robert Watson
888db9e177
Audit creat() system call (compat code), and change type for getpagesize(),
...
which isn't actually being audited anyway.
MFC after: 3 days
Obtained from: TrustedBSD Project
2006-10-03 20:46:52 +00:00
Robert Watson
42edcb0058
Add BSM conversion switch entries for a number of system calls, many
...
administrative, to prevent console warnings and enable basic event
auditing (generally without arguments).
MFC after: 3 days
Obtained from: TrustedBSD Project
2006-10-03 20:43:48 +00:00
Dag-Erling Smørgrav
497e3d52a4
Tweak ifdefs for backward compatibility.
2006-10-03 11:33:25 +00:00
Konstantin Belousov
30af71199e
Fix the remaining race in the revs. 1.232, 1,233 that could occur during
...
unmount when mp structure is reused while waiting for coveredvp lock.
Introduce struct mount generation count, increment it on each reuse and
compare the generations before and after obtaining the coveredvp lock.
Reviewed by: tegge, pjd
Approved by: pjd (mentor)
MFC after: 2 weeks
2006-10-03 10:47:04 +00:00
Gleb Smirnoff
9a3fc40a26
Remove 3Com 985 deviceid that is really ti(4).
...
Submitted by: erwin
2006-10-03 09:31:49 +00:00
Ian Dowse
dff926577b
Fix compile in non-debug case.
2006-10-03 08:38:08 +00:00
Warner Losh
61db6a13b0
aic_pccard_products can be static.
...
Noticed by: cscope
2006-10-03 04:51:18 +00:00
John Birrell
678faae279
Solaris compatibility only: Be specific about the fact that
...
the inline function takes no arguments.
2006-10-03 04:01:30 +00:00
Ian Dowse
9c63c3f400
When changing the device address and max packet size in usbd_new_device(),
...
close and re-open the default pipe instead of relying on the host
controller driver to notice the changes. Remove the unreliable code
that attempted to update these fields while the pipe was active.
This fixes a case where the hardware could cache and continue to
use the old address, resulting in a "getting first desc failed"
error.
PR: usb/103167
2006-10-03 01:13:26 +00:00
Ian Dowse
a55e16f4f7
Don't attempt to insert the transfer in an error case where it has
...
already been inserted.
2006-10-03 01:04:11 +00:00
Warner Losh
c23b8029f1
Enable gdb on the arm. Some time ago I committed it, but had forgotten to
...
enable it here.
Noticed by: cognet
2006-10-03 00:03:30 +00:00
Ariff Abdullah
3f630febba
Backout remaining changes that make most AD1981B users unhappy.
...
The exact situation is understood, and proper solution will follow
sooner.
2006-10-02 20:46:34 +00:00
John Hay
ae0ddac700
Hopefully the last tweak in trying to make it possible to add ipv6 direct
...
host routes without side effects.
Submitted by: JINMEI Tatuya
MFC after: 4 days
2006-10-02 19:15:10 +00:00
Brooks Davis
12d828393a
Pull in /etc/rc.conf.d/network so that ifconfig_<if> variables can be
...
set there. This is required for consistency with /etc/rc.d/netif.
PR: conf/103893
Submitted by: Nick Hibma <nick at anywi.com>
MFC after: 3 days
2006-10-02 18:50:58 +00:00
Poul-Henning Kamp
e5037a18a9
Use utc_offset() where applicable, and hide the internals of it
...
as static variables.
2006-10-02 18:23:37 +00:00
John Baldwin
948170b7d4
Trim trailing whitespace.
2006-10-02 18:16:29 +00:00
John Baldwin
278d119ae6
Update description of td_locks.
...
MFC after: 3 days
Requested by: pjd
2006-10-02 17:48:13 +00:00
Poul-Henning Kamp
60e88b878c
Use calendrical calculations from subr_clock.c instead of home-rolled.
2006-10-02 16:32:36 +00:00
Ariff Abdullah
0f219a5803
- Streamline quirks management for a better future.
...
- Fix support for ASUS M5200ae (buggy BIOS)
- Fix few problems, reported by Coverity Prevent (TM).
CID: 246991, 246676, 246675, 246674, 246477
Found by: Coverity Prevent (TM)
2006-10-02 16:30:04 +00:00
Poul-Henning Kamp
add846a989
Use Calendrical Calculations from subr_clock.c instead of home copy&pasted.
2006-10-02 16:21:16 +00:00
Poul-Henning Kamp
e4c9547050
Use calendaric calculation support from subr_clock.c instead of home-rolled.
...
Eventually, this RTC should probably use subr_rtc.c as well
2006-10-02 16:18:40 +00:00
Poul-Henning Kamp
f97c1c4bf7
Introduce utc_offset() to capture a calculation currently done all over the
...
place.
2006-10-02 16:17:23 +00:00
Poul-Henning Kamp
8e52f5465d
remove orphaned sysctl_machdep_adjkerntz()
2006-10-02 16:08:20 +00:00
Poul-Henning Kamp
94d67e0fb8
Move tz_minuteswest and tz_dsttime to subr_clock.c
2006-10-02 16:06:26 +00:00
Ruslan Ermilov
1997f96b85
Ignore the UKBD_DFLT_KEYMAP option when compiling as a module.
...
The parallel LINT build sometimes broke if kernel-depend wasn't
fast enough in generating ukbdmap.h. If someone thinks this
option would still be useful for the module, a proper fix is
to add the code generating ukbdmap.h into modules/ukbd/Makefile
and backing this change out.
2006-10-02 16:02:41 +00:00
Poul-Henning Kamp
b69f71eb29
Second part of a little cleanup in the calendar/timezone/RTC handling.
...
Split subr_clock.c in two parts (by repo-copy):
subr_clock.c contains generic RTC and calendaric stuff. etc.
subr_rtc.c contains the newbus'ified RTC interface.
Centralize the machdep.{adjkerntz,disable_rtc_set,wall_cmos_clock}
sysctls and associated variables into subr_clock.c. They are
not machine dependent and we have generic code that relies on being
present so they are not even optional.
2006-10-02 15:42:02 +00:00
Ariff Abdullah
4f53344b73
Disable ad1981_patch for now until the real solution can be found
...
and makes everybody happy.
2006-10-02 15:32:12 +00:00
Ariff Abdullah
aab23ae39a
Make this buildable on IA64.
...
Reported by: phk
2006-10-02 15:26:37 +00:00
Poul-Henning Kamp
f645b0b51c
First part of a little cleanup in the calendar/timezone/RTC handling.
...
Move relevant variables to <sys/clock.h> and fix #includes as necessary.
Use libkern's much more time- & spamce-efficient BCD routines.
2006-10-02 12:59:59 +00:00
Dag-Erling Smørgrav
77ec673a84
Regenerate; no effect on the code as it doesn't actually use the handful of
...
conditionals that changed in this revision.
2006-10-02 12:45:27 +00:00
Dag-Erling Smørgrav
e66498cd40
Update configure options and add some missing steps.
...
The section about our local changes needs reviewing, and some of those
changes should probably be reconsidered (such as preferring DSA over RSA,
which made sense when RSA was encumbered but probably doesn't any more)
2006-10-02 12:39:28 +00:00
Andre Oppermann
b2c1b09193
Connect hash(9) to the build and add MLINKS for all functions.
...
Pointed out by: ru
2006-10-02 11:51:25 +00:00
Robert Watson
3c1b7e8b4d
Trim some no longer XXX comments.
...
Remove some commented out debugging printfs.
MFC after: 3 days
Obtained from: TrustedBSD Project
2006-10-02 11:32:23 +00:00
George V. Neville-Neil
90ce6fa1c8
Turn off automatic link local address if ipv6_enable is not set to YES
...
in rc.conf
Reviewed by: KAME core team, cperciva
MFC after: 3 days
2006-10-02 10:13:30 +00:00
Jens Schweikhardt
09a66bda90
Correct some grammos.
2006-10-02 08:55:54 +00:00
Yaroslav Tykhiy
4af42c2cb1
debug() shouldn't misidentify itself to logger(1).
...
Noticed by: David Thompson <dat1965 yahoo com>
2006-10-02 08:20:37 +00:00
Konstantin Belousov
7251f55777
Remove long untrue note about storing state information inside free items.
...
OKed by: rwatson, tegge
Approved by: pjd (mentor)
MFC after: 1 week
2006-10-02 07:27:00 +00:00