Re: sysutils/tmate: add missed pledge

2025-04-23 Thread Theo Buehler
On Wed, Apr 23, 2025 at 09:04:24AM +0200, Kirill A. Korinsky wrote: > On Wed, 23 Apr 2025 08:47:08 +0200, > Theo Buehler wrote: > > > > On Tue, Apr 22, 2025 at 10:29:21PM +0200, Kirill A. Korinsky wrote: > > > On Tue, 22 Apr 2025 09:17:31 +0200, > > > Theo Buehler wrote: > > > > > > > > Also, a

Re: sysutils/tmate: add missed pledge

2025-04-23 Thread Kirill A . Korinsky
On Wed, 23 Apr 2025 08:47:08 +0200, Theo Buehler wrote: > > On Tue, Apr 22, 2025 at 10:29:21PM +0200, Kirill A. Korinsky wrote: > > On Tue, 22 Apr 2025 09:17:31 +0200, > > Theo Buehler wrote: > > > > > > Also, adding a pledge without giving a clear root cause is never the > > > right thing to d

Re: sysutils/tmate: add missed pledge

2025-04-22 Thread Theo Buehler
On Tue, Apr 22, 2025 at 10:29:21PM +0200, Kirill A. Korinsky wrote: > On Tue, 22 Apr 2025 09:17:31 +0200, > Theo Buehler wrote: > > > > Also, adding a pledge without giving a clear root cause is never the > > right thing to do. At a minimum a ktrace should be provided. > > > > Why does this viol

Re: sysutils/tmate: add missed pledge

2025-04-22 Thread Kirill A . Korinsky
On Tue, 22 Apr 2025 09:17:31 +0200, Theo Buehler wrote: > > Also, adding a pledge without giving a clear root cause is never the > right thing to do. At a minimum a ktrace should be provided. > > Why does this violate the inet pledge? Why does this work on 7.6? What > exactly changed in 7.7 so t

Re: sysutils/tmate: add missed pledge

2025-04-22 Thread Rafael Sadowski
On Tue Apr 22, 2025 at 09:17:31AM +0100, Theo Buehler wrote: > On Tue, Apr 22, 2025 at 09:11:30AM +0200, Kirill A. Korinsky wrote: > > On Tue, 22 Apr 2025 07:51:38 +0200, > > Rafael Sadowski wrote: > > > > > > On Mon Apr 21, 2025 at 10:55:01PM +0200, Kirill A. Korinsky wrote: > > > > ports@, > >

Re: sysutils/tmate: add missed pledge

2025-04-22 Thread Theo Buehler
On Tue, Apr 22, 2025 at 09:11:30AM +0200, Kirill A. Korinsky wrote: > On Tue, 22 Apr 2025 07:51:38 +0200, > Rafael Sadowski wrote: > > > > On Mon Apr 21, 2025 at 10:55:01PM +0200, Kirill A. Korinsky wrote: > > > ports@, > > > > > > I'd like to add two missed "inet" pledge for sysutils/tmate. > >

Re: sysutils/tmate: add missed pledge

2025-04-22 Thread Kirill A . Korinsky
On Tue, 22 Apr 2025 07:51:38 +0200, Rafael Sadowski wrote: > > On Mon Apr 21, 2025 at 10:55:01PM +0200, Kirill A. Korinsky wrote: > > ports@, > > > > I'd like to add two missed "inet" pledge for sysutils/tmate. > > > > The last one prevents it from start when I simple calls tmate, and the > > f

Re: sysutils/tmate: add missed pledge

2025-04-21 Thread Rafael Sadowski
On Mon Apr 21, 2025 at 10:55:01PM +0200, Kirill A. Korinsky wrote: > ports@, > > I'd like to add two missed "inet" pledge for sysutils/tmate. > > The last one prevents it from start when I simple calls tmate, and the > first one leads to crash when client is disconnect. > > Tested on -current/am

sysutils/tmate: add missed pledge

2025-04-21 Thread Kirill A . Korinsky
ports@, I'd like to add two missed "inet" pledge for sysutils/tmate. The last one prevents it from start when I simple calls tmate, and the first one leads to crash when client is disconnect. Tested on -current/amd64. Ok? Index: sysutils/tmate/Makefile =