Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 335664 Details for
Bug 447810
FreeBSD: open() on a fifo can fail with -EINTR even when using SA_RESTART (app-shells/bash sometimes fails `read`)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
test case - more SIGCHLD events correlates with more EINTR
sigchld_eintr_correlation.sh (text/plain), 373 bytes, created by
Zac Medico
on 2013-01-15 03:16:02 UTC
(
hide
)
Description:
test case - more SIGCHLD events correlates with more EINTR
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2013-01-15 03:16:02 UTC
Size:
373 bytes
patch
obsolete
>#!/bin/bash ># Demonstrate correlation between SIGCHLD events ># and redir_open EINTR failure on FreeBSD. ># https://bugs.gentoo.org/show_bug.cgi?id=447810 > >for x in {0..10} ; do > # Fork some subshells, in order to trigger SIGCHLD events. > ( : ) & > ( : ) & > ( : ) & > ( : ) & > ( : ) & > # Now do a vulnerable redir_open call. > while read x ; do echo $x ; done < <(echo $x) >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 447810
:
332708
|
332710
|
332910
|
333210
| 335664 |
336266
|
336270