summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-20 22:12:52 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-20 22:12:52 +0000
commit32a619dbea500bce8b930aeb6c10e4948607a303 (patch)
tree9b27bf9e1d5e373440e4a627b7bb13dea05269ba /include/configreader.h
parente54f28adaf286b6cc5299754d22f728b7700887c (diff)
Implement <security:runasuser> and <security:runasgroup> - allows for set(g|u)id to drop privs after starting, which can be useful for people who want to bind privileged ports without exposing their anus to a giant cucumber.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10682 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 89116c5c5..2ccabc5b4 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -406,6 +406,11 @@ class CoreExport ServerConfig : public Extensible
*/
int WhoWasMaxKeep;
+ /** Both for set(g|u)id.
+ */
+ char SetUser[MAXBUF];
+ char SetGroup[MAXBUF];
+
/** Holds the server name of the local server
* as defined by the administrator.
*/