xattr: make xattr_name_fcaps public
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
386990ba09
commit
1e3d9b103d
|
@ -8,11 +8,11 @@ use nix::errno::Errno;
|
||||||
use proxmox::c_str;
|
use proxmox::c_str;
|
||||||
use proxmox::tools::vec;
|
use proxmox::tools::vec;
|
||||||
|
|
||||||
/// `"security.capability"` as a CStr to typos.
|
/// `"security.capability"` as a CStr to avoid typos.
|
||||||
///
|
///
|
||||||
/// This cannot be `const` until `const_cstr_unchecked` is stable.
|
/// This cannot be `const` until `const_cstr_unchecked` is stable.
|
||||||
#[inline]
|
#[inline]
|
||||||
fn xattr_name_fcaps() -> &'static CStr {
|
pub fn xattr_name_fcaps() -> &'static CStr {
|
||||||
c_str!("security.capability")
|
c_str!("security.capability")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue