Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp624060imu; Mon, 26 Nov 2018 15:59:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vh+45ETuIndZihgx1dZwd/t3onJd5f7VrOXtC3EqC7ZMHbCRgF4dSI0gT9ve5xHyaYUI7Y X-Received: by 2002:a63:40c6:: with SMTP id n189mr26488832pga.355.1543276758242; Mon, 26 Nov 2018 15:59:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543276758; cv=none; d=google.com; s=arc-20160816; b=x2rKbNHuvPy2CIY1DW+fScnoJzlZ7GqwDWGsx5eZja5Wq8M5ynkIQEHYK3OxoBTOfR UZSN9fLpXfkG5CRcHSbOdvAhP57WC6TszhABBOkji+RWlUPPLwxWBQDrAxWcGjJmQ7nf tG/6NjfsGIViG6AwAqGpvTQKnYSGz0CotKmvrmzhMu7dUPhLF4pYGxmgOEjc6Gvf/kTS TH8BHH7V4cwG9ggMvmCwA48vbOlGBpqvxqYiAykeY+RZMnebu2Oc0+PfF2HvcRqOFb6N 7R8rcNWoz/bOyEnBPZBgx8kdchQgceciUCq2OzeK0KZXwLpo/MppbIhvgOjzfhCO6Gam +VYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=3u9R9GyCFBDGOshX42y2/d53w6/c/YWPzQ9YJX8JK0o=; b=tBuh/NniE6cG0HRY4W6uU9dEJlXWLnyY+iC1VEsjT/eXASSPXkhA25qKpCTngXDkAf 5NFO5LO+U67gNmmVDc0X23UDS1fkY8MP6XEO3LztEkRqqeCjCTSBYE0TzVHTl/5FGB2C e893vgd97NhF34Ohr3SuBi0CnIbT2LNUt/Hh/r+AM6hedBjSIeMHUcGWHB2PV+wqfD5L 028UBmOBwFspk9vBguEVwu2v2n2K/q/AndjRD/SDnNNwZKB/8P/DBDNs0W5Q1eGk+ogA GmYNIGAGdMcWpX7s/HZzsmkMO2OzBodriOPVyAeHwkFCONEych6WJ/z24iJeLlcucqfC FStQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=beqR9sWY; 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 c2si1833665plb.152.2018.11.26.15.59.02; Mon, 26 Nov 2018 15:59: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; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=beqR9sWY; 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 S1728038AbeK0KxA (ORCPT + 99 others); Tue, 27 Nov 2018 05:53:00 -0500 Received: from sonic302-28.consmr.mail.ne1.yahoo.com ([66.163.186.154]:35616 "EHLO sonic302-28.consmr.mail.ne1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727725AbeK0Kw7 (ORCPT ); Tue, 27 Nov 2018 05:52:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1543276626; bh=3u9R9GyCFBDGOshX42y2/d53w6/c/YWPzQ9YJX8JK0o=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=beqR9sWYG4P40la0QKd9DjfrtbGL2ravnp98JKuw+KDujbTyZjYpTRvXfGGbXdWuuiDvObjUBMIzs/f1vmDEThCbOqCF7MVNQLR71wpBZGUmkyjVR67TdR2xeXIXZJQU08H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AV7CvQhoq7dNC6RClY3un4aVvDS_Ugv9H0Y5T MUW65_lWOMCLN_sacRbHmZ1L9xpitC7R9xfE0JrLgnciEM8PemIbRzir9HwLJkqpC6lf9W6GtODK aVjOS34jrWbt_B1h2.Ors.F77CBWihh7LTt1ZSZvapacuqDsOB9FHftmHCA2_d_Bzi.mZJKLjUt4 Vkxxo34YRBnvPTDUJhYhN2FjDgH9FoEs3Ho4_Q95KoR8_VFmrMzbNmXN3mQP59jX3HNzYZGQ2yle RWfsq00BZyxPg96AfQEkSpLTrrs3dfmetl9htXw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Mon, 26 Nov 2018 23:57:06 +0000 Received: from c-67-169-65-224.hsd1.ca.comcast.net (EHLO [192.168.0.105]) ([67.169.65.224]) by smtp422.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4ab9a22a8175d9218d86768033f8d9bd; Mon, 26 Nov 2018 23:57:04 +0000 (UTC) Subject: [PATCH v5 38/38] TOMOYO: Update LSM flags to no longer be exclusive To: James Morris , LSM , LKLM , SE Linux Cc: John Johansen , Kees Cook , Tetsuo Handa , Paul Moore , "linux-fsdevel@vger.kernel.org" , Stephen Smalley , Alexey Dobriyan , =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= , Salvatore Mesoraca References: <50db058a-7dde-441b-a7f9-f6837fe8b69f@schaufler-ca.com> From: Casey Schaufler Message-ID: <02dd3038-09e8-34e8-ed57-8888788d17d2@schaufler-ca.com> Date: Mon, 26 Nov 2018 15:57:01 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <50db058a-7dde-441b-a7f9-f6837fe8b69f@schaufler-ca.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With blob sharing in place, TOMOYO is no longer an exclusive LSM, so it can operate separately now. Mark it as such. Signed-off-by: Kees Cook --- security/tomoyo/tomoyo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index 9094cf41a247..066c0daf0efc 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c @@ -577,7 +577,7 @@ static int __init tomoyo_init(void) DEFINE_LSM(tomoyo) = { .name = "tomoyo", .enabled = &tomoyo_enabled, - .flags = LSM_FLAG_LEGACY_MAJOR | LSM_FLAG_EXCLUSIVE, + .flags = LSM_FLAG_LEGACY_MAJOR, .blobs = &tomoyo_blob_sizes, .init = tomoyo_init, }; -- 2.14.5