summaryrefslogtreecommitdiff
path: root/src/shared/smack-util.h
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2014-10-25 13:53:41 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-10-25 13:53:41 -0400
commit596470312abfa98f0b1a91ecd86effa7eae936af (patch)
tree1e14743a756d3a9a75258c328b26c36668982c93 /src/shared/smack-util.h
parentd51b1d3cb936c8390a34ed87d81303efbb7df533 (diff)
mac: rename apis with mac_{selinux/smack}_ prefix
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/smack-util.h')
-rw-r--r--src/shared/smack-util.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/smack-util.h b/src/shared/smack-util.h
index 5b3d9a27a7..0ccb1fb87c 100644
--- a/src/shared/smack-util.h
+++ b/src/shared/smack-util.h
@@ -28,8 +28,8 @@
bool use_smack(void);
-int smack_label_path(const char *path, const char *label);
-int smack_label_fd(int fd, const char *label);
-int smack_label_ip_in_fd(int fd, const char *label);
-int smack_label_ip_out_fd(int fd, const char *label);
-int smack_relabel_in_dev(const char *path);
+int mac_smack_set_path(const char *path, const char *label);
+int mac_smack_set_fd(int fd, const char *label);
+int mac_smack_set_ip_in_fd(int fd, const char *label);
+int mac_smack_set_ip_out_fd(int fd, const char *label);
+int mac_smack_relabel_in_dev(const char *path);