Revert "core/namespace: ignore ENOENT for /proc/sys/kernel/domainname and hostname"

This reverts commit 0ebc9f23fa.

With the previous commit, these files should always exist.

Closes #17979.
This commit is contained in:
Yu Watanabe
2020-12-15 02:38:35 +09:00
parent ad74f28a13
commit c4837f4567
-2
View File
@@ -1692,12 +1692,10 @@ int setup_namespace(
*(m++) = (MountEntry) {
.path_const = "/proc/sys/kernel/hostname",
.mode = READONLY,
.ignore = true,
};
*(m++) = (MountEntry) {
.path_const = "/proc/sys/kernel/domainname",
.mode = READONLY,
.ignore = true,
};
}