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 148397 Details for
Bug 229304
[patch] vdso is in user's way when exec-shield is off
[?]
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]
put vdso at STACK_TOP when 0==exec_shield
linux-2.6-x86-vdso-stacktop-0.patch (text/plain), 888 bytes, created by
John Reiser
on 2007-02-20 03:48:32 UTC
(
hide
)
Description:
put vdso at STACK_TOP when 0==exec_shield
Filename:
MIME Type:
Creator:
John Reiser
Created:
2007-02-20 03:48:32 UTC
Size:
888 bytes
patch
obsolete
>--- ./arch/i386/kernel/sysenter.c.orig 2007-02-19 13:30:19.000000000 -0800 >+++ ./arch/i386/kernel/sysenter.c 2007-02-19 15:47:35.000000000 -0800 >@@ -23,6 +23,7 @@ > #include <asm/msr.h> > #include <asm/pgtable.h> > #include <asm/unistd.h> >+#include <asm/a.out.h> > > /* > * Should the kernel map a VDSO page into processes and pass its >@@ -106,11 +107,16 @@ > unsigned long start_code, unsigned long interp_map_address) > { > struct mm_struct *mm = current->mm; >- unsigned long addr; >+ unsigned long addr = 0ul; >+ unsigned long flags = 0ul; > int ret; > >+ if (0==exec_shield) { /* off */ >+ addr = STACK_TOP; /* avoid interfering with user */ >+ flags = MAP_FIXED; >+ } > down_write(&mm->mmap_sem); >- addr = get_unmapped_area_prot(NULL, 0, PAGE_SIZE, 0, 0, 1); >+ addr = get_unmapped_area_prot(NULL, addr, PAGE_SIZE, 0, flags, 1); > if (IS_ERR_VALUE(addr)) { > ret = addr; > goto up_fail;
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 229304
:
148397
|
148544