Commit Graph

2938 Commits

Author SHA1 Message Date
abs
cc2189268d Enable wsfb X server on vax. Likely to be keyboard and mouse issues, but
with three additional lines of an ioctl() case in the kernel 'startx' will
display the traditional three xterms
2012-05-14 08:42:03 +00:00
nakayama
d2cfbefb2d Make WPA works on big-endian machines.
Need byte swapping to copy seq to member ik_keyrsc.  The code is
borrowed from driver_madwifi.c.
2012-05-13 10:21:02 +00:00
christos
85b637054a add confgen programs 2012-05-09 21:59:10 +00:00
wiz
2d5eea808c Move dist2netbsd script out of dist/ and adapt for new path. 2012-05-07 08:55:46 +00:00
wiz
e3116df773 merge 1.0.6 2012-05-07 00:45:47 +00:00
wiz
f04bd531b4 Import bzip2-1.0.6:
1.0.6 (6 Sept 10)
~~~~~~~~~~~~~~~~~

* Security fix for CVE-2010-0405.  This was reported by Mikolaj
  Izdebski.

* Make the documentation build on Ubuntu 10.04
2012-05-07 00:41:32 +00:00
wiz
0449b68bd1 Merge changes from dist/bzip2:
man page converted to mdoc
compiler warning fixes
integer overflow fix
remove files that aren't used on NetBSD

Add adapted bzip2netbsd script.
2012-05-07 00:30:05 +00:00
wiz
4f9a14591a Re-import bzip2-1.0.5 in more appropriate location. 2012-05-07 00:21:32 +00:00
cheusov
8e6f0d9ebd Add .include <bsd.sys.mk> for initializing USE_SSP.
This fixes build failure if USE_FORT=YES
   Approved by christos@
2012-05-02 13:35:03 +00:00
joerg
346d105dac Update LLVM/Clang snapshot to r155677, bringing in a number of bugfixes. 2012-04-29 19:19:04 +00:00
christos
15053c8b40 add specs to automagically add the mudflap libraries when -fmudflap{,th} 2012-04-27 00:57:44 +00:00
christos
27e3db30d5 Add FREAD for the benefit of kauth! 2012-04-26 23:34:09 +00:00
christos
cbd0c35a2d remove code that assumed that lwpid shares pid space and can be used interchangeably. 2012-04-24 19:14:06 +00:00
christos
7006e67fd8 Bring in fix from:
http://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=43804
Allows libmudflap to compile on m68k:

/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c: In function
'__mf_wrap_alloca_indirect':
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1: error:
insn does not satisfy its constraints:
(insn 360 142 68 13
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-impl.h:257 (set (reg/f:SI
6 %d6 [159])
        (const:SI (unspec:SI [
                    (symbol_ref:SI ("__mf_state_1") [flags 0x50]
<var_decl 0x7f7ff7304d20 __mf_state_1>)
                     (const_int 1 [0x1])
                 ] 6))) 36 {*movsi_m68k}
(nil))/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1:
internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
2012-04-22 15:15:46 +00:00
christos
3fd38f84eb If we are asked to step on ptid(-1,0,0), then step on our inferior_thread
instead, which is the main thread instead of the currently executing thread
which is not what we want, since we've been running and nother thread might
have just started.
2012-04-21 00:16:35 +00:00
christos
49a655adee Make declarations consistent, and change unsigned int to unsigned long so
that this works on LP64 machines. Why is the __mf_uintptr_t needed anyway?
2012-04-19 15:52:39 +00:00
christos
9175dee1fe bad name 2012-04-18 22:42:21 +00:00
christos
6e275ac292 add the mudflap include and libraries 2012-04-18 19:22:03 +00:00
christos
6b798f149f move include to the gcc-4.5 subdir. 2012-04-18 19:21:25 +00:00
christos
f89a1d6f2b NetBSD fixes:
1. thread_self() returns a pointer, not an unsigned integer
2. Add NetBSD to Apple and FreeBSD defines
3. Add _NETBSD_SOURCE where needed
4. Add an extra define BEGIN_PROTECTV for void functions to avoid return
   free(); where free is void.
5. Avoid weak symbol hacks to determine if we are threaded or not. We
   have a threaded copy of the library, why bother?
6. change __attribute -> __attribute__ since the former is not covered by
   our cdefs.h
2012-04-18 02:55:05 +00:00
christos
d0800ba09f add preliminary build glue for mudflap; only the shared libraries work,
the static ones will need us to add __real_foo aliases for a bunch of
functions in libc.
2012-04-18 02:52:07 +00:00
christos
42b74229c1 use a function constant instead of NetBSD 2012-04-14 15:14:08 +00:00
joerg
d88b05ff3c Update LLVM/Clang to r154578. 2012-04-14 15:11:17 +00:00
christos
f1232d151c replace the custom getpass with getpassfd() 2012-04-13 16:36:37 +00:00
christos
16918ffb5d - In the thread activation code, mutate the main thread (lid=0) to lid=1 like
the kernel does.
- Remove - 1 hack
- Remove more ifdef notdef code
2012-04-11 21:41:59 +00:00
christos
4ae881aba3 On NetBSD the data part of the PT_STEP request is the lid to send the signal,
not the signal to send! Make it so.
2012-04-11 21:39:01 +00:00
christos
defdde4f72 remove more unused SA userland thread stuff. 2012-04-11 20:21:35 +00:00
christos
aa2f39e93f Add sigquit for completeness to the list of blocked signals with int and tstp.
Does not have any security implication. From Pierre Carrier
2012-04-11 02:28:46 +00:00
christos
ca3b7262c4 PR/46322: Pierre Pronchery: SQLite from base is compiled without
SQLITE_ENABLE_COLUMN_METADATA
XXX: Pullup for 6
2012-04-11 00:41:41 +00:00
wiz
be5cf4dc86 clang complains:
C++ default arguments are illegal in the function defininion.
christos@ ok
2012-04-09 00:24:57 +00:00
christos
e3ea761b6d bring in changes from head. 2012-04-07 17:30:55 +00:00
he
692082ea92 Disable HAVE_TLS for now for gcc's libgomp, since it otherwise
causes gcc indigestion (internal compiler error) for all m68k ports.
mrg@ says this will do for now, and committing to this generated-
by-mknative file is ok.
2012-04-06 20:10:28 +00:00
spz
d5b7b4d73a adjust for expat-2.1.0 2012-04-06 10:49:27 +00:00
spz
0db17c247f merge expat-2.1.0 2012-04-06 10:46:13 +00:00
spz
123d8dfc18 import of expat 2.1.0
Fixes CVE-2012-1147, CVE-2012-1148 and CVE-2012-0876 (other security
issues have been previously fixed in our tree)

relevant Changes:
Release 2.1.0 Sat March 24 2012
        - Bug Fixes:
          #1742315: Harmful XML_ParserCreateNS suggestion.
          #2895533: CVE-2012-1147 - Resource leak in readfilemap.c.
          #1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3.
          #1983953, 2517952, 2517962, 2649838:
                Build modifications using autoreconf instead of buildconf.sh.
          #2815947, #2884086: OBJEXT and EXEEXT support while building.
          #1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences.
          #2517938: xmlwf should return non-zero exit status if not well-formed.
          #2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml.
          #2855609: Dangling positionPtr after error.
          #2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8().
          #2958794: CVE-2012-1148 - Memory leak in poolGrow.
          #2990652: CMake support.
          #3010819: UNEXPECTED_STATE with a trailing "%" in entity value.
          #3206497: Unitialized memory returned from XML_Parse.
          #3287849: make check fails on mingw-w64.
          #3496608: CVE-2012-0876 - Hash DOS attack.
        - Patches:
          #1749198: pkg-config support.
          #3010222: Fix for bug #3010819.
          #3312568: CMake support.
          #3446384: Report byte offsets for attr names and values.
        - New Features / API changes:
          Added new API member XML_SetHashSalt() that allows setting an intial
                value (salt) for hash calculations. This is part of the fix for
                bug #3496608 to randomize hash parameters.
          When compiled with XML_ATTR_INFO defined, adds new API member
                XML_GetAttributeInfo() that allows retrieving the byte
                offsets for attribute names and values (patch #3446384).
          Added CMake build system.
                See bug #2990652 and patch #3312568.
          Added run-benchmark target to Makefile.in - relies on testdata module
                present in the same relative location as in the repository.
2012-04-06 10:22:52 +00:00
wiz
2c8f117ddc Update version to 3.7.10, since that's what's currently in dist/
From Ryo ONODERA in PR 46300.
2012-04-06 09:21:39 +00:00
mrg
829e755fe2 rerun mknative-gcc:
- turn off <fenv.h> on platforms that don't have it
2012-04-05 21:09:20 +00:00
jmmv
a2edf997c0 Fix retry logic to avoid triggering an assertion. 2012-04-05 01:04:18 +00:00
christos
49758559c7 - remove unused thread (non-lwp) code.
- make the get method return the value, and only add 1 in the put method.
2012-04-04 13:33:19 +00:00
joerg
b757af438b Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
joerg
719fcf70e0 Hook up llvm-readobj for LLVM_DEVELOPER builds. 2012-04-04 10:44:21 +00:00
joerg
103b308da9 Update LLVM/Clang snapshot to r153935. This brings in the new inline
cost analysis.
2012-04-04 10:42:00 +00:00
bsh
87767e019d enable X11 build for evbarm. 2012-04-04 01:23:26 +00:00
roy
2bbf0ef7b5 Wrap our restart command using if ... then so that we return zero
if it doesn't exist or is not running.
Depend on this Makefile so that if the restart command structure changes
the subscribers are rebuilt.
2012-04-03 10:50:46 +00:00
roy
f08761da93 * Fixed a potential segfault with IPv6 option handling
* Add a suffix to all our config files so that RA never stamps on IPv4
* All valgrind errors fixed on FreeBSD (with ./configure --debug=YES)
* When started with an interface list, respect that with signal handling
* Fix a potential route table corruption if we failed to add a route
2012-03-28 10:19:31 +00:00
christos
7035527430 disable exact cpu override to fix cross-compiling on linux 2012-03-27 21:56:04 +00:00
roy
cf0cc01bbe Import openresolv-3.5.1 to fix resolv_conf_local_only. 2012-03-27 21:21:24 +00:00
joerg
13a266b186 Use :Q for quoting. Execute shell script using the host shell. 2012-03-27 00:36:06 +00:00
wiz
ecd0670167 Remove unnecessary Ns; fix formatting nit. 2012-03-26 22:06:04 +00:00
roy
3ea18e4c78 Sync 2012-03-26 14:43:01 +00:00