diff options
author | Matthew Garrett <[email protected]> | 2017-11-07 07:17:42 -0800 |
---|---|---|
committer | Mimi Zohar <[email protected]> | 2017-12-11 17:20:39 -0500 |
commit | 50b977481fce90aa5fbda55e330b9d722733e358 (patch) | |
tree | f7852b45d6d4207e37cd89c397905e1a7558c527 /net/unix/sysctl_net_unix.c | |
parent | ae1ba1676b88e6c62368a433c7e2d0417e9879fd (diff) |
EVM: Add support for portable signature format
The EVM signature includes the inode number and (optionally) the
filesystem UUID, making it impractical to ship EVM signatures in
packages. This patch adds a new portable format intended to allow
distributions to include EVM signatures. It is identical to the existing
format but hardcodes the inode and generation numbers to 0 and does not
include the filesystem UUID even if the kernel is configured to do so.
Removing the inode means that the metadata and signature from one file
could be copied to another file without invalidating it. This is avoided
by ensuring that an IMA xattr is present during EVM validation.
Portable signatures are intended to be immutable - ie, they will never
be transformed into HMACs.
Based on earlier work by Dmitry Kasatkin and Mikhail Kurinnoi.
Signed-off-by: Matthew Garrett <[email protected]>
Cc: Dmitry Kasatkin <[email protected]>
Cc: Mikhail Kurinnoi <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions