lsns: report with warnx if a namespace related ioctl fails with ENOSYS
authorMasatake YAMATO <yamato@redhat.com>
Sun, 14 Apr 2024 16:44:38 +0000 (01:44 +0900)
committerChris Hofstaedtler <zeha@debian.org>
Sat, 27 Apr 2024 12:23:31 +0000 (14:23 +0200)
commitead6f38155f0fbb92559ae3a9de315a800f459e5
tree0c2b52a8fccc3bd9b0493df291521d34adba796a
parent97a5c13fd12c58e93eba77d50cb4a39df0e43fd2
lsns: report with warnx if a namespace related ioctl fails with ENOSYS

Qemu userspace emulation reports ENOSYS if it doesn't support a given
ioctl command.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
(cherry picked from commit 0a7a8fbc7a82dfbd9e925d1b4d4936bf4e011bc1)

Gbp-Pq: Topic upstream
Gbp-Pq: Name lsns-report-with-warnx-if-a-namespace-related-ioctl-fails.patch
sys-utils/lsns.c