summaryrefslogtreecommitdiff
path: root/test
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 /test
parentd51b1d3cb936c8390a34ed87d81303efbb7df533 (diff)
mac: rename apis with mac_{selinux/smack}_ prefix
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'test')
-rw-r--r--test/test-udev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-udev.c b/test/test-udev.c
index 446849e4b0..d07962c285 100644
--- a/test/test-udev.c
+++ b/test/test-udev.c
@@ -110,7 +110,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE;
log_debug("version %s", VERSION);
- label_init("/dev");
+ mac_selinux_init("/dev");
sigprocmask(SIG_SETMASK, NULL, &sigmask_orig);
@@ -169,7 +169,7 @@ int main(int argc, char *argv[]) {
out:
if (event != NULL && event->fd_signal >= 0)
close(event->fd_signal);
- label_finish();
+ mac_selinux_finish();
return err ? EXIT_FAILURE : EXIT_SUCCESS;
}