All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John D. Heintz" <jheintz@pobox.com>
To: Hans Reiser <reiser@namesys.com>
Cc: reiserfs-list@namesys.com
Subject: Re: Do xml-like namespaces make sense for Reiser4? (re: metas thread)
Date: Tue, 13 Apr 2004 11:57:13 -0500	[thread overview]
Message-ID: <407C1BE9.8010509@pobox.com> (raw)
In-Reply-To: <407C15D9.1080705@namesys.com>

Hans Reiser wrote:

> John D. Heintz wrote:
>
>>
>> Hans,
>>
>> If I understand the naming system primitives correctly then the ":" 
>> introduces a new sequence operator and does evil things to closure, 
>> right?
>>
>> Let's use an example that is likely to conflict: Security plugins 
>> introducing a name "permissions" to objects.
>>
>> Here is my list of how to expose this:
>> 1) foo.txt/permissions
>> * likely to conflict with end-user names and other security provider 
>> names
>
>
> this would be foo/metas/permissions/owner, does that resolve the 
> problem in your eyes?
>

Let me verify something: You are suggesting that the "metas" namespace 
be the entry point for all of the plugin namespaces? I had assumed that 
each plugin would create it's own. That does certainly reduce the scope 
of my problem.

I'm not sure it removes the problem though, it just pushes the 
bottleneck one level away. That is still a good thing: it removes those 
conflicts from user created names, but not from plugin suppliers.

What if two suppliers of security plugins wanted to expose 
"permissions"? I'm thinking of the GNOME or KDE file managers growing a 
GUI permisions dialog to edit the structure of  data/information in the 
permissions namespace.

If
# cat foo/meta/permissions
# WhiteHat open source LDAP security plugin
owner   jheintz
grant   some stuff...
....

then user applications (like GUI filemanagers) will start depending on 
that. (Or the sub-structure exposed as further names...) Do you not 
think this will cause problems when
# cat foo/meta/permissions
# NSA Cryptographic security plugin
authority   The Office of John Heintz
status    confidential
grant   some stuff...
....

If I didn't mind typing really long names I'd say the following is 
absolutely correct and gives no worry about naming conflict:
cat foo/metas/nsa.gov/permissions
cat foo/metas/whitehat.com/permissions

(But then again I'd say the following does as well:
cat foo/nsa.gov/permissions
cat foo/whitehat.com/permissions)

I just don't want to type more than I have to. Thanks for the replies,
John Heintz


>> 2) foo.txt/white-hat-permissions
>> * verbose, but negligible risk of conflicts
>> 3) foo.txt/white-hat-security/permissions
>> * nested namespace to provide isolation
>> 4) foo.txt/<wh-sec>permissions
>> * syntax implying substitution before name resolution
>> * could be some other syntax like foo.txt/wh-sec:permissions
>>
>> I don't like 1) or 2), and I also don't see much real difference 
>> between 3) and 4).
>>
>> I'm guessing that the syntax of 4) is problem: like the ":" is 
>> introduces new sequencial operations. I'm viewing it as just a 
>> syntactic shorthand with a clear translation to the actual name.
>>
>> Thanks,
>> John
>>
>>


  reply	other threads:[~2004-04-13 16:57 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-12 15:45 Do xml-like namespaces make sense for Reiser4? (re: metas thread) John D. Heintz
2004-04-12 16:00 ` Hubert Chan
2004-04-12 19:21   ` John D. Heintz
2004-04-12 21:28     ` Hubert Chan
2004-04-12 18:15 ` Hans Reiser
2004-04-12 18:59   ` Hubert Chan
2004-04-12 19:12   ` John D. Heintz
2004-04-13 14:40     ` John D. Heintz
2004-04-13 16:31       ` Hans Reiser
2004-04-13 16:57         ` John D. Heintz [this message]
2004-04-13 17:06           ` Grant Miner
2004-04-13 18:09             ` John D. Heintz
2004-04-13 18:36               ` Grant Miner
2004-04-13 17:47           ` Hans Reiser
2004-04-13 18:23             ` John D. Heintz
2004-04-13 18:28               ` Hans Reiser
2004-04-13 18:47                 ` John D. Heintz
2004-04-13 20:31                   ` Valdis.Kletnieks
2004-04-14  2:18                     ` Enrique Perez-Terron
2004-04-14 15:06                       ` John D. Heintz
2004-04-14 23:39                         ` Enrique Perez-Terron
2004-04-14  2:50                   ` David Masover
2004-04-14 15:12                     ` John D. Heintz
2004-04-15  0:28                       ` David Masover
2004-04-15 15:15                         ` John D. Heintz
2004-04-16  1:04                           ` David Masover

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=407C1BE9.8010509@pobox.com \
    --to=jheintz@pobox.com \
    --cc=reiser@namesys.com \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.