Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
evm: Don't update hmacs in user ns mounts
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]>
- Loading branch information