[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 10/17] hurd: add fsys_get_children
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 10/17] hurd: add fsys_get_children |
Date: |
Thu, 18 Jul 2013 11:43:46 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Thu 18 Jul 2013 11:39:14 +0200, a écrit :
> Quoting Samuel Thibault (2013-07-15 10:26:18)
> > Neal H. Walfield, le Fri 12 Jul 2013 15:13:30 +0200, a écrit :
> > > How do you do permission checking?
> > >
> > > Making a directory executable but not readable is a useful way to
> > > grant permission by knowledge of a shared secret.
> >
> > Right.
> >
> > That being said, I don't think we want /proc/mounts to show
> > non-{root,self} translators, so it would be only about root trying to
> > hide things.
>
> Richard and I have been discussing this in #hurd and while we both
> agree that this is a feature that we want, we might want to defer
> this.
>
> He mentioned that on Linux /proc/mounts does show all mounts
> regardless of who opens this file and how the permissions of the mount
> points parent directories are.
>
> He has shown me how this could be implemented, but doing so requires
> attaching credentials to all fsys_* by means of
> e.g. libdiskfs/fsmutations.h and fixing all functions that are
> affected by this. I think it's doable, but my time might be better
> spent on something else. Thoughts?
Agreed. Doing no worse than Linux for now and knowing how to do better
in the end looks ok :)
Samuel
- Re: [PATCH 10/17] hurd: add fsys_get_children, (continued)
- Re: [PATCH 10/17] hurd: add fsys_get_children, Justus Winter, 2013/07/12
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/12
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/12
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Justus Winter, 2013/07/18
- Re: [PATCH 10/17] hurd: add fsys_get_children,
Samuel Thibault <=
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/18
- Re: [PATCH 10/17] hurd: add fsys_get_children, Richard Braun, 2013/07/18
- feature-mtab-translator (v3), Justus Winter, 2013/07/19
- [PATCH 01/17] libnetfs: implement file_get_translator_cntl, Justus Winter, 2013/07/19
- [PATCH 02/17] pfinet: Fix call to kfree_s, Justus Winter, 2013/07/19
- Re: [PATCH 02/17] pfinet: Fix call to kfree_s, Samuel Thibault, 2013/07/20
- [PATCH 03/17] libdiskfs: track file name in struct peropen, Justus Winter, 2013/07/19
- Re: [PATCH 03/17] libdiskfs: track file name in struct peropen, Neal H. Walfield, 2013/07/22
- [PATCH 04/17] libnetfs: track file name in struct peropen, Justus Winter, 2013/07/19
- [PATCH 06/17] libdiskfs: add fsys_get_children, Justus Winter, 2013/07/19