Subject: Re: Enabling SysV IPC API in XFree86
To: Martin Husemann <email@example.com>
From: Quentin Garnier <firstname.lastname@example.org>
Date: 05/08/2003 00:49:35
Le Thu, 8 May 2003 00:39:24 +0200
Martin Husemann a ecrit :
> On Thu, May 08, 2003 at 12:18:20AM +0200, Quentin Garnier wrote:
> > I'd like very much to see this patch committed. Could there be any
> > reason not to activate support for SysV IPC services in XFree86 ?
> With this support compiled in, does the X server (assume for a moment
> it's not running on some nvidia card) fall back properly if SysV IPC
> is not available?
The functions in question are almost-direct wrappers to shmget, shmat,
shmctl and shmdt. When support is not compiled in, they return (-1), just
as, I suppose, when you try calling shm* on a system that doesn't have
support for it.
It is all in xfree/xc/programs/Xserver/hw/xfree86/shared/libc_wrapper.c;
search for HAVE_SYSV_IPC.
Quentin Garnier - email@example.com
"Feels like I'm fiddling while Rome is burning down.
Should I lay my fiddle down and take a rifle from the ground ?"
Leigh Nash/Sixpence None The Richer, Paralyzed, Divine Discontents, 2002.