summaryrefslogtreecommitdiff
path: root/sys/kern/sys_ptrace_common.c
AgeCommit message (Expand)Author
2021-08-09fix various typos in compatibility, mainly in comments.andvar
2020-11-04Merge the two separate sets of init/fini routines and unbreak the build.pgoyette
2020-11-04Finish the proper naming of the module init/fini routines. Shouldpgoyette
2020-11-01Separate the compat_netbsd32_coredump from the compat_netbsd32 andpgoyette
2020-10-25ptrace_Common is a module unto itself. Don't use the ptrace module'spgoyette
2020-10-20Basic register read/write functionality and lwp setting are always providedchristos
2020-10-19Rollback unintended changes in the previous commitkamil
2020-10-19Remove obsolete references to 4.4BSD paperskamil
2020-10-15Fix the machine-dependent ptrace requests to respect LWP numbermgorny
2020-05-30Introduce PTRACE_REGS_ALIGN, and on x86, enforce a 16-byte alignment, duemaxv
2020-05-26Avoid taking lwp_lock when calling process_sstep() for sibling LWPskamil
2020-05-23Move proc_lock into the data segment. It was dynamically allocated becausead
2020-05-14Introduce new ptrace(2) operations: PT_SET_SIGPASS and PT_GET_SIGPASSkamil
2020-05-08Clear PSL_TRACEDCHILD on ptrace(PT_DETACH)kamil
2020-02-22pass the address of the field, instead of relying on it being the firstmaxv
2020-01-03Correct the rule to iterate over LWPs with PT_LWPNEXT and PT_LWPINFOkamil
2019-12-26Put ptrace_read_lwpstatus() and process_read_lwpstatus() to a new filekamil
2019-12-25Cast PTRACE_LWP_GETPRIVATE to (void *) through (intptr_t)kamil
2019-12-24Introduce PT_LWPSTATUS + PT_LWPNEXT, obsolete PT_LWPINFOkamil
2019-11-22Fix regression introduced to ptrace_regs() in rev 1.27:rin
2019-11-17Fix pointer arithmetic for 32-bit process on LP64 kernel inrin
2019-11-13Return success if no coredump module is loaded/hooked.pgoyette
2019-11-10Convert the coredump_vec modular function pointer to use the newpgoyette
2019-10-16Add and use __FPTRCAST, requested by uwe@christos
2019-10-16Add void * function pointer casts. There are different ways to "fix" thosechristos
2019-10-12Avoid signed integer overflow for -lwp where lwp is INT_MINkamil
2019-10-09Introduce new ptrace(2) operation PT_STOPkamil
2019-10-08Correct the same expression on both sides of |kamil
2019-10-07Fix typo in a commentkamil
2019-10-03Add two KASSERTS in the ptrace(2) kernel codekamil
2019-10-03Separate flag for suspended by _lwp_suspend and suspended by a debuggerkamil
2019-10-01Remove 2 static asserts from the kernel ptrace codekamil
2019-10-01Restore the old behavior in PT_GET_PROCESS_STATEkamil
2019-09-30Move TRAP_CHLD/TRAP_LWP ptrace information from struct proc to siginfokamil
2019-07-18Enhance locking of ptrace_update_lwpkamil
2019-06-29Fix bug, don't release the reflock if we didn't take it in the first place.maxv
2019-06-24the tracer, not the tracee determine if we are going to convert the ptracechristos
2019-06-11Add support for PTRACE_POSIX_SPAWN to report posix_spawn(3) eventskamil
2019-05-25Relax prohibition of Program Counter set to 0x0 in ptrace(2)kamil
2019-05-10Fix typo: PT_GETFOREGS -> PT_GETFPREGS (NFC)mgorny
2019-05-02Allow cancelled byte transfer in ptrace(2) againkamil
2019-05-01Disallow resuming program with PC=0x0 in ptrace(2)kamil
2019-04-30Reject ptrace(2) PIOD_READ/WRITE operations with length 0kamil
2019-04-30Return EIO for empty memory transfer from ptrace(2)kamil
2019-04-26Set the "required modules" to NULL, not to an empty string.pgoyette
2019-02-03- add or adjust /* FALLTHROUGH */ where appropriatemrg
2018-11-29Fix stack info leak.maxv
2018-06-23Add some debugging in case someone else wants to debug gdb...christos
2018-05-30Simplify comparison of two processeskamil
2018-05-29Harden PT_ATTACH in ptrace(2)kamil