summaryrefslogtreecommitdiff
path: root/src/basic/util.h
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-08-04 14:27:09 +0200
committerDaniel Mack <github@zonque.org>2015-08-04 14:27:09 +0200
commitee80b4b2977186883aab6b90adcb87c7a4b24ea3 (patch)
treefc00d0ef4918737450f6872cd9b547db27bd1804 /src/basic/util.h
parent5977db2a3acd86214ad214fe692fd354f46c5955 (diff)
parente419a0e31089994ecd1d9019c791e63d13b37584 (diff)
Merge pull request #860 from walyong/smack_v11
Smack v11: set only the default smack process label if the command path has no execute label
Diffstat (limited to 'src/basic/util.h')
-rw-r--r--src/basic/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/util.h b/src/basic/util.h
index 88c44273d4..0a0fba9012 100644
--- a/src/basic/util.h
+++ b/src/basic/util.h
@@ -919,3 +919,6 @@ int parse_mode(const char *s, mode_t *ret);
int mount_move_root(const char *path);
int reset_uid_gid(void);
+
+int getxattr_malloc(const char *path, const char *name, char **value, bool allow_symlink);
+int fgetxattr_malloc(int fd, const char *name, char **value);