Commit Graph

3163 Commits

Author SHA1 Message Date
dsl
be6d96d7d9 Explicitly include sys/ioctl.h 2013-01-02 10:33:49 +00:00
dsl
07465819ee Replace alloca(256) with an array.
The code ended up using alloca() from libc - which 'just can't work' (tm).
It is also pointless!
2013-01-02 10:33:19 +00:00
dsl
b4041ccef0 Comment out the unused 'struct proc p0;'
This is userspace, it isn't supposed to know what a 'struct proc' is.
2013-01-01 19:03:26 +00:00
dsl
f337b6c74a This needs an explicit include of sys/ioctl.h.
XXX: There is some crappy code in here :-)
2013-01-01 19:02:19 +00:00
christos
f5ae1cb28b avoid strict aliasing problems 2012-12-31 18:47:41 +00:00
dsl
f5cd40cc56 No need to check both TARGET_64BIT and ix86_preferred_stack_boundary >= 64,
if the former is true the latter is also true.
2012-12-30 20:16:58 +00:00
dsl
c18b7a38ac If -march=native is specified, only enable AVX if the processor supports
it and the OS has enabled XGETBV for application use.
It might need to also check XCR0[2] (having executed XGETBV) to check that
  the kernel actually supports saving the YMM registers, but I suspect the
  kernel might defer setting that until the first fault.
See vol 1 section 13.5 of the Intel SDM (intel_x86_325462.pdf).
Fixes toolchain/45673
2012-12-30 16:13:57 +00:00
christos
b30e7aec1f remove useless cast. 2012-12-29 14:51:41 +00:00
christos
db7d489b44 merge 2012-12-20 2012-12-29 02:44:26 +00:00
christos
2616448878 from http://www.cs.princeton.edu/~bwk/btl.mirror/ 2012-12-29 02:14:50 +00:00
martin
5e4c896995 ia64 mknative results for gcc and binutils 2012-12-27 20:32:41 +00:00
martin
1a11e4f1b1 ia64 compiler bug workaround: reduce -O to 1 for one file 2012-12-27 08:06:28 +00:00
martin
90a8c98760 Build glue for ia64 2012-12-26 19:39:26 +00:00
christos
af0a310db8 PR/47362: Brian Marcotte: cron is too restrictive on file permissions
Allow file not being writable by owner.
XXX: pullup to 6.
2012-12-24 19:30:46 +00:00
njoly
c15d05d6e1 Fix unknown Fi macro. 2012-12-21 19:26:39 +00:00
martin
7657b23ac4 We do not have a native libunwind (yet) - so reuse the Linux stuff on ia64
for now.
2012-12-20 07:12:26 +00:00
martin
7b7b3a04a8 Avoid duplicate definition of __enable_execute_stack in libgcc (copied from
the rs6000 netbsd.h)
2012-12-19 16:57:21 +00:00
roy
0cad70d023 Sync 2012-12-19 09:43:31 +00:00
roy
8495b41193 Import dhcpcd-5.6.6 with the following changes:
* Grow -4, --ipv4only and -6, --ipv6only options
* Respect AUTO and ONLINK flags for each prefix in the RA
2012-12-19 09:41:09 +00:00
tron
28fbdc7c77 Resolve conflicts from last import. 2012-12-18 09:10:32 +00:00
tron
c6536f46b6 Import Postfix 2.8.13. Changes since version 2.8.12:
- The postscreen_access_list feature failed to ignore case in the first
  character of a command (e.g., permit, reject, etc.). Reported by Francis
  Picabia. (This fix is incorrectly listed in the HISTORY files of earlier
  releases, and will be removed with a future patch.)
- Strip the datalink suffix (e.g., %eth0) from IPv6 addresses returned by
  the system getaddrinfo() routine. Such suffixes break the default
  mynetworks value, the Postfix SMTP server's reverse/forward DNS
  name/address mapping check, and possibly more.
- To eliminate the possibility of collisions with connection cache lookup
  keys, the Postfix LDAP client now computes those lookup keys by joining
  the number-valued connection properties with ASCII null, just like it
  already did with the string-valued connection properties.
- There was a memory leak during one-time TLS library initialization
  (introduced with Postfix 2.5). Reported by Coverity.
- There was a memory leak in the unused oqmgr(8) program (introduced with
  Postfix 2.3). Reported by Coverity.
2012-12-18 09:01:39 +00:00
christos
2f4f3871a1 now that I know how to escape a period, nothing can stop me :-) 2012-12-17 16:26:38 +00:00
wiz
e4bf1b2ca5 Fix some obvious problems and remove trailing whitespace.
Use more markup.
2012-12-16 23:37:34 +00:00
christos
bafb9c842e noman is no more 2012-12-16 20:31:07 +00:00
christos
b6b2f24e70 convert to mdoc 2012-12-16 20:25:40 +00:00
christos
2136559eac from ubuntu-9.10 2012-12-16 20:04:19 +00:00
skrll
1b59d35cc3 Remove G_CONFIGDIR from .PATH as nothing defines it (anymore)
Add the paths from G_LIB2ADDEH to .PATH (for ia64)
2012-12-16 15:32:38 +00:00
cegger
f5330ee300 Always use extern __inline__ with gcc >= 4.2.
Fall back to prototypes on older gcc versions.

Fixes link errors (duplicate symbols) when mpfr's configure check for libgmp
2012-12-16 14:40:07 +00:00
christos
03f2d45a25 PR/47306: Aleksey Cheusov: Don't free strings of symbols where we maintain
pointers to.
2012-12-10 19:49:05 +00:00
christos
cfd7c4b684 XXX: Use earm for earmeb 2012-12-08 02:35:06 +00:00
christos
decff94806 fix inconsistencies in EABI decls. 2012-12-08 01:38:26 +00:00
christos
06c8deb857 If we did not include a specific arch file G_UNWIND_H will not be defined.
Perhaps it is better to error out in that case?
2012-12-07 15:38:04 +00:00
chs
8f4ea3c47b adapt the profile dtrace provider to netbsd. 2012-12-07 03:11:17 +00:00
roy
036e46ffc7 Sync 2012-12-06 11:41:07 +00:00
roy
327a6ebc46 Import openresolv-3.5.3 with the following changes:
* man page improvements
* dnsmasq + dbus + IPv6 linklocal support (requires dnsmasq-2.64)
* sort interface protocols as well as interface (bge0, bge0:ra, bge0:dhcp6)
2012-12-06 11:38:17 +00:00
roy
a6e5712818 Sync 2012-12-06 11:16:47 +00:00
roy
b84abd3f0f Import dhcpcd-5.6.4 with the following changes:
* add interface scope to exported IPv6 link local addresses
* DUID feature works again
* If we receive >1 MTU in the RA we use the last one
* Expire RA options separately from the RA
* Merge multiple RA options together except when a single is needed
* Some memory leaks plugged
* Don't overwrite invalid memory when DNSSL options begin with a NULL
* Ensure we have a large enough buffer for an escaped DNSSL option from RA
2012-12-06 11:11:35 +00:00
matt
1ca4d4f793 Fetch VFP registers, not FPA. 2012-12-06 06:45:45 +00:00
spz
76387d3839 merge bind-9-9-2-P1 and adjust build as needed
fixes CVE-2012-5688, see:
http://www.isc.org/software/bind/advisories/cve-2012-5688
2012-12-04 23:38:37 +00:00
spz
aecb6b8491 Upstream changelog since 9.9.1:
--- 9.9.2-P1 released ---

3407.	[security]	Named could die on specific queries with dns64 enabled.
			[Addressed in change #3388 for BIND 9.8.5 and 9.9.3.]

	--- 9.9.2 released ---

3383.	[security]	A certain combination of records in the RBT could
                        cause named to hang while populating the additional
                        section of a response. [RT #31090]

3373.	[bug]		win32: open raw files in binary mode. [RT #30944]

3364.	[security]	Named could die on specially crafted record.
			[RT #30416]

	--- 9.9.2rc1 released ---

3370.	[bug]		Address use after free while shutting down. [RT #30241]

3369.	[bug]		nsupdate terminated unexpectedly in interactive mode
			if built with readline support. [RT #29550]

3368.	[bug]		<dns/iptable.h>, <dns/private.h> and <dns/zone.h>
			were not C++ safe.

3367.	[bug]		dns_dnsseckey_create() result was not being checked.
			[RT #30685]

3366.	[bug]		Fixed Read-After-Write dependency violation for IA64
			atomic operations. [RT #25181]

3365.	[bug]		Removed spurious newlines from log messages in
			zone.c [RT #30675]

3363.	[bug]		Need to allow "forward" and "fowarders" options
			in static-stub zones; this had been overlooked.
			[RT #30482]

3362.	[bug]		Setting some option values to 0 in named.conf
			could trigger an assertion failure on startup.
			[RT #27730]

3361.	[bug]		"rndc signing -nsec3param" didn't work correctly
			when salt was set to '-' (no salt). [RT #30099]

3360.	[bug]		'host -w' could die.  [RT #18723]

3359.	[bug]		An improperly-formed TSIG secret could cause a
			memory leak. [RT #30607]

3357.	[port]		Add support for libxml2-2.8.x [RT #30440]

3356.	[bug]		Cap the TTL of signed RRsets when RRSIGs are
			approaching their expiry, so they don't remain
			in caches after expiry. [RT #26429]

3355.	[port]		Use more portable awk in verify system test.

3354.	[func]		Improve OpenSSL error logging. [RT #29932]

	--- 9.9.2b1 released ---

3353.	[bug]		Use a single task for task exclusive operations.
			[RT #29872]

3352.	[bug]		Ensure that learned server attributes timeout of the
			adb cache. [RT #29856]

3351.	[bug]		isc_mem_put and isc_mem_putanddetach didn't report
			caller if either ISC_MEM_DEBUGSIZE or ISC_MEM_DEBUGCTX
			memory debugging flags are set. [RT #30243]

3350.	[bug]		Memory read overrun in isc___mem_reallocate if
			ISC_MEM_DEBUGCTX memory debugging flag is set.
			[RT #30240]

3349.	[bug]		Change #3345 was incomplete. [RT #30233]

3348.	[bug]		Prevent RRSIG data from being cached if a negative
			record matching the covering type exists at a higher
			trust level. Such data already can't be retrieved from
			the cache since change 3218 -- this prevents it
			being inserted into the cache as well. [RT #26809]

3347.	[bug]		dnssec-settime: Issue a warning when writing a new
			private key file would cause a change in the
			permissions of the existing file. [RT #27724]

3346.	[security]	Bad-cache data could be used before it was
			initialized, causing an assert. [RT #30025]

3345.	[bug]		Addressed race condition when removing the last item
			or inserting the first item in an ISC_QUEUE.
			[RT #29539]

3344.	[func]		New "dnssec-checkds" command checks a zone to
			determine which DS records should be published
			in the parent zone, or which DLV records should be
			published in a DLV zone, and queries the DNS to
			ensure that it exists. (Note: This tool depends
			on python; it will not be built or installed on
			systems that do not have a python interpreter.)
			[RT #28099]

3342.	[bug]		Change #3314 broke saving of stub zones to disk
			resulting in excessive cpu usage in some cases.
			[RT #29952]

3341.	[func]		New "dnssec-verify" command checks a signed zone
			to ensure correctness of signatures and of NSEC/NSEC3
			chains. [RT #23673]

3339.	[func]		Allow the maximum supported rsa exponent size to be
			specified: "max-rsa-exponent-size <value>;" [RT #29228]

3338.	[bug]		Address race condition in units tests: asyncload_zone
			and asyncload_zt. [RT #26100]

3337.	[bug]		Change #3294 broke support for the multiple keys
			in controls. [RT #29694]

3335.	[func]		nslookup: return a nonzero exit code when unable
			to get an answer. [RT #29492]

3334.	[bug]		Hold a zone table reference while performing a
			asyncronous load of a zone. [RT #28326]

3333.	[bug]		Setting resolver-query-timeout too low can cause
			named to not recover if it loses connectivity.
			[RT #29623]

3332.	[bug]		Re-use cached DS rrsets if possible. [RT #29446]

3331.	[security]	dns_rdataslab_fromrdataset could produce bad
			rdataslabs. [RT #29644]

3330.	[func]		Fix missing signatures on NOERROR results despite
			RPZ rewriting.  Also
			 - add optional "recursive-only yes|no" to the
			   response-policy statement
			 - add optional "max-policy-ttl" to the response-policy
			    statement to limit the false data that
			    "recursive-only no" can introduce into
			    resolvers' caches
			 - add a RPZ performance test to bin/tests/system/rpz
			     when queryperf is available.
			 - the encoding of PASSTHRU action to "rpz-passthru".
			     (The old encoding is still accepted.)
		       [RT #26172]


3329.	[bug]		Handle RRSIG signer-name case consistently: We
			generate RRSIG records with the signer-name in
			lower case.  We accept them with any case, but if
			they fail to validate, we try again in lower case.
			[RT #27451]

3328.	[bug]		Fixed inconsistent data checking in dst_parse.c.
			[RT #29401]

3317.	[func]		Add ECDSA support (RFC 6605). [RT #21918]
2012-12-04 19:21:12 +00:00
apb
ee9a2498cf Adjust everything under src (but outside src/tools) to use
the TOOLDIR version of libnbcompat, associated include files,
and associated defs.mk file, instead of the version from the
.OBJDIR of src/tools/compat.  This should fix PR 47188.
2012-12-02 12:55:27 +00:00
chs
11c69f2d20 adapt the cyclic module and profile dtrace provider to netbsd.
for now, just hook the cyclic callback into hardclock().
2012-12-02 01:05:16 +00:00
chs
a32db86a29 update cyclic module to the freebsd 8-stable version as of svn r219520. 2012-12-02 00:05:38 +00:00
jkunz
32c0cb2823 According to the i.MX23 Reference Manual section 3.1, Page 3-3:
"The i.MX23 always operates in litle-endian mode."
So build elftosb and bootloader for this processor only for evbarm(-el).
2012-11-27 20:00:38 +00:00
drochner
6eb7501d2c collect common rules in the shared Makefile, this propagates the .OBJDIR
fix done for i386 last year to all other ports
2012-11-26 18:57:33 +00:00
christos
f60f86a673 XXX: rename data() to getdata(). This is to avoid an assembler botch on the
ppc64 toolchain where function names are prefixed with a period, so "data"
becomes ".data" and ".data" is confused by the assembler with the segment
directive with the same name. Clearly this is a toolchain issue; we should
be able to call functions "text" and "data" but it is simpler to fix the
code rather than the toolchain.
2012-11-24 22:29:09 +00:00
agc
d055d5654e add definition for libnetpgpverify 2012-11-20 16:24:30 +00:00
apb
eaa724a770 Use -Wno-array-bounds when building two files that read past the end of
an array.  It's not clear how to fix the real bug.  This hack allows
the build to complete with clang.
2012-11-18 08:24:02 +00:00
joerg
6ae8c21c8e Update LLVM/Clang snapshot to r168187 for various bug fixes. 2012-11-17 04:57:25 +00:00
christos
ca01c6a423 Eat all targets 2012-11-16 05:39:25 +00:00