Print this page
Code review comments from jeffpc

@@ -1089,11 +1089,11 @@
         cp->p_portcnt = pp->p_portcnt;
         /*
          * Security flags are preserved on fork, the inherited copy come into
          * effect on exec
          */
-        bcopy(&pp->p_secflags, &cp->p_secflags, sizeof (psecflags_t));
+        cp->p_secflags = pp->p_secflags;
 
         /*
          * Initialize watchpoint structures
          */
         avl_create(&cp->p_warea, wa_compare, sizeof (struct watched_area),