Home
last modified time | relevance | path

Searched refs:exec_func (Results 1 - 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/mprotect/
H A Dmprotect04.c131 static void exec_func(void) in exec_func() function
180 * Copy page where &exec_func resides. Also try to copy subsequent page
181 * in case exec_func is close to page boundary.
191 func_descr_t *opd = (func_descr_t *)&exec_func; in get_func()
196 *func_page_offset = (uintptr_t)&exec_func & (page_sz - 1); in get_func()
198 page_to_copy = (void *)((uintptr_t)&exec_func & page_mask); in get_func()
200 tst_resm(TINFO, "exec_func: %p, page_to_copy: %p", in get_func()
201 &exec_func, page_to_copy); in get_func()
223 /* return pointer to area where copy of exec_func resides */ in get_func()
/third_party/ltp/testcases/kernel/mem/mtest05/
H A Dmmstress.c277 void *(*exec_func) (void *), in map_and_thread()
389 if (pthread_create(&pthread_ids[thrd_ndx++], NULL, exec_func, in map_and_thread()
/third_party/python/Lib/
H A Dos.py589 exec_func = execve
592 exec_func = execv
597 exec_func(file, *argrest)
607 exec_func(fullname, *argrest)

Completed in 4 milliseconds