itojun
7f9bb4693b
missing systrace_lock() around lock operation. sync w/openbsd, provos ok
2002-07-21 00:25:01 +00:00
itojun
09168838b3
comment clarification. from openbsd
2002-07-20 00:03:08 +00:00
itojun
9aa540391b
add missing systrace_{un,}lock in systrace_poll. reported to provos.
...
don't use MALLOC() with variable size. from openbsd.
2002-07-19 23:55:01 +00:00
christos
100356d547
remove __GNUC__ lossage.
2002-07-16 19:53:37 +00:00
thorpej
64a96a4664
Rename DTYPE_SYSTRACE to DTYPE_MISC. DTYPE_MISC can now be used by
...
any misc. pseudo-device which requires cloning semantics.
2002-07-16 16:40:55 +00:00
thorpej
11bb3d047b
Avoid NULL pointer dereference. kern/17438, xs@kittenz.org.
2002-07-02 16:22:28 +00:00
thorpej
f055878614
Fix using poll(2) on systrace descriptors.
2002-07-02 16:16:33 +00:00
christos
c96f693db0
PR/17407: Jim Wise: Systrace does not work without procfs.
...
FIX: use process_domem as thorpej suggested.
2002-06-27 13:22:54 +00:00
thorpej
5cbb1e82f1
* Don't bother protecting the body of the source file with #ifdef SYSTRACE.
...
It's not even built if the option isn't present.
* Use cdev_decl() to generate prototypes for the devsw functions.
* Minor whitespace cleanup.
* Nuke the SYSTR_CLONE ioctl from orbit; instead, just clone it in
systraceopen(), like we do with svr4_net.
2002-06-18 01:24:15 +00:00
christos
acf2d4083d
Niels Provos systrace work, ported to NetBSD by kittenz and reworked...
2002-06-17 16:22:50 +00:00