Commit Graph

233511 Commits

Author SHA1 Message Date
joerg
9642a6c30f Use default PAGER_MAP_DEFAULT_SIZE for ARM and PowerPC, exception
acorn26. This bumps the KVA reservation from 4MB to 16MB and avoids
long hangs on my Cubietruck under IO. acorn26 is kept as it does have a
ridiculous low 32MB KVA limit.
2015-02-23 20:34:37 +00:00
martin
94a27aa4e3 Rearange interface detachement slightly: before we free the INET6 specific
per-interface data, make sure to call nd6_purge() with it to remove
routing entries pointing to the going interface.
When we should happen to call this function again later, with the data
already gone, just return.
Fixes PR kern/49682, ok: christos.
2015-02-23 19:15:59 +00:00
martin
8132f7b227 Apply patch from FUKAUMI Naoki to fix ring buffer handling when the
ring fills completely.
2015-02-23 19:05:16 +00:00
maxv
5c7e714fca Hum. Perhaps I missed a bit of the specification. Let's not be that
severe when checking the superblock.

Should fix ATF.
2015-02-23 17:05:58 +00:00
mrg
eeeb0a0c08 add ttyC00/ttyC01 as found on eg, com(4)-based serial port systems like
the sunblade 2500.
2015-02-23 13:52:51 +00:00
maxv
5f9c472c31 Small changes:
- instead of always calling DPRINTF with __func__, put __func__ directly
   in the macro
 - ffs_mountfs(): rename fsblockloc -> fs_sblockloc, initialize fs_sbsize
   to zero
No real functional change
2015-02-23 13:38:54 +00:00
martin
4dc859859f fix typo in previous 2015-02-23 13:12:37 +00:00
nonaka
c163028673 CID 1271021: Overrunning array "in->in_ridx" of 15 bytes at byte offset 15 using index "i" (which evaluates to 15).
http://mail-index.netbsd.org/coverity-updates/2015/02/21/msg000115.html
2015-02-23 13:09:37 +00:00
martin
7ac0b6e332 libgm debug info 2015-02-23 13:01:35 +00:00
palle
94285b839e sun4v: sparc_interupt - ensure that the trap level and globals level are the same when the flushw instruction is issued - othwise warnings occur when using the sun4v Legion simulator. 2015-02-23 12:36:58 +00:00
jmcneill
0a728489cf add gbm.pc 2015-02-23 11:40:57 +00:00
martin
e8db0ea799 Add libgbm (hi Jared!) 2015-02-23 11:14:58 +00:00
martin
fd70cddd86 Wait 10 seconds instead of 1 before killing the helper - otherwise on slow
machines it might not have gotten around to execute the first command at
all (and since it next waits for 42 seconds, 10 seconds is safe).
2015-02-23 08:48:18 +00:00
spz
fd11cf9e1a note bind now is 9.10.1-P2 2015-02-23 07:17:37 +00:00
mlelstv
8bb3163bff Fall back to nullcons if configured. 2015-02-23 06:54:12 +00:00
knakahara
2ea2219754 - add macros to calculate MSI MME and MMC.
- add MSI-X table offset macros.
- fix MSI-X table entry name.
2015-02-23 04:16:17 +00:00
jmcneill
889ad2c6eb Build and install Mesa GBM buffer management library (libgbm). 2015-02-23 00:09:30 +00:00
riastradh
f49f22699b Make -mfloat-abi=soft a native kernel only option. Fixes rump build.
ok justin@
2015-02-22 17:38:19 +00:00
maxv
3e35936473 Merge _sbcompute() and _sbcheck() into _sbfill().
In ext2fs_sbfill(), check more fields of the superblock, to prevent
several kernel panics when mounting/unmounting a disk.
2015-02-22 14:55:23 +00:00
christos
f7f367e20c don't make ipty. postinstall removes them. 2015-02-22 14:42:44 +00:00
maxv
81c691b934 ffs_superblock_validate(): sanitize fs_fragshift, fs_bmask and fs_fmask. 2015-02-22 14:22:34 +00:00
maxv
8cadf998b5 KNF, and simplify a bit.
No functional change
2015-02-22 14:12:48 +00:00
christos
21ea10bd7a split the allocation functions, their mixed usage was too confusing. 2015-02-22 02:16:19 +00:00
christos
5a70401cf6 PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong. 2015-02-22 00:50:30 +00:00
christos
aecf67a262 PR/49683: Amir Plivatsky: Off-by-one comparison in ct_decode_string() leading
to out of bounds referrence.
XXX: pullup-7
2015-02-22 00:46:58 +00:00
joerg
88c9fb0be8 Add rc script for /sbin/iscsid. 2015-02-21 23:13:00 +00:00
joerg
a39ebfb79e Move communication socket to /var/run, especially when starting iscsid
during boot, it might disappear otherwise.
2015-02-21 20:33:44 +00:00
spz
99759bb8ef security patch for bind from ISC (to 9.10.1-P2).
Only the change to lib/dns/zone.c is security relevant

Upstream changelog:

        --- 9.10.1-P2 released ---

4053.   [security]      Revoking a managed trust anchor and supplying
                        an untrusted replacement could cause named
                        to crash with an assertion failure.
                        (CVE-2015-1349) [RT #38344]

4027.   [port]          Net::DNS 0.81 compatibility. [RT #38165]
2015-02-21 20:19:22 +00:00
jmcneill
c9ca8f87ce install xcb/xkb.h 2015-02-21 17:17:16 +00:00
joerg
d16ea69c89 Revert and add comment that this dance is for the sake of builtin module
registration.
2015-02-21 17:14:37 +00:00
ozaki-r
2be0e59f43 Fix dtrace build for arm with gcc 4.8 2015-02-21 15:13:20 +00:00
ozaki-r
3bcb5a6ccb Fix dtrace build error with gcc 4.8 on i386 and arm
_ILP32 is required by dt_popc.

The fix is inspired by FreeBSD.
2015-02-21 15:00:30 +00:00
joerg
cb5f698635 Don't build modules with float instructions. 2015-02-21 12:50:23 +00:00
joerg
1c999bf4f7 Simplify. 2015-02-21 12:32:23 +00:00
tron
eb46b6e41f Postfix 2.11.4 was imported. 2015-02-21 12:05:47 +00:00
tron
70a84f339b Resolve conflicts from last import. 2015-02-21 12:00:48 +00:00
tron
3d6f39af4c Import Postfix 2.11.4. Changes since version 2.11.3:
- Fix a core dump when smtp_policy_maps specifies an invalid TLS level.
- Fix a missing " in \%s\", in postconf(1) fatal error messages, which
  violated the C language spec. Reported by Iain Hibbert.
- Stop excessive recursion in the cleanup server while recovering from a
  virtual alias expansion loop. Problem found at Two Sigma.
- Stop exponential memory allocation with virtual alias expansion loops.
  This came to light after fixing the previous problem.
2015-02-21 11:56:30 +00:00
martin
17dd6943c6 Fix multicast handling (and while there a bogus memcpy).
Fixes PR kern/49472, patch from Nick Hudson.
2015-02-21 11:39:05 +00:00
nonaka
7c8d5b2d0c pass collect size of firmware to firmware_free(9). 2015-02-21 10:42:15 +00:00
wiz
16cd253563 gdb-7.9 out. 2015-02-21 08:57:48 +00:00
ozaki-r
243557a093 Add missing dtrace modules to md.i386 set list 2015-02-21 07:47:41 +00:00
nakayama
26680fd18e Fix queue handling to make the watchdog timer actually works on
netbsd-7 if it is configured by wdogctl=YES in rc.conf, and also
avoid a hangup duaring shutdown.

- don't put an entry which is already in the queue.
- read a first entry properly to handle the queue.
- check the lom status if input buffer is empty before writing.
2015-02-21 07:40:01 +00:00
ozaki-r
2135ca2cee Add missing tags (zfs, solaris and lvm) to md.i386 2015-02-21 07:36:59 +00:00
rjs
3e6de5e8d2 Declare input argument to in6_sin_2_v4mapsin6 to be const, allows an
address from the route cache to be used as the input.

ok christos@.
2015-02-20 22:13:48 +00:00
maxv
ea17f38b73 Several fixes:
- rename ext2fs_checksb() -> ext2fs_sbcheck(): more consistent
 - in ext2fs_sbcheck(), add a check to ensure e2fs_inode_size!=0,
   otherwise division by zero
 - add ext2fs_sbcompute(), to compute dynamic values of the superblock.
   It is done twice in _reload() and _mountfs(), so put it in a function.
 - reorder the code in charge of loading the superblock: now, read the
   superblock, swap it directly, and *then* pass it to ext2fs_sbcheck().
   It is similar to what ffs now does. It is better since the fields don't
   need to be swapped on the fly in ext2fs_sbcheck().
Tested on amd64.
2015-02-20 17:44:54 +00:00
maxv
afc7ff8c74 Style, and fix a DPRINTF
No functional change
2015-02-20 17:10:17 +00:00
maxv
14c9669847 Cosmetic changes:
- add a ffs-like ntfs_superblock_validate function
 - remove unused includes
 - fix some comments
 - KNF

No functional change.
2015-02-20 17:08:13 +00:00
nonaka
13666056c3 Make the iwm(4) hardware receive filter pass multicast traffic from OpenBSD.
Fixes inet6 autoconf, for example.
2015-02-20 16:16:06 +00:00
nonaka
0fd46ca0e9 Don't return success when hw is not ready. 2015-02-20 15:03:53 +00:00
nonaka
58a121549c PR/49681: Support BUFFALO PC-OP-RS1 2015-02-20 14:50:53 +00:00