Commit Graph

  • f78c0377c1 Prevent crash in execve() if env is NULL master Simon Ruderich 2018-02-01 21:40:02 +01:00
  • 545c6af1da Update copyright year Simon Ruderich 2018-02-01 21:10:46 +01:00
  • 8a65b4486f update copyright year Simon Ruderich 2015-08-28 12:25:36 +02:00
  • 3676d3f21f vfork(): fix incorrect comment Simon Ruderich 2014-11-15 18:35:05 +01:00
  • 3e894f0f32 NEWS: improve 0.2 notes Simon Ruderich 2014-06-22 18:54:45 +02:00
  • 502f26377e NEWS: release 0.2 Simon Ruderich 2014-06-22 18:34:34 +02:00
  • 733e149c1a fix typos in comments Simon Ruderich 2014-06-22 18:24:49 +02:00
  • b52ae7942b m4: Update to autoconf-archive 2014-02-28. Simon Ruderich 2014-05-20 17:49:33 +02:00
  • c1c5dcf0ca README: add multi-lib instructions Simon Ruderich 2014-05-17 21:52:53 +02:00
  • bcac94e353 configure.ac: fix typo in TLS error message Simon Ruderich 2014-05-16 04:50:06 +02:00
  • 24ead2ee7f configure.ac: warn if TLS is not available Simon Ruderich 2014-05-13 18:32:56 +02:00
  • b6d1dc09b6 handle_recursive: fix race condition if threads are used Simon Ruderich 2014-04-08 14:38:01 +02:00
  • 93bd149d9f tests/test_environment.sh: echo test part to simplify debugging Simon Ruderich 2014-03-14 17:05:43 +01:00
  • 5c0b209f23 README: mention autoreconf -fsi when using the git version Simon Ruderich 2014-03-14 16:10:58 +01:00
  • 97322d9278 m4: Update to autoconf-archive 2013-11-01. Simon Ruderich 2014-02-01 17:57:46 +01:00
  • def64ef651 README: /proc/self/exe is required for _IGNORED_BINARIES. Simon Ruderich 2014-01-02 15:20:43 +01:00
  • f54cd101d7 Update copyright year. Simon Ruderich 2014-01-01 16:41:01 +01:00
  • 39d313d1d4 Fix error_at_line() not always exiting if status != 0. Simon Ruderich 2014-01-01 16:37:48 +01:00
  • ba93304c54 README: Minor improvements. Simon Ruderich 2013-12-09 21:43:58 +01:00
  • 700b7084bb m4/README: Add. Simon Ruderich 2013-12-09 21:43:42 +01:00
  • fa6176934c .gitignore: Sort. Simon Ruderich 2013-12-09 21:43:28 +01:00
  • 8793959e82 README: Update. Simon Ruderich 2013-12-04 01:51:02 +01:00
  • f9631cb6fa NEWS: Add. Release 0.1. Simon Ruderich 2013-12-04 00:48:03 +01:00
  • ac9101941e Add likely() to tracked_fds_find(). Simon Ruderich 2013-09-15 00:15:50 +02:00
  • 73a6c78e7b Remove unnecessary check in handle_*_pre(). Simon Ruderich 2013-09-15 00:10:45 +02:00
  • f0803b0545 README: Fix minor typos. Simon Ruderich 2013-09-15 00:10:15 +02:00
  • 291a143267 Remove unnecessary if in init_from_environment(). Simon Ruderich 2013-07-21 14:25:54 +02:00
  • 08e7324497 constants.h: Fix indentation. Simon Ruderich 2013-07-07 14:43:29 +02:00
  • 1cc7709bec README: Add another known issue. Simon Ruderich 2013-07-07 14:42:37 +02:00
  • 6861a8c6b0 README: Some fixes. Simon Ruderich 2013-07-07 14:42:23 +02:00
  • b950cdb792 Add COLORED_STDERR_IGNORED_BINARIES to exclude binaries. Simon Ruderich 2013-07-07 13:33:44 +02:00
  • 9ff0ffbd28 Add missing assert() to init_from_environment(). Simon Ruderich 2013-07-07 12:54:59 +02:00
  • ca826de83a tests/test_noforce.sh: Add missing test_script_subshell call. Simon Ruderich 2013-07-01 13:58:24 +02:00
  • f48f822438 README: Document failing test on FreeBSD. Simon Ruderich 2013-07-01 03:27:16 +02:00
  • 2241f5278e Handle recursive calls of handle_*_{pre,post}() functions. Simon Ruderich 2013-07-01 03:23:50 +02:00
  • abd557a42f tests: Handle sed which append a trailing newline. Simon Ruderich 2013-07-01 03:20:38 +02:00
  • b926752fac tests: Don't require bash. Simon Ruderich 2013-07-01 03:12:24 +02:00
  • 2c55827f6f tests/example_exec.c: Sort environment variables. Simon Ruderich 2013-07-01 02:35:11 +02:00
  • d49cd5d92a Also hook un-macroed putc when it's a macro. Simon Ruderich 2013-06-30 22:14:33 +02:00
  • afa1ef98fe Restore environment for execvpe() if the exec fails. Simon Ruderich 2013-06-29 23:09:05 +02:00
  • 436c2f894c README: Minor improvements. Simon Ruderich 2013-06-29 23:08:22 +02:00
  • d08a512806 Set DEFAULT_PRE_STRING to red. Simon Ruderich 2013-06-29 23:07:15 +02:00
  • a685b825aa tests: Add example_stdio.c and test_stdio.sh. Simon Ruderich 2013-06-22 18:21:10 +02:00
  • e3234d6c08 tests/Makefile.am: Fix for BSD's make. Simon Ruderich 2013-06-20 23:51:38 +02:00
  • 2fc66e15eb Improve checks for invalid file descriptors. Simon Ruderich 2013-06-21 22:55:13 +02:00
  • 219a9882ba tests: Check return values of write() and dup2(). Simon Ruderich 2013-06-21 18:49:11 +02:00
  • 0d7f306898 Overwrite tracked file descriptors when exporting COLORED_STDERR_FDS. Simon Ruderich 2013-06-21 18:26:23 +02:00
  • 045ca46e79 Hook __swbuf() on FreeBSD. Simon Ruderich 2013-06-20 23:33:27 +02:00
  • ba2283bd37 Remove invalid assert() in tracked_fds_find(). Simon Ruderich 2013-06-20 23:17:03 +02:00
  • f3c734eb7d configure.ac: Check if __overflow() is available. Simon Ruderich 2013-06-20 22:14:42 +02:00
  • b0c02291be Hook __overflow() correctly. Simon Ruderich 2013-06-20 22:13:04 +02:00
  • d78910e363 tests/Makefile.am: Remove unnecessary *_SOURCES variables. Simon Ruderich 2013-06-18 09:10:09 +02:00
  • 4eb55ac071 {fwrite,fputs,fputc}_unlocked() are not in POSIX. Simon Ruderich 2013-06-20 20:56:51 +02:00
  • 1fb32dbd84 tests: Remove test_symbols.sh. Simon Ruderich 2013-06-20 20:46:06 +02:00
  • cfad8a624c Update documentation. Simon Ruderich 2013-06-18 00:07:03 +02:00
  • 85699d0263 tests/example.c: Use errno = ENOMEM. Simon Ruderich 2013-06-17 23:28:07 +02:00
  • a63fef43c2 Add missing #include <sys/stat.h>. Simon Ruderich 2013-06-17 23:26:00 +02:00
  • 50a495887f README: setuid binaries are not supported. Simon Ruderich 2013-06-15 16:53:47 +02:00
  • 34b3b93136 tests/example_error.c: Fix typo in function name. Simon Ruderich 2013-06-15 03:41:06 +02:00
  • a58d1a9017 Mark hooked functions as visibility(("protected")). Simon Ruderich 2013-06-15 03:36:50 +02:00
  • ca12529c8f hookmacros.h: Reduce duplication in macros. Simon Ruderich 2013-06-15 03:23:53 +02:00
  • 941370dda9 Hook BSD err(), errx(), warn(), warnx(), etc. functions. Simon Ruderich 2013-06-15 02:39:52 +02:00
  • 1068648718 Minor documentation update. Simon Ruderich 2013-06-15 02:21:27 +02:00
  • 0a909cac79 Use locally defined functions in hooks where possible. Simon Ruderich 2013-06-15 01:58:36 +02:00
  • 217e8c8bc5 Define real_*() static variables with macros. Simon Ruderich 2013-06-15 00:54:46 +02:00
  • 9507e0f60d configure.ac: Fix Vim's syntax coloring issue with `..'. Simon Ruderich 2013-06-14 15:33:28 +02:00
  • 6ae629bef0 tests/Makefile.am: Enable parallel and colored test runs. Simon Ruderich 2013-06-14 15:27:31 +02:00
  • 18d52b3b5a Install libcoloredstderr.so read-only. Simon Ruderich 2013-06-14 13:40:06 +02:00
  • dcaadb5f7c README: Explain how to modify pre/post variables. Simon Ruderich 2013-06-14 12:44:34 +02:00
  • 04334418fc README: Add first part of installation instructions. Simon Ruderich 2013-06-14 11:07:40 +02:00
  • 208757de88 .gitignore: Ignore generated test files. Simon Ruderich 2013-06-13 22:43:43 +02:00
  • d5b84811d2 tests/lib.sh: Fix tests for dash. Simon Ruderich 2013-06-13 22:35:42 +02:00
  • 1d1b6d7769 Remove duplicate code in init_from_environment(). Simon Ruderich 2013-06-13 22:15:49 +02:00
  • 45d25526c0 Minor documentation updates. Simon Ruderich 2013-06-13 22:15:09 +02:00
  • 3d46e3ab9b Add missing const and document where it can't be used. Simon Ruderich 2013-06-13 22:13:16 +02:00
  • 3c2b4bf9f6 tests/lib.sh: Minor cleanup. Simon Ruderich 2013-06-13 22:11:15 +02:00
  • 59375c2b79 Fix possible memory overwrite in init_from_environment(). Simon Ruderich 2013-06-13 22:08:08 +02:00
  • f30dbbd26d Add more error checks. Simon Ruderich 2013-06-13 21:56:50 +02:00
  • e5a94fa847 Remove unnecessary calls to update_environment() in exec*(). Simon Ruderich 2013-06-13 21:50:51 +02:00
  • 1e02760898 constants.h: Fix indentation. Simon Ruderich 2013-06-13 21:45:19 +02:00
  • 7eb1667d41 ldpreload.h: Add missing unlikely() in DLSYM_FUNCTION(). Simon Ruderich 2013-06-13 16:46:48 +02:00
  • 0ad5e4db04 hookmacros.h: Remove duplication in _HOOK_PRE_FD_/_HOOK_PRE_FILE. Simon Ruderich 2013-06-13 16:35:55 +02:00
  • d171e6bbec trackfds.h: Add missing inline for consistency. Simon Ruderich 2013-06-13 21:34:29 +02:00
  • 6d6ad4423a Add assert()s. Simon Ruderich 2013-06-13 21:33:27 +02:00
  • 37cb5686de Handle invalid arguments to close()/fclose() better. Simon Ruderich 2013-06-13 21:19:15 +02:00
  • 7adfbfd2cf Fix hook for putc_unlocked() with glibc. Simon Ruderich 2013-06-13 12:59:12 +02:00
  • d8be625da9 tests/test_symbols.sh: Add. Simon Ruderich 2013-06-13 02:32:27 +02:00
  • 5e8be10581 tests/Makefile.am: Sort dist_check_DATA. Simon Ruderich 2013-06-13 02:29:55 +02:00
  • e954d0fdfd configure.ac: fcntl.h is required. Simon Ruderich 2013-06-13 02:25:58 +02:00
  • 52b4e91146 hookmacros.h: Minor style fix. Simon Ruderich 2013-06-13 01:27:45 +02:00
  • 04ac66863a tests: Split run.sh in multiple test files. Simon Ruderich 2013-06-13 01:26:25 +02:00
  • 05aefe25ba tests: Rename example-* to example_* for consistency. Simon Ruderich 2013-06-13 01:05:06 +02:00
  • 8a58e07a5b tests: Fix tests when running under coloredstderr. Simon Ruderich 2013-06-10 22:49:58 +02:00
  • b24bd8dc43 README: Add. Simon Ruderich 2013-06-10 22:33:59 +02:00
  • 9af3c2c727 Add another debug() print to init_from_environment(). Simon Ruderich 2013-06-10 22:25:31 +02:00
  • 779ba750f7 Fix compilation with clang. Simon Ruderich 2013-06-10 21:27:12 +02:00
  • 9434382c9e m4/ax_c___attribute__.m4: Add. Simon Ruderich 2013-06-10 17:17:21 +02:00
  • 237251ae9c Hook execvpe(), a GNU extension. Simon Ruderich 2013-06-10 17:10:44 +02:00
  • 55e8d0d38a coloredstderr.c: Fix parameter name in execvp(). Simon Ruderich 2013-06-10 16:58:27 +02:00
  • 7c2d726cd4 coloredstderr.c: Fix indentation. Simon Ruderich 2013-06-10 16:55:25 +02:00