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 206251 Details for
Bug 254024
sys_vm86 syscall in RHEL5 not reliable
[?]
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.
[patch]
Attempt to extract syscall exit fix from 2.6.20 kernel
patch-2.6.20-vm86-audit-syscall-exit.patch (text/plain), 981 bytes, created by
wdc
on 2007-09-25 23:20:15 UTC
(
hide
)
Description:
Attempt to extract syscall exit fix from 2.6.20 kernel
Filename:
MIME Type:
Creator:
wdc
Created:
2007-09-25 23:20:15 UTC
Size:
981 bytes
patch
obsolete
>diff --git a/arch/i386/kernel/vm86.c b/arch/i386/kernel/vm86.c >--- a/arch/i386/kernel/vm86.c >+++ b/arch/i386/kernel/vm86.c >@@ -306,19 +334,18 @@ static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk > tsk->thread.screen_bitmap = info->screen_bitmap; > if (info->flags & VM86_SCREEN_BITMAP) > mark_screen_rdonly(tsk->mm); >- __asm__ __volatile__("xorl %eax,%eax; movl %eax,%fs; movl %eax,%gs\n\t"); >- __asm__ __volatile__("movl %%eax, %0\n" :"=r"(eax)); > > /*call audit_syscall_exit since we do not exit via the normal paths */ > if (unlikely(current->audit_context)) >- audit_syscall_exit(AUDITSC_RESULT(eax), eax); >+ audit_syscall_exit(AUDITSC_RESULT(0), 0); > > __asm__ __volatile__( > "movl %0,%%esp\n\t" > "movl %1,%%ebp\n\t" >+ "mov %2, %%fs\n\t" > "jmp resume_userspace" > : /* no outputs */ >- :"r" (&info->regs), "r" (task_thread_info(tsk))); >+ :"r" (&info->regs), "r" (task_thread_info(tsk)), "r" (0)); > /* we never return here */ > } >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254024
: 206251 |
289391
|
289411
|
289806
|
289807
|
290180
|
290181
|
290211
|
290212
|
290461
|
290688
|
291734
|
292069