Unverified Commit 8f1f6ebc authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!13073 selinux: clarify return code in filename_trans_read_helper_compat()

parents 832e9cf5 ef6879ca
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1923,6 +1923,7 @@ static int filename_trans_read_helper_compat(struct policydb *p, void *fp)
		if (unlikely(ebitmap_get_bit(&datum->stypes, stype - 1))) {
			/* conflicting/duplicate rules are ignored */
			datum = NULL;
			rc = 0;
			goto out;
		}
		if (likely(datum->otype == otype))