PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
rox-simple.c File Reference
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
Include dependency graph for rox-simple.c:

Go to the source code of this file.

Functions

void test_main (void)
 Ensure that the executable of a running process cannot be modified. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Ensure that the executable of a running process cannot be modified.

tests/main.h

Definition at line 9 of file rox-simple.c.

References buffer, CHECK, open(), read(), and write().

Here is the call graph for this function: