Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 170403 Details for
Bug 196848
gentoo-sources-2.6.23 - uvesafb: Getting VBE info block failed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch removing PROT_EXEC for the memory maps.
v86d-exec.patch (text/plain), 1.16 KB, created by
Michal Januszewski (RETIRED)
on 2008-10-31 13:55:02 UTC
(
hide
)
Description:
A patch removing PROT_EXEC for the memory maps.
Filename:
MIME Type:
Creator:
Michal Januszewski (RETIRED)
Created:
2008-10-31 13:55:02 UTC
Size:
1.16 KB
patch
obsolete
>diff --git a/v86_mem.c b/v86_mem.c >index 644c769..17c898b 100644 >--- a/v86_mem.c >+++ b/v86_mem.c >@@ -240,7 +240,7 @@ int v86_mem_init(void) > * modes will not work correctly on some cards (e.g. nVidia GeForce > * 8600M, PCI ID 10de:0425). > */ >- mem_low = map_file(NULL, IVTBDA_SIZE, PROT_READ | PROT_WRITE | PROT_EXEC, >+ mem_low = map_file(NULL, IVTBDA_SIZE, PROT_READ | PROT_WRITE, > MAP_SHARED, "/dev/mem", IVTBDA_BASE); > if (!mem_low) { > real_mem_deinit(); >@@ -293,7 +293,7 @@ int v86_mem_init(void) > } > vbios_size = tmp[2] * 0x200; > ulog(LOG_DEBUG, "VBIOS at %5x-%5x\n", VBIOS_BASE, VBIOS_BASE + vbios_size - 1); >- mem_vbios = map_file(NULL, vbios_size, PROT_READ | PROT_WRITE | PROT_EXEC, >+ mem_vbios = map_file(NULL, vbios_size, PROT_READ | PROT_EXEC, > MAP_SHARED, "/dev/mem", VBIOS_BASE); > > if (!mem_vbios) { >@@ -303,7 +303,7 @@ int v86_mem_init(void) > } > > /* Map the system BIOS */ >- mem_sbios = map_file(NULL, SBIOS_SIZE, PROT_READ | PROT_WRITE | PROT_EXEC, >+ mem_sbios = map_file(NULL, SBIOS_SIZE, PROT_READ | PROT_EXEC, > MAP_SHARED, "/dev/mem", SBIOS_BASE); > if (!mem_sbios) { > ulog(LOG_ERR, "Failed to mmap the System BIOS as %5x.", SBIOS_BASE);
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 196848
:
135194
|
135263
|
135264
|
139220
|
139321
| 170403