Sign in
cos
/
third_party
/
runc
/
refs/heads/release-R129
/
.
/
tests
/
integration
/
testdata
/
seccomp_syscall_test2.c
blob: 71d4a1cd466a9ea0f9f2090ad7b04511284f3bf3 [
file
] [
edit
]
#include
<unistd.h>
#include
<errno.h>
#include
<stdio.h>
#include
<stdlib.h>
int
main
()
{
if
(
chdir
(
"/"
)
<
0
&&
errno
==
ENXIO
)
exit
(
EXIT_SUCCESS
);
fprintf
(
stderr
,
"got errno=%m\n"
);
exit
(
EXIT_FAILURE
);
}