mirror of
https://github.com/brl/mutter.git
synced 2025-08-10 10:24:47 +00:00
[NOT FOR REVIEW] [SECURITY BUG] Allow spawning anything with mutter-launch
This commit is contained in:
@@ -637,7 +637,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (strcmp (argv[optind], "mutter") &&
|
if (strcmp (argv[optind], "mutter") &&
|
||||||
strcmp (argv[optind], "gnome-shell") &&
|
strcmp (argv[optind], "gnome-shell") &&
|
||||||
strcmp (argv[optind], "gnome-shell-real"))
|
strcmp (argv[optind], "gnome-shell-real") && 0)
|
||||||
error(1, 0, "mutter-launch can only be used to launch mutter or gnome-shell");
|
error(1, 0, "mutter-launch can only be used to launch mutter or gnome-shell");
|
||||||
|
|
||||||
if (wl.new_user)
|
if (wl.new_user)
|
||||||
|
Reference in New Issue
Block a user