commit | 5e31d76f2817bd50258a092a7c5b15b3006fd61c | [log] [tgz] |
---|---|---|
author | Kay Sievers <kay.sievers@vrfy.org> | Wed Jan 13 14:16:36 2010 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sun Mar 07 17:04:48 2010 -0800 |
tree | 736c73c564635d767a1592cc540a23695b96c6a3 | |
parent | 0933e2d98d1b170ef62d48e18157f5dc43b58217 [diff] |
Driver-Core: devtmpfs - reset inode permissions before unlinking Before unlinking the inode, reset the current permissions of possible references like hardlinks, so granted permissions can not be retained across the device lifetime by creating hardlinks, in the unusual case that there is a user-writable directory on the same filesystem. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>