[lkml]   [2004]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Kernel 2.x POSIX Compliance/Conformance...
On Wed, 04 Feb 2004 14:30:39 EST, "Randazzo, Michael" <>  said:

> I have made attempts to use (Posix semaphores) in my LKM, but find
> no POSIX support in /lib/modules/<uname -r>/build/include/unistd.h

Attempting to use syscalls intended for userspace while inside the kernel
is generally regarded as Bad Juju.

'man semctl' says:

Under Linux, the function semctl is not a system call, but is imple-
mented via the system call ipc(2).

#define __NR_ipc 117

is what you weren't finding in unistd.h
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-03-22 14:00    [W:0.050 / U:4.144 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site