summaryrefslogtreecommitdiffstats
path: root/pintos-progos/tests/userprog/rox-child.c
diff options
context:
space:
mode:
Diffstat (limited to 'pintos-progos/tests/userprog/rox-child.c')
-rw-r--r--pintos-progos/tests/userprog/rox-child.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pintos-progos/tests/userprog/rox-child.c b/pintos-progos/tests/userprog/rox-child.c
new file mode 100644
index 0000000..30afba2
--- /dev/null
+++ b/pintos-progos/tests/userprog/rox-child.c
@@ -0,0 +1,5 @@
1/* Ensure that the executable of a running process cannot be
2 modified, even by a child process. */
3
4#define CHILD_CNT "1"
5#include "tests/userprog/rox-child.inc"