summary refs log tree commit diff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04 22:55:28 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04 22:55:28 +0000
commitbafc1690fc4a2a2c3ff81ff1c1a677f208d3b1b7 (patch)
tree822877e73d7e4ffe4dd3ef3b1a1ff02dafaed186 /src/libutil/util.hh
parente5a6c09b12a9a68ba604d4e95adf28482ae8fc8d (diff)
downloadguix-bafc1690fc4a2a2c3ff81ff1c1a677f208d3b1b7.tar.gz
* Move setuid stuff to libutil.
* Install libexpr header files.

Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index b4a61ae04a..52ef2c6eb2 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -246,15 +246,15 @@ string int2String(int n);
 bool string2Int(const string & s, int & n);
 
 
-/* !!! HACK HACK HACK - this should be in shared.hh, but it's to
-   facilitate a quick hack - will remove this eventually (famous last
-   words). */
+/* Setuid support. */
 struct SwitchToOriginalUser
 {
     SwitchToOriginalUser();
     ~SwitchToOriginalUser();
 };
 
+void switchToNixUser();
+
  
 }