OS Namespace Reference


Classes

struct  Passwd
class  Group
class  PasswdIter
class  GroupIter
class  ThreadIO
class  ThreadIOHelper

Functions

void GetProcessSize (unsigned long &total, unsigned long &resident) throw ()
void setenv (const Text &var, const Text &val) throw ()
bool getPwNam (const Text &user_name, OS::Passwd &passwd)
bool getPwUid (uid_t uid, OS::Passwd &passwd)
bool getGrNam (const Text &user_name, OS::Group &group)
bool getGrGid (gid_t gid, OS::Group &group)
OS::ThreadIOcio ()


Function Documentation

ThreadIO & OS::cio (  ) 

Definition at line 212 of file ThreadIO.C.

Referenced by ServerHandler::accept_failure(), Evaluator_Dir_Server_Handler::accept_failure(), ExpCache_handler::accept_failure(), DirInfos::AddDpnd(), ExpCache::AddEntry(), CacheC::AddEntry(), AddPrimitive(), AddPrimitiveOp(), AddPrimitiveUnOp(), AddStmtAssocs(), AddToNewStuff(), AllFreeVarsBoundInContext(), ApplicationFromCache(), ApplyFunction(), ApplyModel(), Assert(), be_application(), BindApplicationArgs(), BindRunToolArgs(), CacheIt(), CacheS::CacheS(), CacheS_DoDeletions(), CacheS_DoFreeMPKFiles(), Evaluator_Dir_Server_Handler::call(), ServerHandler::call(), ServerHandler::call_failure(), Evaluator_Dir_Server_Handler::call_failure(), ExpCache_handler::call_failure(), ExpCache::check_server_instance(), PickleC::checkNumBytesRead(), ExpCache::Checkpoint(), CacheC::Checkpoint(), CacheS::ChkptUsedCIs(), CacheS::CleanCacheLog(), CleanDir(), Client(), Client_Worker_Thread(), CollectDpnd(), ExpCache::CommitChkpt(), WeederC::CommitChkpt(), ConvertToBindElem(), Copy(), FpVC::Copy(), core_match_init(), CreateDerived(), VPKFile::CycleDeletedNamesInList(), CE::T::CycleNames(), CacheS::DoCheckpoint(), ExpCache::EndMark(), WeederC::EndMark(), ApplyEC::Eval(), FileEC::Eval(), SelectEC::Eval(), BindingEC::Eval(), NameEC::Eval(), ComputedEC::Eval(), IfEC::Eval(), Evaluator_Dir_Server_Inner(), Leases::Expire(), ExpCache::FlushAll(), CacheS::FlushCacheLog(), CacheS::FlushGraphLog(), CacheS::FlushUsedCIs(), CacheS::FlushUsedCIsList(), CacheC::FreeVariables(), ExpCache::FreeVars(), ExpCache::GetCacheId(), ExpCache::GetCacheInstance(), ExpCache::GetCacheState(), GetChar(), ExpCache::GetLeases(), WeederC::GetLeases(), init(), WeederC::init_server_instance(), CacheC::init_server_instance(), Interpret(), IterateAssoc(), Evaluator_Dir_Server_Handler::listener_terminated(), ExpCache_handler::listener_terminated(), ServerHandler::listener_terminated(), Lookup(), ExpCache::Lookup(), CacheS::Lookup(), CacheC::Lookup(), DirInfos::LookupDir(), main(), MainClientProc(), Map(), ModelFromCache(), TextVC::NDS(), VPKFile::NewEntry(), Token::Next(), NormalModelFromCache(), WeederC::NullCall(), DebugC::NullCall(), OpenSource(), Or(), Evaluator_Dir_Server_Handler::other_failure(), ExpCache_handler::other_failure(), ServerHandler::other_failure(), CE::T::Pack(), ParMap(), SMultiPKFile::PauseDeletionThread(), PError(), Pickle(), PickleC::PickleVal(), PrimError(), Print(), PrintDepsDiffs(), ProcessModelHead(), CacheS::RecoverCacheLog(), CacheS::RecoverCacheLogEntries(), CacheS::RecoverCILog(), CacheS::RecoverDeleting(), CacheS::RecoverEmptyPKLog(), CacheS::RecoverHitFilter(), CacheS::RecoverMPKsToWeed(), CacheS::RecoverWeededMPKs(), WeederC::recv_server_instance_check(), CacheC::recv_server_instance_check(), ExpCache::RenewLeases(), CacheC::RenewLeases(), ReplicateMissing(), ExpCache::ResumeLeaseExp(), RunTool(), RunToolFromCache(), RunToolHost(), RunToolHostInit(), RunToolPK(), Token::ScanComment(), Token::ScanIdNumber(), Token::ScanPragma(), Token::ScanText(), VPKFile::SendAllNames(), Server(), ExpCache::SetHitFilter(), WeederC::SetHitFilter(), ShipShortId(), ShipText(), ShipValue(), TextVC::Sid(), SlowPrintThread(), ExpCache::StartMark(), WeederC::StartMark(), StartServer(), SyntaxError(), TextVC::TextC::TextC(), Unpickle(), PickleC::UnpickleVal(), VPKFile::Update(), SPKFile::Update(), ValType(), VestaShip(), CacheS::VToSCache(), WaitForDuplicateEval(), ExpCache::WeederRecovering(), WeederC::WeederRecovering(), EmptyPKLog::Write(), and WriteFailure().

Here is the caller graph for this function:

bool OS::getGrGid ( gid_t  gid,
OS::Group group 
)

Definition at line 159 of file PwGrp.C.

References Sequence< Elem, elem_ptrfree >::addhi(), OS::Group::clear(), OS::Group::gid, Basics::mutex::lock(), OS::Group::members, OS::Group::name, and Basics::mutex::unlock().

Here is the call graph for this function:

bool OS::getGrNam ( const Text user_name,
OS::Group group 
)

Definition at line 138 of file PwGrp.C.

References Sequence< Elem, elem_ptrfree >::addhi(), Text::cchars(), OS::Group::clear(), OS::Group::gid, Basics::mutex::lock(), OS::Group::members, OS::Group::name, and Basics::mutex::unlock().

Here is the call graph for this function:

void OS::GetProcessSize ( unsigned long &  total,
unsigned long &  resident 
) throw ()

Definition at line 51 of file OS.C.

References FdCache::close(), and FdCache::open().

Referenced by CacheS::GetCacheState(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

bool OS::getPwNam ( const Text user_name,
OS::Passwd passwd 
)

Definition at line 104 of file PwGrp.C.

References Text::cchars(), OS::Passwd::gid, Basics::mutex::lock(), OS::Passwd::name, OS::Passwd::uid, and Basics::mutex::unlock().

Here is the call graph for this function:

bool OS::getPwUid ( uid_t  uid,
OS::Passwd passwd 
)

Definition at line 121 of file PwGrp.C.

References OS::Passwd::gid, Basics::mutex::lock(), OS::Passwd::name, OS::Passwd::uid, and Basics::mutex::unlock().

Referenced by AccessControl::GlobalIdentityRep::GlobalIdentityRep().

Here is the call graph for this function:

Here is the caller graph for this function:

void OS::setenv ( const Text var,
const Text val 
) throw ()

Definition at line 94 of file OS.C.

References NEW_PTRFREE_ARRAY.

Referenced by ReposUI::setTriggerVars().

Here is the caller graph for this function:


Generated on Fri May 25 02:12:58 2007 for Vesta by  doxygen 1.5.1