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

Method getType

source/kernel/kunixsocket.cpp:427–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425 U64 length() override {return 0;}
426 FsOpenNode* open(U32 flags) override {kwarn("unixsocket_open was called, this shouldn't happen. syscall_open should detect we have a kobject already"); return nullptr;}
427 U32 getType(bool checkForLink) override {return 12;} // DT_SOCK
428 U32 getMode() override {return K__S_IREAD | K__S_IWRITE | K_S_IFSOCK;}
429 U32 removeDir() override {kpanic("UnixSocket::removeDir not implemented"); return 0;}
430 U32 setTimes(U64 lastAccessTime, U32 lastAccessTimeNano, U64 lastModifiedTime, U32 lastModifiedTimeNano) override {klog("UnixSocket::setTimes not implemented"); return 0;}

Callers 1

getdentsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected