From 45453b73e5b8996c8ed87d4a6887fc2ad0ab949a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 18 Mar 2024 20:38:19 -0400 Subject: [PATCH] sepolicy: Add missing `(nullable)` This can return NULL if there's no real policy. Now obviously we need to update the Rust bindings too but... I am having trouble doing that, we're pretty out of date with upstream. --- src/libostree/ostree-sepolicy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-sepolicy.c b/src/libostree/ostree-sepolicy.c index 54be6f59ad..2e6ec00e2a 100644 --- a/src/libostree/ostree-sepolicy.c +++ b/src/libostree/ostree-sepolicy.c @@ -497,7 +497,7 @@ ostree_sepolicy_get_path (OstreeSePolicy *self) * ostree_sepolicy_get_name: * @self: * - * Returns: (transfer none): Type of current policy + * Returns: (transfer none) (nullable): Type of current policy */ const char * ostree_sepolicy_get_name (OstreeSePolicy *self)