Skip to main content Module task Copy item path Source pub use idr ::*;pub use limits ::*;pub use waiter ::*;container_namespace dynamic_thread_spawner The API for spawning dynamic kernel threads. idr An RCU-protected, lock-free integer ID radix tree (IDR). limits net syscalls tracing waiter AbstractSocketNamespace A registry of abstract sockets. ArgNameAndValue Kernel command line argument structure AtomicTaskFlags CapturedThreadState This contains thread state that tracers can inspect and modify. It is
captured when a thread stops, and optionally copied back (if dirty) when a
thread starts again. An alternative implementation would involve the
tracers acting on thread state directly; however, this would involve sharing
CurrentTask structures across multiple threads, which goes against the
intent of the design of CurrentTask. Cgroup Cgroup is a non-root cgroup in a cgroup hierarchy, and can have other Cgroups as children.CgroupFreezerState CgroupPidTable CgroupPidTable contains the mapping of ThreadGroup (by pid) to non-root cgroup.
If pid is valid but does not exist in the mapping, then it is assumed to be in the root cgroup.CgroupRoot CgroupRoot is the root of the cgroup hierarchy. The root cgroup is different from the rest of
the cgroups in a cgroup hierarchy (sub-cgroups of the root) in a few ways:CgroupV1Key CgroupV1State CpusetControllerState CredentialsReadGuard Guard for reading locked credentials. CredentialsWriteGuard Guard for writing credentials. No CredentialsReadGuard to the same task can concurrently
exist. CurrentTask The task object associated with the currently executing thread. CurrentTaskCredentialsWriteGuard DeferredZombiePTracer Child process that have exited, but the zombie ptrace needs to be consumed
before they can be waited for. DelayedReleaser Service to handle delayed releases. FreezerControllerState GrantedSyslog HwCap Hardware capabilities. HwCaps Hardware capabilities for both 32-bit and 64-bit ELF binaries. IpTables Stores [IpTable]s associated with each protocol. Kernel The shared, mutable state for the entire Starnix kernel. KernelCgroups All cgroups of the kernel. There is a single cgroup v2 hierarchy, and one-or-more cgroup v1
hierarchies. KernelFeatures Kernel features are specified in the component manifest of the starnix container
or explicitly provided to the kernel constructor in tests. KernelStats KernelThreads The threads that the kernel runs internally. LockupDetectorFuture LockupDetectorGuard LockupDetectorReceiver LockupDetectorWaitingGuard LogSubscription MountsWriteGuard A guard special cased for mount operations to defer destroying mounts until after all
modifications of the global mount tree are completed. MountsWriteToken A proof token representing the global lock over the namespace mount topology. NormalPriority The task normal priority, used for favoring or disfavoring a task running
with some non-real-time scheduling policies. Ranges from -20 to +19 in
“user-space” representation and +1 to +40 in “kernel-internal”
representation. See “The nice value” at sched(7) for full specification. PageFaultExceptionReport The decoded cross-platform parts we care about for page fault exception reports. PidEntry Entities identified by a pid. PidTable PidTableGuard An RAII guard representing exclusive writer access to a PidTable . RobustList RobustListHead RoleOverrides Per-container overrides for thread roles. RoleOverridesBuilder Builder for RoleOverrides. SchedulerManager SchedulerState SeccompData SeccompFilter SeccompFilterContainer A list of seccomp filters, intended to be associated with a specific process. SeccompFilterResult The result of running a set of seccomp filters. SeccompNotifier The underlying implementation of the file descriptor that connects a process that triggers a
SECCOMP_RET_USER_NOTIF with the monitoring process. This support seccomp’s ability to notify a
user-space process on specific syscall triggers. See seccomp_unotify(2) for the semantics. SeccompState Per-process state that cannot be stored in the container (e.g., whether there is a container). Syslog Task A unit of execution. TaskBuilder TaskContainer Identifies the target process or thread for a /proc/<pid> or /proc/<pid>/task/<tid> node. TaskFlags TaskMutableState TaskPersistentInfoState The information of the task that needs to be available to the ThreadGroup while computing
which process a wait can target. It is necessary to shared this data with the ThreadGroup so
that it is available while the task is being dropped and so is not accessible from a weak
pointer. TaskRunningState The running state of a task. ThreadGroup A collection of Task objects that roughly correspond to a “process”. ThreadGroupMutableState The mutable state of the ThreadGroup. ThreadGroupParent Parent process reference for a ThreadGroup , tracking both the parent
ThreadGroup and, prior to reparenting, the specific Task within that
parent that created the child process. ThreadLockupDetector ThreadLockupInfo ThreadState The thread related information of a CurrentTask. The information should never be used outside
of the thread owning the CurrentTask. UtsNamespace WaitResult ZirconProcess ZirconThread A synchronized container for a Zircon thread and its cached KOID. ZombieNotification A zombie process that is pending notification. ZombieProcess ZombieState State of a task or thread group which has exited. ArchExtendedPstateStorage ControllerState ControllerType CurrentCreds Represents the current state of the task’s subjective credentials. ExceptionResult ExitStatus FreezerState KmsgLevel ProcessEntryRef ProcessSelector A selector that can match a process. Works as a representation of the pid argument to syscalls
like wait and kill. RunState Whether, and how, this task is blocked. This enum can be extended with new
variants to optimize different kinds of waiting. SeccompAction SeccompStateValue Possible values for the current status of the seccomp filters for
this process. SyslogAccess TaskEntryScope TaskStateCode ThreadGroupLifecycleWaitValue Values used for waiting on the ThreadGroup lifecycle wait queue. WaitableChildResult PIDS_PER_CPU_DEFAULT The default number of PIDs per CPU used to scale pid_max. PID_MAX_DEFAULT The default maximal PID considered in Linux. PID_MAX_LIMIT The maximal PID considered in Linux. RESERVED_PIDS The number of reserved PIDs in Linux. When wrapping around, PID allocation restarts at this value. CgroupOps Common operations of all cgroups. CpusetOps CurrentTaskReleasable An object-safe/dyn-compatible trait to wrap Releasable types. FreezerOps ZombieReleaser Trait for releasing a zombie process from the PID table. parse_cmdline path_from_root Returns the path from the root to this cgroup. register_delayed_call Register a callback to be run during delayed release. register_delayed_release Register the container to be deferred released. with_new_current_task Create a new system task, register it on the thread and run the given closure with it. AbstractUnixSocketNamespace AbstractVsockSocketNamespace CgroupHandle Pid RobustListHeadPtr RobustListPtr SeccompNotifierHandle SyscallRestartFunc TaskPersistentInfo TaskReadGuard TaskStateMutRef TaskStateRef TaskWriteGuard ThreadGroupReadGuard ThreadGroupStateMutRef ThreadGroupStateRef ThreadGroupWriteGuard UtsNamespaceHandle