Description: perf/core: Fix unconditional security_locked_down() call References: Notes: carnil> Introduced in b0c8fdc7fdb7 ("lockdown: Lock down perf when in confidentiality carnil> mode"). Vulnerable versions: 5.4-rc1. Bugs: upstream: released (5.13-rc1) [08ef1af4de5fe7de9c6d69f1e22e51b66e385d9b] 6.7-upstream-stable: N/A "Fixed before branching point" 6.6-upstream-stable: N/A "Fixed before branching point" 6.1-upstream-stable: N/A "Fixed before branching point" 5.10-upstream-stable: released (5.10.35) [4348d3b5027bc3ff6336368b6c60605d4ef8e1ce] 4.19-upstream-stable: N/A "Vulnerable code not present" sid: released (5.10.38-1) 6.1-bookworm-security: N/A "Fixed before branching point" 5.10-bullseye-security: N/A "Fixed before branching point" 4.19-buster-security: N/A "Vulnerable code not present"