guix/src/libstore
Eelco Dolstra cd49ee0897 Fix a security bug in hash rewriting
Before calling dumpPath(), we have to make sure the files are owned by
the build user.  Otherwise, the build could contain a hard link to
(say) /etc/shadow, which would then be read by the daemon and
rewritten as a world-readable file.

This only affects systems that don't have hard link restrictions
enabled.
2013-06-13 17:12:24 +02:00
..
Makefile.am Add builtin constants ‘langVersion’ and ‘nixVersion’ 2012-11-27 13:29:55 +01:00
build.cc Fix a security bug in hash rewriting 2013-06-13 17:12:24 +02:00
derivations.cc Only substitute wanted outputs of a derivation 2012-11-26 17:15:09 +01:00
derivations.hh Only substitute wanted outputs of a derivation 2012-11-26 17:15:09 +01:00
gc.cc addAdditionalRoots(): Check each path only once 2013-04-26 12:07:25 +02:00
globals.cc Revert "Prevent config.h from being clobbered" 2013-03-08 01:24:59 +01:00
globals.hh Revert "Prevent config.h from being clobbered" 2013-03-08 01:24:59 +01:00
local-store.cc In repair mode, update the hash of rebuilt paths 2013-06-13 14:46:07 +02:00
local-store.hh Process stderr from substituters while doing have/info queries 2013-06-07 15:02:14 +02:00
misc.cc nix-store -q --roots: Respect the gc-keep-outputs/gc-keep-derivations settings 2012-12-20 18:41:44 +01:00
misc.hh nix-store -q --roots: Respect the gc-keep-outputs/gc-keep-derivations settings 2012-12-20 18:41:44 +01:00
optimise-store.cc Revert "Prevent config.h from being clobbered" 2013-03-08 01:24:59 +01:00
pathlocks.cc Set the close-on-exec flag on file descriptors 2012-03-05 20:29:00 +01:00
pathlocks.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
references.cc
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-store.cc Revert "Prevent config.h from being clobbered" 2013-03-08 01:24:59 +01:00
remote-store.hh nix-store -q --roots: Respect the gc-keep-outputs/gc-keep-derivations settings 2012-12-20 18:41:44 +01:00
schema.sql
store-api.cc Merge branch 'master' into no-manifests 2012-08-27 11:09:07 -04:00
store-api.hh nix-store --export: Export paths in topologically sorted order 2013-05-23 14:55:36 -04:00
worker-protocol.hh Revert "Prevent config.h from being clobbered" 2013-03-08 01:24:59 +01:00