On Mon, Oct 10, 2011 at 05:35:11PM -0400, Eitan Adler wrote:
> On Mon, Oct 10, 2011 at 3:43 PM, Andrey Chernov <[email protected]> wrote:
> > I report already that it needs -DBSD.
> > Since you don't add -DBSD, it immediatelly exits with the following error:
> > "Couldn't drop privileges: Function not implemented"
> 
> I've been running with this exact port since it was committed to the
> xorg-devel repository without issue. That said I plan on a commit to
> fix this issue fairly soon.
> 
> >
> > BTW, this bug is already fixed in luit development, see:
> > https://bugs.freedesktop.org/show_bug.cgi?id=41513

It happens only if builded luit port have WITH_SETUID_LUIT set, otherwise 
you don't notice the bug.

The simplest way to build correctly v1.1.0 is just to add -DBSD.
xorg fix it in development using __FreeBSD__ instead:

commit 82bec8b84d90d37f75f10b3abe9ec34a3415a622
Author: Jeremy Huddleston <[email protected]>
Date:   Thu Oct 6 10:50:54 2011 -0700

    Fix ifdef-foo for the BSDs which are still living in the 90s

    NetBSD and FreeBSD still don't _POSIX_SAVED_IDS

    https://bugs.freedesktop.org/show_bug.cgi?id=41513

    Signed-off-by: Jeremy Huddleston <[email protected]>

-- 
http://ache.vniz.net/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to