On Sat, Jun 04, 2005 at 09:55:28AM +0200, Rafael Garcia-Suarez wrote:
> Alexey Tourbin wrote:
> > Here is a sketch for a test to be added.  Because the test itself should
> > not exit, fork() is used twice.  Of course syscall(64) is not portalbe
> > and is used now only to prove the problem.
> 
> That's interesting but I don't even know whether syscall(64) is
> portable among all linuxes, past present and future; or how to test it
> corresponds to the getppid syscall. Calling random system calls in a
> test file is a bit like, er, insert random funny comparison here.

BTW I checked a few modern BSDs and they all have SYS_getppid=39. :)

Okay, I reworked the test and now suggest it go into bleadperl as
t/op/getppid.t.

Attachment: getppid.t
Description: Troff document

Attachment: pgp7iwelnjM3M.pgp
Description: PGP signature

Reply via email to