All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] integrity fixes
@ 2014-10-24  7:07 Dmitry Kasatkin
  2014-10-24  7:07 ` [PATCH v2 1/2] ima: check xattr value length in ima_inode_setxattr() Dmitry Kasatkin
  2014-10-24  7:07 ` [PATCH v2 2/2] evm: check xattr value length in evm_inode_setxattr() Dmitry Kasatkin
  0 siblings, 2 replies; 7+ messages in thread
From: Dmitry Kasatkin @ 2014-10-24  7:07 UTC (permalink / raw)
  To: zohar, linux-security-module, linux-ima-devel
  Cc: linux-kernel, jack, jmorris, dmitry.kasatkin, Dmitry Kasatkin

Hi,

At first I did not notice Mimi's email with suggestion to allow
setting hash only in fix mode. Here is a next set with checking
validity of xattr type and allowing setting hash only in permissive
modes such as fix and log.

- Dmitry

Dmitry Kasatkin (2):
  ima: check xattr value length in ima_inode_setxattr()
  evm: check xattr value length in evm_inode_setxattr()

 security/integrity/evm/evm_main.c     | 11 ++++++++---
 security/integrity/ima/ima_appraise.c | 13 +++++++++++--
 2 files changed, 19 insertions(+), 5 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-24 16:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24  7:07 [PATCH v2 0/2] integrity fixes Dmitry Kasatkin
2014-10-24  7:07 ` [PATCH v2 1/2] ima: check xattr value length in ima_inode_setxattr() Dmitry Kasatkin
2014-10-24 14:18   ` Mimi Zohar
2014-10-24 15:00     ` Dmitry Kasatkin
2014-10-24 15:08       ` Dmitry Kasatkin
2014-10-24 16:00         ` Mimi Zohar
2014-10-24  7:07 ` [PATCH v2 2/2] evm: check xattr value length in evm_inode_setxattr() Dmitry Kasatkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.