| /NextBSD/gnu/usr.bin/gdb/gdbserver/ |
| HD | fbsd-low.c | 115 struct process_info *process; in add_process() local 117 process = (struct process_info *) malloc (sizeof (*process)); in add_process() 118 memset (process, 0, sizeof (*process)); in add_process() 120 process->head.id = pid; in add_process() 123 process->tid = pid; in add_process() 124 process->lwpid = pid; in add_process() 126 add_inferior_to_list (&all_processes, &process->head); in add_process() 128 return process; in add_process() 203 struct process_info *process; in fbsd_attach() local 208 process = (struct process_info *) find_inferior_id (&all_processes, pid); in fbsd_attach() [all …]
|
| /NextBSD/tools/regression/security/proc_to_proc/ |
| HD | README | 6 This test suite attempts to determine the behavior of inter-process 8 important scenarios using specifically crafted process credentials 22 priv on priv root process on another root process 23 priv on unpriv1 root process on a non-root process 24 unpriv1 on priv non-root process on a root process 25 unpriv1 on unpriv1 non-root process on a similar non-root process 26 unpriv1 on unpriv2 non-root process on a different non-root process 27 unpriv1 on daemon1 non-root process on a root daemon process acting with 29 unpriv1 on daemon2 non-root process on a root daemon process acting with 31 unpriv1 on setuid1 non-root process on a setuid-root process with same [all …]
|
| /NextBSD/cddl/contrib/dtracetoolkit/Docs/ |
| D | Index | 12 dtruss process syscall info. DTrace truss 15 execsnoop snoop process execution as it occurs 18 iotop display top disk I/O events by process 20 procsystime analyse process system call times 22 rwtop display top read/write bytes by process 31 cpuwalk.d measure which CPUs a process runs on 43 iofile.d I/O wait time by filename and process 44 iofileb.d I/O bytes by filename and process 64 dnlcps.d DNLC stats by process 70 pridist.d process priority distribution [all …]
|
| HD | Contents | 12 dtruss process syscall info. DTrace truss 15 execsnoop snoop process execution as it occurs 18 iotop display top disk I/O events by process 20 procsystime analyse process system call times 22 rwtop display top read/write bytes by process 31 cpuwalk.d measure which CPUs a process runs on 43 iofile.d I/O wait time by filename and process 44 iofileb.d I/O bytes by filename and process 64 dnlcps.d DNLC stats by process 70 pridist.d process priority distribution [all …]
|
| HD | oneliners.txt | 10 # Files opened by process name, 13 # Files created using creat() by process name, 16 # Syscall count by process name, 22 # Syscall count by process ID, 25 # Read bytes by process name, 28 # Write bytes by process name, 31 # Read size distribution by process name, 34 # Write size distribution by process name, 37 # Disk size by process ID, 43 # Pages paged in by process name, [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/ |
| HD | InferiorCallPOSIX.cpp | 37 lldb_private::InferiorCallMmap (Process *process, in InferiorCallMmap() argument 46 Thread *thread = process->GetThreadList().GetSelectedThread().get(); in InferiorCallMmap() 55 = process->GetTarget().GetImages().FindFunctions (ConstString ("mmap"), in InferiorCallMmap() 89 const ArchSpec arch = process->GetTarget().GetArchitecture(); in InferiorCallMmap() 90 flags_arg = process->GetTarget().GetPlatform()->ConvertMmapFlagsToPlatform(arch,flags); in InferiorCallMmap() 95 … ClangASTContext *clang_ast_context = process->GetTarget().GetScratchClangASTContext(); in InferiorCallMmap() 115 ExpressionResults result = process->RunThreadPlan (exe_ctx, in InferiorCallMmap() 123 if (process->GetAddressByteSize() == 4) in InferiorCallMmap() 128 else if (process->GetAddressByteSize() == 8) in InferiorCallMmap() 145 lldb_private::InferiorCallMunmap (Process *process, in InferiorCallMunmap() argument [all …]
|
| HD | RegisterContextLLDB.cpp | 154 Process *process = exe_ctx.GetProcessPtr(); in InitializeZerothFrame() local 160 ABI *abi = process->GetABI().get(); in InitializeZerothFrame() 165 m_current_pc.SetLoadAddress (current_pc, &process->GetTarget()); in InitializeZerothFrame() 202 if (IsTrapHandlerSymbol (process, m_sym_ctx)) in InitializeZerothFrame() 339 Process *process = exe_ctx.GetProcessPtr(); in InitializeNonZerothFrame() local 342 ABI *abi = process->GetABI().get(); in InitializeNonZerothFrame() 346 m_current_pc.SetLoadAddress (pc, &process->GetTarget()); in InitializeNonZerothFrame() 357 if (process->GetLoadAddressPermissions(pc, permissions) in InitializeNonZerothFrame() 415 if (process->GetLoadAddressPermissions(m_cfa, permissions) in InitializeNonZerothFrame() 514 temporary_pc.SetLoadAddress (pc - 1, &process->GetTarget()); in InitializeNonZerothFrame() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/API/ |
| HD | SBFrame.cpp | 121 Process *process = exe_ctx.GetProcessPtr(); in GetSymbolContext() local 122 if (target && process) in GetSymbolContext() 125 if (stop_locker.TryLock(&process->GetRunLock())) in GetSymbolContext() 164 Process *process = exe_ctx.GetProcessPtr(); in GetModule() local 165 if (target && process) in GetModule() 168 if (stop_locker.TryLock(&process->GetRunLock())) in GetModule() 207 Process *process = exe_ctx.GetProcessPtr(); in GetCompileUnit() local 208 if (target && process) in GetCompileUnit() 211 if (stop_locker.TryLock(&process->GetRunLock())) in GetCompileUnit() 248 Process *process = exe_ctx.GetProcessPtr(); in GetFunction() local [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ |
| HD | FreeBSDThread.cpp | 27 FreeBSDThread::FreeBSDThread(Process &process, lldb::tid_t tid) in FreeBSDThread() argument 28 : POSIXThread(process, tid) in FreeBSDThread() 47 ProcessFreeBSD *process = static_cast<ProcessFreeBSD *>(process_sp.get()); in WillResume() local 49 bool signo_valid = process->GetUnixSignals()->SignalIsValid(signo); in WillResume() 55 process->m_suspend_tids.push_back(GetID()); in WillResume() 58 process->m_run_tids.push_back(GetID()); in WillResume() 60 process->m_resume_signo = signo; in WillResume() 63 process->m_step_tids.push_back(GetID()); in WillResume() 65 process->m_resume_signo = signo; in WillResume()
|
| /NextBSD/contrib/atf/atf-c++/detail/ |
| D | process_test.cpp | 58 atf::process::status 61 using atf::process::exec; in exec_process_helpers() 68 atf::process::argv_array(argv), in exec_process_helpers() 69 atf::process::stream_inherit(), in exec_process_helpers() 70 atf::process::stream_inherit()); in exec_process_helpers() 87 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY() 94 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY() 102 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY() 121 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY() 129 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY() [all …]
|
| /NextBSD/contrib/atf/atf-c++/ |
| D | build.cpp | 45 atf::process::argv_array 54 return atf::process::argv_array(aux); in cargv_to_argv() 58 atf::process::argv_array 62 atf::process::argv_array argv((const char* const*)l); in cargv_to_argv_and_free() 75 atf::process::argv_array 77 const atf::process::argv_array& optargs) in c_o() 89 atf::process::argv_array 91 const atf::process::argv_array& optargs) in cpp() 103 atf::process::argv_array 105 const atf::process::argv_array& optargs) in cxx_o()
|
| D | build_test.cpp | 75 equal_argvs(const atf::process::argv_array& aa, const char* const* array) in equal_argvs() 79 atf::process::argv_array::size_type i = 0; in equal_argvs() 95 check_equal_argvs(const atf::process::argv_array& aa, const char* const* array) in check_equal_argvs() 119 ATF_REQUIRE(equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY() 126 ATF_REQUIRE(!equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY() 133 ATF_REQUIRE(!equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY() 140 ATF_REQUIRE(equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY() 163 atf::process::argv_array argv = in ATF_TEST_CASE_BODY() 165 atf::process::argv_array(test->optargs)); in ATF_TEST_CASE_BODY() 184 atf::process::argv_array argv = in ATF_TEST_CASE_BODY() [all …]
|
| D | build.hpp | 33 namespace process { namespace 43 process::argv_array c_o(const std::string&, const std::string&, 44 const process::argv_array&); 45 process::argv_array cpp(const std::string&, const std::string&, 46 const process::argv_array&); 47 process::argv_array cxx_o(const std::string&, const std::string&, 48 const process::argv_array&);
|
| D | check.hpp | 40 namespace process { namespace 74 friend std::auto_ptr< check_result > exec(const atf::process::argv_array&); 118 const atf::process::argv_array&); 120 const atf::process::argv_array&); 122 const atf::process::argv_array&); 123 std::auto_ptr< check_result > exec(const atf::process::argv_array&);
|
| /NextBSD/contrib/llvm/tools/lldb/source/Commands/ |
| HD | CommandObjectProcess.cpp | 53 StopProcessIfNecessary (Process *process, StateType &state, CommandReturnObject &result) in StopProcessIfNecessary() argument 56 if (process) in StopProcessIfNecessary() 58 state = process->GetState(); in StopProcessIfNecessary() 60 if (process->IsAlive() && state != eStateConnected) in StopProcessIfNecessary() 63 if (process->GetState() == eStateAttaching) in StopProcessIfNecessary() 65 else if (process->GetShouldDetach()) in StopProcessIfNecessary() 77 if (process->GetShouldDetach()) in StopProcessIfNecessary() 80 Error detach_error (process->Detach(keep_stopped)); in StopProcessIfNecessary() 84 process = NULL; in StopProcessIfNecessary() 94 Error destroy_error (process->Destroy(false)); in StopProcessIfNecessary() [all …]
|
| HD | CommandObjectThread.cpp | 75 Process *process = m_exe_ctx.GetProcessPtr(); in DoExecute() local 77 for (ThreadSP thread_sp : process->Threads()) in DoExecute() 90 Process *process = m_exe_ctx.GetProcessPtr(); in DoExecute() local 91 Mutex::Locker locker (process->GetThreadList().GetMutex()); in DoExecute() 106 thread_sps.push_back(process->GetThreadList().FindThreadByIndexID(thread_idx)); in DoExecute() 512 Process *process = m_exe_ctx.GetProcessPtr(); in DoExecute() local 515 const uint32_t num_threads = process->GetThreadList().GetSize(); in DoExecute() 520 thread = process->GetThreadList().GetSelectedThread().get(); in DoExecute() 538 thread = process->GetThreadList().FindThreadByIndexID(step_thread_idx).get(); in DoExecute() 674 process->GetThreadList().SetSelectedThreadByID (thread->GetID()); in DoExecute() [all …]
|
| /NextBSD/contrib/tcsh/ |
| HD | sh.proc.h | 47 struct process { struct 48 struct process *p_next; /* next in global "proclist" */ argument 49 struct process *p_friends; /* next in job list (or self) */ argument 118 EXTERN struct process proclist IZERO_STRUCT;/* list head of all processes */ 120 EXTERN struct process *pholdjob IZERO; /* one level stack of current jobs */ 122 EXTERN struct process *pcurrjob IZERO; /* current job */ 123 EXTERN struct process *pcurrent IZERO; /* current job in table */ 124 EXTERN struct process *pprevious IZERO; /* previous job in table */
|
| HD | sh.proc.c | 128 static void pflush (struct process *); 129 static void pfree (struct process *); 130 static void pclrcurr (struct process *); 133 static int pprint (struct process *, int); 134 static void ptprint (struct process *); 137 static struct process *pgetcurr (struct process *); 151 struct process *pp; in pchild() 152 struct process *fp; in pchild() 427 struct process *pp; in pnote() 446 pfree(struct process *pp) in pfree() [all …]
|
| /NextBSD/sys/fs/procfs/ |
| HD | README | 4 directory contains a representation of the system process table. 5 this consists of an entry for each active and zombie process, and 6 an additional entry "curproc" which always represents the process 15 status - r/o. returns process status. 17 ctl - w/o. sends a control message to the process. 23 would set up process 1293 for debugging. 26 mem - r/w. virtual memory image of the process. 28 only if they exist in the target process. 34 equivalent note to the process. 38 members of the process group. [all …]
|
| /NextBSD/sbin/init/ |
| HD | NOTES | 17 a user logging out (that is, by a controlling process 20 the impression that when the controlling process terminates, 27 Orphaned process groups bear indirectly on this issue. A 28 session leader's process group is considered to be orphaned; 33 'Historically, the implementation-dependent process that 35 waiting on them is called "init" and has a process ID of 1.' 38 was responsible for sending SIGHUP to the foreground process 39 group of a tty whose controlling process has exited, using 41 do this when the controlling process calls _exit(). The 43 process groups that become orphaned. This is like old BSD [all …]
|
| /NextBSD/crypto/openssh/ |
| HD | README.privsep | 3 privileged monitor process. Its purpose is to prevent privilege 4 escalation by containing corruption to an unprivileged process. 46 automatically (so you won't see the additional process mentioned below). 49 will require 1 additional process per login session. 51 Given the following process listing (from HP-UX): 59 process 1005 is the sshd process listening for new connections. 60 process 6917 is the privileged monitor process, 6919 is the user owned 61 sshd process and 6921 is the shell process.
|
| /NextBSD/cddl/contrib/dtracetoolkit/Examples/ |
| HD | dexplorer_example.txt | 17 20% Pages paged in by process name... 19 30% Disk I/O size distribution by process name... 20 35% Minor faults by process name... 21 40% Vminfo data by process name... 23 50% TCP write bytes by process... 24 55% Sample process @ 1000 Hz... 25 60% Syscall count by process name... 27 70% Read bytes by process name... 28 75% Write bytes by process name... 29 80% Sysinfo counts by process name... [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Expression/ |
| HD | ClangFunction.cpp | 262 Process *process = exe_ctx.GetProcessPtr(); in WriteFunctionWrapper() local 264 if (!process) in WriteFunctionWrapper() 269 if (process != jit_process_sp.get()) in WriteFunctionWrapper() 301 process->GetTarget().GetImages().Append(jit_module_sp); in WriteFunctionWrapper() 304 if (process && m_jit_start_addr) in WriteFunctionWrapper() 305 m_jit_process_wp = process->shared_from_this(); in WriteFunctionWrapper() 339 Process *process = exe_ctx.GetProcessPtr(); in WriteFunctionArguments() local 341 if (process == NULL) in WriteFunctionArguments() 346 if (process != jit_process_sp.get()) in WriteFunctionArguments() 351 …args_addr_ref = process->AllocateMemory(m_struct_size, lldb::ePermissionsReadable|lldb::ePermissio… in WriteFunctionArguments() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Target/ |
| HD | OperatingSystem.cpp | 23 OperatingSystem::FindPlugin (Process *process, const char *plugin_name) in FindPlugin() argument 32 std::unique_ptr<OperatingSystem> instance_ap(create_callback(process, true)); in FindPlugin() 41 std::unique_ptr<OperatingSystem> instance_ap(create_callback(process, false)); in FindPlugin() 50 OperatingSystem::OperatingSystem (Process *process) : in OperatingSystem() argument 51 m_process (process) in OperatingSystem()
|
| HD | TargetList.cpp | 576 Process* process = (*pos)->GetProcessSP().get(); in FindTargetWithProcessID() local 577 if (process && process->GetID() == pid) in FindTargetWithProcessID() 588 TargetList::FindTargetWithProcess (Process *process) const in FindTargetWithProcess() 591 if (process) in FindTargetWithProcess() 597 if (process == (*pos)->GetProcessSP().get()) in FindTargetWithProcess() 637 Process* process = target_sp->GetProcessSP().get(); in SendAsyncInterrupt() local 638 if (process) in SendAsyncInterrupt() 640 process->SendAsyncInterrupt(); in SendAsyncInterrupt() 659 Process *process = NULL; in SignalIfRunning() local 667 process = (*pos)->GetProcessSP().get(); in SignalIfRunning() [all …]
|