libweston: Allow taking screenshots when debug protocol is enabled
Screenshots of the outputs can only be taken by having a keyboard plug-ed in, as to avoid potential malicious intent. On the other hand, this is problematic as there are cases where a keyboard cannot be used as a input device. A particular use-case is that for multiple devices it can be cumbersome to connect a keyboard such that using ssh can be much easier and can be further automated. This patch allows taking screenshots without the need of having a keyboard connected when debug protocol is enabled. Add also a few words about the fact that this is a serious issue and can lead to silently leaking the output contents. Signed-off-by: Marius Vlad <marius.vlad0@gmail.com>
This commit is contained in:
+5
-2
@@ -141,8 +141,11 @@ which any client can use to receive debugging messages from the compositor.
|
||||
.B WARNING:
|
||||
This is risky for two reasons. First, a client may cause a denial-of-service
|
||||
blocking the compositor by providing an unsuitable file descriptor, and
|
||||
second, the debug messages may expose sensitive information. This option
|
||||
should not be used in production.
|
||||
second, the debug messages may expose sensitive information.
|
||||
Additionally this will expose weston-screenshooter interface allowing the user
|
||||
to take screenshots of the outputs using weston-screenshooter application,
|
||||
which can lead to silently leaking the output contents. This option should
|
||||
not be used in production.
|
||||
.TP
|
||||
.BR \-\-version
|
||||
Print the program version.
|
||||
|
||||
Reference in New Issue
Block a user