Commit 8fe3ee40 authored by Paul Moore's avatar Paul Moore Committed by sanglipeng
Browse files

selinux: ensure av_permissions.h is built when needed

stable inclusion
from stable-v5.10.180
commit 3ec77043a27d2dc7689cc570bfc9ba5015a76619
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3ec77043a27d2dc7689cc570bfc9ba5015a76619



--------------------------------

[ Upstream commit 4ce1f694 ]

The Makefile rule responsible for building flask.h and
av_permissions.h only lists flask.h as a target which means that
av_permissions.h is only generated when flask.h needs to be
generated.  This patch fixes this by adding av_permissions.h as a
target to the rule.

Fixes: 8753f6be ("selinux: generate flask headers during kernel build")
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent f2e6e05a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment