> > I'd like to have this same single checking function used for all the
> > control-the-world permission checks.  This includes all the "isroot"
> > settings used in trivfs and term and so forth, and also the more detailed
> > checks in things like chown.  In keeping with fshelp_isowner, it might be
> > natural to call this fshelp_isroot instead of cancontrol.  The code in
> > e.g. diskfs_S_file_chown would look like this:
> 
> Is that question really is the user root?  It seems misleading to me.

Well, I said parity with fshelp_isowner.  So that question really is is the
user root as much as the other question really is is the user the owner of
the file.

> I think we should use both:  if you have an id of the translator, you can
> send it signals et al., therefore, you should be able to change its
> options etc; if you own a file, you can control its ``contents''
> therefore you should be able to control the translator.

Well, plenty of things could make sense.  I am inclined to look for reasons
to just use the underlying node's st_[ug]id, because that is simple and
efficient to implement.  

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to