Re: [PATCH 07/17] libnetfs: add fsys_get_children

2013-07-25 Thread Samuel Thibault
Pierre Thierry, le Thu 25 Jul 2013 15:53:41 +0200, a écrit : > On Mon, Jul 22, 2013 at 10:11:32AM +0200, Samuel Thibault wrote: > > Mmm, but we also want to check that the user can read all components, > > otherwise we may be revealing directory entries which the user was not > > supposed to find o

Re: [PATCH 07/17] libnetfs: add fsys_get_children

2013-07-25 Thread Pierre Thierry
On Mon, Jul 22, 2013 at 10:11:32AM +0200, Samuel Thibault wrote: > Mmm, but we also want to check that the user can read all components, > otherwise we may be revealing directory entries which the user was not > supposed to find out. That's not the behaviour on Linux and I've always found it desir

Re: [PATCH 07/17] libnetfs: add fsys_get_children

2013-07-22 Thread Samuel Thibault
Justus Winter, le Fri 19 Jul 2013 17:25:09 +0200, a écrit : > + /* check_access performs the same permission check as is normally > + done, i.e. it checks that all but the last path components are > + executable by the requesting user and that the last component is > + readable.

[PATCH 07/17] libnetfs: add fsys_get_children

2013-07-19 Thread Justus Winter
--- libnetfs/Makefile |2 +- libnetfs/file-set-translator.c | 15 ++ libnetfs/fsys-get-children.c | 113 3 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 libnetfs/fsys-get-children.c diff --git a/libnetfs/Make

[PATCH 07/17] libnetfs: add fsys_get_children

2013-07-11 Thread Justus Winter
--- libnetfs/Makefile |2 +- libnetfs/file-set-translator.c | 19 ++ libnetfs/fsys-get-children.c | 53 3 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 libnetfs/fsys-get-children.c diff --git a/libnet