pub fn enforce_path_for_current_task( path: &str, want_read: bool, want_write: bool, want_execute: bool, ) -> Result<(), SyscallError>
Performs the enforce path for current task operation.