Received: by 10.192.165.148 with SMTP id m20csp2431814imm; Sun, 22 Apr 2018 07:01:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/NIJUDafw+EDbGh0HpBy8SOoHLUveijTXCxQMeprEe7YUme2/YVY1Twmn/Gnw+NgrC62y7 X-Received: by 10.98.200.152 with SMTP id i24mr16808662pfk.35.1524405688938; Sun, 22 Apr 2018 07:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524405688; cv=none; d=google.com; s=arc-20160816; b=qm/eUut7V9VZBBSjrxSonWzc66GbylayFeX/IeBo/PJtvUs3SmPwAlifeKbAutbScP 5z/uUd1pKN/GLPF1Ejn5Z1hmEJhNslgAeDQRQVPzk8aSSAL0C2xpDZEffdMdheWlqy3p C3+Zi0n/aK2GUF2N/YAeqY5B0g5UDNnQQ2bHTpRm/ViVOFmiRsHg8ztxuyH5kSp15/Sv o8SoR8xnKTE9HYGwQBS63LyLcJelPc+cNUDYHT1pdsfZO37jnWpOgeCi819FEcy7PCMa IPWlbOMZ8TqlDZ6cJF/dxON6brUaeEMSzy9YtpLNsUAQ9S3bgEASkIq1FnQnrgmbx+mD nADA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ud97Q2X8kneWRZykO4SQLjBcJ99LHAVW8091eCvB3is=; b=bnZwKNUuQ2155DyQUVnOj8Jh13slEVQirnoNeRbMPSExjS3FvxyMbh8fxW+MrjEhE9 1t7Bx+PBrcN6EWwNkaO5Nb9H+HOpfvUiyXyfVG/1v++fRQGngI1MCocU12OJP3vO3B3L 45+2ar36WK4wSAtmxu93WRQwBa+mPhmpmyn65Ti1cboqlLKV8fRwICUiema8ZJLSi2WH LPpCG0pqzuK+LLbj303aumOyr7HIbXIu1hs5xXzpbLx3jYphDY5mniuAveeJXjN1ESfP m3eFLEdOg1g3/vSb3CbvDB6wVZ4AXf//0aBrcRp/M7FV9p0onTZiShYDDS4X62GLA+OK ciQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c23-v6si9960303plk.245.2018.04.22.07.01.14; Sun, 22 Apr 2018 07:01:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754498AbeDVOAJ (ORCPT + 99 others); Sun, 22 Apr 2018 10:00:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47200 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754058AbeDVOAF (ORCPT ); Sun, 22 Apr 2018 10:00:05 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id D070B412; Sun, 22 Apr 2018 14:00:04 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Jason A. Donenfeld" , Richard Weinberger Subject: [PATCH 4.16 128/196] um: Compile with modern headers Date: Sun, 22 Apr 2018 15:52:28 +0200 Message-Id: <20180422135110.879954812@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135104.278511750@linuxfoundation.org> References: <20180422135104.278511750@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jason A. Donenfeld commit 530ba6c7cb3c22435a4d26de47037bb6f86a5329 upstream. Recent libcs have gotten a bit more strict, so we actually need to include the right headers and use the right types. This enables UML to compile again. Signed-off-by: Jason A. Donenfeld Cc: stable@vger.kernel.org Signed-off-by: Richard Weinberger Signed-off-by: Greg Kroah-Hartman --- arch/um/os-Linux/file.c | 1 + arch/um/os-Linux/signal.c | 1 + arch/x86/um/stub_segv.c | 1 + 3 files changed, 3 insertions(+) --- a/arch/um/os-Linux/file.c +++ b/arch/um/os-Linux/file.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include --- a/arch/um/os-Linux/signal.c +++ b/arch/um/os-Linux/signal.c @@ -16,6 +16,7 @@ #include #include #include +#include void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = { [SIGTRAP] = relay_signal, --- a/arch/x86/um/stub_segv.c +++ b/arch/x86/um/stub_segv.c @@ -6,6 +6,7 @@ #include #include #include +#include void __attribute__ ((__section__ (".__syscall_stub"))) stub_segv_handler(int sig, siginfo_t *info, void *p)