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

2023-09-18 Thread Stuart Henderson
On 2023/09/18 23:38, S V wrote: > === > RCS file: /cvs/src/games/phantasia/misc.c,v > retrieving revision 1.21 > diff -u -p -r1.21 misc.c > --- games/phantasia/misc.c10 Jan 2016 13:35:10 - 1.21 > +++

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

2023-09-18 Thread Theo de Raadt
No way. I do not think that is good advice, either, because that user can then fill /var. S V wrote: > Awesome, You and William Ahern really showed me that is "security > mindset". I simply didn't think about some of this points. Thanks for > that. > > Can I propose as my "last" attempt on

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

2023-09-18 Thread S V
Awesome, You and William Ahern really showed me that is "security mindset". I simply didn't think about some of this points. Thanks for that. Can I propose as my "last" attempt on this topic to add more clarification "how to fix it by user on his machine" with this patch 2023-09-16 5:14

Re: man 9 intro - improvements [and learning for me]?

2023-09-18 Thread Ingo Schwarze
Hi Christoff, of course you are free to work on whatever interests you, but if you are looking for advice, i'd respectfully recommend that you try to work on specifics rather than on generalities first, in particular when you feel as if your experience in contributing isn't above average. That

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

2023-09-18 Thread Alexander Bluhm
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

Re: man 9 intro - improvements [and learning for me]?

2023-09-18 Thread Jason McIntyre
On Mon, Sep 18, 2023 at 12:21:48PM +, Christoff Humphries wrote: > Greetings all. > > I went searching for documentation about the kernel internals and was > used to the intro(9) man page from NetBSD > https://man.netbsd.org/intro.9 that had a lot more details. Would it > be a worthwhile

man 9 intro - improvements [and learning for me]?

2023-09-18 Thread Christoff Humphries
Greetings all. I went searching for documentation about the kernel internals and was used to the intro(9) man page from NetBSD https://man.netbsd.org/intro.9 that had a lot more details. Would it be a worthwhile project to attempt to do the same for OpenBSD? I understand the annoyance of folks

Re: dt(4), hardclock(9): move interval, profile providers to dedicated callback

2023-09-18 Thread Martin Pieuchot
On 17/09/23(Sun) 11:22, Scott Cheloha wrote: > v2 is attached. Thanks. > Clockintrs now have an argument. If we pass the PCB as argument, we > can avoid doing a linear search to find the PCB during the interrupt. > > One thing I'm unsure about is whether I need to add a "barrier" flag > to

Re: Folks thanks to all who attended P2k23 Hackathon in Dublin

2023-09-18 Thread Tom Smyth
Folks, thanks to all who submitted undeadly reports on p2k23 hackathon to undeadly, if anyone else would like to send a rough list of cool stuff they were working on to me Ill submit an update to undeadly also, I appreciate all the time you folks put into the hackathon and Hope you enjoyed it as

Re: hotplug(4): introduce `hotplug_mtx' mutex(9) and make `hotplugread_filterops' mp safe

2023-09-18 Thread Vitaliy Makkoveev
On Mon, Sep 18, 2023 at 02:03:08PM +0300, Vitaliy Makkoveev wrote: > Also use this mutex to protect `evqueue_head', `evqueue_tail' and > `evqueue_count'. > Sorry, the right diff: Index: sys/dev/hotplug.c === RCS file:

hotplug(4): introduce `hotplug_mtx' mutex(9) and make `hotplugread_filterops' mp safe

2023-09-18 Thread Vitaliy Makkoveev
Also use this mutex to protect `evqueue_head', `evqueue_tail' and `evqueue_count'. Index: sys/dev/hotplug.c === RCS file: /cvs/src/sys/dev/hotplug.c,v retrieving revision 1.23 diff -u -p -r1.23 hotplug.c --- sys/dev/hotplug.c 8 Sep

hyperv(4): use shared netlock to protect if_list and ifa_list walkthrough and data

2023-09-18 Thread Vitaliy Makkoveev
Context switch looks fine here. Index: sys/dev/pv/hypervic.c === RCS file: /cvs/src/sys/dev/pv/hypervic.c,v retrieving revision 1.19 diff -u -p -r1.19 hypervic.c --- sys/dev/pv/hypervic.c 11 Apr 2023 00:45:08 - 1.19

Re: Mellanox driver : add 100G_LR4 capability

2023-09-18 Thread Jonathan Matthew
On Fri, Sep 15, 2023 at 09:48:16AM +0200, Olivier Croquin wrote: > 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. Thanks, I've committed it. > Is this enough to