From 1e3d9b103d1b7c19152c0de9d2c7f9f4150a75cf Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 24 Apr 2020 11:28:03 +0200 Subject: [PATCH] xattr: make xattr_name_fcaps public Signed-off-by: Wolfgang Bumiller --- src/tools/xattr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/xattr.rs b/src/tools/xattr.rs index 19d92af5..1450d0c3 100644 --- a/src/tools/xattr.rs +++ b/src/tools/xattr.rs @@ -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") }