projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Allow mountpoints
[util-vserver.git]
/
ensc_wrappers
/
wrappers-unistd.hc
diff --git
a/ensc_wrappers/wrappers-unistd.hc
b/ensc_wrappers/wrappers-unistd.hc
index
d6dfc71
..
63bfb65
100644
(file)
--- a/
ensc_wrappers/wrappers-unistd.hc
+++ b/
ensc_wrappers/wrappers-unistd.hc
@@
-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)
{