summaryrefslogtreecommitdiff
path: root/src/common/include/mount-namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/include/mount-namespace.h')
-rw-r--r--src/common/include/mount-namespace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/include/mount-namespace.h b/src/common/include/mount-namespace.h
index 17a7eb51..8147d2f4 100644
--- a/src/common/include/mount-namespace.h
+++ b/src/common/include/mount-namespace.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2020 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2017-2022 Samsung Electronics Co., Ltd. All rights reserved.
*
* This file is licensed under the terms of MIT License or the Apache License
* Version 2.0 of your choice. See the LICENSE.MIT file for MIT license details.
@@ -63,6 +63,7 @@ int makeMountSlave(const Path &mountPoint);
int makeMountPrivate(const Path &mountPoint);
int bindMountRW(const Path &source, const Path &target);
int bindMountRO(const Path &source, const Path &target);
+int bindMountROIfExists(const Path &source, const Path &target);
int uMount(const Path &target);
bool isPathBound(const Path &what, const Path &where);