aboutsummaryrefslogtreecommitdiffstats
path: root/asroot.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-06-23 21:40:08 +0200
committerMattias Andrée <maandree@kth.se>2023-06-23 21:40:08 +0200
commit662ffd80b889893e6fed8d750a66fd2d895c2e20 (patch)
treee53269ae00a59bdcb3036d9a9a4012644e6e039e /asroot.c
parentFix typos (diff)
downloadasroot-662ffd80b889893e6fed8d750a66fd2d895c2e20.tar.gz
asroot-662ffd80b889893e6fed8d750a66fd2d895c2e20.tar.bz2
asroot-662ffd80b889893e6fed8d750a66fd2d895c2e20.tar.xz
Add comment to keep env whitelist in sync with key2root
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--asroot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/asroot.c b/asroot.c
index df6f339..ff5dfdd 100644
--- a/asroot.c
+++ b/asroot.c
@@ -31,6 +31,7 @@
char *argv0;
+/* Keep list in sync with key2root(8)'s list */
static const char *env_whitelist[] = {
"DISPLAY=",
"WAYLAND_DISPLAY=",