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 297942 Details for
Bug 436131
CVE-2008-1367 [RHEL5] Kernel doesn't clear DF for signal handlers
[?]
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.
Modified reproducer (runs on both {32,64} architectures) -- Thanks Jakub for help.
df_flag_test.c (text/x-csrc), 679 bytes, created by
Jan Lieskovsky
on 2008-03-13 14:57:21 UTC
(
hide
)
Description:
Modified reproducer (runs on both {32,64} architectures) -- Thanks Jakub for help.
Filename:
MIME Type:
Creator:
Jan Lieskovsky
Created:
2008-03-13 14:57:21 UTC
Size:
679 bytes
patch
obsolete
>/* Gcc-4.3+ kernel DF flag related reproducer */ >/* Compile with: > > cc -m{32,64} df_flag_test.c -o df_flag_test > > based on which architecture do you use. > >*/ > >#include <stdint.h> >#include <stdlib.h> >#include <stdio.h> >#include <signal.h> > >void handler(int signal) { > unsigned long rflags; > >#ifdef __x86_64__ > asm volatile("pushfq ; popq %0" : "=g" (rflags)); >#else > asm volatile("pushf; popl %0" : "=g" (rflags)); >#endif > >if (rflags & (1 << 10)) > printf("DF = 1\n"); >else > printf("DF = 0\n"); > >} > >int main() { > signal(SIGUSR1, handler); > > while(1) > { > asm volatile("std\r\n"); > } > > 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 436131
:
297246
|
297257
| 297942