20 #ifndef _POSIX_PSAUXFILE_H 21 #define _POSIX_PSAUXFILE_H 23 #include "modules/system/vfs/File.h" 24 #include "pedigree/kernel/utilities/Buffer.h" 31 :
File(str, 0, 0, 0, inode, pParentFS, 0, pParentNode), m_Lock(
false),
35 FILE_UR | FILE_UW | FILE_GR | FILE_GW | FILE_OR | FILE_OW);
46 uint64_t location, uint64_t size, uintptr_t buffer,
47 bool bCanBlock =
true);
49 uint64_t location, uint64_t size, uintptr_t buffer,
50 bool bCanBlock =
true);
52 virtual int select(
bool bWriting =
false,
int timeout = 0);
58 static void subscriber(
void *param,
const void *buffer,
size_t len);
60 void handleIncoming(
const void *buffer,
size_t len);
void setUidOnly(size_t uid)
uint64_t writeBytewise(uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true)
virtual int select(bool bWriting=false, int timeout=0)
void setPermissionsOnly(uint32_t perms)
void setGidOnly(size_t gid)
virtual bool isBytewise() const
uint64_t readBytewise(uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true)