Commit Graph

160700 Commits

Author SHA1 Message Date
pooka 2f6b69c368 Use ioctl(PUFFSREQSIZEOP) instead of mount(MNT_GETARGS) to fetch
the maximum request size after mount.  Calling mount(MNT_GETARGS)
from the file server is currently not kosher, as it vrele()s the
root vnode, potentially causing an inactive, which the file server
cannot handle while it itself is inactive in the kernel (deadlock).
2007-07-19 07:54:46 +00:00
pooka 09fe9d53cd define PUFFSREQSIZEOP ioctl, which can be used to fetch the
maximum request size
2007-07-19 07:52:45 +00:00
daniel 02dcfb175e Add the '-E' option to interpret regexes as extended regexes. While we
are here, fix ordering in usage information by putting '-X' in the proper
place.

Addition of '-E' was discussed on tech-userlevel.
2007-07-19 07:49:30 +00:00
pooka 638ce78980 stuff 2007-07-19 07:48:10 +00:00
lukem 9159f5b246 Support an explicit Q_error return from inquire(), which is returned
if there was an error on reading the reply.
Stops an infinite loop if you ^D the query.
2007-07-19 05:43:23 +00:00
xtraeme a71b3e13ac Apply some indent to recent changes. 2007-07-19 00:28:47 +00:00
xtraeme 9b54edd947 Maintain a SLIST per device to check for unique descriptions and do not
create any dictionary if it's duplicated. Only the first sensor that has
a unique description will be added.

Remove all elements from the list at sysmon_envsys_unregister() time and
free resources associated with it.
2007-07-19 00:12:47 +00:00
dyoung b22ec706cf Fix the kthread_create(9) call so this compiles again. 2007-07-19 00:00:09 +00:00
wiz 4213bf340c Uppercase logical OR operator. 2007-07-18 23:34:23 +00:00
mgrooms 9b7e05e155 Various racoon configuration manpage updates. 2007-07-18 22:50:47 +00:00
pooka d8a510556e get rid of DBG= 2007-07-18 22:38:58 +00:00
pooka 9651f40228 update 2007-07-18 22:23:37 +00:00
pooka ff87a004d6 Don't stay on the foreground and dump operations by default.
XXX: someone(tm) should make it possible to set PUFFS_OPFLAG_DUMP
using the fuse options framework
2007-07-18 22:05:41 +00:00
pooka 81ec5d68ec uncomment puffs_node_seek - it's supported and in use 2007-07-18 21:41:06 +00:00
pooka 46bd6a6148 puffs_cid* is always const 2007-07-18 21:24:40 +00:00
pooka e9d0d9309a kill MFSNAMELEN limit 2007-07-18 21:08:35 +00:00
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