comparison usr/src/uts/common/contract/process.c @ 7887:f9ded24b041a

[fmac-discuss] [PATCH] Fix more cstyle issues Fix more cstyle issues introduced by prior patches, in particular the hasprocperm patch and the secctx patch. uts/common/syscall/lgrpsys.c is still not clean with regard to continuation indentation but the remaining warnings were not introduced by our patches.
author Stephen Smalley <sds@tycho.nsa.gov>
date Fri, 17 Oct 2008 13:28:50 -0400
parents e3677dd00778
children
comparison
equal deleted inserted replaced
7886:2b3705cc2d65 7887:f9ded24b041a
490 490
491 mutex_enter(&tp->p_crlock); 491 mutex_enter(&tp->p_crlock);
492 cankill = hasprocperm(tp->p_cred, ctp->conp_cred, PROCESS__SIGKILL); 492 cankill = hasprocperm(tp->p_cred, ctp->conp_cred, PROCESS__SIGKILL);
493 mutex_exit(&tp->p_crlock); 493 mutex_exit(&tp->p_crlock);
494 if (cankill || (sp && prochasprocperm(tp, sp, CRED(), 494 if (cankill || (sp && prochasprocperm(tp, sp, CRED(),
495 PROCESS__SIGKILL))) 495 PROCESS__SIGKILL)))
496 return (1); 496 return (1);
497 497
498 return (0); 498 return (0);
499 } 499 }
500 500