Commit Graph

182127 Commits

Author SHA1 Message Date
dholland
b00a6a7437 __attribute__((__noreturn__)) -> __dead 2009-07-04 03:27:57 +00:00
dholland
fbca3d8cfa ANSIfy function declarations. 2009-07-04 01:58:57 +00:00
dholland
d9fe3edadc Remove two more bogus casts. These *do* create object diffs on amd64,
for no clear reason, but it looks like the diffs are harmless.
2009-07-04 01:44:28 +00:00
dholland
07f4ebf08e Remove bogus casts. Two object file diffs inspected and found to be harmless. 2009-07-04 01:23:55 +00:00
dholland
6ffae66268 Remove a pile of bogus casts. One object file diff, crosschecked and
found harmless.
2009-07-04 01:01:18 +00:00
elad
1d5d8311da Fix cut/paste error and put back a missing variable. 2009-07-04 00:03:22 +00:00
pgoyette
c13b143ea3 Pass the vp arg to udf_check_possible() so we can access its v_mount
member.

XXX No idea if this is the right solution to this problem, but it does
XXX at least allow thebuild to continue.  The original committed should
XXX verify that this does what was intended!

(Hello again, Elad)
2009-07-03 23:14:11 +00:00
roy
5fc24a5e14 Fix date 2009-07-03 23:03:08 +00:00
pgoyette
c2a56cbb37 Define error before using it.
(Hello again, elad!)
2009-07-03 22:38:08 +00:00
hubertf
0a18836e5a Make the section on private networks more clear - inspired by RFC.
OK core@
2009-07-03 22:32:55 +00:00
pooka
512aa8b607 Fix utterly botched previous commit. efs compiles now and apprears
to work, but the person doing the original change should verify
that it actually works like before the change.

(hi, elad!)
2009-07-03 22:25:51 +00:00
pooka
3953343384 Build modules before rump libs so that something else can be
unwarrantedly blamed for a change.

This commit follows the style guide and is entirely non-build-tested.
2009-07-03 22:20:27 +00:00
roy
8c75820385 Sync 2009-07-03 22:20:09 +00:00
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