Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cb89b32 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: fix build issue in security/selinux/avc.c



This came up due to interaction with the backport of
commit 6b6bc620 ("selinux: wrap AVC state") and 4.14.172 causing a
build error.

Bug: 140252993
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I894f4e8144c1ad28fbbea114ff830a730497b05d
parent 4f546b14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -895,7 +895,7 @@ static int avc_update_node(struct selinux_avc *avc,
	if (orig->ae.xp_node) {
		rc = avc_xperms_populate(node, orig->ae.xp_node);
		if (rc) {
			avc_node_kill(node);
			avc_node_kill(avc, node);
			goto out_unlock;
		}
	}