[PATCH v2] nfs: Fix automount superblock LSM init problem, preventing sb sharing

David Howells dhowells at redhat.com
Fri Aug 5 13:43:15 UTC 2022


Jeff Layton <jlayton at kernel.org> wrote:

> I hit a problem when testing this:

	if (reference) {

should be:

	if (fc->purpose == FS_CONTEXT_FOR_SUBMOUNT) {

in both selinux and smack.

David



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