5 Apr 2005 02:08
Re: Adding a field to ext2_dir_entry_2
Vineet Joglekar <vintya <at> excite.com>
2005-04-05 00:08:57 GMT
2005-04-05 00:08:57 GMT
Hi Andreas,
I have created another file system - copied everything from ext2, renaming it as some different file system
and doing some experiments on that.
Let me be more clear about what I am trying to do. In my masters project, I am encrypting inodes along with the
data part of the file. Keys of different users are different. In the same directory, if there are 2 files
stored by different users, their inodes will be encrypted with different keys. If user1 is doing "ls" on
that directory, the inode of the other file - which is encrypted by user2, will be decrypted by using
user1's key, resulting into garbage. To avoid this, I am trying to store the uid in the directry entry, so
that I can match it with current->fsuid and skip decrypting the inode if the file doesn't belong to the
current user. (assuming user1 doesnt want to share that file and different users can store different
files under same directory.)
Thanks and regards,
Vineet
--- On Mon 04/04, Andreas Dilger < adilger <at> clusterfs.com > wrote:
From: Andreas Dilger [mailto: adilger <at> clusterfs.com]
To: vintya <at> excite.com
Cc: linux-kernel <at> vger.kernel.org, linux-c-programming <at> vger.kernel.org
Date: Mon, 4 Apr 2005 17:17:59 -0600
Subject: Re: Adding a field to ext2_dir_entry_2
(Continue reading)
RSS Feed