mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
helpers: do not allow interactive authorization
We want to use the authorize_async() flow up front to authorize the connection, and then make all other API fail immediately to reduce the chance that we block the peers.
This commit is contained in:
@ -469,7 +469,7 @@ sysprof_helpers_perf_event_open (SysprofHelpers *self,
|
|||||||
cpu,
|
cpu,
|
||||||
handle,
|
handle,
|
||||||
flags),
|
flags),
|
||||||
G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION,
|
G_DBUS_CALL_FLAGS_NO_AUTO_START,
|
||||||
-1,
|
-1,
|
||||||
fd_list,
|
fd_list,
|
||||||
&out_fd_list,
|
&out_fd_list,
|
||||||
|
|||||||
Reference in New Issue
Block a user