Commit Graph

228175 Commits

Author SHA1 Message Date
maxv
b042e45033 Remove dead code. The kernel already checks for PT_INTERP sections, and puts
their content into "itp". There's no need for re-reading the whole binary and
trying to find this section again. Just use "itp".

DEBUG_FREEBSD_ELF is now unused, so remove its references in amd64/conf/ALL
and i386/conf/ALL.
2014-06-24 11:59:10 +00:00
alnsn
65b8637bc0 Zap trailing spaces. 2014-06-24 11:32:36 +00:00
alnsn
f9dc8d88ce Fix signatures of copfuncs. 2014-06-24 11:31:49 +00:00
alnsn
19fed70d36 Implement copfuncs and external memory in bpfjit. 2014-06-24 10:53:30 +00:00
maxv
b61ced9fc0 'miliseconds' -> 'milliseconds'. 2014-06-24 10:08:45 +00:00
skrll
79e4d54844 PR/48944: cron ignores '?' (question mark) time field
Fix the obvious merge botch.
2014-06-24 09:17:54 +00:00
maxv
fb1a1f54c3 KMEM_REDZONE+KMEM_POISON is supposed to detect buffer overflows. But it only
poisons memory after kmem_roundup_size(), which means that if an overflow
occurs in the page padding, it won't be detected.

Fix this by making KMEM_REDZONE independent from KMEM_POISON and making it
put a 2-byte pattern at the end of each requested buffer, and check it when
freeing memory to ensure the caller hasn't written outside the requested area.

Not enabled on DIAGNOSTIC for the moment.
2014-06-24 07:28:23 +00:00
shm
55b8853aa5 PR/48810 use cgi handler for index files
OK mrg@ martin@
2014-06-24 07:23:59 +00:00
skrll
8c543ccc77 If [eo]hci_init fail then bail out and don't try and attach devices. 2014-06-24 05:07:31 +00:00
macallan
ad4c0132fb use STIP/BLIT on 8bit tcx and RSTIP/RBLIT on S24 2014-06-24 05:04:14 +00:00
joerg
504e8e687f Add aliases for the builtins used to implement C11/C++11 atomics. 2014-06-23 21:53:45 +00:00
christos
38de16d38f regen some more arm variants 2014-06-23 19:19:55 +00:00
christos
9d17f2f59b Allow always setting MKCOMPAT (and not failing in weird ways like
creating a c++config.h that only contains #endif), by selecting
only machine_archs that contain *64* in their name.
2014-06-23 18:37:45 +00:00
maxv
5fa25b57b4 Use KASSERT() instead of #ifdef(DIAGNOSTIC). Clearer. 2014-06-23 18:06:32 +00:00
msaitoh
b72e30b6f7 Print APE firmware correctly. 2014-06-23 17:44:31 +00:00
maxv
f7c9f4d7c3 Enable KMEM_SIZE on DIAGNOSTIC. It will catch memory corruption bugs due to a
different size given to kmem_alloc() and kmem_free(), with no performance
impact.
2014-06-23 17:43:42 +00:00
msaitoh
ce5b0434fc Regen. 2014-06-23 17:32:05 +00:00
msaitoh
9e21581c74 Add some HP iLO devices.
Add Matrox MGA G200eH.
2014-06-23 17:31:40 +00:00
rtr
c5cb349386 where appropriate rename xxx_ioctl() struct mbuf * parameters from
`control' to `ifp' after split from xxx_usrreq().

sys_socket.c
    fix wrapping of arguments to be consistent with other function calls
    in the file after replacing pr_usrreq() call with pr_ioctl() which
    required one less argument.

link_proto.c
    fix indentation of parameters in link_ioctl() prototype to be
    consistent with the rest of the file.

discussed with rmind@
2014-06-23 17:18:45 +00:00
matt
866279dbba Teach configfsf.guess about coldfire and earm 2014-06-23 17:18:43 +00:00
christos
3a6f0f67e4 remove gdbint.info; it is no more. 2014-06-23 15:22:07 +00:00
christos
527bf5b2ba No more gdbint.texinfo; has been removed upstream 2014-06-23 15:05:30 +00:00
riastradh
7fd5a93a52 Add `remove arc4random' to mythical libc major bump todo list. 2014-06-23 14:14:10 +00:00
kiyohara
3c3e9119fb Support earm*-*-*. 2014-06-23 12:48:42 +00:00
pooka
2f525beeee Hrmph, revert previous pending another fix. I tested it yesterday with
a slightly older tree, and of course it doesn't work anymore ...
2014-06-23 12:38:18 +00:00
shm
509eb314f7 Add bm(3) tests 2014-06-23 10:53:20 +00:00
shm
11ea949f80 PR/42032 fixed overrun in bm_exec(), free(3) clean ups 2014-06-23 10:43:25 +00:00
skrll
001a0f6364 Return if ohci_init fails. 2014-06-23 07:29:42 +00:00
shm
ce020e4866 PR/47319 use addgrp_ret_t instead of magic values 2014-06-23 06:57:31 +00:00
ozaki-r
d82fb1f178 Get rid of unnecessary xc_broadcast after pktq_barrier
Pointed out by rmind@
2014-06-23 06:27:58 +00:00
christos
a7a7650484 unbreak lint 2014-06-23 03:40:57 +00:00
christos
c8086e9e0e regen coldfire 2014-06-23 03:16:29 +00:00
christos
d5e7be57f0 regen sun2 2014-06-23 02:57:58 +00:00
mrg
541eeb6cb5 mknative-gdb for arm and armeb and gdb 7.7 2014-06-23 02:54:00 +00:00
christos
7f99d41728 regen mips64el 2014-06-23 02:50:32 +00:00
christos
4b6daa28d5 regen sh3el 2014-06-23 02:34:33 +00:00
christos
6bd99797bf regen powerpc64. 2014-06-23 02:29:19 +00:00
christos
69888ff8ec regen ppc64 2014-06-23 02:14:38 +00:00
christos
5326abe227 unbreak powerpc64; it is not ready for gcc-4.8 ATM. 2014-06-23 02:13:53 +00:00
christos
d1fefe4bb6 regen hppa and sgimips 2014-06-23 01:04:36 +00:00
christos
a362d64092 even more detailed logging 2014-06-23 01:00:48 +00:00
christos
ac5779e0d2 mention new gdb 2014-06-22 23:53:16 +00:00
christos
78ce218af9 merge changes, partial regen. 2014-06-22 23:52:57 +00:00
christos
03467a24ff ChangeLog:
2013-12-19  Keven Boell  <keven.boell@intel.com>

	* cp-namespace.c (cp_lookup_nested_symbol): Enable
	nested lookups for fortran modules.
	* dwarf2read.c (read_module): Add fortran module to
	the symbol table.
	(add_partial_symbol, add_partial_module): Add fortran
	module to the partial symbol table.
	(new_symbol_full): Create full symbol for fortran module.
	* f-exp.y (yylex): Add new module domain to be parsed.
	* symtab.h: New domain for fortran modules.

2013-12-19  Keven Boell  <keven.boell@intel.com>

	* f-exp.y (yylex): Add domain array to enable lookup
	in multiple domains. Loop over lookup domains and try
	to find requested symbol. Add STRUCT_DOMAIN to lookup
	domains to be able to query for user defined types.

2013-12-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

	* configure.ac: Add user-friendly check for native x86_64-linux
	multilibs.
	* configure: Regenerate.

2013-11-23  Alan Modra  <amodra@gmail.com>

	* config.sub, config.guess: Import from upstream.

2013-11-07  Thomas Schwinge  <thomas@codesourcery.com>

	* Makefile.in: Regenerate.

	* Makefile.tpl: Fix typo.
	* Makefile.in: Regenerate partially.

2013-11-04  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* configure.ac: Added libcilkrts to noconfig list when C++ is not
	supported.
	* configure: Regenerated.

2013-10-30  Jason Merrill  <jason@redhat.com>

	* Makefile.tpl (STAGE1_CONFIGURE_FLAGS): Pass
	--disable-build-format-warnings.

2013-10-29  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* Makefile.def: Add libcilkrts to target_modules.  Make libcilkrts
	depend on libstdc++ and libgcc.
	* configure: Regenerate.
	* configure.ac: Added libcilkrts to target binaries.  Also, restrict
	libcilkrts for POSIX and i*86, and x86_64 architectures.
	* Makefile.in: Added libcilkrts related fields to support building it.

2013-10-26  Jeff Law  <law@redhat.com>

	* Makefile.def (target_modules): Remove libmudflap
	(languages): Remove check-target-libmudflap).
	* Makefile.in: Rebuilt.
	* Makefile.tpl (check-target-libmudflap-c++): Remove.
	* configure.ac (target_libraries): Remove target-libmudflap.
	Remove checks which disabled libmudflap on some systems.
	* configure: Rebuilt.
	* libmudflap: Directory removed.

2013-10-16  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Update from GCC.
	* configure: Regenerate.

2013-10-15  Hans-Peter Nilsson  <hp@axis.com>

	* src-release (do-proto-toplevel): Support subdir-path-prefixed
	files in SUPPORT_FILES.
	(SIM_SUPPORT_DIRS): New variable.
	(sim.tar.bz2): New rule.

2013-10-08  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Update from GCC.
	* configure: Regenerate.

2013-10-01  Jeff Johnston  <jjohnstn@redhat.com>

	* COPYING.NEWLIB: Update with new copyright.

2013-09-21  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Update from GCC.
	* configure: Regenerate.

2013-09-20  Alan Modra  <amodra@gmail.com>

	* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
	ppc host match.  Support little-endian powerpc linux hosts.

2013-08-16  Joel Brobecker  <brobecker@adacore.com>

	* src-release (VER): When using $(TOOL)/common/create-version.sh,
	strip the "-cvs" suffix from the version number if present.

2013-08-12  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Sync with GCC repo.
	* Makefile.def: Ditto.
	* configure: Regenerate.
	* Makefile.in: Ditto.

2013-07-22  Joel Brobecker  <brobecker@adacore.com>

	* src-release (VER): Use $(TOOL)/common/create-version.sh
	if it exists.

2013-06-22  Richard Sandiford  <rdsandiford@googlemail.com>

	* configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*)
	(mips*-*-ecoff*, mips*-*-pe*, mips*-*-irix* [v4 and earlier])
	(mips*-*-lnews*, mips*-*-riscos*): Add gas and ld to noconfigdirs.
	* configure: Regenerate.

2013-06-01  George Thomas <george.thomas@atmel.com>

	* include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove
	from AVR_ISA_XMEGA and add new AVR_ISA_XMEGAU

2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>

	* COPYING.NEWLIB: Add Altera Corporation copyright.

2013-04-29  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* config.guess: Update from config repo.
	* config.sub: Ditto.

2013-04-22  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* Makefile.def: Sync with GCC.
	* Makefile.in: Regenerate.

2013-04-22  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Sync with GCC.
	* configure: Regenerate.

2013-03-22  Mike Frysinger  <vapier@gentoo.org>

	* src-release (VER): Change bfd/configure.in sed to use the new
	`bfd/configure --version` output.
2014-06-22 23:39:42 +00:00
christos
91d0cc5d6b simplify and clarify 2014-06-22 22:19:28 +00:00
pooka
fbc749c67d Wrap pthread_create(). Shouldn't really have a functional effect,
apart from testing that rumpuser_thread_create() can actually survive
an unschedule/schedule cycle (which may or may not be necessary with
other hypercall implementations).
2014-06-22 20:17:23 +00:00
pooka
8a90d6851a Initialize cpu_softcpu before creating softint threads. Fixes things
with rump kernel hypervisors which wrap the thread creation hypercall.

pointed out by Justin Cormack
2014-06-22 20:09:19 +00:00
maxv
1fc63be65d Sync swapctl() with netbsd32. Return EINVAL when misc<0, and 0 when misc=0
or uvmexp.nswapdev=0.
2014-06-22 19:09:39 +00:00
maxv
54e39d64d0 Fix a NULL pointer dereference after a loooong discussion with dholland@,
hannken@, blymn@ and martin@.

This bug would panic the system when veriexec is set to the VERIEXEC_LOCKDOWN
mode (only settable from root).
2014-06-22 18:32:27 +00:00
maxv
742b1eee79 Put the KMEM_GUARD code under #if defined(KMEM_GUARD). No functional change. 2014-06-22 17:36:42 +00:00