summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:46:09 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:46:09 +0100
commit6a2caa34b24c2225dba9da011eaa5cc3eb8752be (patch)
treec9b5b333cfdc545b6526f7ead67f39a1017e25a1 /lib/replace/replace.h
parentc2a4db0c633f4cf01834c851efd07b7d891ce737 (diff)
downloadsamba-6a2caa34b24c2225dba9da011eaa5cc3eb8752be.tar.gz
samba-6a2caa34b24c2225dba9da011eaa5cc3eb8752be.tar.bz2
samba-6a2caa34b24c2225dba9da011eaa5cc3eb8752be.zip
Remove sys_chroot() - libreplace already provides an alternative.
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 8d0dd57064..d717d6391c 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -220,6 +220,11 @@ int rep_setegid(gid_t);
int rep_chown(const char *path, uid_t uid, gid_t gid);
#endif
+#ifndef HAVE_CHROOT
+#define chroot rep_chroot
+int rep_chroot(const char *dirname);
+#endif
+
#ifndef HAVE_LINK
#define link rep_link
int rep_link(const char *oldpath, const char *newpath);