Commit Graph

180256 Commits

Author SHA1 Message Date
njoly
692b478fd5 Add IPC_64 support to all semctl(2) commands, following corresponding
compat linux change.
2009-04-27 13:24:18 +00:00
joerg
5cef834a23 Add commented out hpet@ichlpcib entry. 2009-04-27 12:02:10 +00:00
nonaka
dcb81fa7ce Add sysmon for powerd. 2009-04-27 08:06:02 +00:00
snj
7548a3a557 Nuke some 5.0 stuff in preparation for 6.0. Sigh. 2009-04-27 00:07:06 +00:00
pooka
1a8a4475a6 avoid namespace collision. no functional change. 2009-04-26 22:26:59 +00:00
pooka
28e32e3408 Provide a stateful mode for readdir/read/write. Using them gives
a measurable boost to some fs-utils commands.
2009-04-26 22:23:01 +00:00
pooka
b12cf03935 Bump maximum number of outstanding async i/o's to 1024, 128 can
fill up really fast.
2009-04-26 21:39:10 +00:00
pooka
e2fddf883f * set syncdelay to 0 only if we don't have a syncer thread
* add some #if0'd debug code to unmount for printing event counters
2009-04-26 21:36:24 +00:00
pooka
e06cd50d97 Don't drop kernel lock twice inside same operation. 2009-04-26 21:30:43 +00:00
pooka
13bf8de01d prettyprint long line, no functional change 2009-04-26 20:45:37 +00:00
pooka
125fe29b5a fix uninitialized 2009-04-26 20:44:50 +00:00
pooka
aab61fc839 Fix getnano/microuptime to report actual uptime. 2009-04-26 20:41:24 +00:00
mlelstv
094ee5306f don't discard const qualifiers 2009-04-26 19:56:20 +00:00
mlelstv
4c90ae5cf0 don't discard const qualifiers 2009-04-26 19:24:18 +00:00
sborrill
ae2bdcdb20 Fix a lot more grammatical errors and inconsistencies (e.g. RiscOS -> RISC
OS).
2009-04-26 16:58:30 +00:00
agc
f5bbd5a825 Let's allocate enough space for the keyring structure, and not a pointer to it. 2009-04-26 16:55:44 +00:00
sborrill
d0ea34baab !SparkPlug, not !SparcPlug 2009-04-26 16:44:51 +00:00
tsutsui
70dab57692 Always make local functions static. Local symbols are still preserved
on link by ld(1) with -X option on most ports for debug.
2009-04-26 16:17:08 +00:00
christos
c37383f14b fix broken overflow test. 2009-04-26 15:55:50 +00:00
pooka
067a8b527b Use rump_sys_mount() instead of ukfs_mount(). Just a few more
steps and we can have a switch for if we want to run tests against
a rump kernel or a real kernel.
2009-04-26 15:15:38 +00:00
pgoyette
adaec344ee Catch up with recent changes to sys/proc.h (Hello, rmind!) 2009-04-26 14:37:03 +00:00
joerg
bfdba539cb Update build system for pkg_install-20090425. 2009-04-26 14:18:44 +00:00
nonaka
35df2d384d fix build broken.
Pointed by Takeshi Nakayama.
2009-04-26 13:05:55 +00:00
uch
c519d37fde added error check. 2009-04-26 12:41:59 +00:00
cegger
2cae64a195 check error code from bwi_attach() 2009-04-26 10:45:19 +00:00
cegger
394d81abd5 fix error handling 2009-04-26 10:26:54 +00:00
cegger
57fb22a89c device_t/softc split 2009-04-26 10:07:48 +00:00
cegger
c6c48498e2 prepare device_t/softc split 2009-04-26 09:56:46 +00:00
cegger
32e56df1e0 u_intNN_t -> uintNN_t 2009-04-26 09:47:31 +00:00
cegger
60326e09a5 - Fix error handling in attachment
- use aprint_*_dev
2009-04-26 09:12:33 +00:00
cegger
1ab9e723df detach ohci on shutdown 2009-04-26 08:54:13 +00:00
cegger
c398d65d42 Fix error handling. 2009-04-26 08:46:10 +00:00
elad
03d23b4d6b Authorizing actions from the generic scope using a device scope wrapper
is a big no-no.

As painful as it is, use kauth_authorize_generic() for now.
2009-04-26 07:53:43 +00:00
nonaka
9445e9e796 Added some command definitions. 2009-04-26 07:21:13 +00:00
cegger
c1bf5ecbc4 age_intr: don't return w/o ack. the interrupt.
Add a comment when this special case can happen.
2009-04-26 07:01:29 +00:00
cegger
f8c09ed139 fix error handling in lii_attach()
ok jmcneill@
2009-04-26 06:56:46 +00:00
lukem
10a1256f76 set WARNS=3 -- too many -Wsign-compare issues in the kernel ffs code 2009-04-26 05:57:48 +00:00
lukem
e92226ab69 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
Fixes PR bin/41283
2009-04-26 04:54:27 +00:00
tsutsui
d7ac09b75f - use (uint8_t *) for RX buffer
- remove unnecessary pointer casts
2009-04-26 02:25:57 +00:00
pgoyette
5dd6c0425b When drm is compiled in only for PCI devices, agp_flush_cache() is not
defined.  Wrap the call to it with #ifndef DRM_NO_AGP to avoid link
errors.
2009-04-26 02:23:26 +00:00
lukem
7a4c7e7ffc Fix WARNS=4 issues (-Wextra -Wcast-qual).
Resolves PR bin/41282
2009-04-26 01:51:07 +00:00
joerg
51e2fd09ed Import pkg_install-20090425:
Add logic to evaluate license conditions. As frontend for pkgsrc,
pkg_admin gets two new commands (check-license and
check-single-license), which can be used to evaluate a given condition.
pkg_add will be changed to honour licenses at a later point.
2009-04-25 21:38:18 +00:00
elad
f9642d24c5 Wrap some long lines in a comment, pointed out by ad@ - thanks!
While here, wrap two more long lines.
2009-04-25 21:26:20 +00:00
snj
54a18014ee Final round of INSTALL cleanups for 5.0. 2009-04-25 21:21:47 +00:00
rmind
79a49ca39e - Add kcpuset_iszero().
- Fix kcpuset_match().
2009-04-25 19:38:25 +00:00
elad
54bf8cc67a Add genfs_can_mount() and use it to prevent some more code duplication of
the security checks when mounting a device (VOP_ACCESS() + kauth(9) call)).

Proposed with no objections on tech-kern@:

	http://mail-index.netbsd.org/tech-kern/2009/04/20/msg004859.html

The vnode is always expected to be locked, so no locking is done outside
the file-system code.
2009-04-25 18:53:44 +00:00
elad
bab57db991 Replace a NULL check that can never fire with a KASSERT().
Okay ad@.

(this change was originally part of the following commit:
    http://mail-index.netbsd.org/source-changes/2009/04/25/msg220346.html)
2009-04-25 18:53:43 +00:00
elad
9670d2e41d Add genfs_can_mount() and use it to prevent some more code duplication of
the security checks when mounting a device (VOP_ACCESS() + kauth(9) call)).

Proposed with no objections on tech-kern@:

	http://mail-index.netbsd.org/tech-kern/2009/04/20/msg004859.html

The vnode is always expected to be locked, so no locking is done outside
the file-system code.
2009-04-25 18:53:43 +00:00
tsutsui
3777f91783 Use src/distrib/common/termcap.mini. 2009-04-25 18:39:47 +00:00
tsutsui
5a3df35d7b - remove gnu/usr.bin from SRCDIRS
- sort
2009-04-25 18:38:32 +00:00