summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2006-09-09 22:18:57 +0000
committermbr <mbr@FreeBSD.org>2006-09-09 22:18:57 +0000
commita197a4c83b7e06abd0667e059c031496006533de (patch)
tree7328f074784dc9db25ef61fd4a004f8738d43d1d /lib/libc
parentbc9ee76c285172e3b91d231b9e49d1180c721ee0 (diff)
downloadFreeBSD-src-a197a4c83b7e06abd0667e059c031496006533de.zip
FreeBSD-src-a197a4c83b7e06abd0667e059c031496006533de.tar.gz
Sync part of NetBSD rev. 1.14
Fix unpaired sigblock which possibly leaves the process with all signals blocked. MFC after: 2 weeks
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/clnt_vc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/clnt_vc.c b/lib/libc/rpc/clnt_vc.c
index e15caac..414eb0b 100644
--- a/lib/libc/rpc/clnt_vc.c
+++ b/lib/libc/rpc/clnt_vc.c
@@ -243,9 +243,9 @@ clnt_vc_create(fd, raddr, prog, vers, sendsz, recvsz)
}
}
mutex_unlock(&clnt_fd_lock);
+ thr_sigsetmask(SIG_SETMASK, &(mask), NULL);
if (!__rpc_fd2sockinfo(fd, &si))
goto err;
- thr_sigsetmask(SIG_SETMASK, &(mask), NULL);
ct->ct_closeit = FALSE;
OpenPOWER on IntegriCloud