repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
configure.ac: Generalize glibc version check
[valgrind.git]
/
memcheck
/
tests
/
x86-linux
/
scalar_vfork.c
blob
984c22eddeebfc4b6e59aaa2bf89dfb26fc7e64a
1
#include
"scalar.h"
2
3
int
main
(
void
)
4
{
5
int
res
__attribute__
((
unused
));
6
7
// All __NR_xxx numbers are taken from x86
8
9
// __NR_vfork 190 --> arch/sys_fork() [we can't use sys_vfork()]
10
GO
(
__NR_vfork
,
"0e"
);
11
SY
(
__NR_vfork
);
12
13
return
(
0
);
14
}
15