#endif
#include "util.h"
-#include "stack-start.h"
#include "sys_clone.h"
#include <sched.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <libgen.h>
+#include <errno.h>
+#define ENSC_WRAPPERS_PREFIX "new-namespace: "
#define ENSC_WRAPPERS_WAIT 1
#include <wrappers.h>
#endif
switch (pid) {
case -1 :
- perror("clone()");
+ perror("new-namespace: clone()");
exit(wrapper_exit_code);
case 0 :
execvp(argv[1], argv+1);
- perror("execvp()");
+ perror("new-namespace: execvp()");
exit(wrapper_exit_code);
default :
exitLikeProcess(pid);