sepolicy: Add deprecation comment for _get_path()

Came up in review
https://github.com/ostreedev/ostree/pull/2447#issuecomment-931428312
This commit is contained in:
Colin Walters 2021-09-30 11:38:10 -04:00
parent 1b9e3a9375
commit ddc0d54b78

View File

@ -499,7 +499,11 @@ ostree_sepolicy_new_at (int rootfs_dfd,
/**
* ostree_sepolicy_get_path:
* @self:
* @self: A SePolicy object
*
* This API should be considered deprecated, because it's supported for
* policy objects to be created from file-descriptor relative paths, which
* may not be globally accessible.
*
* Returns: (transfer none): Path to rootfs
*/