aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-10-20 08:31:48 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-10-20 08:31:48 +0200
commit8b747acc27922a790f740c7e25ffa23939c35c91 (patch)
tree1c2147c39bf3fca5786cb4801bbdea57663265e8 /config.def.h
parent29fe863ea50740a191e8ccd9ddabcf4ea5199ac6 (diff)
downloadpacredir-8b747acc27922a790f740c7e25ffa23939c35c91.tar.gz
pacredir-8b747acc27922a790f740c7e25ffa23939c35c91.tar.zst
allow to specify uid and gid in config.h
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index fd31880..74b718d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -8,6 +8,10 @@
#ifndef _CONFIG_H
#define _CONFIG_H
+/* drop privileges by changing uid and gid to these */
+#define DROP_PRIV_UID 65534
+#define DROP_PRIV_GID 65534
+
/* website url */
#define WEBSITE "https://github.com/eworm-de/pacredir#pacredir"