PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
#include <stdint.h>
#include <round.h>
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
Go to the source code of this file.
Functions | |
void | test_main (void) |
Verifies that mapping over the stack segment is disallowed. More... | |
void test_main | ( | void | ) |
Verifies that mapping over the stack segment is disallowed.
Definition at line 10 of file mmap-over-stk.c.
References CHECK, MAP_FAILED, mmap(), open(), and ROUND_DOWN.