From: Enrico Scholz Date: Tue, 6 Apr 2004 22:57:25 +0000 (+0000) Subject: vc_chrootsafe_compat(): removed X-Git-Tag: VERSION_0_10~152 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c1e6c1b0cd8e0b895675453211ae9997280506e;p=util-vserver.git vc_chrootsafe_compat(): removed git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1429 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/syscall-compat.hc b/util-vserver/lib/syscall-compat.hc index b3838ce..6cf111f 100644 --- a/util-vserver/lib/syscall-compat.hc +++ b/util-vserver/lib/syscall-compat.hc @@ -56,10 +56,3 @@ vc_set_ipv4root_compat(uint32_t bcast, size_t nb, struct vc_ip_mask_pair const return vserver(VCMD_set_ipv4root, nb, &msg); } - -static inline ALWAYSINLINE int -vc_chrootsafe_compat(char const *dir) -{ - vc_tell_unsafe_chroot(); - return chroot(dir); -}