Re: FC6: #define for _syscall? not found in /usr/include/asm/unistd.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/18/06, Tetsuo Handa <penguin-newbie@xxxxxxxxxxxxxxxxxxx> wrote:
Hi, Jinesh.

> Use kbuild. See http://tldp.org/LDP/lkmpg/2.6/html/index.html
Thank you.

But I meant compiling a userland program.
I'want to run a userland program that tests the following system calls.
I couldn't find the definitions of _syscall?() macros.
The following code can be compiled for RHL9, FC3, FC4, FC5,
CentOS 4.4, OpenSuSE 10.1, Debian Sarge, but can't be compiled for FC6
due to the lack of "#define _syscall?()" in /usr/include/asm/unistd.h .

Read the LKML archives regarding this. They are deprecated for use in
userspace and have been removed from FC's headers (and some other
distros in the near future, or already). There was a bit about in the
header sanitization threads, and then again when Andi Kleen complained
about the _syscall* removal.

Are you not able to use syscall(2)?

Thanks,
Nish

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux