diff options
-rw-r--r-- | usr/src/uts/common/brand/lx/syscall/lx_kill.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/brand/lx/syscall/lx_kill.c b/usr/src/uts/common/brand/lx/syscall/lx_kill.c index 851ecdc610..032ef44dbc 100644 --- a/usr/src/uts/common/brand/lx/syscall/lx_kill.c +++ b/usr/src/uts/common/brand/lx/syscall/lx_kill.c @@ -117,6 +117,7 @@ lx_thrkill(pid_t tgid, pid_t pid, int lx_sig, boolean_t tgkill) if (tgkill) { if ((pid == 1 && tgid != 1) || (pid != 1 && tgid != pp->p_pid)) { + mutex_exit(&pp->p_lock); rv = set_errno(ESRCH); goto free_and_exit; } |