Re: [PATCH] fs/vfs/security: pass last path component to LSM on inode creation

2010-12-09 Thread Eric Paris
On Thu, 2010-12-09 at 12:48 -0500, John Stoffel wrote: > >>>>> "Eric" == Eric Paris writes: > > Eric> On Thu, 2010-12-09 at 10:05 -0500, John Stoffel wrote: > >> >>>>> "Eric" == Eric Paris writes: > > Eric>

Re: [PATCH] fs/vfs/security: pass last path component to LSM on inode creation

2010-12-09 Thread Eric Paris
On Thu, 2010-12-09 at 10:05 -0500, John Stoffel wrote: > >>>>> "Eric" == Eric Paris writes: > So what happens when I create a file /home/john/shadow, does selinux > (or LSM in general) then run extra checks because the filename is > 'shadow' in your

[PATCH] fs/vfs/security: pass last path component to LSM on inode creation

2010-12-08 Thread Eric Paris
: Eric Paris --- fs/btrfs/inode.c | 13 +++-- fs/btrfs/xattr.c |6 -- fs/btrfs/xattr.h |3 ++- fs/ext2/ext2.h |2 +- fs/ext2/ialloc.c |5 +++-- fs/ext2/namei.c|8 fs/ext2

Re: [PATCH] btrfs: use RB_ROOT to intialize rb_trees instead of setting rb_node to NULL

2010-02-23 Thread Eric Paris
think it would be best if you sent in fixes for them. -Eric > > Thanks, > Venki > > On Tue, 2010-02-23 at 11:43 -0800, Eric Paris wrote: > > btrfs inialize rb trees in quite a number of places by settin rb_node = > > NULL; The problem with this is that 17d9ddc72fb8bb

[PATCH] btrfs: use RB_ROOT to intialize rb_trees instead of setting rb_node to NULL

2010-02-23 Thread Eric Paris
xd0 [5.315518] [] system_call_fastpath+0x16/0x1b Signed-off-by: Eric Paris --- fs/btrfs/disk-io.c |4 ++-- fs/btrfs/extent_io.c|4 ++-- fs/btrfs/extent_map.c |2 +- fs/btrfs/free-space-cache.c |4 ++-- fs/btrfs/ordered-data.h |2 +- fs/btrfs/ref-cach

btrfs: introduce btrfs_show_options

2009-02-24 Thread Eric Paris
ff-by: Eric Paris --- fs/btrfs/super.c | 34 +- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 19a4daf..2ceb40b 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -24,6 +24,7 @@ #include #in