omit ksh version bits in SMALL builds

2023-02-07 Thread Klemens Nanni
Everytime I check ramdisks I wonder of what use the ksh string is: $ what bsd.rd bsd.rd: OpenBSD 7.2-current (RAMDISK_CD) #965: Sun Feb 5 09:58:01 MST 2023 PD KSH v5.2.14 99/07/13.2 $OpenBSD: cert.pem,v 1.25 2022/07/11 09:05:16

Re: wsmouse(4): Apple-like multi-touch buttons

2023-02-07 Thread Patrick Wildt
On Tue, Feb 07, 2023 at 10:07:56PM +0100, Ulf Brosziewski wrote: > I wouldn't mind seeing such a feature in the driver, but I think there's more > to do than counting contacts. The start of a click-and-drag gesture may > involve > two contacts and a button-press event, or people who place a thumb

Re: wsmouse(4): Apple-like multi-touch buttons

2023-02-07 Thread Ulf Brosziewski
I wouldn't mind seeing such a feature in the driver, but I think there's more to do than counting contacts. The start of a click-and-drag gesture may involve two contacts and a button-press event, or people who place a thumb in the lower clickpad area and use it for pressing the clickpad button

Re: wsmouse(4): Apple-like multi-touch buttons

2023-02-07 Thread Patrick Wildt
On Tue, Feb 07, 2023 at 02:12:57PM +0100, Tobias Heider wrote: > On Mon, Sep 19, 2022 at 11:16:51AM +0200, Ulf Brosziewski wrote: > > Is there enough interest in this feature among OpenBSD users? I haven't > > seen many requests for it, if any. Moreover, is it a good idea to configure > >

Re: Add ASMedia ASM2142 xhci

2023-02-07 Thread Mike Larkin
On Tue, Feb 07, 2023 at 02:35:37PM +0800, Kevin Lo wrote: > Hi, > > I have a machine with the ASMedia USB 3.1 controller: > > xhci1 at pci3 dev 0 function 0 vendor "ASMedia", unknown product 0x2142 rev > 0x00: msi, xHCI 1.10 > > ok? > ok mlarkin > Index: sys/dev/pci/pcidevs >

Re: Unlock select(2) and pselect(2)

2023-02-07 Thread Vitaliy Makkoveev
On Tue, Feb 07, 2023 at 04:06:39PM +0100, Mark Kettenis wrote: > > Date: Tue, 7 Feb 2023 14:29:13 +0100 > > From: Claudio Jeker > > > > On Mon, Feb 06, 2023 at 08:28:38PM +0300, Vitaliy Makkoveev wrote: > > > On Mon, Feb 06, 2023 at 11:01:00AM +0100, Claudio Jeker wrote: > > > > On Sat, Feb 04,

OpenBSD Errata: February 7, 2023 (x509 xserver smtpd)

2023-02-07 Thread Alexander Bluhm
Errata patches for LibreSSL libcrypto, X11 server, and smtpd have been released for OpenBSD 7.1 and 7.2. Binary updates for the amd64, i386 and arm64 platform are available via the syspatch utility. Source code patches can be found on the respective errata page:

faq: FDE: use disklabel templates and bigger EFI partition

2023-02-07 Thread Klemens Nanni
partition Reply-To: http://man.openbsd.org/OpenBSD-7.2/disklabel.8#AUTOMATIC_DISK_ALLOCATION documents them. 'RAID 1M-* 100%' does exactly what the transcript of default answers in 'disklabel -E' do, but the template reads much clearer. In -current they're made even more obvious, so starting

Re: Unlock select(2) and pselect(2)

2023-02-07 Thread Mark Kettenis
> Date: Tue, 7 Feb 2023 14:29:13 +0100 > From: Claudio Jeker > > On Mon, Feb 06, 2023 at 08:28:38PM +0300, Vitaliy Makkoveev wrote: > > On Mon, Feb 06, 2023 at 11:01:00AM +0100, Claudio Jeker wrote: > > > On Sat, Feb 04, 2023 at 01:24:58AM +0300, Vitaliy Makkoveev wrote: > > > > Hi, > > > > > >

Re: Unlock select(2) and pselect(2)

2023-02-07 Thread Vitaliy Makkoveev
On Tue, Feb 07, 2023 at 02:29:13PM +0100, Claudio Jeker wrote: > > I could be wrong, but membar_exit_before_atomic(9) between `p_sigmask' > > assignment and atomic P_SIGSUSPEND flag setting should be enough for > > that: > > > > p->p_oldmask = p->p_sigmask; > > p->p_sigmask = newmask; > >

Re: refactor mbuf parsing on driver level

2023-02-07 Thread Alexander Bluhm
On Thu, Jan 26, 2023 at 11:37:51AM +0100, Christian Weisgerber wrote: > Jan Klemkow: > > > we have several drivers which have to parse the content of mbufs. This > > diff suggest a central parsing function for this. Thus, we can reduce > > redundant code. > > > > I just start with ix(4) and

Re: Unlock select(2) and pselect(2)

2023-02-07 Thread Claudio Jeker
On Mon, Feb 06, 2023 at 08:28:38PM +0300, Vitaliy Makkoveev wrote: > On Mon, Feb 06, 2023 at 11:01:00AM +0100, Claudio Jeker wrote: > > On Sat, Feb 04, 2023 at 01:24:58AM +0300, Vitaliy Makkoveev wrote: > > > Hi, > > > > > > kevent(2) system call is ulocked more than year ago. Since select(2) > >

Re: wsmouse(4): Apple-like multi-touch buttons

2023-02-07 Thread Tobias Heider
On Mon, Sep 19, 2022 at 11:16:51AM +0200, Ulf Brosziewski wrote: > Is there enough interest in this feature among OpenBSD users? I haven't > seen many requests for it, if any. Moreover, is it a good idea to configure > different input methods on this or that hardware just because another OS >

Re: patch for httpd implementing clickjacking protection

2023-02-07 Thread Stuart Henderson
On 2023/02/07 12:29, Peter J. Philipp wrote: > On Tue, Feb 07, 2023 at 10:41:34AM +, Stuart Henderson wrote: > > On 2023/02/07 10:20, Peter J. Philipp wrote: > > > Hi, > > > > > > Arslan Kabeer (on the Internet) made me aware of clickjacking being done > > > on > > > my site using OpenBSD

Re: patch for httpd implementing clickjacking protection

2023-02-07 Thread Peter J. Philipp
On Tue, Feb 07, 2023 at 10:41:34AM +, Stuart Henderson wrote: > On 2023/02/07 10:20, Peter J. Philipp wrote: > > Hi, > > > > Arslan Kabeer (on the Internet) made me aware of clickjacking being done on > > my site using OpenBSD httpd. This following patch implements a RFC 7034 > > protection

Re: refactor mbuf parsing on driver level

2023-02-07 Thread Paul de Weerd
On Tue, Feb 07, 2023 at 01:09:25AM +0100, Christian Weisgerber wrote: | Jan Klemkow: | | > > igc(4) has very similar code, but I don't have access to a machine | > > with that hardware. | > | > Send me an ssh-key and I give you access to this machine: | | Alternatively, here's the diff, so

Re: patch for httpd implementing clickjacking protection

2023-02-07 Thread Stuart Henderson
On 2023/02/07 10:20, Peter J. Philipp wrote: > Hi, > > Arslan Kabeer (on the Internet) made me aware of clickjacking being done on > my site using OpenBSD httpd. This following patch implements a RFC 7034 > protection called "noiframe" which disallows other sites (but not the same > site) to add

Re: patch for httpd implementing clickjacking protection

2023-02-07 Thread Crystal Kolipe
On Tue, Feb 07, 2023 at 10:20:27AM +0100, Peter J. Philipp wrote: > X-Frame-Options: SAMEORIGIN Note that this is now considered obsolete, and has been superceeded by the Content-Security-Policy header.

patch for httpd implementing clickjacking protection

2023-02-07 Thread Peter J. Philipp
Hi, Arslan Kabeer (on the Internet) made me aware of clickjacking being done on my site using OpenBSD httpd. This following patch implements a RFC 7034 protection called "noiframe" which disallows other sites (but not the same site) to add an iframe to my site. The config change is like this:

Re: Intel Arc / DG2

2023-02-07 Thread Jonathan Gray
On Fri, Feb 03, 2023 at 10:38:53PM -0500, Thomas Frohwein wrote: > On Sat, Feb 04, 2023 at 01:24:42PM +1100, Jonathan Gray wrote: > > [...] > > > > > I've committed the i915_gem_stolen_lmem_setup() portion. > > > > Another diff > > > > likely some more iomap use will show up later > > > >