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:
1 parent
1b9e3a9375
commit
ddc0d54b78
1 file changed
+5
-1
@@ -499,7 +499,11 @@ ostree_sepolicy_new_at (int rootfs_dfd,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* ostree_sepolicy_get_path:
|
* 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
|
* Returns: (transfer none): Path to rootfs
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in new issue
Block a user