On Thu, Apr 12, 2007 at 05:47:46PM -0400, Bill Sommerfeld wrote:
> On Thu, 2007-04-12 at 14:09 -0600, Mark Shellenbaum wrote:
> > Pawel Jakub Dawidek wrote:
> 
> > > What are your suggestions?
> > > 
> > 
> > I am currently working on adding a number of the BSD flags into ZFS.
> 
> The existance of the FreeBSD port plus the desire to add a subset of the
> BSD file flags to solaris means that, IMHO, the less troublesome thing
> to do in the long run is to just add all of the BSD chflags(2) flags to
> ZFS now.
> 
> (the "system" flags on *BSD are tied to securelevel; the closet solaris
> equivalent would be to define new "set system flag" and "clear system
> flag" privileges).

There'd have to be a way to drop these privs from L on all running
processes, which there is, using ppriv(1).  So I can see a service whose
start method loops over listing all processes (but itself), dropping
these privs from their L until no procs remain with these privs, then
exit.  Is that what you had in mind?

A basic priv for setting/resetting UF_* would be nice too.

Nico
-- 
_______________________________________________
zfs-discuss mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to