Re: [PATCH] fs: call security_d_instantiate in d_obtain_alias V2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Josef Bacik
Date: Sunday, November 21, 2010 - 8:44 am

On Sat, Nov 20, 2010 at 09:59:45PM -0500, J. Bruce Fields wrote:

Oh I should have mentioned the testing I gave it.  With BTRFS I could regularly
reproduce this by doing the following

SERVER
mount /dev/sda1 /mnt/btrfs
btrfs subvol create /mnt/btrfs/foo
cp mutt.tar.gz /mnt/btrfs/foo

CLIENT
mount server:/mnt/btrfs /mnt/test
cd /mnt/test/foo
tar xzvf mutt.tar.gz
cd mutt
ls

SERVER
echo 3 > /proc/sys/vm/drop_caches

CLIENT
ls

and bam I'd get -EACCESS every time.  I did this a bunch of times to make sure
it didn't happen anymore plus variations of the above.  Thanks,

Josef 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] fs: call security_d_instantiate in d_obtain_al ..., Josef Bacik, (Sun Nov 21, 8:44 am)