From patchwork Wed Jan 30 15:56:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Micah Morton X-Patchwork-Id: 10788851 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1ED081390 for ; Wed, 30 Jan 2019 15:56:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 089872FAD5 for ; Wed, 30 Jan 2019 15:56:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EDF312FB4C; Wed, 30 Jan 2019 15:56:52 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93ED02FAD5 for ; Wed, 30 Jan 2019 15:56:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728720AbfA3P4v (ORCPT ); Wed, 30 Jan 2019 10:56:51 -0500 Received: from mail-pf1-f197.google.com ([209.85.210.197]:48581 "EHLO mail-pf1-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727067AbfA3P4v (ORCPT ); Wed, 30 Jan 2019 10:56:51 -0500 Received: by mail-pf1-f197.google.com with SMTP id t2so20085618pfj.15 for ; Wed, 30 Jan 2019 07:56:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=tE4/vBoC776i3m8V+UnNM01bbi2iekMemhSPnzcnxAk=; b=aBzGM2wLxAFW6qFRF5EnooSR+W5g3rrtmgtm2zXhJxsJb4gqi02c1luCDPxEHdoAej S/C37rdR0RZbwd7+znmbOUvYutYVI66Tfv2gF3rqNyov9YGofnNEl+CMwC+mNO39aTzM qh0N41Jwj1TtLaXrRamnXql+ySqcSiPyTs7L4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=tE4/vBoC776i3m8V+UnNM01bbi2iekMemhSPnzcnxAk=; b=GbI3HsSjuIc89XFuMLAE9OTuSxKqi6VtS0jurx/z/nZ/9lbKxxuwxnYDZRdC9dPI2I AwJg6UzbByE76s1qoPTNbovnsMhC2Vr8d6BD/kqp46lUNtWuoYJR7XU+wErNuN4aZbX1 ODCOloEzdj+xPPYeLbc3Y4YqPx58ub06bPFGPEoN1yb9w7HHB2EYisy0XFJB4j1tGjqb 4PiZ01DaroKbuag49Db5P26Eozevi8tXvbbYV9hM3XsOiQcvYre8rv3j9yVowiHB5VTh Fcmqhwa9c0gC+NeRp4vvDJKT0CLb1pgc6+Yr0RIQh2MZDiSdE6GUb+Tdta8sc9v0rLue A7ZA== X-Gm-Message-State: AHQUAuaQ4cSiY0+8AGdZjvHFTQx8meijK1/5WrF0HZBdx2aom+3oz9ly ZwXoERUlIVSchNCxDoLwZ1y9CsKLEbDxK3IS X-Google-Smtp-Source: AHgI3IYZ/hZQYU+fKnxN77FpsLZuL/I3IoK+AizQBoxmw2xlfe6wW70LNHSJWBt4P6Niv+JPh8BUTelpqSfskyQz X-Received: by 2002:a17:902:3a1:: with SMTP id d30mr3498962pld.41.1548863810662; Wed, 30 Jan 2019 07:56:50 -0800 (PST) Date: Wed, 30 Jan 2019 07:56:43 -0800 In-Reply-To: <201901300828.TveZbnBP%fengguang.wu@intel.com> Message-Id: <20190130155643.167055-1-mortonm@chromium.org> Mime-Version: 1.0 References: <201901300828.TveZbnBP%fengguang.wu@intel.com> X-Mailer: git-send-email 2.20.1.495.gaa96b0ce6b-goog Subject: [PATCH] LSM: SafeSetID: remove unused include From: mortonm@chromium.org To: kbuild-all@01.org, linux-security-module@vger.kernel.org, james.morris@microsoft.com Cc: Micah Morton Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP From: Micah Morton The include for asm/syscall.h was needed in a prior version of lsm.c that checked return values of syscall_get_nr, but since we did away with that part of the code this include is no longer necessary. Take out this include since it breaks builds for certain architectures. We no longer have any arch-specific code in SafeSetID. Signed-off-by: Micah Morton --- security/safesetid/lsm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/security/safesetid/lsm.c b/security/safesetid/lsm.c index 282a242beb86..cecd38e2ac80 100644 --- a/security/safesetid/lsm.c +++ b/security/safesetid/lsm.c @@ -14,7 +14,6 @@ #define pr_fmt(fmt) "SafeSetID: " fmt -#include #include #include #include