lix/src/libutil
Eelco Dolstra 21948deed9
Kill builds when we get EOF on the log FD
This closes a long-time bug that allowed builds to hang Nix
indefinitely (regardless of timeouts) simply by doing

  exec > /dev/null 2>&1; while true; do true; done

Now, on EOF, we just send SIGKILL to the child to make sure it's
really gone.
2017-01-19 17:16:14 +01:00
..
affinity.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
affinity.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00
archive.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
archive.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
args.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
args.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
compression.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
compression.hh Do compression in a sink 2016-05-04 16:16:53 +02:00
finally.hh Add missing #include 2016-11-07 14:35:47 +01:00
hash.cc Fix S3BinaryCacheStore 2016-12-08 15:31:27 +01:00
hash.hh Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
json.cc toJSON(): Support some more types 2016-10-06 17:00:52 +02:00
json.hh toJSON(): Support some more types 2016-10-06 17:00:52 +02:00
local.mk use $(LIBLZMA_LIBS) instead of -llzma 2016-05-31 03:20:11 -04:00
logging.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
logging.hh Use a steady clock for timeouts 2016-12-06 21:58:04 +01:00
lru-cache.hh Move path info caching from BinaryCacheStore to Store 2016-04-19 18:52:53 +02:00
monitor-fd.hh Pedantry 2014-12-14 01:51:14 +01:00
pool.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
ref.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
serialise.cc AutoDeleteArray -> std::unique_ptr 2017-01-16 22:24:49 +01:00
serialise.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
sync.hh Add some functions needed by hydra 2016-10-12 15:49:37 +02:00
thread-pool.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
thread-pool.hh Fix assertion failure in ThreadPool::enqueue() 2016-07-21 18:14:16 +02:00
types.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
util.cc Kill builds when we get EOF on the log FD 2017-01-19 17:16:14 +01:00
util.hh Kill builds when we get EOF on the log FD 2017-01-19 17:16:14 +01:00
xml-writer.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
xml-writer.hh And another one 2014-02-26 18:55:18 +01:00