[PATCH v6 5/5] kernfs: initialize security of newly created nodes

Tejun Heo tj at kernel.org
Thu Feb 14 15:48:54 UTC 2019


On Thu, Feb 14, 2019 at 10:50:15AM +0100, Ondrej Mosnacek wrote:
> +static int kernfs_node_init_security(struct kernfs_node *parent,
> +				     struct kernfs_node *kn)

Can we skip the whole thing if security is not enabled?

Thanks.

-- 
tejun



More information about the Linux-security-module-archive mailing list