Re: simple pledge for xeyes(1)

2023-09-08 Thread Anthony J. Bentley
Sebastien Marie writes: > For me, you are pledging too early (before initialization). I agree with everything you said regarding pledge(2) technique, including this statement, but it is worth remembering that the list of promises can be narrowed later with another pledge call. It's very

kernel: remove schedhz

2023-09-08 Thread Scott Cheloha
mpi@ notes that alpha doesn't set schedhz anymore, so schedhz is always zero and serves no purpose. We could remove it (patch below). Or we could wait a bit to see if schedclock() finds a future as an independent clock interrupt. My guess is that roundrobin() (or something like it) will have a

Re: Replace selinfo by klist in vnode structure

2023-09-08 Thread Alexander Bluhm
On Thu, Sep 07, 2023 at 10:32:58PM +0300, Vitaliy Makkoveev wrote: > Remove the remnants of the leftover selinfo from vnode(9) layer. Just > mechanical replacement because knote(9) API is already used. I don't > want make klist MP safe with this diff. > > headers added where is was required.

Re: Replace selinfo by klist in vnode structure

2023-09-08 Thread Vitaliy Makkoveev
On Fri, Sep 08, 2023 at 07:39:10PM +0200, Alexander Bluhm wrote: > On Thu, Sep 07, 2023 at 10:32:58PM +0300, Vitaliy Makkoveev wrote: > > Remove the remnants of the leftover selinfo from vnode(9) layer. Just > > mechanical replacement because knote(9) API is already used. I don't > > want make

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Anthony J. Bentley
Lucas Raab writes: > +Use when a port requires no enforcement of indirect branch targets. Use New sentence, new line. > +.Ev USE_NOBTCFI-${MACHINE_ARCH} > +to apply to specific architectures instead of all architectures. I would invert the wording: "Applies to all architectures; set

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Anthony J. Bentley
Lucas Raab writes: > New version attached ok bentley@ > diff /usr/src > commit - 2933f00289463a6d1923d1b9cc5e5c1c5c697ece > path + /usr/src > blob - 00ec6c3f81fcf03ea69eabe8de1741a6e562 > file + share/man/man5/bsd.port.mk.5 > --- share/man/man5/bsd.port.mk.5 > +++

document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Lucas Raab
Hello, Following up on a suggestion from tb@, here's a proposed addition to bsd.port.mk to document the use of USE_NOBTCFI[-${MACHINE_ARCH}]. Text and formatting mostly borrowed from the other USE_ sections so feedback welcome on improvements (particularly placement of the ${MACHINE_ARCH}, I

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Lucas Raab
On Fri, Sep 08, 2023 at 02:49:56PM -0600, Anthony J. Bentley wrote: > Lucas Raab writes: > > +Use when a port requires no enforcement of indirect branch targets. Use > > New sentence, new line. > > > +.Ev USE_NOBTCFI-${MACHINE_ARCH} > > +to apply to specific architectures instead of all

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Anthony J. Bentley
Lucas Raab writes: > +writes a wrapper script to ${WRKDIR}/bin/ld in Use: .Pa ${WRKDIR}/bin/ld I see it's wrong elsewhere in the manpage, but let's not introduce another. > +.Cm patch > +to request that the linker adds an > +.Dv PT_OPENBSD_NOBTCFI > +ELF section. Use when a port requires no

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Lucas Raab
On Fri, Sep 08, 2023 at 03:22:32PM -0600, Anthony J. Bentley wrote: > Lucas Raab writes: > > +writes a wrapper script to ${WRKDIR}/bin/ld in > > Use: > > .Pa ${WRKDIR}/bin/ld > > I see it's wrong elsewhere in the manpage, but let's not introduce another. > > > +.Cm patch > > +to request that

Re: malloc: add error message in putleakinfo

2023-09-08 Thread Otto Moerbeek
On Sat, Sep 09, 2023 at 11:27:37AM +0900, Masato Asou wrote: > From: Otto Moerbeek > Date: Fri, 8 Sep 2023 13:39:53 +0200 > > > On Fri, Sep 08, 2023 at 10:08:28AM +0900, Masato Asou wrote: > > > >> From: Masato Asou > >> Date: Fri, 08 Sep 2023 05:45:55 +0900 (JST) > >> > >> > There was a

Folks thanks to all who attended P2k23 Hackathon in Dublin

2023-09-08 Thread Tom Smyth
Folks thanks to all who attended P2k23 Hackathon in Dublin if any of you would like to email me off list what you managed to achieve/ or increse understanding of or any interesting ideas collaborations that happened during the week please feel free to email me them and Ill include them in an

Re: malloc: add error message in putleakinfo

2023-09-08 Thread Masato Asou
From: Otto Moerbeek Date: Fri, 8 Sep 2023 13:39:53 +0200 > On Fri, Sep 08, 2023 at 10:08:28AM +0900, Masato Asou wrote: > >> From: Masato Asou >> Date: Fri, 08 Sep 2023 05:45:55 +0900 (JST) >> >> > There was a mistake in the diff. >> > >> > From: Masato Asou >> > Date: Fri, 08 Sep 2023

Re: CVS: cvs.openbsd.org: xenocara

2023-09-08 Thread Matthieu Herrb
On Thu, Sep 07, 2023 at 11:58:03PM +0200, Mark Kettenis wrote: > > Date: Thu, 7 Sep 2023 22:02:12 +0200 > > From: Matthieu Herrb > > > > basically just define the CARDnn types in terms on uint_nn everywhere. > > Like for signal.h all systems still supported by X have stdint and the > > uintnn_t

FWD: FWD: Re: Setting personal mailserver

2023-09-08 Thread Sagar Acharya
Requesting a feature at OpenSMTPD. Date: 8 Sept 2023, 14:50 From: sagaracha...@tutanota.com To: b...@opensmtpd.org Subject: FWD: Re: Setting personal mailserver > I request a feature from all the devs. > > This would enable users of smtpd to host an email server at any port instead > of

Re: FWD: FWD: Re: Setting personal mailserver

2023-09-08 Thread Peter N. M. Hansteen
On Fri, Sep 08, 2023 at 11:35:37AM +0200, Sagar Acharya wrote: > Requesting a feature at OpenSMTPD. > Date: 8 Sept 2023, 14:50 > From: sagaracha...@tutanota.com > To: b...@opensmtpd.org > Subject: FWD: Re: Setting personal mailserver > > > > I request a feature from all the devs. > > > > This

Re: malloc: add error message in putleakinfo

2023-09-08 Thread Otto Moerbeek
On Fri, Sep 08, 2023 at 10:08:28AM +0900, Masato Asou wrote: > From: Masato Asou > Date: Fri, 08 Sep 2023 05:45:55 +0900 (JST) > > > There was a mistake in the diff. > > > > From: Masato Asou > > Date: Fri, 08 Sep 2023 05:33:23 +0900 (JST) > > > >> Hi, > >> > >> I have modified diff.

Re: simple pledge for xeyes(1)

2023-09-08 Thread Lucas de Sena
On 2023-09-08, Sebastien Marie wrote: > "rpath" is a bit odd in xeyes(1) normal behaviour (but it will be required on > X11 error, as if I remember well, error codes are "translated" to message by > reading some file). Exactly. X11 reads the error database `/usr/X11R6/share/X11/XErrorDB` if it