libsysprof-analyze: implement key/value superblock option API

This currently gets used in libsysprof to try to cross mount namespaces to
somewhere we can access a binary on the same subvolume.
This commit is contained in:
Christian Hergert
2023-05-11 15:21:36 -07:00
parent 35f87b6121
commit ff1b4d00bd
3 changed files with 38 additions and 2 deletions

View File

@ -50,7 +50,7 @@ const char *sysprof_mount_get_filesystem_type (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_mount_get_superblock_options (SysprofMount *self);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_mount_get_superblock_option (SysprofMount *self,
char *sysprof_mount_get_superblock_option (SysprofMount *self,
const char *option);
G_END_DECLS