Commit Graph

220964 Commits

Author SHA1 Message Date
martin
4073f8732b Disallow MAP_FIXED mmap's in the sparc64 VA hole (XXX - need to deal with
different variants of the hole for different CPU types)
2013-09-11 18:27:44 +00:00
martin
d31af930cb Allow MD code to add aditional checks for mmap(..., MAP_FIXED) address
ranges. This can be used, for example, to avoid not implemented VA-holes,
but we probably need to check in a few more places.
2013-09-11 18:26:14 +00:00
khorben
725c35c2a7 Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly failing
in the verify_signature_read_cb() callback.

Partly closes PR pkg/48194; pkgsrc needs to be updated as well.

"please commit" agc@

XXX pull-up to netbsd-6
2013-09-11 12:59:19 +00:00
joerg
ab327b931c Needs libm. 2013-09-11 09:59:52 +00:00
joerg
ac35abab0f Drop now redundant assignment from the MKPIC=no case. 2013-09-11 09:59:13 +00:00
joerg
912713b9c5 Explicitly link against liblber as various symbols from it are used. 2013-09-11 09:58:02 +00:00
joerg
a7c89b6e01 Add dependency on libz and libbz2. 2013-09-11 09:57:09 +00:00
matt
0c7184eef8 Add md_march and PROC0_MD_INITIALIZERS 2013-09-11 04:24:48 +00:00
matt
26dbb44c7a Define ELF_NOTE_MARCH_DESC for when running non-eabi in compat_netbsd32 2013-09-10 22:00:01 +00:00
matt
50bfeb714d Support an optional MARCH ELF tag.
Store the MACHINE_ARCH of the executable in mdproc and override sysctl
so that value returned.
2013-09-10 21:30:21 +00:00
pooka
d5e9a0d652 Not all systems sport err.h, so redo those bits using the die() routine
we need to have hanging around anyway for proper error reporting from
a daemonizing server.  le sigh
2013-09-10 20:36:08 +00:00
pooka
7066c11a5f <sys/cdefs.h> comes from rumpuser_port.h 2013-09-10 19:42:32 +00:00
pooka
22882349e0 Need bsd.own.mk for mk.conf, include it at an opportune place. 2013-09-10 18:28:46 +00:00
pooka
ff8534b0b9 Make it possible to omit libutil from the link. It's used only for
disklabel stuff, and is only harmful on platforms that don't currently
provide user namespace disklabel interfaces.
2013-09-10 18:22:55 +00:00
pooka
4e5f4292e3 Make this work on platforms without disklabels, modules, etc. 2013-09-10 17:59:52 +00:00
pooka
b3e8687dfb more platform-specific qualifiers 2013-09-10 17:58:39 +00:00
pooka
543084bf66 regen 2013-09-10 17:42:02 +00:00
pooka
cb7f5a8a3d "rumpuser_port.h" -> <rump/rumpuser_port.h> 2013-09-10 17:40:54 +00:00
pooka
4194c8cb75 -I../librumpuser is still required for sp_common.c 2013-09-10 17:39:10 +00:00
matt
988e1b8be5 MARCH note is conditional 2013-09-10 17:23:55 +00:00
pooka
56651ceb36 Do like the comment suggests and don't sanity-check the -c parameter here,
since we can't do it properly.
2013-09-10 17:13:29 +00:00
pooka
6a483aa182 +rump_server 2013-09-10 17:08:57 +00:00
pooka
0f188198a5 use <rump/rumpuser_port.h> 2013-09-10 16:53:06 +00:00
pooka
6cd40f3fba Install rumpuser_port.h 2013-09-10 16:51:24 +00:00
matt
b4939ef9a5 Add support for a NetBSD MARCH elf note to record the MACHINE_ARCH for
which a program was compiled.
2013-09-10 16:45:33 +00:00
matt
25193be039 For earm, emit a MARCH note. 2013-09-10 16:35:10 +00:00
matt
2b74ba5033 Add a NetBSD note variant for recording the machine_arch for which the
executable was built.  (currently only used by earm variants)
2013-09-10 16:24:02 +00:00
macallan
7823c23e84 update comment about which CPU uses what counter/timer 2013-09-10 16:03:48 +00:00
gsutre
403a135bbc Unbreak vax build (which still uses gcc 4.1). See PR lib/48131. 2013-09-10 12:54:14 +00:00
christos
b964869221 -D and -I are CPPFLAGS 2013-09-10 11:23:20 +00:00
jnemeth
051cef0f90 PR/48199 - David H. Gutteridge -- remove some vestiges left over from UUCP removal 2013-09-10 00:41:51 +00:00
christos
60baa80007 use intmax_t instead of long long. fixes wrong cast for time_t. 2013-09-09 23:27:43 +00:00
christos
4a5538bfa8 PR/48198: Peter Bex: Avoid kernel panic caused by setting a very small bpf
buffer size.
XXX: Pullup -6
2013-09-09 20:53:51 +00:00
pooka
2e16209595 Remove what looks like an outdated assert (there was something very sneaky
about this code, but my memory is fading ...)
2013-09-09 19:47:38 +00:00
riz
8dcf7f1af2 Add an item to the list (SIGINFO support). 2013-09-09 19:37:17 +00:00
pooka
8b99c7c824 Use 8 TCP/IP stacks instead of 16. That still gives us plenty crossping
testing for 1/4th of the cost.
2013-09-09 19:27:49 +00:00
christos
f812b4b441 Expand ep->host to contain the final string that we are going to print
before computing the width of the host column.
2013-09-09 19:20:38 +00:00
pooka
dcf10cb7c5 Fix minor bug in previous: make sure we come out of rump_init()
without a bound lwp set.
2013-09-09 19:18:08 +00:00
matt
d3628fd5ef Cleanup. Make KGDB work.
We now process the u-boot boot args.
2013-09-09 17:54:38 +00:00
matt
4f88b6a6f6 Make sure AWIN_PLL_CFG_BYPASS is cleared (it was but just being safe.) 2013-09-09 17:53:36 +00:00
matt
89d25dc1ce Add AWIN_AHCI_DMA
Do a little cleanup
2013-09-09 17:52:48 +00:00
prlw1
4b5976925c Add pkgpath.conf to /etc/defaults check. 2013-09-09 15:04:12 +00:00
joerg
4a9f992817 Add conditional entry for lld. 2013-09-09 13:04:57 +00:00
tron
1ad2891b6d Don't scrub the environment unless we are going to change it. This should
prevent crashes in applications which carefully and manually construct
a temporary environment and later restore the original environment
like Emacs 24.

Problem reported by Thomas Klausner on "pkgsrc-users" mailing list.
2013-09-09 10:21:28 +00:00
wiz
be79f6c038 Improvements from jmc@openbsd. 2013-09-09 09:02:25 +00:00
wiz
f743a71b8d Whitespace. 2013-09-09 08:23:54 +00:00
matt
47c1ea4ca3 Remove movw/movt due to linker problems.
Check for 0 divisor and __aeabi_idiv0 if needed (EABI && _LIBC only).
2013-09-09 07:33:54 +00:00
matt
4e222a409b s/__libc/_libc/ 2013-09-09 00:34:10 +00:00
jakllsch
6c1cfa38a7 use IPv6 Documentation Prefix (2001:db8::/32) instead of unallocated
d000🅰️:/32 prefix
2013-09-08 19:12:18 +00:00
matt
a50628ca37 Add CUBIEBOARD 2013-09-08 16:34:06 +00:00