PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
child-inherit.c File Reference
#include <string.h>
#include "tests/vm/sample.inc"
#include "tests/lib.h"
#include "tests/main.h"
Include dependency graph for child-inherit.c:

Go to the source code of this file.

Functions

void test_main (void)
 Child process for mmap-inherit test. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Child process for mmap-inherit test.

tests/main.h

Tries to write to a mapping present in the parent. The process must be terminated with -1 exit code.

Definition at line 11 of file child-inherit.c.

References fail(), and memset().

Here is the call graph for this function: