Commit Graph

149010 Commits

Author SHA1 Message Date
itohy
3cb3cfb1dd Regen from pcidevs rev 1.807. 2006-07-18 14:21:02 +00:00
itohy
060bfcacf0 Identify vendor 0x1317, product 0x9511 as ADMtek AN983B,
since OpenSolaris says it is "ADMTek Comet 983b".
2006-07-18 14:19:14 +00:00
christos
6b7bf056a3 Remove comments that do not reflect reality anymore. 2006-07-18 14:00:40 +00:00
tsutsui
fd040c4006 Add and update misc items. 2006-07-18 13:24:39 +00:00
tsutsui
e621e8f3df - always enable options MIPS3_ENABLE_CLOCK_INTR so that spllowerclock(9)
works properly
  (XXX: the real fix is to implement proper CLFK_BASEPRI())
- prepare an independent statclock(9) handler which use MIPS3 CPU internal
  clock interrupt. Enabled by options ENABLE_INT5_STATCLOCK, but not enabled
  by default.
2006-07-18 12:51:01 +00:00
tsutsui
fe55d37a26 Remove obsolete comment. 2006-07-18 12:21:42 +00:00
jnemeth
cf6a192ebc CID 2970: don't close a file that isn't open 2006-07-18 12:05:03 +00:00
jnemeth
f4f7b6192c PR/34028 -- add TBH to be honest 2006-07-18 09:33:50 +00:00
lukem
e728c9b011 gettext should .WAIT for autoconf.
(The former still doesn't seem to work on read-only source; separate issue)
2006-07-18 04:24:52 +00:00
salo
36848f108e G/C apm_power_print() for APM_POWER_PRINT case, make it compile.
ok <christos>
2006-07-17 21:04:17 +00:00
christos
52f01eaf1c remove lhs cast for gcc4 2006-07-17 19:29:31 +00:00
gdamore
df112a3055 Wait a little longer, because some devices (eg bt3c) take a few seconds to
enable when they are loading firmware so we need to wait a bit longer.

Patch from Iain Hibbert, at his request.
2006-07-17 19:20:16 +00:00
elad
8ee43586ab move the fileassoc_delete_file() call above the VOP_REMOVE() one, yamt@
says vp might not be valid after it.
2006-07-17 19:05:36 +00:00
elad
e93bf9ef64 correct documentation wrt/KAUTH_PROCESS_CANSEE. 2006-07-17 17:17:58 +00:00
ad
e7447d9340 - Always make p->p_cred a private copy before modifying.
- Share credentials among processes when forking.
2006-07-17 15:29:06 +00:00
ad
70611312d6 Sync with reality. 2006-07-17 15:14:14 +00:00
ad
16fc727817 Just use proc0.p_cred where root credentials are needed, instead of
allocating a new kauth_cred_t.
2006-07-17 14:49:16 +00:00
ad
2af3d29e01 - Don't cast kauth_cred_t to (struct ucred *), just set pc_ucred = NULL.
- Fill ucred::cr_ref.
2006-07-17 14:47:02 +00:00
ad
55a5faa1ef - Only acquire cr_lock when changing cr_refcnt.
- When freeing, test the value of cr_refcnt from inside the lock perimiter.
- Change some uint16_t/uint32_t types to u_int.
- KASSERT(cr_refcnt > 0) in appropriate places.
- KASSERT(cr_refcnt == 1) when changing the credential.
2006-07-17 14:37:20 +00:00
hubertf
7c79d661fa Mozilla -> Firefox 2006-07-17 14:21:19 +00:00
tron
c1af61f813 Avoid getting into a loop of "make cleandir" instances if the location
tool directory has been changed or wasn't recorded before.
2006-07-17 13:54:46 +00:00
christos
ef1750eb29 make APM_POWER_PRINT compile. 2006-07-17 13:23:46 +00:00
martin
5958a5d814 This requires <sys/lock.h> - make it include it directly. 2006-07-17 11:38:56 +00:00
martin
d91f1187f9 Back out previous - it apparently was not even compile tested. 2006-07-17 11:36:50 +00:00
tron
fe4611e56b Remove ".WAIT" again because it doesn't fix the problem. 2006-07-17 11:02:02 +00:00
kardel
e3768e33c9 - add check for kevent() timeouts
- use err() family for error reporting
2006-07-16 22:18:46 +00:00
christos
7358f7042d PR/34007: Noriyuki Shiota: vmstat fails on the multiboot kernel booted by
GRUB-0.97. Initialize some previously unititiazed ELF header fields.
2006-07-16 21:16:22 +00:00
elad
77de54cbf0 get rid of CURTAIN() macro. inline the last use of it, together
with a nice XXX comment (assigned to me of course) that we should
be doing this differently.
2006-07-16 21:13:00 +00:00
elad
d4410e6fde CURTAIN() -> KAUTH_GENERIC_CANSEE. 2006-07-16 20:21:42 +00:00
elad
d9a7152c3e add KAUTH_GENERIC_CANSEE, which is like the KAUTH_PROCESS_CANSEE, only
for two kauth_cred_t rather than kauth_cred_t and struct proc *.

advise against using it in the man-page; it should be used only in cases
where we either don't have an object-specific op or when we can't easily
use one.
2006-07-16 20:10:11 +00:00
tron
85fccc00b0 Remove C++ sources which are linked into the build area in "cleandir"
target. This fixes problems when trying to build another architecture
in the same source tree without using object dirs.
2006-07-16 19:54:21 +00:00
elad
9be7229906 expose less api; prompted by yamt@. 2006-07-16 19:37:55 +00:00
kardel
e804524e26 fix another t{s,v}tohz() fallout (invalid remaining time)
now passes regression/sys/kern/sleeping
2006-07-16 19:23:11 +00:00
kardel
e67415898c Add regressing test for timeout and sleep releated functions.
currently implemented tests:
	- check agreement of sleep time with real time (from system)
	  to be within 30ms
	- check for EINTR return code on processing SIGALRM signals
	- check for valid residual time if available from the interface
Tested interfaces:
	- nanotime(2)
	- select(2)
	- poll(2)
	- sleep(3)
2006-07-16 19:19:39 +00:00
elad
c6d34abf63 oops, forgot to commit that one. thanks Arnaud Lacombe. 2006-07-16 18:49:29 +00:00
jschauma
ed7c19f867 Add a regression test for cp(1) to test simple copying of files, directories
links etc.
This currently does not test the flags -i, -f, and -v.  It also does not
test removal of setuid or setgid bits if the owner can't be changed, nor
does it check creation of device nodes etc.
2006-07-16 16:26:10 +00:00
jschauma
471c8a8e68 return functionality backed out yesterday after fixing the bug I had
introduced before.  A regression test will be added to src/regress
shortly.
2006-07-16 16:22:24 +00:00
cube
b1b29cb4ae Remove that example. It was obsolete even before 3.0 release. 2006-07-16 10:52:22 +00:00
tnozaki
309c4c3cc7 corrrect invalid charset mask. 2006-07-16 10:42:26 +00:00
rillig
566c2a43ba Added an explicit statement about the differences between the user-space
snprintf and the kernel snprintf.
2006-07-16 08:25:07 +00:00
yamt
402cb9eb95 adapt to vfs_copyinfh -> vfs_copyinfh_alloc rename. 2006-07-16 07:52:02 +00:00
rillig
f2634b6a2b Reordered the declaration-specifiers so that "inline" comes before
"int", which fixes a gcc warning.
2006-07-16 06:32:42 +00:00
rillig
07e31b3af5 When debugging output is disabled, define DPRINTF() to a proper
statement expression instead of the empty string. Fixes a gcc warning in
ibcs2_ioctl.c.
2006-07-16 06:31:42 +00:00
tnozaki
41efa2e2cd 1. added CNS11643 plane 3 <-> UCS iconv data.
2. zh_TW.eucTW locale now supports CNS11643 plane 3 ~ 7
2006-07-16 06:13:29 +00:00
rillig
b102417f76 Fixed the gcc warning that "static" should come before "const". 2006-07-16 06:06:20 +00:00
rillig
e769ad7ca4 Added type information for the parameter r of isapnp_read_reg. 2006-07-16 06:01:03 +00:00
tron
903cbf25d1 Create and populate "/etc/bluetooth". Based on patch submitted by
Iain Hibbert on "current-users" mailing list.
2006-07-15 21:32:58 +00:00
gdamore
d5875505ba Remove unused memp. Fixes coverity CID 3713 from run 61. 2006-07-15 20:52:59 +00:00
jschauma
d8c803bc48 The last commit introduced a bug. Revert until that's found and fixed. 2006-07-15 20:42:55 +00:00
elad
4f60437127 minor api cleanup, and remove useless VOP_GETATTR() calls. 2006-07-15 20:07:36 +00:00