mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
The kernel should not calculate new hmacs for mounts done by non-root users. Update evm_calc_hmac_or_hash() to refuse to calculate new hmacs for mounts for non-init user namespaces. Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: James Morris <[email protected]> Cc: Mimi Zohar <[email protected]> Cc: "Serge E. Hallyn" <[email protected]> Signed-off-by: Seth Forshee <[email protected]> Signed-off-by: Dongsu Park <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>