Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp5001916imc; Mon, 25 Feb 2019 15:24:19 -0800 (PST) X-Google-Smtp-Source: AHgI3IZsClFaO7Kn+h9p/VMHquyXuljSvo3P2/iN/QmXqKZ9RhVZJ1kdBIhVJcLo+mffONIWS4t9 X-Received: by 2002:a17:902:5ac9:: with SMTP id g9mr23090811plm.205.1551137058962; Mon, 25 Feb 2019 15:24:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551137058; cv=none; d=google.com; s=arc-20160816; b=g1N7eJ4W6c45jI6bGdAjkKGffhyEPYhLNWr859q+vbUgdfoCLjc7sdIbftKDz6afR4 QHSlLgftbJ/WeMvLuXq1SdUGDtsb/+OMBaJJjoSAGsJxIT7yEVQRQgWGp+OfIwP3QCbO HWTgK3ZcZBqBj54y0trcN2ipdH4hXibvGfQZxG8k+9xwuceAo/BVzprthhD6sNrQHT1p YcuVBESmqFwM9lXEBjgmzqER4xcrRF6bQz54/zebQs8geWNhrRCNXbV2qmlen5q6YdOJ /qfoHYSeZDYSZsVyhqw6koaB3UXtcl4ajTmSAOX0BbWrFhXphA6LGUKcKjP7jyOyV4Kd cKGg== 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 :message-id:in-reply-to:subject:cc:to:from:date; bh=ykPDjUh8484aAD7G2znZcAglkySYi/pcAYFgC3Rht8s=; b=xGUZaYBF8FlTcvFNYqN75clr8j9Hz6W90GaRCbDjGyniHUnUoTGBuybrIUc4MYhG/Y NF8WfX+u5HV+2a0jI5AYgbwn99UbHOUcwk0+YhYHZKXo85MM0r1PfTtQoMb0k5p0NGN8 abvK2cBkem/QPvJ5lbdPipkwJYhRQMjZHX58N/1KHheRC/xDOdQ5idE3Yv5TRDMm6eYQ KyUCZaHniD8ofSZAvYwd+V9DlYPlDTeuY8tlYkTiPzw2e4vOYy18vxwXsFZUODaab3LK KVHtFqtD1PgcFrf4wdu3DodoGFvjOxiCfjlXw1rmru4b6rR0XWUmYQMzoRzcUE8cTHpO efag== 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 j64si10289022pgd.126.2019.02.25.15.24.03; Mon, 25 Feb 2019 15:24:18 -0800 (PST) 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 S1728975AbfBYXXn (ORCPT + 99 others); Mon, 25 Feb 2019 18:23:43 -0500 Received: from namei.org ([65.99.196.166]:54198 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727421AbfBYXXm (ORCPT ); Mon, 25 Feb 2019 18:23:42 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x1PNNb9Q019939; Mon, 25 Feb 2019 23:23:37 GMT Date: Tue, 26 Feb 2019 10:23:37 +1100 (AEDT) From: James Morris To: Kees Cook cc: Tetsuo Handa , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] LSM: Ignore "security=" when "lsm=" is specified In-Reply-To: <20190212182318.GA16669@beast> Message-ID: References: <20190212182318.GA16669@beast> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Feb 2019, Kees Cook wrote: > To avoid potential confusion, explicitly ignore "security=" when "lsm=" is > used on the command line, and report that it is happening. > > Suggested-by: Tetsuo Handa > Signed-off-by: Kees Cook Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general -- James Morris