jnemeth
2f4c83c097
PR/36626 - Jukka Salmi -- fails to compile if DEBUG is defined
2007-07-10 23:50:35 +00:00
ad
ce6391eedf
kthread_exit: l->l_name could be NULL.
2007-07-10 23:06:56 +00:00
perseant
9a05fc1f4a
Move the "vp = NULL" assignment after the code that requires vp != NULL.
...
Reported by Chris Ross on current-users.
2007-07-10 23:06:24 +00:00
ad
010df7a998
Make the regression test build again.
2007-07-10 22:58:54 +00:00
ad
7a863e51a0
Adjust to match callout_init signature change.
2007-07-10 22:53:29 +00:00
jmcneill
afa3505c29
Make trpt build again, based on recent netstat changes.
2007-07-10 22:23:13 +00:00
ad
56161147f6
Define _CALLOUT_PRIVATE.
2007-07-10 21:26:00 +00:00
ad
75ff053010
Make netstat build again. I don't see why it has any business dumping
...
the raw contents of tcpcb but that's another story.
2007-07-10 21:12:32 +00:00
ad
80da99483e
Don't exit an unheld mutex.
2007-07-10 21:05:03 +00:00
christos
04ecc134a7
fix printf format.
2007-07-10 18:25:50 +00:00
dsl
b2278f08fe
Put the 2 extra ioctls I added recently inside '#ifdef _KERNEL' and adjust
...
comments.
2007-07-10 17:16:49 +00:00
he
ff92ad95e2
Protect the initialization of xen_timepush_co with #ifdef DOM0OPS,
...
like its declaration and other uses.
2007-07-10 16:27:58 +00:00
he
bad1d53b6a
Add an IPL_VM argument to comply with the new vmem_create() prototype,
...
as per hint from ad@.
2007-07-10 16:23:26 +00:00
christos
4d0c78dab0
PR/36624: Edgar Fu: sshd should not check pw_{expire,change} if UsePam is
...
enabled. This is what the "portable" version of openssh does.
2007-07-10 15:48:56 +00:00
christos
a39c84a8c3
PR/36623: Edgar Fu: ssh publickey authentification fails if homedir not present
...
Removed extra realpath check that was introduced by a bogus merge.
2007-07-10 14:56:25 +00:00
nonaka
faf0f43647
Fix compile failure occured kthread API changes.
2007-07-10 13:55:20 +00:00
yamt
cebe06e8e7
use pthread_create instead of fork.
2007-07-10 13:52:51 +00:00
tsutsui
12b13f1335
Fix more pesudo.
2007-07-10 12:15:00 +00:00
xtraeme
44af43c54b
Add wpi(4).
2007-07-10 11:23:21 +00:00
hannken
af689d2468
Restore the special lkt_held handling for softdep_disk_write_complete().
...
No more panics 'worklist_remove: lock not held' on DEBUG kernels.
Ok Andrew Doran <ad@netbsd.org>
2007-07-10 10:47:07 +00:00
hannken
149abfc10f
Move `struct dquot' and its supporting functions from quota.h to ufs_quota.c.
...
- Make quota-internal functions static.
- Clean up declarations in quota.h and ufs_extern.h. quota.h now has the
description of quota criterions, on-disk structure, user-kernel interface and
declaration of init/done functions. All ufs quota related function
prototypes go to ufs_extern.h.
- New functions ufsquota_init() and ufsquota_free() create or destroy the
quota fields of `struct inode'.
- chkdq() and chkiq() always update the quota fields of `struct inode' first.
- Only ufs_access() explicitely calls getinoquota().
No objections on tech-kern@
2007-07-10 09:50:07 +00:00
yamt
f71c4c0db9
sme_events_init: create seewq with IPL_SOFTCLOCK as it's accessed by a callout.
2007-07-10 06:32:08 +00:00
jklos
7e18461fc5
More updates to the cxgb stuff. Now it actually starts configuring and
...
talking to the hardware.
2007-07-10 06:07:54 +00:00
dogcow
7b060c43f2
exposure of bool elsewhere in the code requires the addition of stdbool;
...
in addition, proc.c cleverly has a variable that was initially defined "int",
but had in the actual declaration "bool". oops.
2007-07-10 00:30:23 +00:00
ad
f7a8990f7b
warning: 'apm_create_thread' declared 'static' but never defined
2007-07-09 22:58:52 +00:00
ad
6e8c73f729
- struct proc *sc_thread;
...
+ lwp_t *sc_thread;
2007-07-09 22:56:41 +00:00
ad
e8f24929ec
Fix build with DEBUG.
2007-07-09 22:52:14 +00:00
ad
7e7fac7f09
Fix merge botch.
2007-07-09 22:44:07 +00:00
ad
dea8adf74d
'true' is a C99 keyword.
2007-07-09 22:28:13 +00:00
ad
57410029b0
Initialize callouts before use.
2007-07-09 22:24:38 +00:00
ad
164b0dbd39
Include stdbool.h for !_KERNEL.
2007-07-09 22:19:04 +00:00
ad
9c0dbdfc6e
Fix 'duh' moment.
2007-07-09 22:08:18 +00:00
ad
c63e04d3bd
We got LWPs years ago..
2007-07-09 22:02:00 +00:00
ad
c21083c17f
s/pagedaemon_lwp/pagedaemon_proc/
2007-07-09 21:55:10 +00:00
ad
12ce333b02
Don't use lwp_t in areas not protected by _KERNEL.
2007-07-09 21:54:10 +00:00
he
72c424ca31
Bump the disk image from 3200 to 3500k so that the contents fits again.
2007-07-09 21:35:59 +00:00
ad
e05e11c21a
Fix build when not !NFSSERVER.
2007-07-09 21:29:09 +00:00
ad
fc9f914da6
4.99.23 - partial merge from the vmlocking branch.
2007-07-09 21:13:56 +00:00
ad
88ab7da936
Merge some of the less invasive changes from the vmlocking branch:
...
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
degroote
317bac119f
Fix some conflicts in my previous commit.
...
Sorry for the bad commit
Thanks to dogcow@ for the report.
2007-07-09 20:29:06 +00:00
degroote
7440188711
Update the man page to reference the use of a new firmware for wpi.
2007-07-09 19:59:40 +00:00
degroote
825b897d9b
Sync the driver with the OpenBSD one
...
1/ Update the driver to use the new firmware images from Intel (2.14.3.)
2/ Read the list of supported channels from the EEPROM instead of having
it hard-coded in the driver.
3/ Limit output power to what is specified in EEPROM.
4/ Decrease output power for highest OFDM rates to reduce distortion.
5/ Automatically adjust output power to temperature changes for increased
throughput and range.
6/ Attach the adapter's onboard thermal sensor to the sensor framework.
7/ Replace 'magic' fields in structures with their correct definitions.
8/ Rewrite the firmware load in order to reduce the diff with OpenBSD one
NOTE2: you must install sysutils/wpi-firmware2 in order to use the new
driver
NOTE2: if you are using a channel not allowed by the regulatory domain
of your adapter, you will no longer be able to associate.
Thanks a lot for his hard work to damien@OpenBSD.org
2007-07-09 19:38:51 +00:00
gdt
413bfc8b37
ipsec4_splithdr: If m_len is too short, printf and drop it instead of
...
panicing. Perhaps should be a pullup instead. This happens very
occasionally on an ultrasparc with tunnel-mode ESP.
2007-07-09 19:11:05 +00:00
jmmv
899297d564
Treat -cxx-isystem as -isystem-cxx. Not really required by our code, but
...
I discovered this while trying to add a host tool written in C++.
2007-07-09 15:27:10 +00:00
tsutsui
e53c42e138
Hmm, pesudo seems pseudo of pseudo.
2007-07-09 11:46:21 +00:00
pooka
1828428de1
Don't drain a vnode's lock when we are cleaning it out. It still
...
might be used by upper layers in the vnode stack due to exported
lock pointers. This introduces no difference to the normal case
and works around a problem where a lower layer vnode is cleaned
out before the upper layer due to forced unmount or revoke. And
for cosmetics, set a vnode's lock export to NULL when it is cleaned
out.
per discussion with Bill Stouder-Studenmund on tech-kern
2007-07-09 11:35:20 +00:00
ad
73ebbed2a1
Remove kcont:
...
- There are no users in tree.
- Its functionality has largely been replaced by workqueues and generic
soft interrupts.
- It's not MP friendly.
2007-07-09 10:05:26 +00:00
pooka
fb503062d5
add IO_NDELAY
2007-07-09 09:28:48 +00:00
pooka
52c5d7c979
* support non-blocking read/write
...
* support seek (or actually support failing to seek ...)
2007-07-09 09:28:21 +00:00
jklos
b03f59f16f
Boo boo - .h files don't go in here...
2007-07-09 01:14:05 +00:00