Return-Path: Received: from [125.16.236.9] ([125.16.236.9]:47740 "EHLO e28smtp09.in.ibm.com" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755106AbcCOOOm (ORCPT ); Tue, 15 Mar 2016 10:14:42 -0400 Received: from localhost by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 15 Mar 2016 19:13:28 +0530 From: Mimi Zohar To: linux-security-module Cc: Mimi Zohar , linux-fsdevel@vger.kernel.org Subject: [PATCH v2 0/2] ima: tar issues Date: Tue, 15 Mar 2016 09:43:09 -0400 Message-Id: <1458049391-26620-1-git-send-email-zohar@linux.vnet.ibm.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: This patch set addresses a couple of problems with writing security.ima xattrs from tar. The first patch prevents file signatures stored in the security.ima xattr from being replaced when the timestamp is updated. The second patch identifies empty files created using mknodat as new, so that the file can subsequently be opened in order to write the file contents. Mimi Mimi Zohar (2): ima: fix ima_inode_post_setattr ima: add support for creating files using the mknodat syscall fs/namei.c | 2 ++ include/linux/ima.h | 6 ++++++ security/integrity/ima/ima_appraise.c | 7 ++++++- security/integrity/ima/ima_main.c | 32 +++++++++++++++++++++++++++++++- security/integrity/integrity.h | 1 + 5 files changed, 46 insertions(+), 2 deletions(-) -- 2.1.0