aboutsummaryrefslogtreecommitdiffstats
path: root/updater/install.c
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2012-10-16 10:47:27 -0700
committerKenny Root <kroot@google.com>2012-10-16 12:57:26 -0700
commit7eb7567aa3faebfb22bd052f3505d485ee23d585 (patch)
tree0462d8372a28cd14dc5a2389b25500687e7950c9 /updater/install.c
parentbddbb5b370d925d6e5ae62d560f5e7ad09a6ffac (diff)
downloadbootable_recovery-7eb7567aa3faebfb22bd052f3505d485ee23d585.zip
bootable_recovery-7eb7567aa3faebfb22bd052f3505d485ee23d585.tar.gz
bootable_recovery-7eb7567aa3faebfb22bd052f3505d485ee23d585.tar.bz2
Remove HAVE_SELINUX guards
Change-Id: Ia96201f20f7838d7d9e8926208977d3f8318ced4
Diffstat (limited to 'updater/install.c')
-rw-r--r--updater/install.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/updater/install.c b/updater/install.c
index f981017..9ace125 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -78,23 +78,19 @@ Value* MountFn(const char* name, State* state, int argc, Expr* argv[]) {
goto done;
}
-#ifdef HAVE_SELINUX
char *secontext = NULL;
if (sehandle) {
selabel_lookup(sehandle, &secontext, mount_point, 0755);
setfscreatecon(secontext);
}
-#endif
mkdir(mount_point, 0755);
-#ifdef HAVE_SELINUX
if (secontext) {
freecon(secontext);
setfscreatecon(NULL);
}
-#endif
if (strcmp(partition_type, "MTD") == 0) {
mtd_scan_partitions();