Skip to contentSkip to conversation

utime.2: ERRORS: add EFAULT

PATCH Superseded Ma Xinjian 2 participants 2 messages Jul 3, 2024 – Jul 9, 2024 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Ma Xinjian

author
#0 lore raw

PATCH 1/1 utime.2: ERRORS: add EFAULT

---
 man/man2/utime.2 | 5 +++++
 1 file changed, 5 insertions(+)
man/man2/utime.2 +5 -0
index f4858d3e3..253f1fd3a 100644
@@ -7,6 +7,7 @@
 .\" Modified 1995-06-10 by Andries Brouwer <[email protected]>
 .\" Modified 2004-06-23 by Michael Kerrisk <[email protected]>
 .\" Modified 2004-10-10 by Andries Brouwer <[email protected]>
+.\" Modified 2024-07-03 by Ma Xinjian <[email protected]>
 .\"
 .TH utime 2 (date) "Linux man-pages (unreleased)"
 .SH NAME
@@ -132,6 +133,10 @@ or the
 .B CAP_FOWNER
 capability).
 .TP
+.B EFAULT
+.I filename
+points outside the process's address space.
+.TP
 .B ENOENT
 .I filename
 does not exist.
Signature · 1 line
2.18.1
#1 lore raw

Hi Ma,

Quoted 10 lines · Ma Xinjian
---
 man/man2/utime.2 | 5 +++++
 1 file changed, 5 insertions(+)
man/man2/utime.2 +0 -0
index f4858d3e3..253f1fd3a 100644

man/man2/utime.2 line 10

Quoted 4 lines
man/man2/utime.2 +1 -0
@@ -7,6 +7,7 @@
 .\" Modified 1995-06-10 by Andries Brouwer <[email protected]>
 .\" Modified 2004-06-23 by Michael Kerrisk <[email protected]>
 .\" Modified 2004-10-10 by Andries Brouwer <[email protected]>
+.\" Modified 2024-07-03 by Ma Xinjian <[email protected]>

We don't write those comments anymore. We have git for that. Only copyright lines are still used.

man/man2/utime.2 or the · line 138

Quoted 10 lines
man/man2/utime.2 +3 -0
 .\"
 .TH utime 2 (date) "Linux man-pages (unreleased)"
 .SH NAME
@@ -132,6 +133,10 @@ or the
 .B CAP_FOWNER
 capability).
 .TP
+.B EFAULT
+.I filename
+points outside the process's address space.

I'd say just "Bad address.", which is what errno EFAULT says. The user shouldn't care much more than that.

Have a lovely day!
Alex

Quoted 8 lines
man/man2/utime.2 +1 -0
+.TP
 .B ENOENT
 .I filename
 does not exist.
Signature · 1 line
2.18.1
Signature · 1 line
<https://www.alejandro-colomar.es/>