Ultralinux archive on lore.kernel.org
 help / color / mirror / Atom feed
* sys_call clone in Sparc64?
@ 2002-03-20 10:53 Erik de Castro Lopo
  2002-03-20 20:05 ` Erik de Castro Lopo
  2002-03-20 21:44 ` David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Erik de Castro Lopo @ 2002-03-20 10:53 UTC (permalink / raw)
  To: ultralinux

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
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@mega-nerd.com (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."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sys_call clone in Sparc64?
  2002-03-20 10:53 sys_call clone in Sparc64? Erik de Castro Lopo
@ 2002-03-20 20:05 ` Erik de Castro Lopo
  2002-03-20 21:44 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Erik de Castro Lopo @ 2002-03-20 20:05 UTC (permalink / raw)
  To: ultralinux

On Wed, 20 Mar 2002 21:53:49 +1100
Erik de Castro Lopo <nospam@mega-nerd.com> wrote:

> 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. 

Doh! I found it:

	arch/sparc64/kernel/entry.S

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@mega-nerd.com (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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sys_call clone in Sparc64?
  2002-03-20 10:53 sys_call clone in Sparc64? Erik de Castro Lopo
  2002-03-20 20:05 ` Erik de Castro Lopo
@ 2002-03-20 21:44 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2002-03-20 21:44 UTC (permalink / raw)
  To: ultralinux


It is there, use __NR_clone as the system call number
(from asm/unistd.h)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-20 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-20 10:53 sys_call clone in Sparc64? Erik de Castro Lopo
2002-03-20 20:05 ` Erik de Castro Lopo
2002-03-20 21:44 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox