sys_call clone in Sparc64?
Hi all,
I trying to work on some code which uses the sys_clone system call. It wasn't working (wasn't reporting an error either) so I wanted to know why.
I grepped throught the kernel source (2.4.19-pre3) and found that sys_clone doesn't seem to have been implemented on Sparc or Sparc64.
Is this correct? Anybody working on it? If not, I'll have a stab at it.
Cheers,
Erik
Signature · 9 lines
+-----------------------------------------------------------+ Erik de Castro Lopo [email protected] (Yes it's valid) +-----------------------------------------------------------+ " ... new TV ad for Microsoft's Internet Explorer e-mail program which uses the musical theme of the "Confutatis Maledictis" from Mozart's Requiem. "Where do you want to go today?" is the cheery line on the screen, while the chorus sings "Confutatis maledictis, flammis acribus addictis,". This translates to "The damned and accursed are convicted to the flames of hell."
Quoted 8 lines · On Wed, 20 Mar 2002 21:53:49 +1100 Erik de Castro Lopo <[email protected]>…
Hi all,
I trying to work on some code which uses the
sys_clonesystem call. It wasn't working (wasn't reporting an error either) so I wanted to know why.I grepped throught the kernel source (2.4.19-pre3) and found that
sys_clonedoesn't seem to have been implemented on Sparc or Sparc64.
Doh! I found it:
arch/sparc64/kernel/entry.S
Erik
Signature · 6 lines
+-----------------------------------------------------------+ Erik de Castro Lopo [email protected] (Yes it's valid) +-----------------------------------------------------------+ "The earth is degenerating these days. Bribery and corruption abound. Children no longer mind parents ...and it is evident that the end of the world is approaching fast." -- Assyrian Tablet Engraved in 2800 B.C.
It is there, use __NR_clone as the system call number (from asm/unistd.h)