mirror of
https://github.com/brl/mutter.git
synced 2024-12-01 04:10:43 -05:00
[NOT FOR REVIEW] [SECURITY BUG] Allow spawning anything with mutter-launch
This commit is contained in:
parent
e9434732d4
commit
a8425496ad
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user