diff options
-rw-r--r-- | sway/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c index 6c71048b..b6f8a8bf 100644 --- a/sway/main.c +++ b/sway/main.c | |||
@@ -153,6 +153,9 @@ static void log_kernel(void) { | |||
153 | 153 | ||
154 | static bool drop_permissions(void) { | 154 | static bool drop_permissions(void) { |
155 | if (getuid() != geteuid() || getgid() != getegid()) { | 155 | if (getuid() != geteuid() || getgid() != getegid()) { |
156 | sway_log(SWAY_ERROR, "!!! DEPRECATION WARNING: " | ||
157 | "SUID privilege drop will be removed in a future release, please migrate to seatd-launch"); | ||
158 | |||
156 | // Set the gid and uid in the correct order. | 159 | // Set the gid and uid in the correct order. |
157 | if (setgid(getgid()) != 0) { | 160 | if (setgid(getgid()) != 0) { |
158 | sway_log(SWAY_ERROR, "Unable to drop root group, refusing to start"); | 161 | sway_log(SWAY_ERROR, "Unable to drop root group, refusing to start"); |