Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp66290img; Thu, 21 Mar 2019 14:14:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqybFhhlphjHSXRzmYQLTNHeTXdBQV30vIrn6zJds+l6iHRD+BzJwdwoYEoW5eqPHAwCtGBb X-Received: by 2002:a17:902:7786:: with SMTP id o6mr5684702pll.206.1553202843865; Thu, 21 Mar 2019 14:14:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553202843; cv=none; d=google.com; s=arc-20160816; b=L4B8a5FLAFfyDkvr6IB9MBZMZJ57Q8lqKXOSIv/Zq7BLoatkzoCxj1qge9tWHWWfHJ GQ4tz3nuXg4h7XTKQIdOKU1bX1MEA7fH4sf5YZasPzgnfyEjAkUDEdZ9CrDfjzK+2Y85 SVC6RPyxFEaQ3So5pMPhAMH0vjX33AmmfK7JT/x0ykrQz0AISgX7MkcFM+UaZjmi8Eco W7RFQ3mZeBTcXvMvYSwZ1Xll6V/O7pzfFFtwlhNRGWxpM5sKo/BYtOYZpPMtkJAIEFx4 FKgu/1lhiSc1u4ig6XCZgatDq/oXyKNir7eO7FNz5IqAx4VaWMTGGjQihVYZ4UUF/Ggt +ptw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=vXWWkCMapugv3oXp2YxGSBcC/YGHmp0nw/uz/VTTy9I=; b=cuKlKTVzx6ZjRADAQJKCfSGBp72RCoxjLFYLteE64z5cBgq5Wd+4xuHGCswi/YwMJY iwn7jm8SYiwNvMCxrVaxPfERufKGgjNoi11R+lcxYh8jLhAN6SvNjHFdhdVju/glDFSq O1K0/Esn0gcNZjCFRdlb7UpmNrz8CwdruU1aNFwQMAJ4Svjg7MW0fXVpQPlCUyxeabgH qMmMYtmZjAlCOm3WvEaj7K8ZgUPZuHDALXfgWoy4+D2RkV06pd1rzF+iuuoEpQhKpCkn HsbhKlG9Yyneg50N4LXh3bwiJufnSbvoU94xUw83jLxh8hwCJ8HJAF9B8yXEj+ZKWCao muyg== 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 j12si1252404plk.144.2019.03.21.14.13.43; Thu, 21 Mar 2019 14:14:03 -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 S1727166AbfCUVKf (ORCPT + 99 others); Thu, 21 Mar 2019 17:10:35 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:62652 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726093AbfCUVKf (ORCPT ); Thu, 21 Mar 2019 17:10:35 -0400 Received: from fsav401.sakura.ne.jp (fsav401.sakura.ne.jp [133.242.250.100]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id x2LLAJPi091816; Fri, 22 Mar 2019 06:10:19 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav401.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav401.sakura.ne.jp); Fri, 22 Mar 2019 06:10:19 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav401.sakura.ne.jp) Received: from [192.168.1.8] (softbank126094122116.bbtec.net [126.94.122.116]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id x2LLAEL3091793 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NO); Fri, 22 Mar 2019 06:10:19 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: mount.nfs: Protocol error after upgrade to linux/master To: Kees Cook Cc: Casey Schaufler , Jakub Kicinski , linux-security-module , Trond Myklebust , "open list:NFS, SUNRPC, AND..." , Anna Schumaker , LKML References: <20190315110555.0807d015@cakuba.netronome.com> <20190315120105.5541ad46@cakuba.netronome.com> <20190315165440.53b9db3c@cakuba.netronome.com> <2bf23acd-22c4-a260-7648-845887a409d5@i-love.sakura.ne.jp> From: Tetsuo Handa Message-ID: Date: Fri, 22 Mar 2019 06:10:14 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/03/22 1:38, Kees Cook wrote: > This is mostly good. I'd like to keep the other LSMs listed though > (similar to what I had originally) so that if a legacy-major doesn't > initialize, later ones will be. I want to remove the concept of > "major" LSMs. The only thing that should matter is init order... Excuse me? Are you saying that if a legacy-major (which is defined as the "Default security module") doesn't initialize, later ones (any of selinux,smack,tomoyo,apparmor except the one which is defined as "Default security module") will be initialized ? That sounds strange to me. Any of selinux,smack,tomoyo,apparmor can be initialized when specified by lsm= kernel command line option (or security= kernel command line option if lsm= kernel command line option is not specified), won't it?