rmind
f499d5e662
Use PRI_BIO for kthreads instead of PINOD. Fixes a missed case of priority
...
inversion, which caused LFS to fire some assertions.
Reported by Kurt Schreiner on <current-users>.
2007-11-10 18:53:57 +00:00
pooka
6b4d0688e7
Cache readlink results similarly to attributes. Makes "cd" fast
...
for a slow connection if a symlink is along the path.
(this should be done elsewhere, but I want it for sshfs now)
2007-11-10 18:36:06 +00:00
ad
0f8b0df960
Call ttyflush() with tty_lock held.
2007-11-10 18:29:36 +00:00
ad
d6bd505623
zsstart, zstty_txsoft: don't acquire tty_lock, it's already held.
2007-11-10 18:07:53 +00:00
pooka
655af89222
Fix more uninitialized uses of variables.
...
noticed by lukasz.siemiradzki
2007-11-10 18:03:15 +00:00
ad
61eac7ea23
Call ttyoutput/ttstart with tty_lock held.
2007-11-10 18:00:11 +00:00
ad
9892c881ed
Put back equivalent change to rev 1.189 which was lost:
...
setrunnable: adjust to slightly different locking strategy post
yamt-idlewlp. Should fix kern/36398. Untested due to connectivity issues.
2007-11-10 17:45:10 +00:00
dsl
8e547d329f
Compat pecoff uses the standard netbsd system call interface.
2007-11-10 14:41:51 +00:00
dsl
ddd89ca02b
regen
2007-11-10 13:24:27 +00:00
dsl
b6b07a31fd
Mark 'syscall' as 'NOARGS INDIR"
2007-11-10 13:23:18 +00:00
dsl
84e8b2869e
Support "NOARGS INDIR" for compat_mach.
2007-11-10 13:22:11 +00:00
dsl
3f7d4f8a4a
Re-instate COMPAT_PECOFF, it is largely userspace and can use the standard
...
syscall table.
2007-11-10 13:17:24 +00:00
yamt
39ae1abcc0
g/c MBUFTRACE_ASSERT
2007-11-10 13:06:23 +00:00
plunky
fb65dc6e6b
'struct device *' -> 'device-t'
2007-11-10 12:33:21 +00:00
yamt
bea40b2aa3
don't bother to print unmaintained statistics. (m_drops, m_wait)
2007-11-10 12:05:08 +00:00
dsl
db27b89936
Pecoff lkm doesn't need its own syscall table, remove and reinstate lkm build.
...
Add in pecoff_exec.c to lkm !
2007-11-10 09:43:13 +00:00
dsl
2cabf5c1f0
Remove the pecoff system table defines, they aren't needed since the
...
emulation uses a user-space library and normal netbsd calls.
2007-11-10 09:41:01 +00:00
xtraeme
91551751e7
Add another flag that is set only when the event was enqueued
...
(and its dictionary created) successfully and use it in the
POWER_EVENT_RECVDICT ioctl to check if the dictionary is ready before
calling prop_dictionary_copyout_ioctl().
This fixes a rare condition when too many events are enqueued and
there wasn't time to create the dictionary, so prop_dictionary_copyout_ioctl()
fails with a NULL pointer dereference.
2007-11-10 09:32:24 +00:00
yamt
110566cad5
install kmem.h for pstat.
2007-11-10 07:41:51 +00:00
yamt
d4b8e5537d
for PR_NOTOUCH pool_item_header, use a bitmap rather than a freelist.
...
it saves some space and allows more items per a page.
2007-11-10 07:29:28 +00:00
marty
673ffdc2c8
Adding myself as per Welcome email.
2007-11-10 07:28:17 +00:00
yamt
86b2bae272
malloc -> kmem_alloc.
2007-11-10 07:23:10 +00:00
macallan
729749e0e4
unbork the initial console for macppc
...
ofb_cnattach() has nothing to do with ofb (anymore) - it's simply a dumb
rasops console we use until a real wsdisplay driver attaches, therefore
it needs to be #if NWSDISPLAY > 0, not NOFB > 0
Should probably be renamed to avoid future confusion.
2007-11-10 04:26:51 +00:00
ad
65b374fb48
Back out the tmpfs changes; there appears to be a bug lurking.
2007-11-10 03:36:16 +00:00
atatat
e1aff854df
Put back the NetBSD tag
2007-11-10 03:12:10 +00:00
cube
66796c65e4
Make the "machine" statement define attributes for machine',
arch' and
...
all the `subarch' given as parameters. This is useful in combination with
ifdef...
2007-11-10 00:15:43 +00:00
dyoung
5121052595
Use sockaddr_in6_init().
2007-11-10 00:14:31 +00:00
dyoung
c44fbd164e
Use sockaddr_in6_init(). Use a static initializer for all1_sa.
...
Constify a cast (may as well). No functional change intended.
2007-11-10 00:07:57 +00:00
dyoung
db42e9d78b
Use sockaddr_in6_init().
2007-11-10 00:05:57 +00:00
dyoung
94b72f0f97
Change macros SYN_CACHE_PUT() and SYN_CACHE_RM() into inline
...
subroutines syn_cache_put() and syn_cache_rm().
2007-11-09 23:55:58 +00:00
dyoung
9250821580
KNF. Remove superfluous casts and parentheses.
2007-11-09 23:53:13 +00:00
dyoung
e54fbb261f
Use sockaddr_in_init(). KNF. No functional change intended.
2007-11-09 23:42:56 +00:00
cube
656cdcc8fb
Add support for "ifdef <attribute>" blocks. It goes like this:
...
ifdef <attr> / ifndef <attr>
elifdef <attr>
elifndef <attr>
else
endif
No indentation is possible for now, it will come later.
2007-11-09 23:41:08 +00:00
christos
26515bc536
make the last argument of procfs_dir size_t
2007-11-09 22:45:49 +00:00
dsl
06f703623d
Remove COMPAT_PECOFF from all - I suspect is doesn't build anymore,
...
and isn't worth fixing :-)
2007-11-09 22:31:47 +00:00
dsl
0588a2274c
Do not build pecoff any more.
...
I don't think the code was ever more that a thought-project!
Certainly it shouldn't be using the netbsd system call table!
Probably all of compat/pecoff wants nuking.
2007-11-09 22:27:08 +00:00
plunky
3f86762d59
mention btkey(1)
2007-11-09 21:29:21 +00:00
plunky
e5a7441d16
Add a new utility 'btkey' for managment of Bluetooth Link Keys stored
...
in the NetBSD key cache (/var/db/bthcid.keys) and Bluetooth controller
memory.
2007-11-09 21:18:22 +00:00
plunky
985d6fdf0b
Do not use insque/remque from libkern; they are about to be removed.
...
As an interim measure while the netiso code is being converted to
use queue(3) macros, define and use our own private equivalent
functions iso_insque/iso_remque.
2007-11-09 21:00:05 +00:00
macallan
f9f695f535
turn the channel lock into a spin mutex at IPL_NONE so it resembles the
...
simplelock it used to be
With this my macppc boxes no longer deadlock when init sets up serial ports
2007-11-09 20:31:16 +00:00
plunky
d6ed949b20
Fix ServiceSearchAttribute and ServiceSearch request handling
...
so that they match the whole list of UUIDs against a record,
as according to the spec
each profile now supplies a list of UUIDs instead of just a
service class.
2007-11-09 20:08:40 +00:00
njoly
d16de24e5a
Make linux32_sys_oldolduname use LINUX_UNAME_ARCH instead of machine,
...
like other uname syscalls. While here, remove unneeded
LINUX_UNAME_ARCH #ifdef/#endif checks.
2007-11-09 17:43:17 +00:00
matt
9973b5d165
Change MOWNER_INIT to use C99 structure initializers.
2007-11-09 16:58:19 +00:00
vanhu
e76e80b28b
From Arnaud Ebalard: some sanity checks, debug, and a better matching of SPD entries in getsp_r()
2007-11-09 16:28:14 +00:00
vanhu
faf3c4a53b
From Arnaud Ebalard: Some sanity checking in pk_recv()
2007-11-09 16:27:58 +00:00
vanhu
70597b6cab
From Arnaud Ebalard: Better matching of SPD entries in getsp_r().
2007-11-09 16:27:47 +00:00
vanhu
cd8d63d79e
From Arnaud Ebalard: Added some debug in get_proposal_r().
2007-11-09 16:27:42 +00:00
dsl
2f3bd6bcd6
netbsd32_SYS_MAXSYSCALL -> NETBSD32_SYS_MAXSYSCALL
2007-11-09 15:40:42 +00:00
dsl
ee077208d9
Regen
2007-11-09 15:10:27 +00:00
dsl
3107f9cd42
Add arguments to sys_syscall and sys___syscall.
...
Use MI wrappers for them in netbsd32.
Change prefix for constants from netbsd32 to NETBSD32 (used in #defines etc).
2007-11-09 15:05:33 +00:00