mirror of
https://github.com/Ascend/ascend-docker-runtime.git
synced 2025-10-10 18:30:17 +08:00
Match-id-fc5f021b8d5e66171f75e7d31d840d5e48ed3de4
This commit is contained in:
@@ -112,7 +112,7 @@ int EnterNsByPath(const char *path, int nsType)
|
||||
|
||||
static int Mount(const char *src, const char *dst)
|
||||
{
|
||||
static const unsigned long remountFlags = MS_BIND | MS_REMOUNT | MS_RDONLY | MS_NOSUID | MS_NOEXEC;
|
||||
static const unsigned long remountFlags = MS_BIND | MS_REMOUNT | MS_RDONLY | MS_NOSUID;
|
||||
int ret;
|
||||
|
||||
ret = mount(src, dst, NULL, MS_BIND, NULL);
|
||||
|
Reference in New Issue
Block a user