capability headers question

Christoph Hellwig hch@caldera.de
Sun Apr 22 12:30:00 GMT 2001


In article < 20010422212218.A27646@ikar.t17.ds.pwr.wroc.pl > you wrote:
> Hi,
>
> Problem with glibc 2.2.2 vs kernel 2.4 (2.2 is ok) headers:
>
> #include <string.h>
> #include <sys/capability.h>
>
> int main() { return 0; }
>
> [gcc barfs on kernel headers]
>
>
> Compilation with -O0 is ok. My question is: glibc, kernel headers or my simple
> program is bad (ie missing some include file) ?

AFAICS neither.  It seems to a problem of libcap to which <sys/capability.h>
belongs to (why?  this code should be in libc, IMHO).

It shouldn't include kernel headers at all but have a known good copy instead.

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.



More information about the Libc-alpha mailing list