Re: Kernel 2.x POSIX Compliance/Conformance...

From: Valdis . Kletnieks
Date: Wed Feb 04 2004 - 15:00:44 EST


On Wed, 04 Feb 2004 14:44:00 EST, "Randazzo, Michael" said:
> I was using at sem_close(), sem_destroy90, sem_open() ...
>
> according to Posix.4, these are defined in semaphore.h - but
> are not defined in /lib/modules/<uname -r>/build/include/semaphore.h
>
> Are Posix.4 calls only for userspace?

System calls in general are for userspace. Often, there exist alternate
entry points for kernel services, or other ways to do it (for instance,
the kernel has its own code for locks and semaphores).

Attachment: pgp00000.pgp
Description: PGP signature