Commit Graph

207006 Commits

Author SHA1 Message Date
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
dholland
c60360c18d Reshuffle decls among the quota headers so everything is in the place
it should be:
   - stuff for the proplib interface goes in <quota/quotaprop.h>
   - stuff for userlevel only goes in <quota/quota.h>
   - stuff shared between user and kernel goes in <sys/quota.h>

Note that <quota/quota.h> and <quota/quotaprop.h> are expected to be
moved or removed later on... one thing at a time.

Update include directives in other files as needed.
2011-11-20 21:43:34 +00:00
apb
0131e55685 Use va_copy to avoid undefined behaviour in handling the
va_list arg.
2011-11-20 21:27:26 +00:00
dholland
c8530f0b4f Add missing CLEANFILES+=x11perfcomp 2011-11-20 21:02:23 +00:00
jym
6bfeabc65a Expose pmap_pdp_cache publicly to x86/xen pmap. Provide suspend/resume
callbacks for Xen pmap.

Turn static internal callbacks of pmap_pdp_cache.

XXX the implementation of pool_cache_invalidate(9) is still wrong, and
IMHO this needs fixing before -6. See
http://mail-index.netbsd.org/tech-kern/2011/11/18/msg011924.html
2011-11-20 19:41:27 +00:00
yamt
6894cdda89 revert machdep.c rev. 1.168 because it's likely to have the same problem
as i386's one.
http://mail-index.NetBSD.org/source-changes-d/2011/11/19/msg004283.html
2011-11-20 18:42:56 +00:00
yamt
fbc189d43b revert dumpsys.c rev. 1.13 because it was reported to cause a problem.
http://mail-index.NetBSD.org/source-changes-d/2011/11/19/msg004283.html
2011-11-20 18:41:12 +00:00