Bug#335435: Bug#336577: linux-kernel-headers: <linux/sem.h> broken on mips, mipsel
Frank Lichtenheld <firstname.lastname@example.org> writes:
> On Mon, Oct 31, 2005 at 10:45:55AM +0100, Matej Vela wrote:
>> Justification: causes an FTBFS for dctc and dcgui
> This is not a sufficient justification for a RC bug against l-k-h.
> Note that I explained in my bugs against dctc/dcgui the right fix for
> it and did not file a bug against l-k-h for this reason.
The BTS is down to a crawl, here's what I sent to Bug#335435 an hour
and a half ago:
> Unfortunately, sysconf(_SC_SEM_VALUE_MAX) is currently unimplemented.
> We could use semctl(..., SEM_INFO, arg) and inspect arg.__buf->semvmx,
> but this is as unportable as SEMVMX -- semun.__buf is Linux-specific
> -- and even less elegant -- thanks to POSIX.1-2001, we'd have to
> include our own definition of union semun.
Since Daniel Jacobowitz's reply hasn't reached the BTS either, here's
what he said:
> In general, most of these headers are not intended or supported for
> userspace use; so the correct thing to do is either to use the POSIX
> equivalents, or else to copy the bits you need from some particular
> version of the kernel headers.
The former is not available, so I'll do the latter.