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

Go to the source code of this file.

Functions

void test_main (void)
 Passes an invalid pointer to the exec system call. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Passes an invalid pointer to the exec system call.

tests/main.h

The process must be terminated with -1 exit code.

Definition at line 8 of file exec-bad-ptr.c.

References exec().

Here is the call graph for this function: