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 187791 Details for
Bug 278961
epoll_wait(..., -100) results in printk
[?]
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.
reproduction testcase
epoll_splat.c (text/x-csrc), 692 bytes, created by
Andy Isaacson
on 2007-09-05 18:04:12 UTC
(
hide
)
Description:
reproduction testcase
Filename:
MIME Type:
Creator:
Andy Isaacson
Created:
2007-09-05 18:04:12 UTC
Size:
692 bytes
patch
obsolete
>#include <stdio.h> >#include <stdlib.h> >#include <string.h> >#include <errno.h> > >#include <unistd.h> > >#include <sys/epoll.h> > >#define HZ 1000 > >int main(int argc, char **argv) >{ > int efd = epoll_create(10); > int rc; > struct epoll_event evt; > int n = 1; > int timeout; > long long jtimeout; > > if(argc > 1) > timeout = atoi(argv[1]); > else > timeout = -100; > > jtimeout = (timeout == -1 || timeout > 1000000) ? > (1ULL << 63) : > (timeout * HZ + 999) / 1000; > > printf("jtimeout = %llx %lld\n", jtimeout, jtimeout); > > rc = epoll_wait(efd, &evt, n, timeout); > > printf("epoll_wait(%d) returned %d (%s)\n", timeout, rc, strerror(errno)); > close(efd); > return 0; >}
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 278961
: 187791 |
198801