From Fedora Project Wiki

Line 2: Line 2:
 
|description=This test case verifies that execshield is correctly implemented for Fedora Xen DomU.
 
|description=This test case verifies that execshield is correctly implemented for Fedora Xen DomU.
 
|actions=
 
|actions=
# Download this file into the domU.
+
# Download this [[File:Xen-domu-execshield-invalid.c]] file into the domU.
 
# Compile the test case with <pre>$> gcc test.c</pre>
 
# Compile the test case with <pre>$> gcc test.c</pre>
 
# Inside the guest, run <pre>$> ./a.out</pre>
 
# Inside the guest, run <pre>$> ./a.out</pre>

Revision as of 12:57, 4 May 2009

Description

This test case verifies that execshield is correctly implemented for Fedora Xen DomU.


How to test

  1. Download this File:Xen-domu-execshield-invalid.c file into the domU.
  2. Compile the test case with
    $> gcc test.c
  3. Inside the guest, run
    $> ./a.out

Expected Results

  1. The application should immediately SEGV.