Commit Graph

233144 Commits

Author SHA1 Message Date
joerg
f1a70a014c Remove files no longer present with clang-227398/llvm-227398. 2015-01-29 21:04:26 +00:00
joerg
c66ff0e220 Allow clang builds to use a third floppy. 2015-01-29 20:47:12 +00:00
joerg
14bd6a1392 Make cast warnings for clang non-fatal. 2015-01-29 20:46:31 +00:00
joerg
f2af525c9c Update set lists for LLVM 3.6RC1. 2015-01-29 20:46:10 +00:00
joerg
3d39953882 Sync list of hacks with reality. 2015-01-29 20:45:41 +00:00
joerg
1c5d00e7d3 Force FPU support for Clang, don't disable IAS completely. 2015-01-29 20:45:16 +00:00
joerg
68179c3df2 Remove va_arg hack for Clang/PPC. 2015-01-29 20:44:38 +00:00
joerg
d8eb4f1993 Update build system glue for LLVM 3.6RC1. Notable changes:
- Old JIT is removed.
- Improvements to debug information handling.
- ARM: check for deprecated instructions and warn in the integrated
  assembler
- PPC: VSX support, va_arg support for struct/union types, -fPIC vs
  -fpic supported, faster atomics
- x86: improved vectorizer
2015-01-29 20:41:33 +00:00
joerg
d5e00695c3 Disable -Wcast-qual for clang for now. 2015-01-29 20:30:02 +00:00
joerg
e9d4ea8b6a Fix binary search when search value is in the last block, but not equal
to the start of the range. PR 49444.
2015-01-29 20:05:56 +00:00
joerg
490187770a Import Clang 3.6RC1 r227398. 2015-01-29 19:57:08 +00:00
joerg
e03312df47 Import LLVM 3.6RC1 r227398. 2015-01-29 19:54:00 +00:00
christos
42e28dd7ad use strtoi instead of strtonum, since this is a tool. 2015-01-29 19:26:20 +00:00
manu
95be0d98d3 Fix double free in fts_read()/fts_close()
When fts_read() gets an error on fchdir(), it exited with sp->fts_cur
set to a freed structure. fts_close() would later attempt to free it
again, crashing the program.
2015-01-29 15:55:21 +00:00
skrll
6931a97454 Fix previous so that the new generated rc.conf is picked up and that
any new new mount points (e.g. /proc and /kern) are generated.

While here increate the fs size so that postfix can actually build
/etc/mail/aliases.db
2015-01-29 14:54:06 +00:00
christos
b3decb4766 latent strtonum removal. 2015-01-29 13:20:51 +00:00
spz
6c6fe89327 merge and update manpages and include/event2/event-config.h
May need extra fixing around log-internal.h and log.c
2015-01-29 07:26:02 +00:00
plunky
8b3e3b168b IOT 2015-01-29 06:53:28 +00:00
spz
447d9fdc05 Upstream Change_log:
Changes in version 2.0.22-stable (5 Jan 2015)

SECURITY FIXES (evbuffers)
 o Avoid integer overflow bugs in evbuffer_add() and related functions.
   See CVE-2014-6272 advisory for more information.
   (20d6d4458bee5d88bda1511c225c25b2d3198d6c)

BUGFIXES (evhttp)
 o fix #73 and fix http_connection_fail_test to catch it (crash fix)
   (b618204 Greg Hazel)
 o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)

BUGFIXES (compilation and portability)
 o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
 o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
 o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
   (74d4c44 Kevin Bowling)
 o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for
   automake 1.13 compat (817ea36)
 o Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
 o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
 o Use windows vsnprintf fixup logic on all windows environments (e826f19)
 o Fix a compiler warning when checking for arc4random_buf linker breakage.
   (5cb3865)
 o Fix another arc4random_buf-related warning (e64a2b0)
 o Add -Qunused-arguments for clang on macos (b56611d Trond Norbye)

BUGFIXES (resource leaks/lock errors on error)
 o Avoid leaking fds on evconnlistener with no callback set (69db261)
 o Avoid double-close on getsockname error in evutil_ersatz_socketpair
   (0a822a6)
 o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
 o libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
   (b8f5980 Frank Denis)

BUGFIXES: (other stability)
 o bufferevent_pair: don't call downcast(NULL) (f2428a2)
 o Consistently check for failure from evbuffer_pullup() (60f8f72)
 o Fix race caused by event_active (3c7d6fc vjpai)

BUGFIXES (miscellaneous)
 o Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
 o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
 o Add a few files created by "make verify" to .gitignore.
   (1a8295a Pierre Phaneuf)
 o regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov)
 o Fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
 o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)

BUFGIXES (evdns)
 o Checking request nameserver for NULL, before using it.
   (5c710c0 Belobrov Andrey)
 o Fix SEGFAULT after evdns_base_resume if no nameservers installed.
   (f8d7df8 Azat Khuzhin)
 o Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749)

BUGFIXES (epoll)
 o Check does arch have the epoll_create and __NR_epoll_wait syscalls.
   (dfe1e52 Marcin Juszkiewicz)

BUGFIXES (evutil_secure_random)
 o Avoid other RNG initialization FS reads when urandom file is specified
   (9695e9c, bb52471)
 o When we seed from /proc/sys/kernel/random/uuid, count it as success (e35b540)
 o Document that arc4random is not a great cryptographic PRNG. (6e49696)
 o Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
 o Really remove RNG seeds from the stack (f5ced88)


DOCUMENTATION FIXES
 o Fix a mistake in evbuffer_remove() arguments in example http server
   code (c322c20 Gyepi Sam)
 o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
 o Clarify event_base_loop exit conditions (031a803)
 o Use FindClose for handle from FindFirstFile in http-server.c (6466e88)
 o Fix a typo in a doxygen comment. Reported by 亦得. (be1aeff)
2015-01-29 06:37:53 +00:00
christos
a79a63ba87 no need for strtonum.c anymore. 2015-01-29 03:34:37 +00:00
christos
0bcb0c670a use strtonum from libc 2015-01-29 03:31:35 +00:00
christos
f47593bb0f use strtonum from libc (Kamil Rytarowski) 2015-01-29 03:28:19 +00:00
christos
fff8579aad delete extern 2015-01-29 03:27:06 +00:00
christos
c86776b0ff do it like the others 2015-01-29 03:26:27 +00:00
christos
470a09925c Use the libc version of strtonum.c (Kamil Rytarowski) 2015-01-29 03:25:36 +00:00
msaitoh
8ff3b0376f Fix a bug that a workaround for SWSM.SMBI bit doesn't work correctly.
This problem was only occured with old boot ROM on 8257[12].

XXX pullup to netbsd-[67]
2015-01-29 02:59:17 +00:00
christos
19b3e3be46 fix comment 2015-01-29 01:05:25 +00:00
christos
8f75702587 add an option to restore rules, and run the flush command only once per
rule name.
2015-01-28 22:30:42 +00:00
christos
0866db79e7 explain why nfail > maxfail in the report. 2015-01-28 16:47:00 +00:00
bouyer
f131b692ba Fix typo in comment 2015-01-28 16:27:43 +00:00
bouyer
c761b66141 As discussed in
http://mail-index.netbsd.org/tech-kern/2015/01/24/msg018339.html
don't bump v_numoutput if we need to vn_lock() the vnode before queuing
the corresponding I/O, because this may deadlock with genfs_do_putpages()
when called with the vnode locked (as can happen with fsync(2)).
Instead bump is just before the last VOP_STRATEGY(), or before calling
nestiobuf_done().
Thanks to Taylor R Campbell for review.
2015-01-28 15:08:12 +00:00
martin
acbabd6a6a When udf_symlink() fails, do not explicitly call udf_delete_node(), as
vrele() called next will do that again - avoids a double free of the
bitmap, leading to a KASSERT failure (or worse in real life) in the
udf_symlink_long in the fs/vfs::t_vnops test.
2015-01-28 14:00:58 +00:00
jmcneill
63e2bac990 add /var/shm tmpfs to fstab 2015-01-28 12:08:00 +00:00
skrll
cbbec73b8e It turns out we needed to track pid all along, so revert the lwp tracking
I did ages ago.

quake has a chance of working now.
2015-01-28 09:41:04 +00:00
wiz
ac8c22811d Sort SEE ALSO. Nit fixes. 2015-01-28 07:32:28 +00:00
christos
bf10289799 Don't add a rule twice, but attempt to replace it. 2015-01-28 05:08:55 +00:00
christos
2478c85bc9 one would think that I'd learn to cast htons() by now... 2015-01-28 00:42:15 +00:00
christos
ba53303072 PR/49328: Uwe Toenjes: This driver allocates memory always with NOWAIT, except
in the NetBSD-specific code. This happens from ioctl, and usually there is
enough memory there since we just freed our resources and we are getting them
back. We could even check and not do it again if sizes did not change, but
this is how the rest of the code is structured so we follow suit.
XXX: pullup-7
2015-01-28 00:30:25 +00:00
skrll
5768a2161c ARM PrimeCell PL181 (MMCI) host controller glue. 2015-01-27 21:34:43 +00:00
jmcneill
a185a6f4c2 build INTEGRATOR_CP_INSTALL 2015-01-27 20:26:34 +00:00
jmcneill
7cc6666854 add install kernel for INTEGRATOR_CP 2015-01-27 20:26:15 +00:00
christos
ac672cf09a apply the mask to the resulting address correctly. 2015-01-27 20:16:11 +00:00
christos
c54542f644 we are passing the port now 2015-01-27 19:49:37 +00:00
christos
70d0fa228f - separate man page for blacklistd and blacklistd.conf, requested by wiz@
- allow separate configurations for local and remote addresses, implementing
  effectively whitelists, requested by dh@
- allow the mask of the filter to be specified, requested by dh@
- the db file format has been changed to accommodate these changes, and
  needs to be removed.
2015-01-27 19:40:36 +00:00
tron
eaa8b764fa Postfix 2.11.3 will ship with NetBSD 7.0. 2015-01-27 18:20:56 +00:00
jmcneill
11b65f4460 enable plmmc(4) 2015-01-27 16:35:47 +00:00
jmcneill
c856dd1c49 add plmmc(4) glue 2015-01-27 16:34:34 +00:00
jmcneill
14e804e4a7 Add driver for ARM PrimeCell MultiMedia Card Interface (PL181). Not tested
with real hardware, only qemu "integratorcp" configuration.
2015-01-27 16:33:26 +00:00
martin
5f67668838 Mark the failing tests as expected failure and point to PR toolchain/49085. 2015-01-27 12:57:14 +00:00
wiz
99c1481cc2 Remove superfluous comma. 2015-01-27 10:11:20 +00:00