]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commit
Hook execve() and the other exec*() functions.
authorSimon Ruderich <simon@ruderich.org>
Tue, 4 Jun 2013 23:40:56 +0000 (01:40 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 4 Jun 2013 23:40:56 +0000 (01:40 +0200)
commit7ea72c40db03659a9d468f000d59ff133aadf47e
treeba81febcc8f346b530c5d07b2db65a746494ff37
parenta9db9083b6fd9c1bd6a09df6d64386d806488f7c
Hook execve() and the other exec*() functions.

Prevents programs from removing our environment variables during the
exec.

Also reduces unnecessary calls to update_environment() by calling it
only once before the exec.
.gitignore
src/coloredstderr.c
src/trackfds.h
tests/Makefile.am
tests/example_exec.c [new file with mode: 0644]
tests/example_exec.expected [new file with mode: 0644]
tests/run.sh