forked from lattera/glibc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hurd: Missing critical region locks.
- Loading branch information
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
2012-05-10 Samuel Thibault <[email protected]> | ||
|
||
* hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/ | ||
HURD_CRITICAL_END around holding _hurd_dtable_lock. | ||
* sysdeps/mach/hurd/dirfd (dirfd): Likewise. | ||
* sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call | ||
HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding | ||
d->port.lock. | ||
|
||
* hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp | ||
instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp | ||
when handler == SIG_ERR, not when handler != SIG_ERR. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters