Re: [PATCH 1/1] fs: xattr: Don't display attributes without read access

2014-02-19 Thread Fabian Frederick
On Tue, 18 Feb 2014 15:16:50 -0800 Andrew Morton wrote: > On Sun, 16 Feb 2014 20:31:01 +0800 Fabian Frederick wrote: > > > Any user can display extented attribute names without read > > access. > > > > eg: attr -l > > > > This patch checks inode_permission in listxattr common > > function

Re: [PATCH 1/1] fs: xattr: Don't display attributes without read access

2014-02-19 Thread Fabian Frederick
On Tue, 18 Feb 2014 15:16:50 -0800 Andrew Morton a...@linux-foundation.org wrote: On Sun, 16 Feb 2014 20:31:01 +0800 Fabian Frederick f...@skynet.be wrote: Any user can display extented attribute names without read access. eg: attr -l filename This patch checks inode_permission

Re: [PATCH 1/1] fs: xattr: Don't display attributes without read access

2014-02-18 Thread Fabian Frederick
On Tue, 18 Feb 2014 15:16:50 -0800 Andrew Morton wrote: > On Sun, 16 Feb 2014 20:31:01 +0800 Fabian Frederick wrote: > > > Any user can display extented attribute names without read > > access. > > > > eg: attr -l > > > > This patch checks inode_permission in listxattr common > > function

Re: [PATCH 1/1] fs: xattr: Don't display attributes without read access

2014-02-18 Thread Andrew Morton
On Sun, 16 Feb 2014 20:31:01 +0800 Fabian Frederick wrote: > Any user can display extented attribute names without read > access. > > eg: attr -l > > This patch checks inode_permission in listxattr common > function before executing vfs_listxattr. > > ... > > --- a/fs/xattr.c > +++

Re: [PATCH 1/1] fs: xattr: Don't display attributes without read access

2014-02-18 Thread Andrew Morton
On Sun, 16 Feb 2014 20:31:01 +0800 Fabian Frederick f...@skynet.be wrote: Any user can display extented attribute names without read access. eg: attr -l filename This patch checks inode_permission in listxattr common function before executing vfs_listxattr. ... --- a/fs/xattr.c +++

Re: [PATCH 1/1] fs: xattr: Don't display attributes without read access

2014-02-18 Thread Fabian Frederick
On Tue, 18 Feb 2014 15:16:50 -0800 Andrew Morton a...@linux-foundation.org wrote: On Sun, 16 Feb 2014 20:31:01 +0800 Fabian Frederick f...@skynet.be wrote: Any user can display extented attribute names without read access. eg: attr -l filename This patch checks inode_permission

[PATCH 1/1] fs: xattr: Don't display attributes without read access

2014-02-16 Thread Fabian Frederick
Any user can display extented attribute names without read access. eg: attr -l This patch checks inode_permission in listxattr common function before executing vfs_listxattr. Signed-off-by: Fabian Frederick --- fs/xattr.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/xattr.c

[PATCH 1/1] fs: xattr: Don't display attributes without read access

2014-02-16 Thread Fabian Frederick
Any user can display extented attribute names without read access. eg: attr -l filename This patch checks inode_permission in listxattr common function before executing vfs_listxattr. Signed-off-by: Fabian Frederick f...@skynet.be --- fs/xattr.c | 4 1 file changed, 4 insertions(+) diff