roy
13ec3571ea
Import dhcpcd-5.0.5
2009-07-03 22:19:41 +00:00
elad
518bb3e503
Message queues also use genfs_can_access() to control access. Since the
...
latter might lose its KAUTH_GENERIC_ISSUSER check soon, add an internal
function, mqueue_access(), and call genfs_can_access() from it instead
so we don't pollute the main code path once we need to add a special
kauth(9) check for message queues.
No functional change, error codes preserved.
Related mailing list thread:
http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html
2009-07-03 21:32:09 +00:00
mrg
c2eb070e59
enable EXA and XAA.
2009-07-03 21:19:19 +00:00
pgoyette
caff4fea85
Remove an unused mutex. This was left-over from two years ago when
...
driver was updated to sysmon_envsys V2; a simple_lock was turned into
a mutex. But the only code that ever used the simple_lock was removed
so the mutex can also be removed.
Noticed by njoly@
2009-07-03 21:18:40 +00:00
elad
009f5d2f88
Where possible, extract the file-system's access() routine to two internal
...
functions: the first checking if the operation is possible (regardless of
permissions), the second checking file-system permissions, ACLs, etc.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html
2009-07-03 21:17:40 +00:00
roy
a0cd7e431b
Import dhcpcd-5.0.5
...
Changes since 5.0.4
* Fixed dstaddr detection for PtP links at startup
* Default to requesting MTU in dhcpcd.conf
2009-07-03 19:39:25 +00:00
njoly
fbe16f2ec1
Directory open with NT_SMBS capability require the NOPEN bit to be set
...
too.
2009-07-03 18:35:33 +00:00
tsutsui
a97d19521c
Replace traditional MD si_callback() with MI softint(9).
2009-07-03 17:05:54 +00:00
pgoyette
2d29649a47
Properly convert ACPI zone values to uKelvins.
...
Patch from njoly@
2009-07-03 15:34:10 +00:00
tsutsui
e5de2deeb2
Replace one traditional MD si_callback() with MI softint(9).
2009-07-03 14:00:41 +00:00
tsutsui
e8940e0b5d
Use more uint8_t, and constify.
2009-07-03 13:49:39 +00:00
tsutsui
21d83b6b0f
KNF, use uint8_t, and misc cosmetics.
2009-07-03 13:36:09 +00:00
drochner
49fc9bb35c
add SIS 740 to the list of chipsets known to implement PCI configuration
...
mode 1 incorrectly, from Jason White
(see thread "ACPI issue with old Shuttle system" on port-i386)
2009-07-03 13:15:22 +00:00
nisimura
523951e562
- replace splhigh() call with splraise(-1), requested by kiyohara.
2009-07-03 10:35:31 +00:00
nisimura
b521313cab
- adapt KURBOX/HG arrangements, requested and tested by kiyohara.
...
- make tlp.c suited for ADMTek/Infineon AN983B/BX.
2009-07-03 10:31:19 +00:00
tteras
3d0db58d61
Get rid of the evil CMPSADDR macro. Trac #295 .
2009-07-03 06:41:46 +00:00
tteras
edd4f79009
From Yvan Vanhullebus: Use SADB_X_EXT_NAT_T_* consistently for passing the
...
NAT-T port information. This might break compatibility with some kernels,
but as discussed this is the proper way to pass NAT-T ports and the broken
kernels need to be fixed.
2009-07-03 06:40:10 +00:00
mrg
74a0f508b7
create a /dev/dri/card0. fixes PR#40952.
2009-07-03 06:33:56 +00:00
rumble
b222d9680b
"unblocks the mutex" -> "unlocks the mutex"
2009-07-02 19:43:06 +00:00
dyoung
9044aa4f92
Use the keyword 'MAC' so that people looking for a way to change
...
their MAC address can find the example.
2009-07-02 18:43:47 +00:00
wiz
674e49816b
New sentence, new line. Remove unnecessary Bk/Ek pairs.
2009-07-02 18:32:04 +00:00
dyoung
53e43e1e70
Deprecate wiconfig's -r, -g, -m options. Note that equivalent
...
options are available in ifconfig(8).
2009-07-02 17:45:25 +00:00
reinoud
2a23ff6c30
Enhance dumping on buffer screwup. Also prevent races or invalid combinations
...
to exist for ecclines.
2009-07-02 16:56:35 +00:00
njoly
84a85be4f9
Fix some panics while trying to umount a smbfs share.
...
Be sure that no other active vnodes remains, before trying to release
the root one. Likewise, do not destroy the smbmount specific structure
if the umount will fail (busy conditions).
No objection from pooka@.
2009-07-02 16:17:52 +00:00
pooka
7146d4f874
slap a run-of-the-mill tnf copyright here
2009-07-02 12:56:40 +00:00
pooka
1a0b832e88
expose mkdir to in-kernel consumers
2009-07-02 12:53:47 +00:00
joerg
cdb510a7bb
Restore use of _lwp_makecontext, the AMD64 bug has been fixed.
2009-07-02 09:59:00 +00:00
joerg
9d87375b3e
Fix stack alignment for the thread stack. The AMD64 stack has 16 Bytes
...
alignment, but this is active before the return address is pushed onto
the stack. Fixes random crashes in va_start when the SSE registers are
saved.
2009-07-02 09:57:09 +00:00
mrg
983926d7bf
note that -t can take [.dddddd]. sort -q.
...
from dhgutteridge@sympatico.ca in PR#36928.
2009-07-02 04:45:27 +00:00
macallan
0c5e45033e
netbsdPci.c is no more
2009-07-02 04:27:47 +00:00
macallan
de0eabb5e4
we don't have or need SparcMulDiv.S
2009-07-02 04:27:05 +00:00
dyoung
ec3ba2c85b
In vndopen(), release the lock before returning ENXIO.
2009-07-02 02:06:11 +00:00
snj
55f8c3946f
Fix two problems in a conditional:
...
- __NetBSD__Version__ -> __NetBSD_Version__
- ">= 599001200" -> "< 599001200"
This worked on current because of the __ typo.
Spotted by Geoff Wing.
2009-07-02 01:43:15 +00:00
dyoung
7242213311
Extract subroutine dklastclose(). This is a step toward detachable
...
dk(4).
2009-07-02 00:56:48 +00:00
snj
b80e388902
Small grammar tweak.
2009-07-02 00:49:58 +00:00
snj
8f8fc136d7
nicknames.5: s/man-nis-catman/man-nis-man/. Spotted by Yorick Hardy.
2009-07-01 23:54:48 +00:00
joerg
c1faa994fd
Reduce diff to makecontext.
2009-07-01 16:54:41 +00:00
martin
061a87b549
From Wolfgang Stukenbrock in PR kern/41659: add missing splx().
2009-07-01 14:47:54 +00:00
tsutsui
fc984c2617
Define and use macro to calculate kernel physical addresses
...
after relocation to TT RAM. No binary changes.
2009-07-01 13:44:32 +00:00
wiz
e94ec523a3
Bump date for previous.
2009-07-01 11:25:50 +00:00
njoly
d90ab2e01d
Do not call callout_stop() unless the structure was previoulsy
...
initialised for a non null timeout.
2009-07-01 10:01:28 +00:00
mbalmer
cf8e7832f4
Fix write loop.
2009-07-01 07:49:12 +00:00
mrg
c5cc9dbb54
document RLIMIT_AS. text from freebsd. fixes PR#41517.
2009-07-01 06:01:42 +00:00
uwe
c03dac31b4
G/c sentence fragment left over from vinum reference (forgotten in 1.69).
...
Noticed by bad@ in PR bin/41652
2009-07-01 02:43:34 +00:00
martin
53822d1e78
Update fd_freefile when kqueue descriptors are not copied from
...
parent to child. From Wolfgang Solfrank in PR kern/41651.
Approved by Andrew Doran.
2009-06-30 20:32:49 +00:00
agc
0ff3383f59
Check that a filename has been given, where one has required. Fixes a bug
...
reported by Mark Kirby.
2009-06-30 18:54:20 +00:00
pgoyette
5de2729099
Change acpi_tz sensor behavior as follows:
...
1. ENVSYS_WARNOVER event is generated whenever any active cooling level
is exceeded.
2. ENVSYS_CRITOVER event is generated whenever _HOT limit is exceeded;
if the _HOT limit is not defined, then ENVSYS_CRITOVER will be
generated when the _CRT limit is exceeded.
3. For Passive Cooling Only mode, there will be no change in behavior.
Additionally, since there are specific actions taken at each of the Active
Cooling Levels (powering parts of a zone on or off), and the limits are not
user-programmable,
4. The {warn,crit}{min,max} threshold levels will be specified only
by the device itself; event reporting thresholds may not be set
from userland.
No comments received for two weeks after proposing these changes on both
current-users@ and tech-kern@
2009-06-30 16:14:49 +00:00
pooka
bbd95bc6d9
add reference
2009-06-30 15:28:01 +00:00
pooka
4d79e8c53d
Apply const where necessary (XXX: where is bf_locl.org?)
2009-06-30 13:14:40 +00:00
agc
80afc5a9cd
catch up with change of filename
2009-06-30 02:59:15 +00:00