/freebsd/contrib/kyua/utils/process/ |
H A D | Makefile.am.inc | 29 libutils_a_SOURCES += utils/process/child.cpp 30 libutils_a_SOURCES += utils/process/child.hpp 31 libutils_a_SOURCES += utils/process/child.ipp 32 libutils_a_SOURCES += utils/process/child_fwd.hpp 33 libutils_a_SOURCES += utils/process/deadline_killer.cpp 34 libutils_a_SOURCES += utils/process/deadline_killer.hpp 35 libutils_a_SOURCES += utils/process/deadline_killer_fwd.hpp 36 libutils_a_SOURCES += utils/process/exceptions.cpp 37 libutils_a_SOURCES += utils/process/exceptions.hpp 38 libutils_a_SOURCES += utils/process/executor.cpp [all …]
|
H A D | operations.cpp | 29 #include "utils/process/operations.hpp" 47 #include "utils/process/exceptions.hpp" 48 #include "utils/process/system.hpp" 49 #include "utils/process/status.hpp" 54 namespace process = utils::process; 61 /// process to construct the arguments list, which would have side-effects in 71 /// \return The PID of the terminated process and its termination status. 73 /// \throw process::system_error If the call to wait(2) fails. 74 static process::status 77 LD("Waiting for any child process"); in safe_wait() [all …]
|
H A D | child.cpp | 29 #include "utils/process/child.ipp" 49 #include "utils/process/exceptions.hpp" 50 #include "utils/process/fdstream.hpp" 51 #include "utils/process/operations.hpp" 52 #include "utils/process/system.hpp" 53 #include "utils/process/status.hpp" 59 namespace process { namespace 64 /// The process identifier. 67 /// The input stream for the process' stdout and stderr. May be NULL. 68 std::auto_ptr< process::ifdstream > _output; [all …]
|
H A D | status.cpp | 29 #include "utils/process/status.hpp" 39 namespace process = utils::process; 51 /// \param dead_pid_ The PID of the process this status belonged to. 53 process::status::status(const int dead_pid_, int stat_loc) : in status() 69 /// the process dumped core or not. 70 process::status::status(const optional< int >& exited_, in status() 81 /// \param exitstatus_ The exit code of the process. 84 process::status 85 process::status::fake_exited(const int exitstatus_) in fake_exited() 93 /// \param termsig_ The termination signal of the process. [all …]
|
/freebsd/lib/libsys/ |
H A D | ptrace.2 | 9 .Nd process tracing and debugging 22 It allows one process 25 process) 29 process). 30 The tracing process must first attach to the traced process, and then 33 system calls to control the execution of the process, as well as access 34 process memory and register state. 35 For the duration of the tracing session, the traced process will be 37 with its parent process ID (and resulting behavior) 38 changed to the tracing process. [all …]
|
H A D | wait.2 | 69 information is available for a child process 76 area contains information about the process that reported a status change 97 All of the desired process statuses to be waited on must be explicitly 132 This allows the calling process to collect resource usage statistics 133 from both its own child process as well as from its grand children. 148 signal delivered when the process changed state. 159 identifiers in addition to process IDs and process group IDs. 169 wait for the child process with a process ID equal to 179 wait for the child process with a process group ID equal to 189 wait for any child process and the [all …]
|
H A D | procctl.2 | 61 Control the process with the process ID 64 zero is a shortcut for the calling process ID. 66 Control processes belonging to the process group with the ID 88 in the specified process or its descendants that do not either change 115 Returns the current status of ASLR enablement for the target process. 126 If the currently executed image in the process itself has ASLR enabled, 153 Returns the current status of logging for the target process. 166 requests in the target process that do not specify 212 target process. 223 If the currently executed image in the process itself has the implicit PROT_MAX [all …]
|
H A D | sched_setparam.2 | 43 system call sets the scheduling parameters of the process specified by 54 the current scheduling policy of the process specified by 62 If a process specified by 64 exists and if the calling process has permission, the scheduling 65 parameters are set for the process whose process ID is equal to 70 is zero, the scheduling parameters are set for the calling process. 72 In this implementation, the policy of when a process can affect 73 the scheduling parameters of another process is specified in 77 The target process, whether it is running or not running, will resume 81 If the priority of the process specified by the [all …]
|
H A D | fork.2 | 33 .Nd create a new process 45 function causes creation of a new process. 46 The new process (child process) is an exact copy of the 47 calling process (parent process) except for the following: 50 The child process has a unique process ID. 52 The child process has a different parent 53 process ID (i.e., the process ID of the parent process). 55 The child process has its own copy of the parent's descriptors, 58 which are not inherited from the parent process. 63 on a descriptor in the child process can affect a subsequent [all …]
|
H A D | execve.2 | 47 transforms the calling process into a new process. 48 The new process is constructed from an ordinary file, 52 .Em new process file . 107 process. 120 new process that is not directly an argument to the command (see 123 File descriptors open in the calling process image remain open in 124 the new process image, except for those for which the close-on-exec 134 is called, and the process will gain privilege as a result of set-id 140 Signals set to be ignored in the calling process ar [all...] |
/freebsd/lib/libc/gen/ |
H A D | posix_spawn.3 | 41 .Nd "spawn a process" 69 functions create a new process (child process) from the specified 70 process image. 71 The new process image is constructed from a regular executable 72 file called the new process image file. 100 These strings constitute the argument list available to the new process 105 a filename that is associated with the process image being started by 115 These strings constitute the environment for the new process image. 122 is a pathname that identifies the new process image file to execute. 128 is used to construct a pathname that identifies the new process [all …]
|
/freebsd/share/man/man4/ |
H A D | procfs.4 | 9 .Nd process file system 24 The process file system, or 26 implements a view of the system process table inside the file system. 32 provides a two-level view of process space, unlike the previous 37 their process ids in decimal, with no leading zeros. 41 which always refers to the process making the lookup request. 57 A symbolic link to the file from which the process text was read. 58 This can be used to gain access to the process' symbol table, 59 or to start another copy of the process. 71 A collection of lines describing the memory regions of the process, [all …]
|
H A D | hwpmc.4 | 82 request will return a handle to the requesting process. 85 A process that has successfully allocated a PMC is termed an 86 .Dq "owner process" . 88 PMCs may be allocated with process or system scope. 89 .Bl -tag -width ".Em Process-scope" 90 .It Em "Process-scope" 92 to a process it is attached to is scheduled on a CPU. 118 .It Process-scope, counting 119 These PMCs count hardware events whenever a thread in their attached process is 128 .It Process-scope, sampling [all …]
|
/freebsd/share/man/man5/ |
H A D | procfs.5 |
|
/freebsd/share/man/man9/ |
H A D | scheduler.9 | 64 Each process has three different priorities stored in 73 member is the user priority of the process calculated from a process' 80 When a process obtains a mutex, its priority is saved in 82 While it holds the mutex, the process's priority may be bumped by another 83 process that blocks on the mutex. 84 When the process releases the mutex, then its priority is restored to the 90 member is the actual priority of the process and is used to determine what 96 function compares the cached priority of the currently running process with 97 process 99 If the currently running process has a higher priority, then it will return [all …]
|
H A D | signal.9 | 220 is used to clear stop signals when a process is waiting for a child to 221 exit or exec, and when a process is continuing after having been 231 is called when a process is stopped. 235 macro determines if the given process has any pending signals that are 237 If the process has a pending signal and the process is currently being 244 function returns the signal number that should be delivered to process 250 function resets the signal set and signal stack of a process in preparation 253 The process lock for 261 function determines if there are any pending signals for process 263 that should be caught, or cause this process to terminate or interrupt its [all …]
|
H A D | kproc.9 | 102 which describes the kernel process that should be created: 116 String to be used for the name of the process. 119 member of the new process' 122 The main function for this kernel process to run. 126 pointer that should be updated to point to the newly created process' process 135 function is used to create a kernel process. 136 The new process shares its address space with process 0, the 138 process, 142 argument specifies the function that the process should execute. 147 when it is called by the new process. [all …]
|
/freebsd/share/doc/psd/05.sysman/ |
H A D | 1.1.t | 30 Host and process identifiers 51 Each process is largely independent of other processes, 55 Each process in a host is named by an integer 56 called the \fIprocess id\fP. This number is 65 in a multi-host environment, the (hostid, process id) pairs are 68 Process creation and termination 70 A new process is created by making a logical duplicate of an 71 existing process: 76 The \fIfork\fP call returns twice, once in the parent process, where 77 \fIpid\fP is the process identifier of the child, [all …]
|
H A D | 1.3.t | 34 to a process. Signal delivery resembles the occurrence of a hardware 36 the current process context is saved, and a new one 37 is built. A process may specify 39 the signal is to be \fIblocked\fP or \fIignored\fP. A process may 44 will cause a process to exit when they are not caught. This 46 the current memory image of the process for use in post-mortem debugging. 47 A process may choose to have signals delivered on a special 52 to a process is implementation specific. Signal routines execute 61 software conditions, input/output notification, process control, or 80 process termination, either because a user has ``hung up'', or [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCClassDescriptorV2.cpp | 22 Process *process, std::unique_ptr<objc_class_t> &objc_class) const { in Read_objc_class() argument 25 bool ret = objc_class->Read(process, m_objc_class_ptr); in Read_objc_class() 33 static lldb::addr_t GetClassDataMask(Process *process) { in GetClassDataMask() argument 34 switch (process->GetAddressByteSize()) { in GetClassDataMask() 46 bool ClassDescriptorV2::objc_class_t::Read(Process *process, in Read() argument 48 size_t ptr_size = process->GetAddressByteSize(); in Read() 59 process->ReadMemory(addr, objc_class_buf.GetBytes(), objc_class_size, error); in Read() 65 process->GetByteOrder(), in Read() 66 process->GetAddressByteSize()); in Read() 78 m_data_ptr = data_NEVER_USE & GetClassDataMask(process); in Read() [all …]
|
/freebsd/bin/ps/ |
H A D | ps.1 | 34 .Nd process status 77 will usually display one line per process. 83 terminal, then by process ID. 98 The default output format includes, for each process, the process' ID, 104 process is associated with a terminal, the default output width is that of the 149 Expand the list of selected processes based on the process tree. 166 Show all of the threads associated with each process. 206 terminal and process ID. 212 of keywords specified, after the process ID, 235 Display information about processes which match the specified process IDs. [all …]
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBFrame.cpp | 33 #include "lldb/Target/Process.h" 104 Process *process = exe_ctx.GetProcessPtr(); in operator bool() local 105 if (target && process) { in operator bool() 106 Process::StopLocker stop_locker; in operator bool() 107 if (stop_locker.TryLock(&process->GetRunLock())) in operator bool() 111 // Without a target & process we can't have a valid stack frame. in operator bool() 123 Process *process = exe_ctx.GetProcessPtr(); in GetSymbolContext() local 124 if (target && process) { in GetSymbolContext() 125 Process::StopLocker stop_locker; in GetSymbolContext() 126 if (stop_locker.TryLock(&process->GetRunLock())) { in GetSymbolContext() [all …]
|
/freebsd/usr.bin/procstat/ |
H A D | procstat.1 | 31 .Nd get detailed process information 119 It can also display information extracted from a process core file, if 128 respectively of the process specified by 163 Print basic process statistics (this is the default). 165 Display binary information for the process. 169 Display command line arguments for the process. 173 Display environment variables for the process. 177 Display file descriptor information for the process. 183 Display signal pending and disposition information for the process. 192 Display signal pending and blocked information for the process's threads. [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | Process.h | 1 //===-- Process.h -----------------------------------------------*- C++ -*-===// 77 // Pass nullptr for "process" if the ProcessProperties are to be the global 79 ProcessProperties(lldb_private::Process *process); 114 Process *m_process; // Can be nullptr for global ProcessProperties 120 // Describes any information that is required to attach to a process. 195 // immediately continuing the process 206 // This class tracks the Modification state of the process. Things that can 335 /// \class Process Process.h "lldb/Target/Process.h" 336 /// A plug-in interface definition class for debugging a process. 337 class Process : public std::enable_shared_from_this<Process>, [all …]
|
/freebsd/tools/regression/security/proc_to_proc/ |
H A D | README | 2 Inter-Process Authorization Test Suite 5 This test suite attempts to determine the behavior of inter-process 7 important scenarios using specifically crafted process credentials 21 priv on priv root process on another root process 22 priv on unpriv1 root process on a non-root process 23 unpriv1 on priv non-root process on a root process 24 unpriv1 on unpriv1 non-root process on a similar non-root process 25 unpriv1 on unpriv2 non-root process on a different non-root process 26 unpriv1 on daemon1 non-root process on a root daemon process acting with 28 unpriv1 on daemon2 non-root process on a root daemon process acting with [all …]
|