Print this page
uts: add a concept of a 'default' set of privileges, separate from 'basic'

@@ -211,11 +211,11 @@
 
         /* kcred is never freed, so we don't need zone_cred_hold here */
         kcred->cr_zone = &zone0;
 
         priv_fillset(&CR_LPRIV(kcred));
-        CR_IPRIV(kcred) = *priv_basic;
+        CR_IPRIV(kcred) = *priv_default; /* XXX: Really needed here? */
 
         /* Not a basic privilege, if chown is not restricted add it to I0 */
         if (!rstchown)
                 priv_addset(&CR_IPRIV(kcred), PRIV_FILE_CHOWN_SELF);