Merge "Cleanup and renaming of vibrator HAL sepolicy"
diff --git a/public/racoon.te b/public/racoon.te
index c99740f..3255b9e 100644
--- a/public/racoon.te
+++ b/public/racoon.te
@@ -1,10 +1,11 @@
# IKE key management daemon
-type racoon, domain, domain_deprecated;
+type racoon, domain;
type racoon_exec, exec_type, file_type;
typeattribute racoon mlstrustedsubject;
net_domain(racoon)
+allowxperm racoon self:udp_socket ioctl { SIOCSIFFLAGS SIOCSIFADDR };
binder_use(racoon)
diff --git a/tools/check_seapp.c b/tools/check_seapp.c
index 927d4fd..d8fa636 100644
--- a/tools/check_seapp.c
+++ b/tools/check_seapp.c
@@ -897,8 +897,7 @@
}
if (sepol_policydb_read(pol.db, pol.pf) < 0) {
- log_error("Could not lod policy file to db: %s!\n",
- strerror(errno));
+ log_error("Could not load policy file to db: invalid input file!\n");
exit(EXIT_FAILURE);
}
}