Received: by 10.192.165.148 with SMTP id m20csp2484215imm; Sun, 22 Apr 2018 08:01:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx498DAJhnz9KgjB9vR9U48nfeud0lGBZj5HIQJ5De6x9PkaQRHpKK9pnRWht2w5u0fMBHlwL X-Received: by 2002:a17:902:b903:: with SMTP id bf3-v6mr17239318plb.37.1524409267999; Sun, 22 Apr 2018 08:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524409267; cv=none; d=google.com; s=arc-20160816; b=cgUwdcURhwuAM6J/3oczZfjgxYEnZ+8Sk9DrHf9IQacMCro5Nu7bGJSh/4okkgkD17 XtLePq3AvjNDQUB78i8czTnhenU+Fxvt0oZ2hkT1kgdi693/FKF2huHHGSObZOK9xfcW sEKKMr367H2Mjd1BMRrr12jqM9h0ctjnPRUn/S6jYDEClS0jvPXAIsBy23lJv7+yMaaR uIHlb9PmBil3gtQKc3bDN7USAtmwNhfIIHELZJGe8eAoXOLkbv9SnodFvCk2kVpE9Kxn cQ0BQ++iys70saY+4/n/bMM8g+edmYNV6Ai8cXgfbdKJNRSyk2LyiI9YVCQKZNuiAE7P aS8Q== 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=3ErvBPokaK/X39YheVW+hF5zwDnHKJzXrQLygIpdzW4=; b=tXIumKeww2isSrnHAsip+nSSeH0yj1DnAqvVBkwkXP9bUZt5yq7EpE08KJP+XReDes +msRk8Q9kZq3KtyQ7W1fZ7fcWY0vATUU66Yd158vXXzVzEEBSyj/lzhyyv4HZUOOe4Ko HJHz9MPWh3MPhP2BbO1/iPQHseB08cef2b2raMTgMw0+j28ykcmWwd4gvQoaeYHgiyLr L/i9V87VxfLovU12tJ+X48BwrQ5ddNm4GRFMeJjLZEdwqPan2F4HiZplJPmKnuJuBCC8 sY4bDa2S4wVYL7cJ7YgQjx274NC/q+g3Cz7kTfLrQMNKmi9YqI1p12sfTIiHXxI22bpy nOeg== 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 f123si9160373pfa.364.2018.04.22.08.00.53; Sun, 22 Apr 2018 08:01:07 -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 S1756767AbeDVOM6 (ORCPT + 99 others); Sun, 22 Apr 2018 10:12:58 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55322 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756754AbeDVOMx (ORCPT ); Sun, 22 Apr 2018 10:12:53 -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 80E5FC97; Sun, 22 Apr 2018 14:12:52 +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.9 47/95] um: Compile with modern headers Date: Sun, 22 Apr 2018 15:53:16 +0200 Message-Id: <20180422135212.338598092@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135210.432103639@linuxfoundation.org> References: <20180422135210.432103639@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.9-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)