added readlink
[util-vserver.git] / util-vserver / ensc_wrappers / wrappers-unistd.hc
index 2aa6ff7..5d7213a 100644 (file)
@@ -43,12 +43,18 @@ Echroot(char const path[])
   FatalErrnoError(chroot(path)==-1, "chroot()");
 }
 
-inline static WRAPPER_DECL void
+inline static WRAPPER_DECL NORETURN void
 Eexecv(char const *path, char *argv[])
 {
   FatalErrnoError(execv(path,argv)==-1, "execv()");
 }
 
+inline static WRAPPER_DECL NORETURN void
+Eexecvp(char const *path, char *argv[])
+{
+  FatalErrnoError(execvp(path,argv)==-1, "execvp()");
+}
+
 inline static WRAPPER_DECL void
 Epipe(int filedes[2])
 {