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

mike tancsa mike at sentex.net
Fri Oct 15 13:15:39 AEDT 2021


On 10/14/2021 10:04 PM, mike tancsa wrote:
> On 10/14/2021 9:45 PM, Darren Tucker wrote:
>> Did you start from a point where tracing is already disabled? I could
>> imagine the second attempt to disable it failing because it was
>> already disabled.
>>
>> If nothing else we should at least include the errno in the message
>> when it fails:
>> https://github.com/openssh/openssh-portable/commit/fff13aaa262b7b3ec83ed21e29674cbf331780a7 
>>
>
> Building now, but I need to include string.h no ?
>
> On my RELENG_12 box (which is a jail)
>
> Oct 14 22:03:04 internal-sftp[20149]: fatal: unable to make the 
> process untraceable: No such process
>
OK, I think its related to these settings. On my RELENG_13 box, if I set 
these vals, the sftp fails

sftp-server[22121]: fatal: unable to make the process untraceable: No 
such process

  sysctl -w security.bsd.see_other_uids=0
sysctl -w security.bsd.see_other_gids=0

     ---Mike



More information about the openssh-unix-dev mailing list