Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp115935imm; Fri, 21 Sep 2018 19:44:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV60iE/lk8AmqBIRSuP+m9qpRYeF9kTg9PHunmyM/bygDbMYqGj/RlPw078bJ5QTjDWDIYc7i X-Received: by 2002:a63:7509:: with SMTP id q9-v6mr409743pgc.137.1537584279245; Fri, 21 Sep 2018 19:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537584279; cv=none; d=google.com; s=arc-20160816; b=eWmyzP46M2TLRdyFujcrAb8VRyUb+gHPUqNOr3+VmdMyjjLWLZIXmqfqf166Ez7QHQ haV4JKcuGmrWFMrqGie0DfTODBO4H8f0HI4feDxxvLw/i4u5eCfpsRfIcEFLmmPj9Tnx HkKBze7KdTf/7SIZ4+3Ucc4KfjhJqSCK44iFNFBchbegqZcq5xAxChhMCh8/q4p4Adc9 YksD42mquv0wuV6Xh+E13kxMr+wfq+6/DxQPQxO8aOPTOc1wy0IuDOincfdV+LIMX54y 43krO5kHP96YJ1ZWvn//Ihe+S0gwAyRQKDyUPRgMXv//yebG1x24oWaeKUgpB2g9qCID qQZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=4H2845ZspKAH8gWdgPFGWB56howBj5MwyJO1qZgaUB0=; b=VUWHJK9Qw1/MhR6+dGpjALEk/XmlKDAVUsE/tnLcBMnUngWQUGhMuxgQao26/qCEJo qUeqUZyzgP1VmPSp/vfVugSfJwDSbZH3ucyHFrdFUlDdINXq0ocM/chP59dwsgcr18Bb q8m+JN7CORkpXhE7rHqsjCBxnxm8fiEsWbuD/XezgI3rl8/vWIUelB1FhmO+k3lhC1+f XwQA3KFYDSgXji8MU4IPXZIs7+a8rR8G9eMimZTEjr1tkwNQu4r5QC7Jbj/mW4nE9BBw nIdR4Yh1fsYjB0dEAWZk43/rRDXGkDfCHhMxy4GU2feHJOS7GhCVf0cR5ov1GANbrhlZ tBxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YH3li2Oe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r23-v6si28039071pgi.409.2018.09.21.19.44.23; Fri, 21 Sep 2018 19:44:39 -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; dkim=pass header.i=@chromium.org header.s=google header.b=YH3li2Oe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726320AbeIVIfd (ORCPT + 99 others); Sat, 22 Sep 2018 04:35:33 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:34392 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726153AbeIVIfd (ORCPT ); Sat, 22 Sep 2018 04:35:33 -0400 Received: by mail-yb1-f193.google.com with SMTP id 184-v6so6270092ybg.1 for ; Fri, 21 Sep 2018 19:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4H2845ZspKAH8gWdgPFGWB56howBj5MwyJO1qZgaUB0=; b=YH3li2OeqotmOB0x8a2PjOg633WBkuYurMsexYpSJQOVHHP52AOzku6nTaG2TxVfLd qpyQWhk38AfHczvMNnkQZE36VlXxjqknoZaMr1ONkTODjvPqcSFh/UlEAbvEAJtJA0IT NQK7aT43vsf3/lwtarV3e9xyQNOfhhvFUerj0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4H2845ZspKAH8gWdgPFGWB56howBj5MwyJO1qZgaUB0=; b=B0ioks4vy4NiX+wiPiHOgYeyVv08PsbrvWoMgwcHtw+IsOJ4LJq0uCFwqVfzo1sH5c gLcukSQUNyQmgSu/Qat1csffh+U0IvnCoKdNGZcuuqK4DOM8+tOLfj3aOsufATfUjA3/ JhGvjHmfJ2HUfWy23pgcbxA8jWfu1OiM1ROyzHPoqoj1oWu3gF9HEc5dlQ/TAHRr6PRc IbRIpJPG50U5U6Hn3XzFQkgxTxyO6GtMra9JdV0O1MM1VVqavNOtrq3aGyIJ8EDELwVy cJ9IJu5vtva6S+NLJwSxXcgcEZXx+uzHX2sF9ozjCU5zsYsN4b++4zQCcxy/scrKiU2d e2PQ== X-Gm-Message-State: ABuFfojLOLfqDq+J/6WxdVF2l04eY87aXq4PXwd/faZttS3HPWKcSV3b Zqq2Pvr3aTSOwSw80LxAepugjrM/E6U= X-Received: by 2002:a5b:d0d:: with SMTP id y13-v6mr220558ybp.24.1537584224514; Fri, 21 Sep 2018 19:43:44 -0700 (PDT) Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com. [209.85.219.169]) by smtp.gmail.com with ESMTPSA id l20-v6sm4539118ywk.29.2018.09.21.19.43.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 19:43:43 -0700 (PDT) Received: by mail-yb1-f169.google.com with SMTP id d9-v6so6243342ybr.12 for ; Fri, 21 Sep 2018 19:43:42 -0700 (PDT) X-Received: by 2002:a25:19c3:: with SMTP id 186-v6mr209267ybz.410.1537584222571; Fri, 21 Sep 2018 19:43:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:5f04:0:0:0:0:0 with HTTP; Fri, 21 Sep 2018 19:43:41 -0700 (PDT) In-Reply-To: References: From: Kees Cook Date: Fri, 21 Sep 2018 19:43:41 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 05/19] SELinux: Remove unused selinux_is_enabled To: Casey Schaufler Cc: LSM , James Morris , SE Linux , LKLM , John Johansen , Tetsuo Handa , Paul Moore , Stephen Smalley , "linux-fsdevel@vger.kernel.org" , Alexey Dobriyan , =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= , Salvatore Mesoraca 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 On Fri, Sep 21, 2018 at 5:17 PM, Casey Schaufler wrote: > There are no longer users of selinux_is_enabled(). > Remove it. As selinux_is_enabled() is the only reason > for include/linux/selinux.h remove that as well. > > Signed-off-by: Casey Schaufler Reviewed-by: Kees Cook -Kees -- Kees Cook Pixel Security