about summary refs log tree commit diff
path: root/src/nix-setuid-helper
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-12-06T01·24+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-12-06T01·24+0000
commit9f0efa6611d010bf2fb88a2f6a583c4f32fd89ac (patch)
tree275818c7792285b9fce99c9a69090f4e2c30c03f /src/nix-setuid-helper
parent2b558843a2228051bec475a016e7bb2565433330 (diff)
* Start of the setuid helper (the program that performs the operations
  that have to be done as root: running builders under different uids,
  changing ownership of build results, and deleting paths in the store
  with the wrong ownership).

Diffstat (limited to 'src/nix-setuid-helper')
-rw-r--r--src/nix-setuid-helper/Makefile.am8
-rw-r--r--src/nix-setuid-helper/main.cc3
2 files changed, 11 insertions, 0 deletions
diff --git a/src/nix-setuid-helper/Makefile.am b/src/nix-setuid-helper/Makefile.am
new file mode 100644
index 000000000000..afff2bde7c13
--- /dev/null
+++ b/src/nix-setuid-helper/Makefile.am
@@ -0,0 +1,8 @@
+libexec_PROGRAMS = nix-setuid-helper
+
+nix_setuid_helper_SOURCES = main.cc
+nix_setuid_helper_LDADD = ../libutil/libutil.la \
+ ../boost/format/libformat.la ${aterm_lib}
+
+AM_CXXFLAGS = \
+ -I$(srcdir)/.. $(aterm_include) -I$(srcdir)/../libutil
diff --git a/src/nix-setuid-helper/main.cc b/src/nix-setuid-helper/main.cc
new file mode 100644
index 000000000000..ff70fa6560a8
--- /dev/null
+++ b/src/nix-setuid-helper/main.cc
@@ -0,0 +1,3 @@
+int main(int argc, char * * argv)
+{
+}