Set the default domainname as `(none)`

This commit is contained in:
jiangjianfeng 2025-09-19 03:43:13 +00:00 committed by Tate, Hongliang Tian
parent 882dea6125
commit 6c544053af
2 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,8 @@ impl UtsNamespace {
release: padded(b"5.13.0"),
version: padded(b"5.13.0"),
machine: padded(b"x86_64"),
domainname: padded(b""),
// Reference: <https://elixir.bootlin.com/linux/v6.16/source/include/linux/uts.h#L17>.
domainname: padded(b"(none)"),
};
let owner = UserNamespace::get_init_singleton().clone();

View File

@ -70,6 +70,7 @@ TESTS ?= \
timerfd_test \
timers_test \
truncate_test \
uname_test \
uidgid_test \
unlink_test \
utimes_test \