StratifyLabs / StratifyOS

A Powerful embedded RTOS for ARM Cortex M microcontrollers
https://stratifylabs.co
Other
116 stars 23 forks source link

Have root filesystem limit access to filesystems based on USER #157

Open tyler-gilbert opened 6 years ago

tyler-gilbert commented 6 years ago

If /app is marked SOS_ROOT, only ROOT can access that filesystem.

tyler-gilbert commented 6 years ago

This needs to be enforced atomically in kernel mode on each function. It can't just be some gatekeeper code at the ROOT level.