|
|
Message-ID: <20260408110652.922895-1-hi@alyssa.is>
Date: Wed, 8 Apr 2026 13:06:52 +0200
From: Alyssa Ross <hi@...ssa.is>
To: musl@...ts.openwall.com
Subject: [PATCH] fcntl.h: add AT_* flags for name_to_handle_at
AT_HANDLE_FID is now used by util-linux's nsenter program.
Glibc has made it available since 2.39.
---
include/fcntl.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/fcntl.h b/include/fcntl.h
index 53f98a8b..2fe97d84 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -173,6 +173,9 @@ struct f_owner_ex {
int type;
pid_t pid;
};
+#define AT_HANDLE_FID 0x200
+#define AT_HANDLE_MNT_ID_UNIQUE 0x001
+#define AT_HANDLE_CONNECTABLE 0x002
#define FALLOC_FL_KEEP_SIZE 1
#define FALLOC_FL_PUNCH_HOLE 2
#define MAX_HANDLE_SZ 128
base-commit: 67219f0130ec7c876ac0b299046460fad31caabf
--
2.53.0
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.