Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 03:40:58 +0100
From:      Dejan Lesjak <dejan.lesjak@ijs.si>
To:        freebsd-x11@freebsd.org
Subject:   Patch for non-setuid luit on FreeBSD 5.X
Message-ID:  <200503250340.58910.dejan.lesjak@ijs.si>

next in thread | raw e-mail | index | archive | help

Since FreeBSD 5 includes pseudo-terminal access functions grantpt(3) and 
others, we should be able to make use of them instead of having luit 
installed setuid.
So testers are welcome to try the patch. Users of Xorg need to grab 
http://www.ijs.si/~lesi/xorg/luit/patch-luit_grantpt
and put it in x11/xorg-clients/files directory. XFree86-4-clients needs a 
change in Makefile, so the patch for port is here:
http://www.ijs.si/~lesi/xfree/luit/xf44-luit.diff
It applies in x11/XFree86-4-clients directory.
After this you need to recompile and reinstall xorg- or XFree86-4- -clients 
without having WITH_SETUID_LUIT defined and see if things work as expected 
(ie as before with WITH_SETUID_LUIT defined). And of course let us know how 
it goes.
This will not make a difference on FreeBSD 4.X.


Dejan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503250340.58910.dejan.lesjak>