Re: [xenocara] xenodm.man fix

2023-02-17 Thread Matthieu Herrb
On Fri, Feb 17, 2023 at 11:52:44AM +, Laurence Tratt wrote: > On Thu, Feb 16, 2023 at 09:29:53PM +0300, Mikhail wrote: > > Hello Mikhail, > > > /etc/X11/xenodm/Xsession file has a check for x bit > > Yes, this one caught me out a few years back: > > https://marc.info/?l=openbsd-bugs&m=162

pinsyscall() and ld.so

2023-02-17 Thread Theo de Raadt
ld.so now calls pinsyscall(2) pinsyscall(2) is a new system call added to the kernel a few days earlier. So if you are building from source, the usual rule applies strongly: Install a new kernel before doing a build

Potentially unfinished fixes to uvm_share() in uvm_map.c

2023-02-17 Thread Chris Waddey
There was a diff a while back (4 Dec 2019) that fixed a bad offset calculation in this function, but it seems to me that it made a couple other lines of code incorrect as a result. The diff below tweaks the lines so that they have their original intent (based on looking at the diff from when the fu

Re: acpithinkpad: revert 1.67

2023-02-17 Thread Mark Kettenis
> From: Dave Voutila > Date: Fri, 17 Feb 2023 16:30:46 -0500 > > joshua stein writes: > > > Revision 1.67 made acpithinkpad not take over screen backlight > > control and let inteldrm or some other driver handle it. This was > > done to support fine-grained levels of backlight control rather t

Re: acpithinkpad: revert 1.67

2023-02-17 Thread Dave Voutila
joshua stein writes: > Revision 1.67 made acpithinkpad not take over screen backlight > control and let inteldrm or some other driver handle it. This was > done to support fine-grained levels of backlight control rather than > the dozen steps that the native EC interface supports. > > Unfortun

acpithinkpad: revert 1.67

2023-02-17 Thread joshua stein
Revision 1.67 made acpithinkpad not take over screen backlight control and let inteldrm or some other driver handle it. This was done to support fine-grained levels of backlight control rather than the dozen steps that the native EC interface supports. Unfortunately this has the drawback of th

msdosfs: Never allocate clusters outside the volume

2023-02-17 Thread Stefan Fritsch
Hi, sometimes I see writing to msdosfs fail with EINVAL. This seems to occur when writing a file reaches the end of the partition. But it only happens if all bits in the pm_inusemap array are actually used, i.e. if pm_maxcluster % 32 == 31 . This means that for the number N of data clusters i

Re: Push solock() down to sosetopt()

2023-02-17 Thread Vitaliy Makkoveev
On Wed, Feb 15, 2023 at 08:08:42PM +0100, Alexander Bluhm wrote: > On Mon, Jan 30, 2023 at 05:03:30PM +0300, Vitaliy Makkoveev wrote: > > It makes sense to push solock() down to sosetopt() too. For a half cases > > (*pr_ctloutput)() is just null op, so there is no reason to call it. > > Also, a lot

Re: [xenocara] xenodm.man fix

2023-02-17 Thread Laurence Tratt
On Thu, Feb 16, 2023 at 09:29:53PM +0300, Mikhail wrote: Hello Mikhail, > /etc/X11/xenodm/Xsession file has a check for x bit Yes, this one caught me out a few years back: https://marc.info/?l=openbsd-bugs&m=162737223625768&w=2 In subsequent discussions with Matthieu and Theo, I *think* the