| 975 | } |
| 976 | |
| 977 | U32 KProcess::chmod(BString path, U32 mode) { |
| 978 | std::shared_ptr<FsNode> node = Fs::getNodeFromLocalPath(this->currentDirectory, path, true); |
| 979 | if (!node) |
| 980 | return -K_ENOENT; |
| 981 | return 0; |
| 982 | } |
| 983 | |
| 984 | U32 KProcess::chdir(BString path) { |
| 985 | std::shared_ptr<FsNode> node = Fs::getNodeFromLocalPath(this->currentDirectory, path, true); |