]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
nsenter: Fix AT_HANDLE_FID on musl
authorAleksi Hannula <ahannula4+nixgit@gmail.com>
Tue, 7 Apr 2026 11:52:16 +0000 (14:52 +0300)
committerAleksi Hannula <ahannula4+nixgit@gmail.com>
Wed, 8 Apr 2026 09:27:47 +0000 (12:27 +0300)
Signed-off-by: Aleksi Hannula <ahannula4+nixgit@gmail.com>
sys-utils/nsenter.c

index e10ba9cf90ab1950a7f486db12f477aa4a72bd52..98507958c0f19f96034546471d9ae7e3c4177713 100644 (file)
@@ -29,6 +29,9 @@
 #ifdef HAVE_LINUX_NSFS_H
 # include <linux/nsfs.h>
 #endif
+#ifndef AT_HANDLE_FID
+# define AT_HANDLE_FID 0x200
+#endif
 #ifndef NS_GET_USERNS
 # define NS_GET_USERNS           _IO(0xb7, 0x1)
 #endif