jruoho
ad57969cf2
Fix a roff warning.
2010-04-21 18:07:11 +00:00
jruoho
71e904f60f
Document __STRING(x) and __CONCAT(x, y) from <sys/cdefs.h>.
2010-04-21 18:04:38 +00:00
christos
9021b5c725
revert previous. it does not work properly.
2010-04-21 17:10:31 +00:00
pooka
34244e1069
Reduce #ifdef spew by attaching wapbl as a module.
...
(no, it's still too ifdef-ridden to be able to actually do anything
useful and module-like like load into any kernel)
2010-04-21 16:51:24 +00:00
drochner
14f78ca302
the correct check for BPF_K is with BPF_SRC for BPF_ALU ops, from
...
Guy Harris per PR kern/43185
fixes possible division-by-zero crashes by evil filter expressions
like "len / 0 = 1"
pullup candidate
2010-04-21 16:35:09 +00:00
pooka
4a383bb8da
Move sys_module from vfs to kern -- while modules cannot be loaded,
...
there's not forbidden about querying the list of (builtin) modules
even when running without vfs.
2010-04-21 16:29:08 +00:00
pooka
70e61cdef2
regen: get/setrlimit
2010-04-21 16:18:35 +00:00
pooka
593dfe42a8
make get/setrlimit as rump-capable
2010-04-21 16:17:04 +00:00
pooka
edc96984f5
support kern_resource
2010-04-21 16:16:31 +00:00
pooka
1ceaafde2e
dial . for operator
2010-04-21 16:09:11 +00:00
christos
21003f688c
don't try to build PIE binaries when LDSTATIC
2010-04-21 15:07:20 +00:00
christos
cf1f9ba391
move LDSTATIC before the includes because the rules need it early for
...
conditionals.
2010-04-21 14:58:10 +00:00
uebayasi
fdee31b059
Make this build.
2010-04-21 12:58:38 +00:00
pooka
77c91f3324
Move all signal-related from emul.c to signals.c. Additionally,
...
define a few alternate signal models for the rump kernel, including
ones where signals are ignored or sent to host processes.
2010-04-21 11:38:05 +00:00
pooka
2f75110c81
Add bpf program source in a comment.
2010-04-21 11:19:44 +00:00
pooka
a08942d291
Actually, support rumpuser_kill() only on NetBSD, since signal
...
numbers may not match on non-NetBSD hosts.
2010-04-21 11:16:41 +00:00
pooka
3cc6a65772
Add rumpuser_kill, which sends a signal to a host process.
2010-04-21 11:13:29 +00:00
pooka
4c1500491b
bend over
2010-04-21 11:11:32 +00:00
pooka
513ca2875b
Check that bpf doesn't accept programs with divide-by-zero in them.
...
Example filter from Guy Harris via PR kern/43185.
2010-04-21 11:07:34 +00:00
pooka
e213e0de8f
rumpfs is mpsafe (has always been), so mark it as such.
2010-04-21 07:35:12 +00:00
jruoho
273ed82be4
Finally, add FORTIFY_SOURCE also to the "table of contents".
2010-04-21 06:00:06 +00:00
wiz
8789b35b90
Fix typo.
2010-04-21 05:53:32 +00:00
jruoho
95e81d12f6
Refer to the generic ssp(3) instead of the specific __builtin_object_size(3).
2010-04-21 05:49:36 +00:00
jruoho
00a887d886
Fix a typo noted by wiz@.
2010-04-21 05:40:59 +00:00
jruoho
f861a6fb21
Add a paragraph also for "FORTIFY_SOURCE" (or USE_FORT).
2010-04-21 05:39:13 +00:00
jruoho
c5e0404b2a
Small improvements to wording and markup.
...
Note also the default use of SSP on x86.
2010-04-21 05:05:07 +00:00
sjg
862d4ff05d
If we do .export (all) and have any variables that involve :sh
...
we will hit an error (var is recursive) while trying to evaluate that.
Fix, and add a unit test for this.
2010-04-21 04:25:27 +00:00
jruoho
3ae479ecfd
Make the examples fit into 80 columns. Use .Tn.
2010-04-21 02:59:29 +00:00
dyoung
0c6d62cfe9
Change sc_pil_intr_enable from an int to a bool. No functional change
...
intended.
2010-04-20 23:39:10 +00:00
christos
22c1c07780
XXX: This is a hack, the note inclusion does not belong here, and
...
it belongs in a separate elf_nbsd.sh, included from elf_i386_nbsd.sh.
The problem is described in:
https://bugzilla.redhat.com/show_bug.cgi?id=492183#c7 , namely if
all the sections are not defined in the ld script, it can screw
up. This happens when building /usr/src/usr.sbin.crash with
MKPIE=yes. Thanks to Piotr Meyer for the report and analysis.
We don't need to fix any other archs yet (because crash only works on i386),
but we should. skrll should look into it, please :-)
2010-04-20 22:47:48 +00:00
dyoung
22f8c9421b
Re-uppercase x86_bus_space_io.
2010-04-20 22:37:25 +00:00
plunky
a5a749a5f7
C99 says that offsetof() expands to a constant expresssion, so we
...
can't use variable array index in there. Do the calculation manually
for C99 compilers (pcc)
2010-04-20 21:25:25 +00:00
joerg
8e57a02bae
Update for mdocml-1.9.23.
2010-04-20 18:08:08 +00:00
joerg
fe15f59037
Merge for mdocml-1.9.23.
2010-04-20 18:07:52 +00:00
joerg
7bcc2a5f4a
mdocml-1.9.23:
...
- Smaller bug fixes
- Relax some constraints that don't deal well with the real world usage
2010-04-20 18:05:55 +00:00
sjg
b7f72d44a7
Behavior of realpath() appears to vary.
...
To ensure consistent results, use stat(2) as a final check for success.
2010-04-20 17:48:16 +00:00
sjg
197caaa8e0
On some systems realpath will prefix make with cwd, so make sure
...
we can stat(2) the value for .MAKE
2010-04-20 17:18:08 +00:00
rmind
f08aebed01
sched_pstats: fix previous, exclude system/softintr threads from loadavg.
2010-04-20 16:49:48 +00:00
jym
6e8e516ce0
Enable the NX bit feature early in the MP trampoline code (do not rely on
...
cpu_init_msrs() to do it). Having NX bit set on a page will raise a #GP
on fetch if NXE is not enabled, which can happen early when structures
(like idlelwp) are allocated with just rw- rights.
2010-04-20 15:42:21 +00:00
jmcneill
ce4300c675
COMPAT_50 support for SPPP[GS]ETIDLETO and SPPP[GS]ETKEEPALIVE, ok martin@
2010-04-20 14:32:03 +00:00
wiz
283d4512d2
Make HTML-ready.
2010-04-20 13:03:33 +00:00
wiz
8489e58ac7
Fix xref.
2010-04-20 12:09:05 +00:00
jruoho
75868060a9
Document also kern.cryptodevallowsoft.
2010-04-20 08:37:22 +00:00
jruoho
88aba63225
Document kern.usercrypto and kern.userasymcrypto.
2010-04-20 08:27:24 +00:00
jruoho
b74a54b7d3
Document kern.arandom, and remove kern.autonicetime and kern.autoniceval.
...
XXX: Although no sysctl variables exist for the last two, these are still
defined in <sys/sysctl.h> and <sys/systm.h>.
2010-04-20 07:58:16 +00:00
jruoho
91d2b147e8
Add sublists to the security-tree.
...
In addition, some small fixes to spelling errors, wording, and markup.
2010-04-20 07:33:45 +00:00
jruoho
ce75213876
Document the kern.module node.
2010-04-20 06:22:52 +00:00
jruoho
cd3f365841
Mark nine undocumented kern.x nodes/variables with XXX. The total amount of
...
undocumented variables is well over twenty in the kern-subtree alone.
2010-04-20 06:12:06 +00:00
jruoho
54e937894d
Remove the block where the default address space handlers were manually
...
installed via AcpiInstallAddressSpaceHandler(). This was already commented
out because ACPICA does this for us when ACPI_NO_ADDRESS_SPACE_INIT is not
specified when calling AcpiEnableSubsystem().
2010-04-20 04:57:04 +00:00
jruoho
b9961a4e19
Instruct ACPICA to dynamically allocate the table descriptions in
...
AcpiInitializeTables() instead of pushing 128 statically allocated
descriptors. This will eliminate also the need to call
AcpiReallocateRootTable().
The rationale for the statically allocated table descriptors is to allow
initialization without virtual/dynamic memory. Later these should be copied
to dynamic memory via AcpiReallocateRootTable(). But since in NetBSD both
functions were called in the very same acpi_probe(), this dance was
completely unnecessary.
2010-04-20 04:53:22 +00:00