|
| | PosixProcess (Process *pParent, bool bCopyOnWrite=true, FilesystemContextMode filesystemContext=FilesystemContextMode::Inherit, bool emptyAddressSpace=false) |
| |
| void | publish () |
| |
| void | setProcessGroup (ProcessGroup *newGroup) |
| |
| void | inheritProcessGroup (PosixProcess *parent) |
| |
| ProcessGroup * | getProcessGroup () const |
| |
| bool | getProcessGroupId (size_t &groupId, const UserspacePidNamespace *space=nullptr) const |
| |
| void | leaveProcessGroup () |
| |
| void | setGroupMembership (Membership type) |
| |
| Membership | getGroupMembership () const |
| |
| size_t | getSessionId (const UserspacePidNamespace *space=nullptr) const |
| |
| bool | sharesSession (const PosixProcess &other) const |
| |
| bool | jobControlReady () const |
| |
| void | markExecCommitted () |
| |
| bool | hasExecCommitted () const |
| |
| Time::Timestamp | getStartTimeTicks () const |
| |
| void | snapshotAccountingMemory () |
| |
| int | createSession () |
| |
| int | changeProcessGroup (PosixProcess &caller, int groupId) |
| |
| void | setMask (uint32_t mask) |
| |
| uint32_t | getMask () const |
| |
| IntervalTimer & | getRealIntervalTimer () |
| |
| IntervalTimer & | getVirtualIntervalTimer () |
| |
| IntervalTimer & | getProfileIntervalTimer () |
| |
| CredentialSnapshot | snapshotCredentials () const |
| |
| FilesystemCredentials | realFilesystemCredentials () const |
| |
| bool | snapshotFilesystemCredentials (const Thread *, FilesystemCredentials &) const override |
| |
| bool | installUserIdentity (User *, Group *, const uint32_t *, size_t) override |
| |
| CredentialStatus | changeCredentials (Thread &, CredentialChange, uint32_t, uint32_t, uint32_t) |
| |
| CredentialStatus | replaceGroups (Thread &, const uint32_t *, size_t) |
| |
| uint32_t | changeFilesystemId (Thread &, bool group, uint32_t requested) |
| |
| void | setDumpable (bool) |
| |
| void | commitExecCredentials (Thread &, bool allExecutableFilesReadable) |
| |
| int64_t | getUserId () const final |
| |
| virtual int64_t | getGroupId () const |
| |
| virtual int64_t | getEffectiveUserId () const |
| |
| virtual int64_t | getEffectiveGroupId () const |
| |
| virtual void | getSupplementalGroupIds (Vector< int64_t > &vec) const |
| |
| void | setUserId (int64_t id) override |
| |
| void | setGroupId (int64_t id) override |
| |
| void | setEffectiveUserId (int64_t id) override |
| |
| void | setEffectiveGroupId (int64_t id) override |
| |
| void | setSupplementalGroupIds (const Vector< int64_t > &vec) |
| |
| int64_t | getSavedUserId () const |
| |
| int64_t | getSavedGroupId () const |
| |
| void | setSavedUserId (int64_t id) |
| |
| void | setSavedGroupId (int64_t id) |
| |
| | Process () |
| |
| | Process (Process *pParent, bool bCopyOnWrite=true) |
| |
| virtual | ~Process () |
| |
| size_t | addThread (Thread *pThread) |
| |
| void | threadExiting (Thread *pThread) |
| |
| void | transferExecProcessSignals (Thread *pThread) |
| |
| void | removeThread (Thread *pThread) |
| |
| size_t | getNumThreads () |
| |
| MUST_USE_RESULT bool | acquireThread (ThreadLease &lease, size_t n) |
| |
| MUST_USE_RESULT bool | acquireProcessSignalThread (ThreadLease &lease) |
| |
| MUST_USE_RESULT bool | acquireThreadById (ThreadLease &lease, size_t id) |
| |
| MUST_USE_RESULT bool | acquireThreadByTaskId (ThreadLease &lease, size_t id) |
| |
| MUST_USE_RESULT bool | acquireThreadByUserspaceId (ThreadLease &lease, size_t id, const UserspacePidNamespace *space) |
| |
| MUST_USE_RESULT bool | acquireThread (ThreadLease &lease, Thread *expected) |
| |
| TerminalOwnerReservation | reserveTerminalOwner () |
| |
| size_t | getId () |
| |
| size_t | getUserspaceId () const |
| |
| size_t | getUserspaceId (const UserspacePidNamespace *space) const |
| |
| SharedPointer< UserspacePidNamespace > | pidNamespace () const |
| |
| SharedPointer< UserspacePid > | pidIdentity () const |
| |
| SharedPointer< UserspacePidNamespace > | pidNamespaceForChildren () |
| |
| bool | createPidNamespace () |
| |
| bool | unsharePidNamespace () |
| |
| bool | unsharePidNamespace (const SharedPointer< UserspacePidNamespace > &prepared) |
| |
| bool | pidNamespaceReady () const |
| |
| LargeStaticString & | description () |
| |
| VirtualAddressSpace * | getAddressSpace () |
| |
| Process * | addressSpaceOwner () |
| |
| bool | isVforkChild () const |
| |
| void | borrowVforkAddressSpace (Process &parent, const SharedPointer< VforkCompletion > &completion) |
| |
| void | releaseVforkAddressSpace () |
| |
| void | setExitStatus (int code) |
| |
| int | getExitStatus () |
| |
| void | reap () |
| |
| bool | prepareThreadExit () |
| |
| bool | beginTermination (int code=0, Subsystem::ExitCause cause=Subsystem::ExitCause::Normal) |
| |
| bool | quiesceTermination () |
| |
| void | finishTermination (bool notifyParent=false) NORETURN |
| |
| ReaperClaim | tryClaimReaper () |
| |
| void | kill () NORETURN |
| |
| void | suspend (int stopSignal=0) |
| |
| void | suspendIfContinuationEpoch (int stopSignal, size_t continuationEpoch) |
| |
| void | resume () |
| |
| size_t | getContinuationEpoch () |
| |
| Process * | getParent () |
| |
| FilesystemContextRef | acquireFilesystemContext () const |
| |
| MUST_USE_RESULT bool | installFilesystemContext (FilesystemContextOwner &&context) |
| |
| bool | replaceFilesystemContext (FilesystemContextOwner &&replacement, const FilesystemContextRef &expected) |
| |
| bool | filesystemContextReady () const |
| |
| void | releaseFilesystemContext () |
| |
| SharedPointer< ControllingTerminal > | acquireCttyContext () const |
| |
| MUST_USE_RESULT File * | acquireCtty (FileContextLease &lease) const |
| |
| void | setCttyContext (const SharedPointer< ControllingTerminal > &context) |
| |
| MUST_USE_RESULT bool | setCtty (File *file) |
| |
| bool | snapshotUserReservations (UserReservationSnapshot &result) |
| |
| bool | commitUserReservations (uint64_t expectedGeneration, UserReservationSnapshot &replacement) |
| |
| bool | allocateUserRange (UserRegion region, size_t length, uintptr_t &address) |
| |
| bool | allocateSpecificUserRange (UserRegion region, uintptr_t address, size_t length) |
| |
| void | freeUserRange (UserRegion region, uintptr_t address, size_t length) |
| |
| void | resetUserReservations () |
| |
| void | inheritFilesystemIds (Thread &child, const Thread *creator) const |
| |
| User * | getUser () const |
| |
| void | setUser (User *pUser) |
| |
| User * | getEffectiveUser () const |
| |
| void | setEffectiveUser (User *pUser) |
| |
| Group * | getGroup () const |
| |
| void | setGroup (Group *pGroup) |
| |
| Group * | getEffectiveGroup () const |
| |
| void | setEffectiveGroup (Group *pGroup) |
| |
| void | setLinker (DynamicLinker *pDl) |
| |
| DynamicLinker * | getLinker () |
| |
| void | setSubsystem (Subsystem *pSubsystem) |
| |
| Subsystem * | getSubsystem () |
| |
| ProcessType | getType () const |
| |
| WaitQueue::Guard | acquireChildStateWait () |
| |
| bool | waitUntilTerminationReapable () |
| |
| bool | waitUntilTerminationReapableForTerminalCoordinator () |
| |
| bool | selectPendingChildTransition (bool includeStopped, bool includeContinued, bool consume, ChildTransition &transition) |
| |
| bool | takePendingChildTransition (bool includeStopped, bool includeContinued, ChildTransition &transition) |
| |
| ProcessState | getState () const |
| |
| bool | isSuspended () |
| |
| void | markTerminating () |
| |
| void | trackHeap (ssize_t nBytes) |
| |
| void | trackPages (ssize_t nVirtual, ssize_t nPhysical, ssize_t nShared) |
| |
| void | resetCounts () |
| |
| Time::Timestamp | getUserTime () const |
| |
| Time::Timestamp | getKernelTime () const |
| |
| Time::Timestamp | getReapedChildrenUserTime () const |
| |
| Time::Timestamp | getReapedChildrenKernelTime () const |
| |
| void | accountReapedChild (const Process *child, Time::Timestamp &user, Time::Timestamp &kernel) |
| |
| Time::Timestamp | getStartTime () const |
| |
| ssize_t | getHeapUsage () const |
| |
| ssize_t | getVirtualPageCount () const |
| |
| ssize_t | getPhysicalPageCount () const |
| |
| ssize_t | getSharedPageCount () const |
| |
| bool | hasSharedAddressSpace () const |
| |
Definition at line 117 of file PosixProcess.h.