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)
committerPaul Moore <paul@paul-moore.com>
Wed, 12 Apr 2023 23:46:35 +0000 (19:46 -0400)
commit4ce1f694eb5d8ca607fed8542d32a33b4f1217a5
treedaa49f1df5ce76d976417e29b6e01303ba43a96a
parentbcab1adeaad4b39a1e04cb98979a367d08253f03
selinux: ensure av_permissions.h is built when needed

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