artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e584d8
)
release the bind lock before resetting the signal mask
author
guenther
<guenther@openbsd.org>
Thu, 24 Jul 2008 23:42:26 +0000
(23:42 +0000)
committer
guenther
<guenther@openbsd.org>
Thu, 24 Jul 2008 23:42:26 +0000
(23:42 +0000)
ok kurt@
libexec/ld.so/sh/rtld_machine.c
patch
|
blob
|
history
diff --git
a/libexec/ld.so/sh/rtld_machine.c
b/libexec/ld.so/sh/rtld_machine.c
index
432efa9
..
b09c4d3
100644
(file)
--- a/
libexec/ld.so/sh/rtld_machine.c
+++ b/
libexec/ld.so/sh/rtld_machine.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: rtld_machine.c,v 1.1
2 2008/06/27 17:27:58 miod
Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.1
3 2008/07/24 23:42:26 guenther
Exp $ */
/*
* Copyright (c) 2004 Dale Rahn
@@
-873,8
+873,8
@@
_dl_bind(elf_object_t *object, int relidx)
if (object->got_size != 0) {
_dl_mprotect((void*)object->got_start, object->got_size,
PROT_READ);
- _dl_sigprocmask(SIG_SETMASK, &omask, NULL);
_dl_thread_bind_lock(1);
+ _dl_sigprocmask(SIG_SETMASK, &omask, NULL);
}
return newval;
}