Commit Graph

236618 Commits

Author SHA1 Message Date
martin
61131c0e5d Backout previous, it does not work. 2015-07-19 09:26:50 +00:00
martin
9497dabfdb Backout previous - it is not that easy 2015-07-19 09:23:53 +00:00
mrg
c8dfc7fd8b define HAVE_STRLCPY. 2015-07-19 08:49:50 +00:00
mrg
14b386c679 updates for libX11 1.6.3 - "xlocale" is removed. 2015-07-19 08:18:32 +00:00
mlelstv
e0cef65194 Handle non-DEV_BSIZE sectors. 2015-07-19 08:05:24 +00:00
mrg
005b613bb3 updates for new libXaw and libXt. 2015-07-19 07:55:07 +00:00
mrg
f6f5f8bb1b enable arc4random_buf() use. 2015-07-19 05:53:44 +00:00
mrg
31a530f7fc properly mark all libi2c files as obsolete. 2015-07-18 21:49:30 +00:00
htodd
47c34601a5 DDB is already defined in the included file. 2015-07-18 15:05:52 +00:00
mrg
4460fb1444 no longer build a bunch of xorg-server twice (for .a and _pic.a).
entirely obsolete installing libi2c since it's builtin.

libfb, libdri and libdri2 all want to be both .a for the Xorg link
and .so for the run-time, i didn't really look too closely.

remove a bunch of duplicated set list entries.

i built a bunch of platforms for this, and i think i got the sets
lists updates correct, including for debug sets, but it's probable
that i broke something.

XXX: pullup to netbsd-7, but not critical
2015-07-18 08:56:05 +00:00
htodd
7f6bcf1f58 Fix build. 2015-07-18 06:00:46 +00:00
matt
e70fdb9bb6 Build CUBOX-I kernels 2015-07-18 00:57:35 +00:00
matt
ecc2d96a28 Add install kernel for cubox-i 2015-07-18 00:57:10 +00:00
tsutsui
1d2382733b Fix botch in "make disklabel a MI tool" changes in rev 1.2.
After that chanage, "MAXPARTITIONS" constant is not for the target port.
If host's MAXPARTITIONS is larger than a value of the target label and
target endianness is different from the build host, bswaplabel() could
overwrite data beyond the disklabel and primary boot stored after
LABELSECTOR in images might be corrupted.

This fixes boot failure of sun2 liveimage built by
"build.sh -U -m sun2 release live-image"
on TME.

Should be pulled up to netbsd-7.
2015-07-17 20:30:21 +00:00
matt
585d1e8810 Deal with more than 1GB of RAM. 2015-07-17 20:29:29 +00:00
martin
0e67954b15 Bump ram disk image size slightly 2015-07-17 19:32:48 +00:00
martin
b7974da6af Provide a bit more space for the ram disk image 2015-07-17 19:32:24 +00:00
mrg
be0d6ee2f6 don't hard code FD_SETSIZE now that the code is fine. 2015-07-17 17:57:11 +00:00
christos
cb4eacf0ac PR/50057: Wolfgang Stukenbrock: yp-map transfer removes SECURE-flag 2015-07-17 15:58:01 +00:00
wiz
f8a662ece8 gcc-5.2 out. 2015-07-17 15:24:27 +00:00
christos
be80d735d2 PR/50048: Martin Husemann: Avoid reaping the child twice by setting c->pid = 0
after the wait.
2015-07-17 15:17:07 +00:00
mrg
9cf77469e7 define FD_SETSIZE=512, to match the new XFD_SETSIZE. something ends up
including <sys/select.h> before Xpoll.h, and the wrong FD_SETSIZE is
used in our fd_set macros, leading to fail.

XXX:  ugh.  fix me properly.
2015-07-17 08:30:33 +00:00
mrg
bc10a851b4 look for config.h now it is needed. 2015-07-17 08:29:31 +00:00
wiz
307e20f618 Trailing whitespace, begone! 2015-07-17 06:45:55 +00:00
skrll
373bb6fc2c Unwrap lines. 2015-07-17 06:42:48 +00:00
msaitoh
18b054e39f KNF. No functional change. 2015-07-17 06:41:18 +00:00
mrg
700494939e mkfontscale.c demands a PACKAGE_STRING now. set it to "NetBSD tools version" 2015-07-17 06:40:49 +00:00
msaitoh
b3549e4458 Indent. No functional change. 2015-07-17 05:16:09 +00:00
ozaki-r
9eae87d0c8 Reform use of rt_refcnt
rt_refcnt of rtentry was used in bad manners, for example, direct rt_refcnt++
and rt_refcnt-- outside route.c, "rt->rt_refcnt++; rtfree(rt);" idiom, and
touching rt after rt->rt_refcnt--.

These abuses seem to be needed because rt_refcnt manages only references
between rtentry and doesn't take care of references during packet processing
(IOW references from local variables). In order to reduce the above abuses,
the latter cases should be counted by rt_refcnt as well as the former cases.

This change improves consistency of use of rt_refcnt:
- rtentry is always accessed with rt_refcnt incremented
- rtentry's rt_refcnt is decremented after use (rtfree is always used instead
  of rt_refcnt--)
- functions returning rtentry increment its rt_refcnt (and caller rtfree it)

Note that rt_refcnt prevents rtentry from being freed but doesn't prevent
rtentry from being updated. Toward MP-safe, we need to provide another
protection for rtentry, e.g., locks. (Or introduce a better data structure
allowing concurrent readers during updates.)
2015-07-17 02:21:08 +00:00
bouyer
a73da94644 Uncoment options IPSEC, as requested by Gary Duzan in PR port-amd64/50052 2015-07-16 15:43:10 +00:00
prlw1
88f0bbeb89 Disambiguate debug message. 2015-07-16 15:01:04 +00:00
reinoud
d812002de5 Update MARVELL_NAS to allow it to execute 6.X userland and fix obvious
obmissions.

The config file itself would benefit from rewriting it to use GENERIC.common
but i haven't dug into that yet.
2015-07-16 13:10:37 +00:00
shm
51b65afab5 Fix handling path with multiple slashes at the beginning
Fix redirections escaping for user support

OK mrg@
2015-07-16 12:19:23 +00:00
dholland
7fee31e593 Document previously secret -d debug option. Bump date. 2015-07-16 08:42:53 +00:00
dholland
61051b208c Don't cast the return value of malloc. 2015-07-16 08:31:45 +00:00
kamil
f1354ae7ef Reorder memcpy(3) and save errno
This change is for safety as memcpy(3) might change it.

Approved by <riastradh>
2015-07-16 00:03:59 +00:00
christos
90b9d61d73 Allow changing the default buffering policy for a stdio stream during
construction by setting environment variables.
2015-07-15 19:08:43 +00:00
mrg
2e2a488279 note that nfssvc(2) supports compat_netbsd32 now. 2015-07-15 14:43:01 +00:00
pooka
7db5875437 Don't include sigtramp or foocontext routines in rumprun mode. They won't
work (since a rump kernel does not provide NetBSD _lwp syscalls nor
signals), but they cause unwanted symbols to be pulled in when the
resulting libc is linked.

problem reported by Robert Gifford on rumpkernel-users
2015-07-15 14:27:49 +00:00
pooka
db8ece9eea Remove "objects built from C sources" comments. Everyone can see
they're built from C sources because the source files end in .c (???)
2015-07-15 14:23:40 +00:00
ginsbach
f7bfe448b0 Don't set state when parsing any timezone (%z) information. The '+' in
this case isn't the same as the FreeBSD '%+' str[fp]time() (GNU) extension.
2015-07-15 13:54:38 +00:00
martin
25295acf2a Properly escape the $ when trying to pass the u-boot env var $kernel.
From Rin Okuyama.
2015-07-15 11:29:16 +00:00
martin
5051ec142e Add a new endianes flag to mkimage and pass it on big endian arm builds.
From Rin Okuyama.
2015-07-15 11:27:13 +00:00
martin
3872df9e8a Set IMAGEENDIAN properly for big endian builds.
From Rin Okuyama.
2015-07-15 11:24:03 +00:00
martin
934f228a1e Clear STRIPFLAGS (stripping in general is dangerous with the -BE8 object
format, and should never be done before the final linking has happened).
From Rin Okuyama.
2015-07-15 11:21:49 +00:00
ozaki-r
fcda92b6be Remove unused arguments and the associated code from nd6_nud_hint()
from OpenBSD
2015-07-15 09:20:18 +00:00
ozaki-r
bd4fe18031 Make global variables static 2015-07-15 08:49:15 +00:00
msaitoh
4bfdb02062 Cleanup. 2015-07-15 07:40:54 +00:00
msaitoh
d8f3e14a01 Enable MSI/MSI-X feature by default. 2015-07-15 07:36:01 +00:00
msaitoh
5514fd9919 Configure ioapic before lapic because lapic(lapic_set_lvt()) checks the
existence of ioapic. This change fixes a problem that some machines hang
after attaching ehci (little after writing EHCI_USBINTR to enable interrupt).
Even though cold == 1, LAPIC_LVINT0 was not set as masked. Perhaps it's the
reason of the problem.

This problem was observed on SuperMicro X10SLX-F, X10SDV-TLN4F and
Shuttle DS57U without wm(4) driver.
2015-07-15 07:29:13 +00:00