xattr: make xattr_name_fcaps public

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-04-24 11:28:03 +02:00
parent 386990ba09
commit 1e3d9b103d

View File

@ -8,11 +8,11 @@ use nix::errno::Errno;
use proxmox::c_str;
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.
#[inline]
fn xattr_name_fcaps() -> &'static CStr {
pub fn xattr_name_fcaps() -> &'static CStr {
c_str!("security.capability")
}