dthain / basekernel

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

Unify Path Logic #225

Closed dthain closed 5 years ago

dthain commented 5 years ago

Currently, the logic to parse paths of the form intent:/some/path is entirely inside sys_object_open. As a result, it only applis to the open system call, and not to other system calls that deal with names, such as process execution, etc. Move this logic over to fs_resolve, which is the global control point for evaluating names.