Jamie Nguyen wrote:
> I'm worried that this may potentially be quite confusing for new
> users. They already have to try to understand the concept of "domains"
> but now also have to understand the concept of "namespaces". I think
> it is often best to make it possible for new features to be ignored if
> users don't need them, but I'm not sure if this is possible here.

By default, only <kernel> namespace is defined. Users need not to understand
the concept of namespaces as long as they live in the <kernel> namespace only.

> Also, concerning the directive syntax, how about using
> "initialize_namespace" instead? This might be more easily recognisable
> as a drop-in replacement for "initialize_domain" and easier for
> existing users to get used to.

I have no problem with using "initialize_namespace"/"no_initialize_namespace"
rather than "move_namespace"/"no_move_namespace".

> > If we want to use different keywords (like 
> > 'auto_namespace_transition="httpd"'
> > and 'task auto_namespace_transition apache' ) for easier understanding,
> > I can do so.
> 
> This directive can result in transition to either a domain or a
> namespace, so both "auto_domain_transition" and
> "auto_namespace_transition" don't describe perfectly. So I think it is
> best to stick with "auto_domain_transition" to keep syntax familiar.
> It also functions in exactly the same way unless <$namespace> is
> specified, which makes it easier for users to ignore namespace
> functionality.

Excuse me, I couldn't catch. "auto_namespace_transition=" and
"task auto_namespace_transition" are for jumping to a different namespace.
"auto_domain_transition=" and "task auto_domain_transition" are for jumping to
a different domain in the same namespace.

Users need not to understand "initialize_namespace"/"no_initialize_namespace"/
"auto_namespace_transition="/"task auto_namespace_transition" as long as they
live in the <kernel> namespace only.

_______________________________________________
tomoyo-dev-en mailing list
tomoyo-dev-en@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/tomoyo-dev-en

Reply via email to