Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "proof of concept"

This reverts commit 8143592.
  • Loading branch information...
commit e0f89940e53824452f0caa0c66e95c11b499d4b8 1 parent 8143592
@ahmadia ahmadia authored
Showing with 0 additions and 15 deletions.
  1. +0 −5 collfs.c
  2. +0 −10 main.c
View
5 collfs.c
@@ -520,8 +520,3 @@ ssize_t __collfs_read(int fd, void *buf, size_t count)
return __read(fd, buf, count);
}
-void collfs_call_magic( void (*magic_fun)(void))
-{
- (*magic_fun)();
-}
-
View
10 main.c
@@ -38,13 +38,6 @@ int run_tests(const char *soname, const char *path)
return 0;
}
-void in_your_libc()
-{
- printf("I am in your libc, stealing your cycles\n");
-}
-void collfs_call_magic( void (*magic_fun)(void));
-
-
int main(int argc, char *argv[])
{
int err;
@@ -54,9 +47,6 @@ int main(int argc, char *argv[])
printf("MPI initialized\n");
MPI_Init(&argc,&argv);
}
-
- collfs_call_magic(&in_your_libc);
-
if (!getcwd(path,sizeof path)) ERR("getcwd failed");
strcat(path,"/libthefunc.so");
err = run_tests(path, path);CHK(err);
Please sign in to comment.
Something went wrong with that request. Please try again.