Commit Graph

160484 Commits

Author SHA1 Message Date
xtraeme 4a393b31d2 - More changes related to locking.
- Add a condvar(9) to protect deletions on the list if there's an event
  in the worker thread.
2007-07-18 20:31:41 +00:00
xtraeme 711835b263 sme_make_dictionary: if prop_array_add() fails, don't forget to release
the dictionary. Pointed out by yamt@.
2007-07-18 20:23:10 +00:00
christos 0878f17383 PR/36665: Matthias Scheler: Thread support is not enabled in NetBSD's OpenSSL
I enabled it.
2007-07-18 20:19:56 +00:00
christos 85c806214a bump version 2007-07-18 20:17:27 +00:00
christos 9cd4e8de4b Bump minor for thread support. 2007-07-18 20:16:01 +00:00
dsl 9145137adc Fix the return value so the MNT_GETARGS returns 0, not the buffer length. 2007-07-18 20:10:47 +00:00
xtraeme fe7e9a002c - Cleanup sme_event_t: just use the struct work without any union and
remove the TAILQ.
- If prop_dictionary_set_* fails, do not release the object. The function
  calling it will release the object. Pointed out by yamt@.
2007-07-18 20:09:49 +00:00
ad 1c0f1b255b Fix fallout from recent kthread changes. 2007-07-18 19:04:58 +00:00
degroote aaae7fb8c2 Note that you need the 2.14.4 firmware now 2007-07-18 18:51:16 +00:00
degroote d1103dfaef change firmware loading code to adopt the new 2.14.4 firmware layout (from
OpenBSD).

While here, remove some dead code I added when I ported the code from OpenBSD.


IMPORTANT : You must download the 2.14.4 firmware or update your
sysutils/wpi-firmware2 to the last revision (2.14.4) or the driver will stop
working.
2007-07-18 18:49:16 +00:00
christos 8f80c199b2 remove uucp references; from Anon-Ymous 2007-07-18 18:36:57 +00:00
ad d3b878ab59 workqueue_destroy: fix a use-after-free. 2007-07-18 18:17:03 +00:00
drochner 46c0bdf123 stopgap fix: define PATH_IPSEC_H to make it build again
(added manually because there is no template in the distribution anymore)
2007-07-18 17:00:04 +00:00
drochner de07feb28f cast to void* to avoid a fatal warning 2007-07-18 16:58:14 +00:00
tsutsui 1eb143cb4c Use options<space><tab>. 2007-07-18 15:49:09 +00:00
tsutsui b0e549dc68 - add options COMPAT_40
- use options<space><tab>
2007-07-18 15:48:49 +00:00
tsutsui 56738a1953 Just include GENERIC and use <no> keyword of config(9). 2007-07-18 15:42:41 +00:00
tsutsui 64b3321eaf Make KGDB config files just include GENERIC{,3X} and
use <no> keyword of config(9).
2007-07-18 15:35:06 +00:00
tsutsui 958c1b32fc Add options COMPAT_40. 2007-07-18 15:19:07 +00:00
joerg 700b744d72 Remove files accidently commited in first import of pkg_install 2007-07-18 14:27:12 +00:00
joerg 764d59fb69 Import fix for the download-vulnerability-list script forgotten
in the original merge and remove a created file accidently added.
2007-07-18 14:23:32 +00:00
joerg 17c77a58f0 Fix SIGBUS issues on strict alignment issues. Use le32dec in RMD160
as the data pointer to RMD160_Update doesn't have to be aligned.
In SHA256_Update and SHA512_Update, only operate directly on the passed
in data if no left-over in the context exists and the data is correctly
aligned. The problem was exposed by the audit-packages rewrite in C
and reported for the libnbcompat version in PR pkg/36662.
2007-07-18 13:57:54 +00:00
briggs 883152ac0b Fix typo: mnfromname -> mntfromname. 2007-07-18 13:53:34 +00:00
tsutsui a02017d6e7 Don't set PSL_LOWIPL to SR on switching to lwp_trampoline().
If interrupts are enabled when kernel is switched to lwp_trampoline(),
we could get lock errors by interrupts before lwp_unlock() in lwp_startup()
is called. The spl is lowered by spl0() in lwp_startup() after lwp_unlock().

Ok'ed by mhitch@ and ad@ on port-mips.
2007-07-18 13:46:46 +00:00
skrll 3005a887df Note the nick-csl-alignment branch. 2007-07-18 13:28:20 +00:00
dsieger 2fb0acefe7 Sync with reality:
- cpu_switch() is gone.
- Adjust function prototypes and return values
- Add references to csf(9) and sched_4bsd(9).
- Bump date.
2007-07-18 12:43:12 +00:00
yamt cf50c51162 add kpause.9. 2007-07-18 12:19:44 +00:00
yamt 916da2eb8f document kpause. largely copied from condvar.9. 2007-07-18 12:18:06 +00:00
vanhu c3bc7fe364 use a single PATH_IPSEC_H to fix some path_to_ipsec.h issues 2007-07-18 12:07:49 +00:00
joerg 0ca21723a0 A number of queue(3) macros use NULL, so ensure that it is present. 2007-07-18 12:07:35 +00:00
uwe 0fbcabef5c Implement footbridge_mem_bs_mmap. Needed for mmaping igsfb(4)
framebuffer on netwinder.
2007-07-18 09:47:49 +00:00
lukem 00ff9c6dba Document about:ftp and about:version. 2007-07-18 06:40:01 +00:00
he 971b1c1aaf After the recent mount changes, COMPAT_AOUT_M68K now depends on COMPAT_40. 2007-07-18 06:29:26 +00:00
lukem 3ae239d786 Attempt to raise the default signal handler (SIG_DFL) when exiting
because of a signal, rather than just relying upon _exit(2).
2007-07-18 01:32:33 +00:00
lukem 2c1030d08e Attempt to raise the default signal handler (SIG_DFL) when exiting because
of a signal, rather than just relying upon exit(3).
2007-07-18 01:13:42 +00:00
lukem a93b9bed51 Remove duplicate printing of program name in panic().
Remove now-unnecessary global variable "namep".
2007-07-18 01:06:08 +00:00
christos 95405cdada PR/36664: Greg A. Woods: Document a simpler and safer way to find gcc's
pre-defined macros.
XXX: Where is the source of this file? Can we pass this upstream?
2007-07-18 00:00:21 +00:00
christos 7f593965ea cast sizeof() to int for printf widths. 2007-07-17 23:56:01 +00:00
christos b41e460cba kill MFSNAMELEN [the definition].
Next MNAMELEN.
2007-07-17 22:17:06 +00:00
christos 63bf90c624 Eliminate MFSNAMELEN 2007-07-17 22:00:46 +00:00
christos 9e211aafa1 Kill MFSNAMELEN 2007-07-17 21:50:07 +00:00
christos 6660b4f3b5 eliminate MFSTYPENAME 2007-07-17 21:36:18 +00:00
christos b1b89f5d46 eliminate MFSNAMELEN 2007-07-17 21:35:29 +00:00
christos c9d7b911ee Eliminate MFSNAMELEN 2007-07-17 21:26:41 +00:00
christos 785c01892b eliminate MFSNAMELEN 2007-07-17 21:20:43 +00:00
christos 3f6a396697 get rid of MFSNAMELEN 2007-07-17 21:15:41 +00:00
christos b50aaed545 - get rid of MFSNAMELEN
- use strlcpy instead of strncpy.
- make sure some uses of statvfs strings are NUL terminated
  XXX: more work needs to be done on that.
2007-07-17 21:14:05 +00:00
dsieger 55e48935f0 Remove references to SCHED_LOCK(9), which is gone. Slightly sync with
reality.

XXX: This needs more updates after idle-lwp changes.
2007-07-17 20:56:22 +00:00
christos f25f73fe50 include <compat/sys/mount.h> for MFSNAMELEN 2007-07-17 20:54:45 +00:00
christos 9558d8b2f1 include <compat/sys/mount.h> for MFSNAMELEN. 2007-07-17 20:53:49 +00:00