tls
4924aa205a
Load entropy at system boot (only works at securelevel < 1); save
...
at system shutdown. Disable with random_seed=NO in rc.conf if desired.
Goes to some trouble to never load or save to network filesystems.
Entropy should really be loaded by the boot loader but I am still
sorting out how to pass it to the kernel.
2011-11-23 10:47:48 +00:00
jym
95925fc068
No more users of xpmap_update(). Use pmap_pte_*() functions now.
2011-11-23 01:16:55 +00:00
jym
5db0fc1679
Kill dependency to xpmap_update(), and use setbits/clearbits to update
...
kernel PTE rights.
2011-11-23 01:15:02 +00:00
matt
4b00b594fa
When allocating a page for a kernel stack and PMAP_ALLOC_POOLPAGE is
...
defined, use it. (allows a MIPS N32 kernel to boot when there is memory
outside of KSEG0).
2011-11-23 01:07:50 +00:00
matt
c1be7fc1fe
When allocating pages for kernel map entries and PMAP_ALLOC_POOLPAGE is
...
defined, use it. (allows a MIPS N32 kernel to boot when there is memory
outside of KSEG0).
2011-11-23 01:00:52 +00:00
jym
1eaed4e6e6
Move Xen-specific functions to Xen pmap. Requested by cherry@.
...
Un'ifdef XEN in xen_pmap.c, it is always defined there.
2011-11-23 00:56:56 +00:00
christos
070df59c8a
- make decimal conversions use the maximum width integers available on the
...
architecture.
- make signed and unsigned code consistent.
2011-11-22 22:30:22 +00:00
tls
8a012bd83f
The rnd pseudo-device is not really optional, because it is in the same
...
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.
This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
2011-11-22 21:25:05 +00:00
christos
32c78aacbc
Increment the source buffer when we overflow so that we don't get stuck in
...
an infinite loop.
2011-11-22 21:25:04 +00:00
tls
a22a3917ac
The rnd pseudo-device is not really optional, because it is in the same
...
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.
This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
2011-11-22 21:24:51 +00:00
cheusov
91dbf71977
Regression tests for awk(1) (PR 44063)
2011-11-22 20:22:09 +00:00
jakllsch
bc81369a28
Set "mode" to 2 at the correct time.
...
Fixes recording on some isapnp(4) wss(4) chips.
2011-11-22 19:33:38 +00:00
garbled
0f8d4dff8d
Add support to recognize the 8168E model of this chip. Taken from FreeBSD
2011-11-22 18:42:56 +00:00
apb
6c03a4739d
Use :Q to deal with the case that CLEANFILES or CLEANDIRFILES
...
contains quoted substrings (such as file names with spaces).
Problem reported by Joseph Koshy, who also provided the
important part of the fix.
2011-11-22 18:25:48 +00:00
phx
2ef75c3a2d
Print "Model:" information with oea_startup().
2011-11-22 16:56:29 +00:00
joerg
e6acb836e9
ARM and M68K TLS support
2011-11-22 15:30:17 +00:00
joerg
6133e96c53
Add TLS support for m68k.
2011-11-22 15:25:28 +00:00
tsutsui
439935782f
Remove more now unnecessary IIOV() conversion.
...
XXX: we should have proper PA to VA macro for TT mappings for readability
2011-11-22 14:31:02 +00:00
he
4c9561fdf9
Bump SYMTAB_SPACE so that the symbol table fits again.
2011-11-22 12:11:39 +00:00
wiz
daa02faeaf
binutils-2.22 out
2011-11-22 09:06:47 +00:00
joerg
64680c6b13
Handle simple cases (strlen(charset) <= 1) more efficiently.
2011-11-22 00:37:09 +00:00
joerg
9cf8fb38ac
Add test cases for strcspn, strpbrk, strspn, wcscspn, wcspbrk and
...
wcsspn.
2011-11-21 23:50:44 +00:00
macallan
19166a6288
NIST_CTR_DRBG.V is accessed as (unsigned long *) so we need to make sure
...
it's aligned accordingly or we go boom on sparc64
2011-11-21 23:48:52 +00:00
njoly
63da447932
Adjust setup_linux_rt_sigframe/setup_linux_sigframe prototypes.
2011-11-21 22:00:42 +00:00
darcy
77a099d5ff
Allow pf flags to be specified in rc.conf.
...
Add default to defaults/rc.d as suggested by lukem@
2011-11-21 20:56:21 +00:00
christos
abbdc04fd6
- don't clear the flags twice in the loop
...
- reorder calculation to preserve as much precision as possible.
2011-11-21 19:50:37 +00:00
hannken
4e825063cf
Replace flag based union node locking with generic vnode lock, support
...
shared and nowait locks and protect un_uppervp and un_*sz with mutex.
Mark file system MPSAFE.
2011-11-21 18:29:22 +00:00
christos
dd89f66f56
make this compile again. VOP_CLOSE is really vn_close() through macros.
2011-11-21 17:51:03 +00:00
chs
452fee2663
gcc 4.5 on vax creates PLT stubs with an entry mask of 0xffc
...
rather than 0 like gcc 4.1 did, so the sneaky assembly functions
that "ret" without really returning now clobber their registers.
adjust these functions to avoid this problem.
2011-11-21 16:17:48 +00:00
wiz
ee97be87e2
New sentence, new line.
2011-11-21 15:11:45 +00:00
joerg
7e173c1846
Clean up a bit in preparation for more serious changes
2011-11-21 15:02:48 +00:00
tsutsui
08576413a2
Note news68k PROM function based framebuffer console support.
2011-11-21 14:39:47 +00:00
njoly
c76e625f30
Switch from .nf/.fi groff macros to .Bd -literal/.Ed blocks.
...
While here, convert .sp macro to .Pp.
ok wiz@.
2011-11-21 14:27:41 +00:00
tsutsui
3093d001cd
Pass M4=${TOOL_M4:Q} to CONFIGURE_ENV for tools/gmp.
...
Fixes configure error on cygwin.
2011-11-21 13:46:37 +00:00
tsutsui
7e10f851ee
Include MD <machine/cpu_counter.h> only if defined(__HAVE_CPU_COUNTER).
...
XXX: Why not timecounter(9) but deprecated cpu_counter32() and microtime(9)?
2011-11-21 13:44:38 +00:00
tsutsui
73f3cca235
No need to include MD <machine/cpu_counter.h> here.
2011-11-21 13:42:37 +00:00
hannken
026265a4d0
Add missing fstrans_done().
...
Should fix PR #45635 (KASSERT "fli->fli_trans_cnt == 0" failed)
2011-11-21 10:46:56 +00:00
mlelstv
86bf846403
one more error path that didn't free a lock.
2011-11-21 09:46:19 +00:00
hannken
0114172335
nfsrv_lookup(): Defer the postopattr lookup on dirp until the
...
child node is unlocked.
Ok: YAMAMOTO Takashi <yamt@netbsd.org>
2011-11-21 09:07:59 +00:00
njoly
35d9543121
Fix title and xrefs.
2011-11-21 08:23:20 +00:00
christos
bde7230620
correct declaration of vn_close()
...
XXX: Should all those dup declarations be here?
2011-11-21 05:50:11 +00:00
christos
64afb694ee
change printf gcc attribute to __printflike(), requested by joerg.
2011-11-21 04:36:05 +00:00
christos
9873d290d6
- use va_copy where needed
...
- always nul terminate vsnprintf()
- make snprintf() call vsnprintf()
2011-11-21 01:44:26 +00:00
christos
6a2b307489
close file in a way that it does not trigger an assertion :-)
...
now zpool create works again.
2011-11-21 00:24:24 +00:00
christos
17877341be
add more missing printf attributes.
2011-11-20 23:37:00 +00:00
christos
3f19719796
snprintf/vsnprintf can accept NULL/0 buffers and work properly as expected.
...
Before they used to return incorrect length on short buffers. Remove unused
error path.
2011-11-20 23:01:18 +00:00
christos
a548e427f9
simplify, no need for va_copy here. Add KASSERT.
2011-11-20 22:58:31 +00:00
christos
51f50a4d9f
mark printf function
2011-11-20 22:50:12 +00:00
gavan
6c2570459b
Implement timeouts when blocking the calling process with tsleep.
...
Fixes PR kern/33452
2011-11-20 22:27:39 +00:00
njoly
0a4b126e70
Add Xorg modules debug entries.
2011-11-20 21:50:38 +00:00