dthain / basekernel

A simple OS kernel for research, teaching, and fun.
GNU General Public License v2.0
805 stars 109 forks source link

Path Validation #229

Closed dthain closed 5 years ago

dthain commented 5 years ago

The validation code for paths, intents, etc. is currently located in the standard library. This makes it easy to test, but it's the wrong place to enforce! Move the validation module into the kernel, and hook it up to the is_valid functions in the system call handlers, so that the kernel will reject the creation of invalid identifiers.

dthain commented 5 years ago

Closed by #236