Re: Disable tracing on FreeBSD using procctl. (OpenSSH Portable 8.8)

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Thanks for following up.

On Sun, 6 Nov 2022 at 05:34, Ed Maste <emaste@xxxxxxxxxxx> wrote:
[...]
> -       if (procctl(P_PID, 0, PROC_TRACE_CTL, &disable_trace) && strict)
> +       if (procctl(P_PID, getpid(), PROC_TRACE_CTL, &disable_trace) && strict)

You seem to be making the exact opposite change in your stable branches?
https://github.com/freebsd/freebsd-src/commit/b5b1a69

Is the situation that "0" only works on fixed kernels, but "getpid()"
works on all (albeit not optimally)?


-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux