]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (test_sysinfo) add a helper to detect NS_GET_USERNS
authorMasatake YAMATO <yamato@redhat.com>
Fri, 20 Sep 2024 20:10:38 +0000 (05:10 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Tue, 1 Oct 2024 17:43:12 +0000 (02:43 +0900)
commit45b5ad380df387fa303c7ca08b73f6e42b2393cd
tree67f18dfd39a24a3e78a2249431fc7571cd8fbcfa
parent02d9903ed68919bf2a511d7ed795ddbf1390a41f
tests: (test_sysinfo) add a helper to detect NS_GET_USERNS

This can be used to detect qemu-user returning ENOSYS for invalid ioctl
numbers.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_sysinfo.c