Message ID | ef4330c23bb47b97a859dbdbae1c784fd2ca402f.1470319929.git.riku.voipio@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 90EFA6048B for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 4 Aug 2016 14:15:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 833BC28330 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 4 Aug 2016 14:15:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77E1328405; Thu, 4 Aug 2016 14:15:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 276AC28330 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 4 Aug 2016 14:15:50 +0000 (UTC) Received: from localhost ([::1]:40134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1bVJR7-0003aU-Bi for patchwork-qemu-devel@patchwork.kernel.org; Thu, 04 Aug 2016 10:15:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1bVJQb-0003Xc-Tw for qemu-devel@nongnu.org; Thu, 04 Aug 2016 10:15:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1bVJQZ-0000TZ-TM for qemu-devel@nongnu.org; Thu, 04 Aug 2016 10:15:16 -0400 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:34855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1bVJQZ-0000TM-LN for qemu-devel@nongnu.org; Thu, 04 Aug 2016 10:15:15 -0400 Received: by mail-lf0-x22e.google.com with SMTP id f93so183268808lfi.2 for <qemu-devel@nongnu.org>; Thu, 04 Aug 2016 07:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uZggTXG+YgJnne4z5WgqUGXNGt13hOWMdgxZAX/bDNA=; b=IZ76fTmrUL5gluSyHGO6h2SJ437x4l5aSJKbebANzaspq50LWvDo7NKaym0wu02HMn 1qiuhraURSo9oTJLgHb9A+jQxYCHbr4hwguB4C2h+lEJ4kE4aPaK/gD0EXdxHstYz/OL POxODcqCsMqPdf0Ku49ZTP4FA5tkvX7cCyVc0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=uZggTXG+YgJnne4z5WgqUGXNGt13hOWMdgxZAX/bDNA=; b=X18GhZrdJ2Vv9cGLnNLUdWtVHPzvkQJ/bdK4qhpcS36i6m+IZEFl5YHvHtpG+rCtjj D0jbtw+/uBjNxS9SSMivn0+OVgrf1GKHlBgWs3vKPPGhTAvu2N4kB9A3QmCgDb94OEJ4 FbQflxLPC871MqbNHdySNFvpuKhzzIxUAMeagBp9Y/DxRJciFyRZ+p9Xjbojp3BFp4ny I3hZV8LQfNbwNdz1hhmZ9kYCycNatNnpMIwDBYUJ7gFchL4vUSEJT/FgA6IB5mIJX4UR xVQF17+oB09+6p2T66J4IDpS9GYzeV+AamsFIh2FZSZTrWbTiWPUH+oJzrEihORNkoha yi0w== X-Gm-Message-State: AEkoouu9Zx1hdaBmWCnG3NjPSU/BE1lRyxYF6pXJlUluftMoB/Q/clwOLSUaKKE4d3U/6m49 X-Received: by 10.25.43.204 with SMTP id r195mr13451546lfr.176.1470320114561; Thu, 04 Aug 2016 07:15:14 -0700 (PDT) Received: from beaming.home (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id r76sm2407266lfi.35.2016.08.04.07.15.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Aug 2016 07:15:13 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Thu, 4 Aug 2016 17:15:05 +0300 Message-Id: <ef4330c23bb47b97a859dbdbae1c784fd2ca402f.1470319929.git.riku.voipio@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <cover.1470319929.git.riku.voipio@linaro.org> References: <cover.1470319929.git.riku.voipio@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22e Subject: [Qemu-devel] [PULL 5/5] linux-user: Handle brk() attempts with very large sizes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index df6f2a9..833f853 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -839,7 +839,7 @@ void target_set_brk(abi_ulong new_brk) abi_long do_brk(abi_ulong new_brk) { abi_long mapped_addr; - int new_alloc_size; + abi_ulong new_alloc_size; DEBUGF_BRK("do_brk(" TARGET_ABI_FMT_lx ") -> ", new_brk);