Searched refs:mprotect (Results 1 - 12 of 12) sorted by relevance
/darwin-on-arm/xnu/libsyscall/wrappers/legacy/ |
H A D | module.mk | 9 mprotect.c \
|
H A D | mprotect.c | 43 mprotect(void *addr, size_t len, int prot) function
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | mman.h | 212 int mprotect(void *, size_t, int) __DARWIN_ALIAS(mprotect); variable
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | Makefile.benchmarks | 74 mprotect \
|
H A D | mprotect.c | 76 "notes: measures mprotect()\n", 179 if (mprotect((void *)&seg[i * optl], optl, prot) == -1) {
|
H A D | bench.sh | 656 mprotect $OPTS -N "mprot_z8k" -l 8k -I 300 -f /dev/zero 657 mprotect $OPTS -N "mprot_z128k" -l 128k -I 500 -f /dev/zero 658 mprotect $OPTS -N "mprot_wz8k" -l 8k -I 500 -w -f /dev/zero 659 mprotect $OPTS -N "mprot_wz128k" -l 128k -I 1000 -w -f /dev/zero 660 mprotect $OPTS -N "mprot_twz8k" -l 8k -I 1000 -w -t -f /dev/zero 661 mprotect $OPTS -N "mprot_tw128k" -l 128k -I 2000 -w -t -f /dev/zero 662 mprotect $OPTS -N "mprot_tw4m" -l 4m -w -t -B 1 -f /dev/zero
|
H A D | coreos_bench.sh | 674 mprotect $OPTS -N "mprot_z8k" -l 8k -I 300 -f /dev/zero 675 mprotect $OPTS -N "mprot_z128k" -l 128k -I 500 -f /dev/zero 676 mprotect $OPTS -N "mprot_wz8k" -l 8k -I 500 -w -f /dev/zero 677 mprotect $OPTS -N "mprot_wz128k" -l 128k -I 1000 -w -f /dev/zero 678 mprotect $OPTS -N "mprot_twz8k" -l 8k -I 1000 -w -t -f /dev/zero 679 mprotect $OPTS -N "mprot_tw128k" -l 128k -I 2000 -w -t -f /dev/zero 680 mprotect $OPTS -N "mprot_tw4m" -l 4m -w -t -B 1 -f /dev/zero
|
H A D | embd_bench.sh | 660 mprotect $OPTS -N "mprot_z8k" -l 8k -I 300 -f /dev/zero 661 mprotect $OPTS -N "mprot_z128k" -l 128k -I 500 -f /dev/zero 662 mprotect $OPTS -N "mprot_wz8k" -l 8k -I 500 -w -f /dev/zero 663 mprotect $OPTS -N "mprot_wz128k" -l 128k -I 1000 -w -f /dev/zero 664 mprotect $OPTS -N "mprot_twz8k" -l 8k -I 1000 -w -t -f /dev/zero 665 mprotect $OPTS -N "mprot_tw128k" -l 128k -I 2000 -w -t -f /dev/zero 666 mprotect $OPTS -N "mprot_tw4m" -l 4m -w -t -B 1 -f /dev/zero
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/helpers/ |
H A D | data_exec.c | 159 if(mprotect((void *)base, len, PROT_READ|PROT_WRITE|PROT_EXEC) == -1) { 160 perror("mprotect of stack"); 187 if(mprotect((void *)base, len, PROT_READ|PROT_WRITE|PROT_EXEC) == -1) { 188 perror("mprotect of stack");
|
/darwin-on-arm/xnu/bsd/man/man2/ |
H A D | Makefile | 119 mprotect.2 \
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | memory_tests.c | 97 * Test madvise, mincore, minherit, mlock, mlock, mmap, mprotect, msync, munmap system calls. 332 /* map the file into memory again for mprotect test */ 343 /* test mprotect - change protection to only PROT_READ */ 344 my_err = mprotect( my_addr, my_page_size, PROT_READ ); 346 printf( "mprotect call failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_mman.c | 731 mprotect(__unused proc_t p, struct mprotect_args *uap, __unused int32_t *retval) function 772 * The MAC check for mprotect is of limited use for 2 reasons: 774 * protections initially instead of a reduced set, so a mprotect
|
Completed in 38 milliseconds