Commit Graph

206992 Commits

Author SHA1 Message Date
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
tsutsui e60b9ec2c8 Add an entry for romcons. 2011-11-20 17:21:15 +00:00
tsutsui b05caac801 Create romcons device node. 2011-11-20 17:18:34 +00:00
tsutsui 217e34e4b6 Add preliminary PROM internal function based framebuffer console support,
which was demonstrated at Open Source Conference 2011 Kansai @ Kyoto
back in July:
http://www.NetBSD.org/gallery/events.html#opensourceconf2011-Kansai

- map 0xc0000000-0xffffffff PA region (which is mirror of PA 0x0-0x3fffffff)
  to the same VA via %tt0 and %tt1 registers and move KVA space accordingly
  (like luna68k does for its devices)
- save trap #0 vector for PROM function calls in early bootstrap
  and register it to trap #14 to call it from kernel for console output
- add dumb romcall based tty attachment taken from src/sys/dev/ofw/ofcons.c
- add rom function call stubs from news68k/stand/common/romcalls.S
- remove IIOV() macro for device registers where now mapped PA==VA via %tt1

XXX: romcons is not enabled yet because there is no generic interface
XXX: to attach wskbd(4) to non wsdisplay(4) devices like this romcons.
2011-11-20 15:38:00 +00:00
para 4255d01378 make it compile without DIAGNOSTIC defined 2011-11-20 15:37:31 +00:00
nonaka 2d605fee5f Added "Lenovo ThinkVision LT1421 Wide" entry. 2011-11-20 12:29:33 +00:00
nonaka 63cfe262c0 regen. 2011-11-20 12:27:36 +00:00
nonaka 6c55042254 Added "Lenovo ThinkVision LT1421 Wide" entry. 2011-11-20 12:26:49 +00:00
kiyohara 6c04b3bca9 Fix build failed. Include if_inarp.h. 2011-11-20 12:15:38 +00:00
kiyohara 75e1d93cec Remove a white-space and a Tab. 2011-11-20 11:20:32 +00:00
hannken d3703f2f33 Fix locking against self in veriexec_fp_calc(). 2011-11-20 10:32:33 +00:00
tnozaki 1c5f19ca24 add comment about r1.6 -> r1.7 change. 2011-11-20 07:43:52 +00:00
jakllsch fb21a55c1a Recent changes to the at91 code enable this kernel config to build after
the hypothetical ds1672rtc(4) is commented out and symtab space is bumped.
Fixes PR#43834.
2011-11-20 04:18:57 +00:00
nonaka cfee7b822d compile again. 2011-11-20 04:07:50 +00:00
christos eb50a1b80e enough with the compile time warnings. 2011-11-20 02:54:25 +00:00