Skip to content
Commit 907a444c authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov
Browse files

zdtm: use syscalls to set hostname and domaninname



We don't have enough permissions to set sysctl-s from userns, while
system calls are ns_capable()-protected in the kernel and thus work
in user-namespaces.

Signed-off-by: default avatarAndrew Vagin <avagin@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 3ec9e128
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment