Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 155447 Details for
Bug 240986
Break by Ctrl-C before first syscall SIGSTOPs the traced process
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Testcase for easier testing of attachment to a long lasting single syscall.
slowcall.c (text/plain), 544 bytes, created by
Jan Kratochvil
on 2007-05-25 12:45:59 UTC
(
hide
)
Description:
Testcase for easier testing of attachment to a long lasting single syscall.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2007-05-25 12:45:59 UTC
Size:
544 bytes
patch
obsolete
>#include <unistd.h> >#include <assert.h> >#include <stdlib.h> >#include <fcntl.h> >#include <errno.h> > >#define FILENAME "/tmp/slowcall-data" > >unsigned char buf[150 * 1024 * 1024]; > >int main (void) >{ > ssize_t got; > int fd, i; > > i = unlink (FILENAME); > assert (i == 0 || errno == ENOENT); > > fd = creat (FILENAME, 0644); > assert (fd != -1); > > i = unlink (FILENAME); > assert (i == 0 || errno == ENOENT); > > got = write (fd, buf, sizeof (buf)); > assert (got == sizeof (buf)); > > i = fdatasync (fd); > assert (i == 0); > > return EXIT_SUCCESS; >}
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 240986
:
155264
|
155446
| 155447 |
156701