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 297246 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.
rhel5 clear df flags patch
sig.patch (text/x-patch), 1.76 KB, created by
Jason Baron
on 2008-03-07 20:51:39 UTC
(
hide
)
Description:
rhel5 clear df flags patch
Filename:
MIME Type:
Creator:
Jason Baron
Created:
2008-03-07 20:51:39 UTC
Size:
1.76 KB
patch
obsolete
>--- linux-2.6.18.noarch/arch/x86_64/kernel/signal.c.bak 2008-03-07 15:40:10.000000000 -0500 >+++ linux-2.6.18.noarch/arch/x86_64/kernel/signal.c 2008-03-07 15:48:57.000000000 -0500 >@@ -301,6 +301,7 @@ static int setup_rt_frame(int sig, struc > /* This, by contrast, has nothing to do with segment registers - > see include/asm-x86_64/uaccess.h for details. */ > set_fs(USER_DS); >+ regs->eflags &= ~X86_EFLAGS_DF; > > #ifdef DEBUG_SIG > printk("SIG deliver (%s:%d): sp=%p pc=%p ra=%p\n", >--- linux-2.6.18.noarch/arch/x86_64/ia32/ia32_signal.c.bak 2008-03-07 15:44:15.000000000 -0500 >+++ linux-2.6.18.noarch/arch/x86_64/ia32/ia32_signal.c 2008-03-07 15:45:52.000000000 -0500 >@@ -493,6 +493,7 @@ int ia32_setup_frame(int sig, struct k_s > regs->ss = __USER32_DS; > > set_fs(USER_DS); >+ regs->eflags &= ~X86_EFLAGS_DF; > > #if DEBUG_SIG > printk("SIG deliver (%s:%d): sp=%p pc=%p ra=%p\n", >@@ -586,6 +587,7 @@ int ia32_setup_rt_frame(int sig, struct > regs->ss = __USER32_DS; > > set_fs(USER_DS); >+ regs->eflags &= ~X86_EFLAGS_DF; > > #if DEBUG_SIG > printk("SIG deliver (%s:%d): sp=%p pc=%p ra=%p\n", >--- linux-2.6.18.noarch/arch/i386/kernel/signal.c.bak 2008-03-07 15:46:52.000000000 -0500 >+++ linux-2.6.18.noarch/arch/i386/kernel/signal.c 2008-03-07 15:48:24.000000000 -0500 >@@ -384,6 +384,8 @@ static int setup_frame(int sig, struct k > regs->xes = __USER_DS; > regs->xss = __USER_DS; > regs->xcs = __USER_CS; >+ >+ regs->eflags = ~X86_EFLAGS_DF; > > #if DEBUG_SIG > printk("SIG deliver (%s:%d): sp=%p pc=%p ra=%p\n", >@@ -469,6 +471,8 @@ static int setup_rt_frame(int sig, struc > regs->xss = __USER_DS; > regs->xcs = __USER_CS; > >+ regs->eflags = ~X86_EFLAGS_DF; >+ > #if DEBUG_SIG > printk("SIG deliver (%s:%d): sp=%p pc=%p ra=%p\n", > current->comm, current->pid, frame, regs->eip, frame->pretcode);
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