aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-02-21 05:18:42 -0500
committerLibravatar GitHub <noreply@github.com>2017-02-21 05:18:42 -0500
commitf68d2fb33c433d13def0921db561eb23d400683c (patch)
treecd8ec8565a63cd5b047e45b001debed16d6a2bdd /sway/main.c
parentMerge pull request #1075 from zandrmartin/floating-positioning (diff)
parentUpdate 00-defaults.in (diff)
downloadsway-f68d2fb33c433d13def0921db561eb23d400683c.tar.gz
sway-f68d2fb33c433d13def0921db561eb23d400683c.tar.zst
sway-f68d2fb33c433d13def0921db561eb23d400683c.zip
Merge pull request #1080 from SirCmpwn/ipc-security0.12-rc1
Revise IPC security configuration
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sway/main.c b/sway/main.c
index 1c4c56c0..0151e078 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -175,13 +175,6 @@ static void security_sanity_check() {
175 cap_free(cap); 175 cap_free(cap);
176 } 176 }
177#endif 177#endif
178 if (!stat(SYSCONFDIR "/sway", &s)) {
179 if (s.st_uid != 0 || s.st_gid != 0
180 || (s.st_mode & S_IWGRP) || (s.st_mode & S_IWOTH)) {
181 sway_log(L_ERROR,
182 "!! DANGER !! " SYSCONFDIR "/sway is not secure! It should be owned by root and set to 0755 at the minimum");
183 }
184 }
185} 178}
186 179
187int main(int argc, char **argv) { 180int main(int argc, char **argv) {