projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
768f39a
)
support vfork on i386
author
Rich Felker
<dalias@aerifal.cx>
Sat, 15 Oct 2011 03:56:31 +0000
(23:56 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 15 Oct 2011 03:56:31 +0000
(23:56 -0400)
src/process/i386/vfork.s
[new file with mode: 0644]
patch
|
blob
diff --git a/src/process/i386/vfork.s
b/src/process/i386/vfork.s
new file mode 100644
(file)
index 0000000..
fadca20
--- /dev/null
+++ b/
src/process/i386/vfork.s
@@ -0,0
+1,14
@@
+.global __vfork
+.weak vfork
+.type __vfork,@function
+.type vfork,@function
+__vfork:
+vfork:
+ pop %edx
+ mov $190,%eax
+ int $128
+ push %edx
+ push %eax
+ call __syscall_ret
+ pop %edx
+ ret