StratifyOS
StratifyOS copied to clipboard
A Powerful embedded RTOS for ARM Cortex M microcontrollers
Code snippet from `appfs_util_root_create()` ``` //find space for the code -- this doesn't need to be protectable code_start_addr = find_protectable_free(dev, type, dest->exec.code_size, &page, 0); if ( code_start_addr == (u32)-1 ){...
It should be an EBADF error.
the are always read in priv mode. So no need to have memory protection alignment.
This happens in api-sys-test for the ThreadTest
The checksum should be assigned and verified using cortexm_assign_zero_sum32() and cortexm_verify_zero_sum32()
If /app is marked SOS_ROOT, only ROOT can access that filesystem.