Re: [patch] Sort of fix for game "phantasia"

2023-09-15 Thread William Ahern
On Sat, Sep 16, 2023 at 05:26:26AM +0300, S V wrote: > Maybe I understand you wrong, but I didn't return any setgid to code, > just adding permissions to /var/games/phantasia/* files, or does it > count as "setgid"? I believe he means the SGID bit (S_ISGID in ) on the /usr/games/phantasia executab

Re: [patch] Sort of fix for game "phantasia"

2023-09-15 Thread S V
Maybe I understand you wrong, but I didn't return any setgid to code, just adding permissions to /var/games/phantasia/* files, or does it count as "setgid"? 2023-09-16 5:14 GMT+03:00, Theo de Raadt : > > revision 1.18 > date: 2015/11/24 03:10:10; author: deraadt; state: Exp; lines: +1 -2; > com

Re: [patch] Sort of fix for game "phantasia"

2023-09-15 Thread Theo de Raadt
revision 1.18 date: 2015/11/24 03:10:10; author: deraadt; state: Exp; lines: +1 -2; commitid: NZfzN0SfUUHBE4HF; In 1995, all of the games were setuid games. At end of 1996, I took them all to setgid games, and we started wittling them down. Nearly 10 years later I am removing all setgid fr

Re: [patch] Sort of fix for game "phantasia"

2023-09-15 Thread S V
Why don't drop it in this case? сб, 16 сент. 2023 г., 05:03 Theo de Raadt : > Nope, 'setgid games' is intentionally dead. > > We will not be bringing it back. > > > S V wrote: > > > It is pretty to not have this game running, but included so > > > > I just added chmod ugo+rw "game files" after c

Re: [patch] Sort of fix for game "phantasia"

2023-09-15 Thread Theo de Raadt
Nope, 'setgid games' is intentionally dead. We will not be bringing it back. S V wrote: > It is pretty to not have this game running, but included so > > I just added chmod ugo+rw "game files" after chown root:games in Makefile > > and add notice about it in man file > > It is unbroke game

[patch] Sort of fix for game "phantasia"

2023-09-15 Thread S V
It is pretty to not have this game running, but included so I just added chmod ugo+rw "game files" after chown root:games in Makefile and add notice about it in man file It is unbroke game and place it to playable state. Thanks in advance! -- Slava Voronzoff Index: games/phantasia/Makefile ===

TCP RTO min value

2023-09-15 Thread Olivier Croquin
Hi, recently, I faced an issue on a network with a high percentage of packet loss, which leads to the OpenBSD network stack to wait for the TCP RTO before retransmitting packets. I discovered in sys/netinet/tcp_timer.h (line 102) that the minimum value is 1 second : #define TCPTV_MIN TCP_TI

Re: Use counters_read(9) from ddb(4)

2023-09-15 Thread Vitaliy Makkoveev
On Fri, Sep 15, 2023 at 04:18:13PM +0200, Martin Pieuchot wrote: > On 11/09/23(Mon) 21:05, Martin Pieuchot wrote: > > On 06/09/23(Wed) 23:13, Alexander Bluhm wrote: > > > On Wed, Sep 06, 2023 at 12:23:33PM -0500, Scott Cheloha wrote: > > > > On Wed, Sep 06, 2023 at 01:04:19PM +0100, Martin Pieuchot

Re: Use counters_read(9) from ddb(4)

2023-09-15 Thread Martin Pieuchot
On 11/09/23(Mon) 21:05, Martin Pieuchot wrote: > On 06/09/23(Wed) 23:13, Alexander Bluhm wrote: > > On Wed, Sep 06, 2023 at 12:23:33PM -0500, Scott Cheloha wrote: > > > On Wed, Sep 06, 2023 at 01:04:19PM +0100, Martin Pieuchot wrote: > > > > Debugging OOM is hard. UVM uses per-CPU counters and sad

Mellanox driver : add 100G_LR4 capability

2023-09-15 Thread Olivier Croquin
Hi, The media capability 100GBase_LR4 is not listed in the mcx driver. Could you please take a look at this short patch ? I found the value of 23 in the Linux mlx driver. === --- sys/dev/pci/if_mcx.c Wed Sep 6 05:42:42 2023 +++ sys/