smack: introduce mac_smack_fix_at()

This commit is contained in:
Franck Bui
2018-07-30 15:54:03 +02:00
parent 4ad3684410
commit 2c3d5adde0
2 changed files with 62 additions and 30 deletions
+1
View File
@@ -30,6 +30,7 @@ typedef enum SmackAttr {
bool mac_smack_use(void);
int mac_smack_fix(const char *path, LabelFixFlags flags);
int mac_smack_fix_at(int dirfd, const char *path, LabelFixFlags flags);
const char* smack_attr_to_string(SmackAttr i) _const_;
SmackAttr smack_attr_from_string(const char *s) _pure_;