summaryrefslogtreecommitdiffstats
path: root/trunk/src/execstack.c
AgeCommit message (Collapse)Author
2010-07-22Merge commit 'ac2eeba55196424954b58cf540c44e42bc2774dc' into cross_prelinkMark Hatle
Conflicts: trunk/src/dso.c trunk/testsuite/reloc8.sh trunk/testsuite/reloc9.sh
2010-07-22fsync files before closingMark Hatle
2009-03-19 Joseph Myers <joseph@codesourcery.com> Issue #4626 * src/cache.c, src/dso-readonly.c, src/dso.c, src/execstack.c, src/gather.c, src/layout.c, src/mapfile.c, src/verify.c: fsync file descriptors before closing them. Mark Hatle <mark.hatle@windriver.com> * src/dso-readonly.c: sync with changes above
2010-07-22Add configurable version and bug urlMark Hatle
2006-11-30 Mark Shinwell <shinwell@codesourcery.com> * configure.in: Recognize --with-pkgversion and ---with-bugurl. * src/Makefile.am: Pass package version and bug URL through AM_CFLAGS, together with the new EXECSTACK_PROG. * src/main.c: Use PKGVERSION and REPORT_BUGS_TO. * src/execstack.c: Likewise. Also use EXECSTACK_PROG. Mark Hatle <mark.hatle@windriver.com> * src/ld-libs.c: Use PRELINK_RTLD_PROG, PKGVERSION and REPORT_BUGS_TO * src/execstack.c: Use EXECSTACK_PROG in (argp_doc)
2010-07-22Add PRELINK_PROG and PRELINK_RTLD_PROGMark Hatle
2006-10-03 Richard Sandiford <richard@codesourcery.com> * configure.in (AC_CANONICAL_HOST): Remove in favour of... (AC_CANONICAL_SYSTEM): ...this new directive. (AC_ARG_PROGRAM): New directive. * src/Makefile.am (AM_CFLAGS): Define PRELINK_PROG, PRELINK_RTLD_PROG and EXEEXT. (execstack_LDADD): Add -liberty. * src/execstack.c (program_path, prelink_path): New variables. (execstack_make_rdwr): Initialize prelink_path if it has not been set yet. Use make_relative_prefix, PRELINK_PROG and EXEEXT to get the full pathname of the prelink executable. Pass this path to execl() as the name of executable file. (main): Initialize program_path. * src/main.c (argp_program_version, argp_doc): Use PRELINK_PROG as the program name. (main): Handle empty --rtld= arguments first. Always use make_relative_prefix to work out the path of the defalt rtld executable. Also use PRELINK_RTLD and EXEEXT for this purpose. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-07-22Merge branch 'prelink_20061201' into cross_prelinkMark Hatle
Conflicts: src/data.c trunk/src/dso.c trunk/src/prelink.h trunk/testsuite/reloc5.c trunk/testsuite/shuffle2.c Updated versioning in: trunk/src/execstack.c trunk/src/ld-libs.c trunk/src/main.c * src/arch-arm.c: remove read_une32, write_ne32, buf_write_ne32, buf_read_une32 * src/dso-readonly.c: sync to changes in src/dso.c
2010-04-13 * src/prelink.h (send_file): New prototype.jakub
* src/execstack.c (send_file): New dummy function. * src/verify.c (send_file): No longer static. Don't loop forever if write or read return 0. * src/undo.c (prelink_undo): If undo_output is -, use /tmp/undo instead of - as temp file prefix. * src/dso.c (set_security_context): Drop unused dso argument, add ignore_errors argument. If it is non-zero, don't error if setfilecon failed. (update_dso): If orig_name is non-NULL, don't error if fchown or fchmod fails. If rename fails or name1 is - and orig_name is non-NULL, copy the temporary file to name1 (or to stdout if name1 is -) instead of failing. git-svn-id: http://sourceware.org/svn/prelink@182 94c539fb-cf18-0410-b60f-edeeb537fa16
2006-07-21Move code into trunk subdirectory.drow
git-svn-id: http://sourceware.org/svn/prelink@134 94c539fb-cf18-0410-b60f-edeeb537fa16