lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 20 Aug 2007 16:53:33 -0400
From:	Jeff Layton <jlayton@...hat.com>
To:	linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Cc:	reiserfs-devel@...r.kernel.org
Subject: [PATCH 4/4] Have reiser4 call generic_attrkill from its setattr operation

This is the only filesystem in -mm but not in mainline that seems to
be affected by this change...

Signed-off-by: Jeff Layton <jlayton@...hat.com>
---
 fs/reiser4/plugin/inode_ops.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/reiser4/plugin/inode_ops.c b/fs/reiser4/plugin/inode_ops.c
index 48430f7..25a0093 100644
--- a/fs/reiser4/plugin/inode_ops.c
+++ b/fs/reiser4/plugin/inode_ops.c
@@ -436,6 +436,7 @@ int reiser4_setattr_common(struct dentry *dentry, struct iattr *attr)
 	int result;
 
 	inode = dentry->d_inode;
+	generic_attrkill(inode->i_mode, attr);
 	result = inode_change_ok(inode, attr);
 	if (result)
 		return result;
-- 
1.5.2.2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ