Commit Graph

233475 Commits

Author SHA1 Message Date
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
nonaka
d8a76e561e regen
> PR/49681: Support BUFFALO PC-OP-RS1
2015-02-20 14:49:48 +00:00
nonaka
4d97711313 PR/49681: Support BUFFALO PC-OP-RS1 2015-02-20 14:48:55 +00:00
wiz
f95cba75d4 Add EXAMPLES section, from Youri Mouton.
Bump date.
2015-02-19 23:08:21 +00:00
joerg
6a0d7a05a0 Don't use plain inline in that might end up compiled with -ansi. 2015-02-19 21:44:50 +00:00
maxv
18daf27dfc e2fs_sbcheck(): add a check to ensure e2fs_bpg!=0. Otherwise the kernel
panics with a division by zero.

While here, remove the #ifdef's.
2015-02-19 21:31:44 +00:00
snj
af0aff5a20 don't install Xtransdnet.c or Xtransos2.c, which were last part of xtrans
1.2.1.
2015-02-19 20:57:36 +00:00
riastradh
d0a8c79f16 Clarify advice about when to use what parts of cprng(9).
Add security model to specify the difference between cprng_strong and
cprng_fast.

Fix code references.  cprng_fast now uses ChaCha8, not RC4.

XXX Would have been nice if they had been called cprng and cprng_weak
to reduce confusion about which one to use, or even random and
weakrandom.  Too late for that now, though.
2015-02-19 15:38:30 +00:00
mrg
9a65e5e0c5 update for reality in many places. 2015-02-19 11:20:43 +00:00
nonaka
e91ada0139 fix compile failure without DIAGNOSTIC. 2015-02-19 08:59:56 +00:00
wiz
076a2da7d8 Use Pp (mdoc) instead of sp (roff).
Use An in AUTHORS section.
2015-02-19 08:51:14 +00:00
lneto
bfd43003e4 lua(4): small fixes in kernel Lua
* fixed hex parsing
* restored lua_isnumber
* removed unwanted macros from luaconf.h
* restored <stdarg.h> include in ldebug.c
* removed doubles from unions
* removed unused functions
2015-02-19 04:46:22 +00:00
mrg
2343aabb74 add a 'down' key to tetris, defaulting to 'n'. it move the block down
a line, if it fits.  like most other tetris games have.

minor clean up of magic number usage while here.
2015-02-19 02:27:30 +00:00
christos
31fb02278a PR/49676: Ryo Shimizu: ICMP_STATINC() buffer overflows
XXX: pullup-7
2015-02-18 17:00:15 +00:00
macallan
eb488f671d switch sgimips to common bus_dma and bus_space in arch/mips/
Tested on O2 and Indy.
Things that are compile-tested only for lack of hardware:
- GIO ethernet cards with PCI bridges
- IP2x hardware not found on Indy
- IP1x
2015-02-18 16:47:58 +00:00
joerg
3dea93ea59 Apply elf32.em r1.8 to the corresponding sections of armelf.em and
aarch64elf.em. Original commit message:

Recursively add DT_NEEDED entries from shared libraries if symbols are
used indirectly. This is more in line with the old GNU ld behavior, but
not exactly the desired semantic.

Patch from Martin Husemann.
2015-02-18 15:05:43 +00:00
macallan
0b9601e293 cleanup compat options, disable COMPAT_LINUX for N32 kernels 2015-02-18 11:15:19 +00:00
wiz
a1da3f78ee Fix Xref. Split line, Ox doesn't take word arguments. 2015-02-18 08:46:43 +00:00
ozaki-r
47d3523379 Add assert 2015-02-18 03:08:38 +00:00
ozaki-r
99f05559ed Don't return success when the target CPU is offline
dt_status originally expected the behavior.

This fixes a segfault happens in dt_aggregate_go (a user of dt_status)
that depends on the behavior.
2015-02-18 03:07:56 +00:00
enami
f9973cdc30 Make this file compiles again with BGE_DEBUG defined. 2015-02-17 23:07:56 +00:00
christos
71cf54e71e OpenBSD is like us. 2015-02-17 22:49:26 +00:00
joerg
72523275ec Provide _Unwind_Find_FDE for libgcc_s compatibility. 2015-02-17 21:02:33 +00:00
christos
84a0efdf85 use reallocarr() 2015-02-17 20:44:42 +00:00
joerg
9b5f3d5723 Move reallocarray under _OPENBSD_SOURCE where it belongs. 2015-02-17 20:33:40 +00:00
joerg
f6072d060e Use reallocarr and simplify. Document valid reallocation failures. 2015-02-17 20:30:44 +00:00
joerg
c9baa5968d Introduce reallocarr(3) for easy (re)allocation of memory with overflow
checks. Compared to OpenBSD's reallocarray, makes it easier to avoid memory
leaks on allocation failures and it doesn't depend on malloc(0) != NULL
for correct error checking. Compared to plain realloc, it also avoids
the problem of intermediate integer overflows. The trade-off is the use
of void * to side step C type system with regard to generic pointer to
pointer.
2015-02-17 20:29:20 +00:00
christos
c4bbd62988 "something odd happens" is not a useful error message. 2015-02-17 15:14:28 +00:00
martin
dfdb00a60a Make the dummy data that we expect to go into .data section bigger,
otherwise on e.g. alpha it goes into the "small objects data" .sdata
section, which confuses the matching done in this test.
2015-02-17 11:51:04 +00:00
macallan
a3fb1dc4ea move DAC1 output channel to master so things like OSS and kmix work
as expected
2015-02-17 11:25:43 +00:00
msaitoh
a9f6de8334 Print bit setting of bge_asf_mode if BGE_DEBUG is set. 2015-02-17 10:11:24 +00:00
macallan
2bded62014 do as others do and mmap() DMA buffers uncached if we get
BUS_DMA_PREFETCHABLE passed in flags
2015-02-17 09:58:33 +00:00
isaki
b8d13981be m68k (except sun2) never issue SIGBUS on unaligned accesses.
PR lib/49653.  Thanks martin@.
2015-02-17 09:47:08 +00:00
nonaka
e6864eda07 Add iwm(4). 2015-02-17 09:21:57 +00:00
nonaka
8472af7ed3 fix compile failure with IWM_DEBUG on i386. 2015-02-17 09:18:45 +00:00
nonaka
6e15a820ba Added Interrupt coalescing support. 2015-02-17 01:53:21 +00:00
skrll
be476388f9 Bump memory disk size to fix build. 2015-02-16 22:50:02 +00:00