Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 97368 Details for
Bug 144032
exec stacks in app-emulation/xen
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
a more complete patch (including makefile)
xen-exec.patch (text/plain), 2.66 KB, created by
oliver jucknath
on 2006-09-18 15:24:28 UTC
(
hide
)
Description:
a more complete patch (including makefile)
Filename:
MIME Type:
Creator:
oliver jucknath
Created:
2006-09-18 15:24:28 UTC
Size:
2.66 KB
patch
obsolete
>diff -ur xen/arch/x86/boot/x86_32.S xen/arch/x86/boot/x86_32.S >--- xen/arch/x86/boot/x86_32.S 2006-08-09 14:41:24.000000000 +0100 >+++ xen/arch/x86/boot/x86_32.S 2006-08-09 15:57:00.000000000 +0100 >@@ -261,3 +261,7 @@ > .section ".bss.stack_aligned","w" > ENTRY(cpu0_stack) > .fill STACK_SIZE,1,0 >+ >+#ifdef __ELF__ >+.section .note.GNU-stack,"",%progbits >+#endif >diff -ur xen/arch/x86/hvm/svm/x86_32/exits.S xen/arch/x86/hvm/svm/x86_32/exits.S >--- xen/arch/x86/hvm/svm/x86_32/exits.S 2006-08-09 14:41:24.000000000 +0100 >+++ xen/arch/x86/hvm/svm/x86_32/exits.S 2006-08-09 15:59:20.000000000 +0100 >@@ -157,3 +157,7 @@ > sti > call do_softirq > jmp svm_test_all_events >+ >+#ifdef __ELF__ >+.section .note.GNU-stack,"",%progbits >+#endif >diff -ur xen/arch/x86/hvm/vmx/x86_32/exits.S xen/arch/x86/hvm/vmx/x86_32/exits.S >--- xen/arch/x86/hvm/vmx/x86_32/exits.S 2006-08-09 14:41:24.000000000 +0100 >+++ xen/arch/x86/hvm/vmx/x86_32/exits.S 2006-08-09 15:59:43.000000000 +0100 >@@ -147,3 +147,7 @@ > > ENTRY(vmx_asm_do_relaunch) > vmx_asm_common 1, 1 >+ >+#ifdef __ELF__ >+.section .note.GNU-stack,"",%progbits >+#endif >diff -ur xen/arch/x86/trampoline.S xen/arch/x86/trampoline.S >--- xen/arch/x86/trampoline.S 2006-08-09 14:41:24.000000000 +0100 >+++ xen/arch/x86/trampoline.S 2006-08-09 15:51:27.000000000 +0100 >@@ -65,3 +65,7 @@ > ENTRY(trampoline_end) > > #endif /* CONFIG_SMP */ >+ >+#ifdef __ELF__ >+.section .note.GNU-stack,"",%progbits >+#endif >diff -ur xen/arch/x86/x86_32/entry.S xen/arch/x86/x86_32/entry.S >--- xen/arch/x86/x86_32/entry.S 2006-08-09 14:41:24.000000000 +0100 >+++ xen/arch/x86/x86_32/entry.S 2006-08-09 15:54:38.000000000 +0100 >@@ -686,3 +686,7 @@ > .rept NR_hypercalls-(.-hypercall_args_table) > .byte 0 /* do_ni_hypercall */ > .endr >+ >+#ifdef __ELF__ >+.section .note.GNU-stack,"",%progbits >+#endif >diff -ur xen/Makefile xen/Makefile >--- xen/Makefile 02:14:17.000000000 +0200 >+++ xen/Makefile 02:14:56.000000000 +0200 >@@ -31,7 +31,7 @@ > ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION).gz > ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).gz > ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET)).gz >- $(INSTALL_DATA) $(TARGET)-syms $(DESTDIR)/boot/$(notdir $(TARGET))-syms-$(XEN_FULLVERSION) >+ $(INSTALL) -m0755 $(TARGET)-syms $(DESTDIR)/boot/$(notdir $(TARGET))-syms-$(XEN_FULLVERSION) > [ -d $(DESTDIR)/usr/include/xen/io ] || \ > $(INSTALL_DIR) $(DESTDIR)/usr/include/xen/io > $(INSTALL_DATA) include/public/*.h $(DESTDIR)/usr/include/xen >
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 144032
:
94343
| 97368