summaryrefslogtreecommitdiffstats
path: root/updater/updater.h
diff options
context:
space:
mode:
authorKenny Root <kroot@android.com>2012-03-31 00:18:10 +0200
committerandroid code review <noreply-gerritcodereview@google.com>2012-03-31 00:18:11 +0200
commit155cd3c155004433215147437cdf71844c9efd87 (patch)
tree46aacb687e7126a5a64949dd7ade2f284ee57c15 /updater/updater.h
parentReconcile with ics-mr1-release (diff)
parentExtend recovery and updater to support setting file security contexts. (diff)
downloadandroid_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar
android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.gz
android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.bz2
android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.lz
android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.xz
android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.zst
android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.zip
Diffstat (limited to 'updater/updater.h')
-rw-r--r--updater/updater.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/updater/updater.h b/updater/updater.h
index bd60dc1fd..a00872ca4 100644
--- a/updater/updater.h
+++ b/updater/updater.h
@@ -20,10 +20,19 @@
#include <stdio.h>
#include "minzip/Zip.h"
+#ifdef HAVE_SELINUX
+#include <selinux/selinux.h>
+#include <selinux/label.h>
+#else
+struct selabel_handle;
+#endif
+
typedef struct {
FILE* cmd_pipe;
ZipArchive* package_zip;
int version;
} UpdaterInfo;
+extern struct selabel_handle *sehandle;
+
#endif