>>>>> On Tue, 11 Feb 2003 23:33:33 +0100, Francesco Paolo Lovergine <[EMAIL 
>>>>> PROTECTED]> said:

  Francesco> That old lib calls an obsolete (?) _syscall2() to point
  Francesco> capget() and capset() syscalls, which are now commonly
  Francesco> defined.  Quite interesting example of archeologic
  Francesco> coding... :)

Yes, _syscallN() is Linux-specific, unportable, and deprecated.
syscall() is much more widely available (it's been around "forever"),
portable, and can be used when necessary.  Of course, if you can
assume that you have a recent enough libc, justs calling the
appropriate syscall-stubs is even better.

Thanks,

        --david


Reply via email to