Message ID | 20210924135631.2067582-5-laurent@vivier.eu |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp1496288jao; Fri, 24 Sep 2021 06:57:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmU8CuSNLdDZfSvoOtTlrAe9T4izT69/apjt8uMBemP6t+Jus3durlOEO1DdHjjgruMU/u X-Received: by 2002:ac8:7212:: with SMTP id a18mr4113826qtp.103.1632491862199; Fri, 24 Sep 2021 06:57:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632491862; cv=none; d=google.com; s=arc-20160816; b=MUk6N1Kg8Glxllc1drQmFcCRl3NTu/oK0y2YdVMOPZJaP7MAGcc9/toAvV4AL0ryED VbmOp6erxpliWYkm2Cmdmbz6zGnqKQ8fX3xjjq0v3eyVHRYzTbRDT1ocOXQOXYCOcmyc 48ejD0hsruXzvsggpazkf8bYLd/CJYfy/LxmIK4IwBNqfTLWAew6zvAnztAZBqmRXr6W Eh5MoeI9yt86540FXyvTdDYCaRqpw0zOxaO92M/IEuG03Q0a0KAEz8SKj6fmeiMe2GA7 hMKdM86RX2vW1qzJKzkVQpN2JU6MSrVpI3sMXGpe7280z5P/8YksBoJrFPMqhFWMC2qe Lrkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from; bh=wgPePADtulHJqPkDQm58eScGGjDpVlrug1ev1v35kZs=; b=JPniL0pIXpb1ExvmIrEUPcWz26aKDaOh0uVy/5vEtRd5V0gqcTN0/on5pGOiavGt4R EK51ITvvUKNOGX9BmOx9TSBe4UJoRkSlb85QDbZIEi+soTtUljXb+QzRDcYUWaCI+RLA 7hmc028E4wgt8CaZ0tfL/3QuRee65gi1fw+ZGgtX6Qzk2wbbw7amiiC/eYMhHnXnqRTp msvJ5PuAqSrOgzTqmknxh0z8azrpvdvqFsW/H7THG3HXd+lOvi1Eo8+VRVXFHOozeUbo jd9WDl89ZjhtQD+O3ez4JAPsJaWP789/RJJQSIlzOUaklhGFqMS8f2VyCxDSV/y9asUU B9zA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s17si5930314qks.281.2021.09.24.06.57.42 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Sep 2021 06:57:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:52586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1mTlhs-00034f-Jj for patch@linaro.org; Fri, 24 Sep 2021 09:57:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <laurent@vivier.eu>) id 1mTlgt-0002z7-2t for qemu-devel@nongnu.org; Fri, 24 Sep 2021 09:56:39 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:47669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <laurent@vivier.eu>) id 1mTlgq-00058z-DW for qemu-devel@nongnu.org; Fri, 24 Sep 2021 09:56:38 -0400 Received: from quad ([82.142.21.142]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MysBI-1mq61g1e9C-00vsyT; Fri, 24 Sep 2021 15:56:34 +0200 From: Laurent Vivier <laurent@vivier.eu> To: qemu-devel@nongnu.org Subject: [PULL 4/7] linux-user: Zero out target_siginfo_t in force_sig() Date: Fri, 24 Sep 2021 15:56:28 +0200 Message-Id: <20210924135631.2067582-5-laurent@vivier.eu> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210924135631.2067582-1-laurent@vivier.eu> References: <20210924135631.2067582-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:ppNP15x2czCuvY1892z6woD8TKTsVrnHpcpOymAF7UVDRkS0kdD aJyaezdd2d6rYS1IypNuHESeZdx/tkLUAk4DmOc7DQbt8EcPE32HeJtJOuqlzOkvPaZ+29R IxEtwq5S3OIKUfeAS3oLKyWy0/u+lOBQ6r1+1ZLqSv5TqgwLm2Gb+N5u+Hhom8gipPU8pKx wYbvctDM0/THCs8jCmNxg== X-UI-Out-Filterresults: notjunk:1; V03:K0:u4Nog+Vvs6g=:tIgHdiMIfaivEYr4b2N9WS J4k+vg+jt5GtuguGq6xEs85iEPW6QCpiHck3x/k6W26jISGRWOvXDI+dZ2AudQLC9Zc5kg15e vHOthc/oqWJTmzJcUCGSans3PcAqorYaLgEycDZ86jqceC8d1Yo2LVEYnn5AbnWOvfmXIQeQp AB+HpMsW+NUNNJfHHm0XLh7adtunHcmLXaEpHjLbBwA7MN4ugWuMhlZttarWaGpgtCv3G1erE fVC8Es/lA9OUpZgqQRWAlrsKR5cvIFx/TyYkuEE8wiO3r6pFS+3Ur8gM+cvm4L68nOn8mrgNF TZSO6k2L1m+rk0Ccdbi2HA0eSd3+MkN9y3tCm/mKiNnKd3ND8ZL/azXyDg7SAYjog7p7pZ457 3JR+jOsdL3Fv9xmX1RFaD0DbxeQ4Osb6yYCMn5Gi16cxGuT3tn6vIRU+FkrGj2X4PsI8nLDUn WkzknjygjZQmHKTAgbJg4fzKkMiolfll0JXcuecRztqGawD5TyQjFa/db4ecHeZ1sa5GIr5Lk jE6JcPDP6FcHsNB83EVtw9y+bCJrPWAWfwaxfVPsJ86Rkq+dp+y0F4rsB2fJPZUNba9tKy4ie Ab/PDun4S8eF/Ew4u2Xh6XFIyq5G8VVFcVu088XqPtSHUp3kqDKkPgDWq/gmyvVxZNBvALfp0 VKZVQO0X0zmI5/7GGB0EwHeZuxBHU1TGn7x7OkRdIJero2UQfs1v4B2cLl2TH6OjjsARK7tbA 3YK3A1rzrtnZ//l1kOI9OLsp0o/G47fNoysQ7g== Received-SPF: none client-ip=217.72.192.75; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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: <https://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 <peter.maydell@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, Laurent Vivier <laurent@vivier.eu> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,1/7] linux-user/aarch64: Set siginfo_t addr field for SIGTRAP signals
|
expand
|
diff --git a/linux-user/signal.c b/linux-user/signal.c index f8346f5ec5fd..910b9dc6f7d1 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -641,7 +641,7 @@ void force_sig(int sig) { CPUState *cpu = thread_cpu; CPUArchState *env = cpu->env_ptr; - target_siginfo_t info; + target_siginfo_t info = {}; info.si_signo = sig; info.si_errno = 0;