Skip to content

Commit

Permalink
sepolicy: Add missing (nullable)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cgwalters committed Mar 19, 2024
1 parent 7fdc792 commit 45453b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libostree/ostree-sepolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 45453b7

Please sign in to comment.