On Thu, Oct 22, 2026 at 01:58:23PM +0200, Antoine Jacoutot wrote:
> On Thu, Oct 22, 2026 at 12:30:50PM +0100, Stuart Henderson wrote:
> > On 2026/10/21 20:37, Caspar Schutijser wrote:
> > > Hi,
> > > 
> > > Below is a diff to make xscreensaver work with _permit_setugid.
> > > Run-time tested by me.
> > > 
> > > Comments or OKs?
> > > 
> > > Caspar
> > > 
> > > 
> > > Index: Makefile
> > > ===================================================================
> > > RCS file: /cvs/ports/x11/xscreensaver/Makefile,v
> > > diff -u -p -r1.125 Makefile
> > > --- Makefile      17 Apr 2026 15:14:06 -0000      1.125
> > > +++ Makefile      21 Oct 2026 18:37:09 -0000
> > > @@ -9,7 +9,7 @@ COMMENT=  screen saver and locker for the
> > >  # Ideally this wants a bsdauth driver to be written, change to being
> > >  # installed setgid auth, and figure out any issues resulting.
> > 
> > If someone wants a little coding project, the above would be handy...
> > (xscreensaver seems much better than xlock at stopping password
> > keypresses from getting through to terminals...)
> 
> There was an initial work on this:
> https://cvsweb.openbsd.org/checkout/ports/x11/xscreensaver/files/Attic/passwd-bsd_auth.c?rev=1.3
> https://cvsweb.openbsd.org/checkout/ports/x11/xscreensaver/patches/Attic/patch-driver_setuid_c?rev=1.1
> https://cvsweb.openbsd.org/checkout/ports/x11/xscreensaver/patches/Attic/patch-driver_passwd_c?rev=1.1
> https://cvsweb.openbsd.org/checkout/ports/x11/xscreensaver/patches/Attic/patch-config_h_in?rev=1.1

Good to know, thanks. I'll have a look at this in the next few days.
But Manuel, if you already have a diff, that would be nice too!

Caspar

Reply via email to