]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: ensure av_permissions.h is built when needed
authorPaul Moore <paul@paul-moore.com>
Wed, 12 Apr 2023 17:29:11 +0000 (13:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:34 +0000 (11:35 +0200)
commitf92a6bd24473a144618c3dd06e931c165be66f8e
tree535a9c6c5b5ae29a1ce873cc8c1e6369eaa58075
parent7a768767c206df893b43956e5f468b3844ab31e4
selinux: ensure av_permissions.h is built when needed

[ Upstream commit 4ce1f694eb5d8ca607fed8542d32a33b4f1217a5 ]

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: 529f46898b09 ("selinux: generate flask headers during kernel build")
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
security/selinux/Makefile