aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/src/prelink.h
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2010-06-14 17:23:08 -0500
committerMark Hatle <mark.hatle@windriver.com>2010-07-22 18:00:20 -0500
commit3660e545555cb81fab59542bf0a8007e1583f529 (patch)
tree656eb3eefd5b94b2429ae968e4e5cb9d25407aac /trunk/src/prelink.h
parent22c57869fe5758215da05c85996f6ec2103adc29 (diff)
downloadprelink-cross-3660e545555cb81fab59542bf0a8007e1583f529.tar.gz
prelink-cross-3660e545555cb81fab59542bf0a8007e1583f529.tar.bz2
prelink-cross-3660e545555cb81fab59542bf0a8007e1583f529.zip
Correct chroot/sysroot file canonicalizing
2007-07-09 Daniel Jacobowitz <dan@codesourcery.com> Issue #1816 * src/wrap-file.c (chroot_canon): Delete. (sysroot_file_name): Use canon_filename. (unsysroot_file_name): Make global. (wrap_canonicalize_file_name): Delete. * src/ld-libs.c (load_dsos): Use prelink_canonicalize. * src/canonicalize.c (canon_filename): Make global. Add chroot, allow_last_link, allow_missing arguments. Handle links inside a chroot. Handle canonicalizing the current directory. Remove debugging output. (prelink_canonicalize): Update. Use unsysroot_file_name. * src/prelink.h (wrap_canonicalize_file_name): Delete prototype.
Diffstat (limited to 'trunk/src/prelink.h')
-rw-r--r--trunk/src/prelink.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/trunk/src/prelink.h b/trunk/src/prelink.h
index 4392bf7..e491c8f 100644
--- a/trunk/src/prelink.h
+++ b/trunk/src/prelink.h
@@ -509,7 +509,6 @@ extern GElf_Addr mmap_reg_start, mmap_reg_end;
extern const char *sysroot;
-char *wrap_prelink_canonicalize (const char *name, struct stat64 *stp);
int wrap_readlink (const char *path, char *buf, int len);
int wrap_lstat64 (const char *file, struct stat64 *buf);
int wrap_stat64 (const char *file, struct stat64 *buf);
@@ -522,7 +521,7 @@ int wrap_nftw64 (const char *dir, __nftw64_func_t func,
int wrap_utime (const char *file, struct utimbuf *file_times);
int wrap_mkstemp (char *filename);
int wrap_unlink (const char *filename);
-char *sysroot_file_name (const char *name, int allow_last_link, struct stat64 *stp);
+char *sysroot_file_name (const char *name, int allow_last_link);
extern const char *prelink_rtld;