Commit 56957145 authored by Paul Moore's avatar Paul Moore Committed by openeuler-sync-bot
Browse files

selinux: don't use make's grouped targets feature yet

stable inclusion
from stable-v5.10.183
commit 122ba1d40bea8e2fed68f0acb0a9a4a4bddeedf0
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2

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



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

commit 42c4e97e upstream.

The Linux Kernel currently only requires make v3.82 while the grouped
target functionality requires make v4.3.  Removed the grouped target
introduced in 4ce1f694 ("selinux: ensure av_permissions.h is
built when needed") as well as the multiple header file targets in
the make rule.  This effectively reverts the problem commit.

We will revisit this change when make >= 4.3 is required by the rest
of the kernel.

Cc: stable@vger.kernel.org
Fixes: 4ce1f694 ("selinux: ensure av_permissions.h is built when needed")
Reported-by: default avatarErwan Velu <e.velu@criteo.com>
Reported-by: default avatarLuiz Capitulino <luizcap@amazon.com>
Tested-by: default avatarLuiz Capitulino <luizcap@amazon.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit 78ebe595)
parent 8af35ee2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment