Changeset 28c35e2
- Timestamp:
- Dec 17, 2020, 10:47:41 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 39d22ef
- Parents:
- 852ae0ea
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
r852ae0ea r28c35e2 118 118 119 119 extern size_t __page_size; 120 extern int __map_prot; 120 121 121 122 //----------------------------------------------------------------------------- … … 727 728 __cfaabi_dbg_debug_do( 728 729 // pthread has no mechanism to create the guard page in user supplied stack. 729 if ( mprotect( stack, __page_size, PROT_READ | PROT_WRITE) == -1 ) {730 if ( mprotect( stack, __page_size, __map_prot ) == -1 ) { 730 731 abort( "mprotect : internal error, mprotect failure, error(%d) %s.", errno, strerror( errno ) ); 731 732 } // if
Note: See TracChangeset
for help on using the changeset viewer.