Skip to content

RFC Fix overlayfs on EVM

Ignaz Forster linux-integrity linux-unionfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5evm: instead of using the overlayfs i_ino, use the real i_inosecurity/integrity/evm/evm_crypto.c+3 -00 replies
2/5Rename ima_post_create_tmpfilefs/namei.c include/linux/ima.h security/integrity/ima/ima_main.c+8 -80 replies
3/5Execute IMA post create hook in vfs_createfs/namei.c+3 -10 replies
4/5Ignore IMA / EVM xattrs during copy_upsecurity/integrity/evm/evm_main.c+23 -01 reply
5/5Use __vfs_getxattr to get overlayfs xattrsfs/overlayfs/inode.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] Fix overlayfs on EVM

From: Ignaz Forster <[email protected]>

This patch series tries to solve several problems found when using EVM on an overlay file system.

Especially patch 4 and 5 will need further discussion; patch 4 will introduce follow up problems, patch 5 can be considered a workaround at best.

Ignaz Forster (4):
Rename ima_post_create_tmpfile
Execute IMA post create hook in vfs_create
Ignore IMA / EVM xattrs during copy_up
Use __vfs_getxattr to get overlayfs xattrs

Mimi Zohar (1):
evm: instead of using the overlayfs i_ino, use the real i_ino

 fs/namei.c                          |  6 ++++--
 fs/overlayfs/inode.c                |  3 ++-
 include/linux/ima.h                 |  4 ++--
 security/integrity/evm/evm_crypto.c |  3 +++
 security/integrity/evm/evm_main.c   | 23 +++++++++++++++++++++++
 security/integrity/ima/ima_main.c   | 10 +++++-----
 6 files changed, 39 insertions(+), 10 deletions(-)
Signature · 1 line
2.20.1