Thread (2 messages) 2 messages, 2 authors, 2025-01-23

[PATCH] man/man2/mkdir.2: Add EOVERFLOW

From: Chen Linxuan <hidden>
Date: 2025-01-22 09:25:04
Subsystem: the rest · Maintainer: Linus Torvalds

`mkdir` and `mkdirat` might set errno to EOVERFLOW when UID or GID
mapping has not been configured. See
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=036d523641c66bef713042894a17f4335f199e49

Signed-off-by: Chen Linxuan <redacted>
---
 man/man2/mkdir.2 | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/man/man2/mkdir.2 b/man/man2/mkdir.2
index d84dbc27e..2af618d68 100644
--- a/man/man2/mkdir.2
+++ b/man/man2/mkdir.2
@@ -203,6 +203,10 @@ does not support the creation of directories.
 .B EROFS
 .I pathname
 refers to a file on a read-only filesystem.
+.B EOVERFLOW
+UID or GID mappings (see
+.BR user_namespaces (7))
+has not been configured.
 .SH VERSIONS
 Under Linux, apart from the permission bits, the
 .B S_ISVTX
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help