summaryrefslogtreecommitdiffstats
path: root/roots.h
diff options
context:
space:
mode:
Diffstat (limited to 'roots.h')
-rw-r--r--roots.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/roots.h b/roots.h
index addb142..2140363 100644
--- a/roots.h
+++ b/roots.h
@@ -30,6 +30,8 @@ Volume* volume_for_path(const char* path);
// success (volume is mounted).
int ensure_volume_mounted(Volume* v, bool force_rw=false);
int ensure_path_mounted(const char* path, bool force_rw=false);
+// Above, plus override SELinux default context
+int remount_for_wipe(const char* path);
// Similar to ensure_path_mounted, but allows one to specify the mount_point.
int ensure_path_mounted_at(const char* path, const char* mount_point, bool force_rw=false);