hi, > On Wed, Aug 10, 2011 at 08:59:48AM +0000, YAMAMOTO Takashi wrote: >> is extattr_namespace_access really necessary? >> uid-based priviledge check in userland is often a mistake. > > For now it duplicates the same simple access check as in kernel: > system attributes are restricted to root. This is just a helper function, > it is not exported. I immagine it could move to kernel when we introduce > more namespaces with different acces semantics. But we are not there yet.
what's wrong with just letting the kernel decide and handle EPERM? YAMAMOTO Takashi > > -- > Emmanuel Dreyfus > m...@netbsd.org