nixpkgs/pkgs/build-support/build-fhs-userenv
Yegor Timoshenko 73a0d95b96 chrootenv: code review
* Wrap LEN macro in parantheses
* Drop env_filter in favor of stateful environ_blacklist_filter,
  use execvp instead of execvpe, don't explicitly use environ
* Add argument error logging wherever it makes sense
* Drop strjoin in favor of asprintf
* char* -> const char* where appropriate
* Handle stat errors
* Print user messages with fputs, not errorf
* Abstract away is_str_in (previously bind_blacklisted)
* Cleanup temporary directory on error
* Some minor syntactic and naming changes

Thanks to Jörg Thalheim and Tuomas Tynkkynen for the code review!
2017-12-22 18:56:13 +03:00
..
chrootenv.c chrootenv: code review 2017-12-22 18:56:13 +03:00
default.nix chroot-user: rewrite in C, drop CHROOTENV_EXTRA_BINDS 2017-11-09 19:58:55 +00:00
env.nix buildFHSEnv: fix NIX_* compiler flags 2017-10-17 00:39:39 +03:00