summaryrefslogtreecommitdiffstats
path: root/platform-tracing.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix comment text. From emaste at freebsd.org.Darren Tucker2022-11-081-2/+2
|
* Fix tracing disable on FreeBSD.Darren Tucker2022-11-071-1/+11
| | | | | | Some versions of FreeBSD do not support using id 0 to refer to the current pid for procctl, so pass getpid() explicitly. From emaste at freebsd.org.
* Include string.h and stdio.h for strerror.Darren Tucker2021-10-151-0/+2
|
* Include error reason if trace disabling fails.Darren Tucker2021-10-151-4/+7
|
* Disable tracing on FreeBSD using procctl.David Carlier2021-09-091-0/+10
| | | | | | Placed at the start of platform_disable_tracing() to prevent declaration after code errors from strict C89 compilers (in the unlikely event that more than one method is enabled).
* Use ptrace(PT_DENY_ATTACH, ..) on OS X.Darren Tucker2016-10-311-0/+8
|
* Move platform_disable_tracing into its own file.Darren Tucker2016-06-151-0/+43
Prevents link errors resolving the extern "options" when platform.o gets linked into ssh-agent when building --with-pam.