MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / chmod

Method chmod

source/kernel/kprocess.cpp:977–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

975}
976
977U32 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
984U32 KProcess::chdir(BString path) {
985 std::shared_ptr<FsNode> node = Fs::getNodeFromLocalPath(this->currentDirectory, path, true);

Callers 1

syscall_chmodFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected