13static char dst[8192]
__attribute__ ((section (
".testEndmem,\"aw\",@nobits#")));
void * get_boundary_area(void)
Returns the beginning of a page.
static char dst[8192] __attribute__((section(".testEndmem,\"aw\",@nobits#")))
Utility function for tests that try to break system calls by passing them data that crosses from one ...
char * copy_string_across_boundary(const char *src)
Returns a copy of SRC split across the boundary between two pages.
void * get_bad_boundary(void)
Returns an address that is invalid, but the preceding bytes are all valid (the highest address in the...
#define ROUND_UP(X, STEP)
Yields X rounded up to the nearest multiple of STEP.
size_t strlen(const char *string)
Returns the length of STRING.
size_t strlcpy(char *dst, const char *src, size_t size)
Copies string SRC to DST.