[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cbd61b82-43e1-ad4d-e984-775f1209948c@schaufler-ca.com>
Date: Wed, 31 May 2023 07:17:08 -0700
From: Casey Schaufler <casey@...aufler-ca.com>
To: Christoph Hellwig <hch@....de>
Cc: Christian Brauner <brauner@...nel.org>,
Mickaël Salaün <mic@...ikod.net>,
Xiu Jianfeng <xiujianfeng@...wei.com>,
gregkh@...uxfoundation.org, rafael@...nel.org,
viro@...iv.linux.org.uk, dhowells@...hat.com, code@...icks.com,
hirofumi@...l.parknet.co.jp, linkinjeon@...nel.org,
sfrench@...ba.org, senozhatsky@...omium.org, tom@...pey.com,
chuck.lever@...cle.com, jlayton@...nel.org, miklos@...redi.hu,
paul@...l-moore.com, jmorris@...ei.org, serge@...lyn.com,
stephen.smalley.work@...il.com, eparis@...isplace.org,
dchinner@...hat.com, john.johansen@...onical.com,
mcgrof@...nel.org, mortonm@...omium.org, fred@...udflare.com,
mpe@...erman.id.au, nathanl@...ux.ibm.com, gnoack3000@...il.com,
roberto.sassu@...wei.com, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-cachefs@...hat.com,
ecryptfs@...r.kernel.org, linux-cifs@...r.kernel.org,
linux-nfs@...r.kernel.org, linux-unionfs@...r.kernel.org,
linux-security-module@...r.kernel.org, selinux@...r.kernel.org,
wangweiyang2@...wei.com, Casey Schaufler <casey@...aufler-ca.com>
Subject: Re: [PATCH -next 0/2] lsm: Change inode_setattr() to take struct
On 5/31/2023 6:22 AM, Christoph Hellwig wrote:
> On Tue, May 30, 2023 at 07:55:17AM -0700, Casey Schaufler wrote:
>> Which LSM(s) do you think ought to be deprecated?
> I have no idea. But what I want is less weirdo things messing with
> VFS semantics.
I am curious what you consider a weirdo thing done by LSMs. Things like
io_uring are much stranger than anything an LSM does.
>
>> I only see one that I
>> might consider a candidate. As for weird behavior, that's what LSMs are
>> for, and the really weird ones proposed (e.g. pathname character set limitations)
>> (and excepting for BPF, of course) haven't gotten far.
> They haven't gotten far for a reason usually. Trying to sneak things in
> through the back door is exactly what is the problem with LSMs.
Mostly developers play by the rules, and we don't let things sneak in.
Powered by blists - more mailing lists