Commit Graph

7 Commits

Author SHA1 Message Date
Simon Ruderich
0d7f306898 Overwrite tracked file descriptors when exporting COLORED_STDERR_FDS.
If the list of tracked file descriptors is modified to contain unwanted
values (e.g. when a parent process closes or redirects stderr), this
makes it possible to set the tracked file descriptors back to a given
list.

This problem occurred with startx which somehow closes or redirects
stderr. As COLORED_STDERR_FDS was set in the shell running startx, this
disabled coloring stderr for all processes started in the X11 session.

This is no longer an issue. As COLORED_STDERR_FDS is set in the shell
configuration file, it automatically sets the list to the correct value
when a shell is opened in the terminal emulator once X11 is running.
2013-06-21 23:03:12 +02:00
Simon Ruderich
50a495887f README: setuid binaries are not supported. 2013-06-15 16:53:47 +02:00
Simon Ruderich
18d52b3b5a Install libcoloredstderr.so read-only.
Prevents accidental truncates of libcoloredstderr.so with `cp` which
crash all programs which have loaded it.
2013-06-14 13:40:06 +02:00
Simon Ruderich
dcaadb5f7c README: Explain how to modify pre/post variables. 2013-06-14 12:44:34 +02:00
Simon Ruderich
04334418fc README: Add first part of installation instructions. 2013-06-14 11:07:40 +02:00
Simon Ruderich
6d6ad4423a Add assert()s. 2013-06-13 21:33:27 +02:00
Simon Ruderich
b24bd8dc43 README: Add. 2013-06-10 22:33:59 +02:00