gentoo: do not mess with the cgroup mount at boot time. openrc takes care of this...
[util-vserver.git] / ensc_wrappers / wrappers-unistd.hc
index d6dfc71..63bfb65 100644 (file)
@@ -138,6 +138,12 @@ Eunlink(char const *pathname)
   FatalErrnoError(unlink(pathname)==-1, "unlink()");
 }
 
+inline static WRAPPER_DECL void
+Elink(char const *oldpath, char const *newpath)
+{
+  FatalErrnoError(link(oldpath, newpath)==-1, "link()");
+}
+
 inline static void
 Esetuid(uid_t uid)
 {