Mercurial > illumos > fmac
diff usr/src/uts/common/os/klpd.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 |
line wrap: on
line diff
--- a/usr/src/uts/common/os/klpd.c Fri Oct 17 13:28:43 2008 -0400 +++ b/usr/src/uts/common/os/klpd.c Fri Oct 17 13:28:50 2008 -0400 @@ -550,7 +550,7 @@ mutex_enter(&pidlock); p = prfind(pid); if (p == NULL || !prochasprocperm(p, curproc, CRED(), - PROCESS__PTRACE)) { + PROCESS__PTRACE)) { mutex_exit(&pidlock); klpd_rele(kpd); return (set_errno(p == NULL ? ESRCH : EPERM));