mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
This reverts commit0b3c9761d1. Seth Forshee <seth.forshee@canonical.com> writes: > All right, I think0b3c9761d1should be > reverted then. EVM is a machine-local integrity mechanism, and so it > makes sense that the signature would be based on the kernel's notion of > the uid and not the filesystem's. I added a commment explaining why the EVM hmac needs to be in the kernel's notion of uid and gid, not the filesystems to prevent remounting the filesystem and gaining unwaranted trust in files. Acked-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
7.7 KiB
7.7 KiB