On Thu, 21 Jan 2021, Christian Brauner wrote: > Add two simple helpers to check permissions on a file and path > respectively and convert over some callers. It simplifies quite a few > codepaths and also reduces the churn in later patches quite a bit. > Christoph also correctly points out that this makes codepaths (e.g. > ioctls) way easier to follow that would otherwise have to do more > complex argument passing than necessary. > > Link: https://lore.kernel.org/r/20210112220124.837960-16-christian.brauner@xxxxxxxxxx > Cc: David Howells <dhowells@xxxxxxxxxx> > Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > Cc: linux-fsdevel@xxxxxxxxxxxxxxx > Suggested-by: Christoph Hellwig <hch@xxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > Signed-off-by: Christian Brauner <christian.brauner@xxxxxxxxxx> Reviewed-by: James Morris <jamorris@xxxxxxxxxxxxxxxxxxx> -- James Morris <jmorris@xxxxxxxxx> _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers