Re: [PATCH v6 1/3] Add a new LSM-supporting anonymous inode interface

From: Al Viro
Date: Fri Aug 07 2020 - 19:03:34 EST


On Fri, Aug 07, 2020 at 03:49:39PM -0700, Lokesh Gidra wrote:

> The new functions accept an optional context_inode parameter that
> callers can use to provide additional contextual information to
> security modules, e.g., indicating that one anonymous struct file is a
> logical child of another, allowing a security model to propagate
> security information from one to the other.

What the hell is "logical child" and what are the lifetime rules implied
by that relationship?