Nikolas Zimmermann
b726f49d15
Turn polkit-agent support into an optional feature.
...
This simplifies deployment on embedded devices, where polkit is usually
unncessary at runtime, but pulls in quite a few otherwise unncessary
dependencies. Start to improve the situation by allowing to selectively
disable polkit-agent support at compile time, which aids in container
usage scenarios, where one wants to invoke 'sysprof-cli' from within
the container. Bypassing polkit-agent in the container is then desired,
since the host sysprofd will handle asking for permissions to enable
the tracing. It allows for a simpler setup of rootless podman
containers, avoiding UID mismatches, that lead to rejection of the
tracing enablement.
- Add a new 'polkit-agent' meson build feature, that allows to force disabling
polkit-agent support (-Dpolkit-agent=disabled).
- Mark the 'polkit-agent' feature as enabled, by default, to reflect
the current status (sysprof-cli did not build without polkit-agent support).
- libsysprof/sysprof-instrument.c: Build fix when polkit is not available,
remove the unnecessary 'g_autopr(PolkitDetails) details' variable.
- Alter the sysprof-cli dependencies to only attempt to link against
polkit-agent, if necessary. Modify sysprof-cli.c to wrap all code using
polkit-agent in HAVE_POLKIT_AGENT blocks.
2024-08-20 20:46:11 +02:00
..
2024-02-24 11:41:56 +00:00
2023-08-18 16:46:28 -07:00
2024-03-08 14:15:28 -08:00
2023-07-20 14:30:34 -07:00
2023-08-15 14:41:23 -07:00
2023-08-15 15:38:02 -07:00
2024-03-07 14:06:05 -08:00
2023-07-19 17:40:41 -07:00
2024-08-16 12:50:21 -07:00
2024-07-26 16:58:21 +05:30
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-08-25 11:37:17 -07:00
2023-07-19 17:40:41 -07:00
2023-08-29 11:26:41 -07:00
2023-07-20 16:04:42 -07:00
2023-08-25 17:41:34 -07:00
2023-07-19 17:40:41 -07:00
2023-07-25 20:32:21 -07:00
2023-07-19 17:40:41 -07:00
2024-08-16 12:50:21 -07:00
2023-08-29 11:26:41 -07:00
2023-07-20 15:31:50 -07:00
2023-07-21 11:55:46 -07:00
2023-07-20 16:36:29 -07:00
2023-08-25 17:41:34 -07:00
2023-07-20 17:31:15 -07:00
2023-07-19 17:40:41 -07:00
2023-08-15 14:41:23 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-27 14:25:06 -07:00
2023-07-27 12:22:31 -07:00
2023-07-19 17:40:41 -07:00
2023-08-28 13:34:11 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-08-14 21:48:51 -07:00
2023-08-14 21:48:51 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-23 18:16:59 -07:00
2023-07-19 17:40:41 -07:00
2024-08-16 12:37:53 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2024-02-24 11:41:56 +00:00
2023-08-01 11:20:24 -07:00
2023-08-01 11:20:24 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-28 11:59:32 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-27 12:22:31 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-08-28 13:34:11 -07:00
2023-09-01 14:14:25 -07:00
2023-09-01 14:14:25 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-08-16 15:43:49 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2024-08-16 12:39:41 -07:00
2023-08-29 09:51:24 -07:00
2023-08-16 15:43:49 -07:00
2024-03-18 22:18:52 +01:00
2023-07-19 17:40:41 -07:00
2023-08-31 13:25:59 -07:00
2023-08-16 15:43:49 -07:00
2024-02-08 14:47:44 -08:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-08-28 17:24:27 -07:00
2024-08-20 20:46:11 +02:00
2023-07-19 17:40:41 -07:00
2024-08-16 12:43:13 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2024-08-16 12:41:37 -07:00
2023-07-19 17:40:41 -07:00
2023-08-14 16:02:46 -07:00
2023-08-14 16:02:46 -07:00
2023-07-19 17:40:41 -07:00
2023-08-31 15:21:48 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2024-02-10 16:27:45 -08:00
2023-07-22 16:43:32 -07:00
2023-07-22 16:43:32 -07:00
2023-07-22 16:43:32 -07:00
2023-08-07 18:02:05 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2024-08-16 12:50:21 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-21 15:58:03 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-31 17:43:00 +03:00
2023-07-24 16:32:58 -07:00
2023-07-19 17:40:41 -07:00
2023-09-26 17:27:53 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-08-28 13:34:11 -07:00
2023-08-28 15:03:53 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-08-28 17:24:27 -07:00
2023-10-06 09:08:56 -07:00
2023-08-07 12:54:46 -07:00
2023-10-23 22:27:04 +00:00
2023-07-19 17:40:41 -07:00
2023-09-07 13:18:41 -07:00
2023-08-21 15:05:48 -07:00
2024-08-14 14:36:25 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-08-16 15:43:49 -07:00
2023-08-07 12:54:46 -07:00
2023-08-07 12:54:46 -07:00
2023-07-19 17:40:41 -07:00
2023-08-16 15:43:50 -07:00
2023-08-28 15:03:53 -07:00
2023-08-28 20:47:58 -07:00
2023-07-19 22:35:25 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 18:29:38 -07:00
2023-07-19 17:40:41 -07:00
2023-08-02 10:00:32 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2024-03-03 14:35:47 -08:00
2023-07-27 15:40:59 -07:00
2023-07-27 15:40:59 -07:00
2023-07-19 17:40:41 -07:00
2023-07-19 17:40:41 -07:00
2023-08-21 15:05:48 -07:00
2023-07-19 17:40:41 -07:00