* [PATCH] getxattr.2, listxattr.2: Document E2BIG errors
@ 2017-02-23 21:56 Andreas Gruenbacher
[not found] ` <1487887001-11203-1-git-send-email-agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Gruenbacher @ 2017-02-23 21:56 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: Andreas Gruenbacher, linux-man-u79uwXL29TY76Z2rM5mHXA,
J. Bruce Fields
Signed-off-by: Andreas Gruenbacher <agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
man2/getxattr.2 | 5 +++++
man2/listxattr.2 | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/man2/getxattr.2 b/man2/getxattr.2
index c06c92f..83945fe 100644
--- a/man2/getxattr.2
+++ b/man2/getxattr.2
@@ -127,6 +127,11 @@ The
of the
.I value
buffer is too small to hold the result.
+.TP
+.B E2BIG
+The size of the attribute value is larger than the maximum size allowed; the
+attribute cannot be retrieved. This can happen on filesystems that support
+very large attribute values such as NFSv4, for example.
.PP
In addition, the errors documented in
.BR stat (2)
diff --git a/man2/listxattr.2 b/man2/listxattr.2
index 9c14679..e923af4 100644
--- a/man2/listxattr.2
+++ b/man2/listxattr.2
@@ -149,6 +149,12 @@ The
of the
.I list
buffer is too small to hold the result.
+.TP
+.B E2BIG
+The size of the list of extended attribute names is larger than the maximum
+size allowed; the list cannot be retrieved. This can happen on filesystems that
+support an unlimited number of extended attributes per file such as XFS, for
+example.
.PP
In addition, the errors documented in
.BR stat (2)
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] getxattr.2, listxattr.2: Document E2BIG errors
[not found] ` <1487887001-11203-1-git-send-email-agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2017-02-24 4:25 ` Michael Kerrisk (man-pages)
2017-02-24 15:08 ` J. Bruce Fields
1 sibling, 0 replies; 3+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-02-24 4:25 UTC (permalink / raw)
To: Andreas Gruenbacher
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA, J. Bruce Fields
On 02/23/2017 10:56 PM, Andreas Gruenbacher wrote:
> Signed-off-by: Andreas Gruenbacher <agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Thanks, Andreas! Applied.
Cheers,
Michael
> ---
> man2/getxattr.2 | 5 +++++
> man2/listxattr.2 | 6 ++++++
> 2 files changed, 11 insertions(+)
>
> diff --git a/man2/getxattr.2 b/man2/getxattr.2
> index c06c92f..83945fe 100644
> --- a/man2/getxattr.2
> +++ b/man2/getxattr.2
> @@ -127,6 +127,11 @@ The
> of the
> .I value
> buffer is too small to hold the result.
> +.TP
> +.B E2BIG
> +The size of the attribute value is larger than the maximum size allowed; the
> +attribute cannot be retrieved. This can happen on filesystems that support
> +very large attribute values such as NFSv4, for example.
> .PP
> In addition, the errors documented in
> .BR stat (2)
> diff --git a/man2/listxattr.2 b/man2/listxattr.2
> index 9c14679..e923af4 100644
> --- a/man2/listxattr.2
> +++ b/man2/listxattr.2
> @@ -149,6 +149,12 @@ The
> of the
> .I list
> buffer is too small to hold the result.
> +.TP
> +.B E2BIG
> +The size of the list of extended attribute names is larger than the maximum
> +size allowed; the list cannot be retrieved. This can happen on filesystems that
> +support an unlimited number of extended attributes per file such as XFS, for
> +example.
> .PP
> In addition, the errors documented in
> .BR stat (2)
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] getxattr.2, listxattr.2: Document E2BIG errors
[not found] ` <1487887001-11203-1-git-send-email-agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-02-24 4:25 ` Michael Kerrisk (man-pages)
@ 2017-02-24 15:08 ` J. Bruce Fields
1 sibling, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2017-02-24 15:08 UTC (permalink / raw)
To: Andreas Gruenbacher
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA
Looks good, thanks!--b.
On Thu, Feb 23, 2017 at 10:56:41PM +0100, Andreas Gruenbacher wrote:
> Signed-off-by: Andreas Gruenbacher <agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
> man2/getxattr.2 | 5 +++++
> man2/listxattr.2 | 6 ++++++
> 2 files changed, 11 insertions(+)
>
> diff --git a/man2/getxattr.2 b/man2/getxattr.2
> index c06c92f..83945fe 100644
> --- a/man2/getxattr.2
> +++ b/man2/getxattr.2
> @@ -127,6 +127,11 @@ The
> of the
> .I value
> buffer is too small to hold the result.
> +.TP
> +.B E2BIG
> +The size of the attribute value is larger than the maximum size allowed; the
> +attribute cannot be retrieved. This can happen on filesystems that support
> +very large attribute values such as NFSv4, for example.
> .PP
> In addition, the errors documented in
> .BR stat (2)
> diff --git a/man2/listxattr.2 b/man2/listxattr.2
> index 9c14679..e923af4 100644
> --- a/man2/listxattr.2
> +++ b/man2/listxattr.2
> @@ -149,6 +149,12 @@ The
> of the
> .I list
> buffer is too small to hold the result.
> +.TP
> +.B E2BIG
> +The size of the list of extended attribute names is larger than the maximum
> +size allowed; the list cannot be retrieved. This can happen on filesystems that
> +support an unlimited number of extended attributes per file such as XFS, for
> +example.
> .PP
> In addition, the errors documented in
> .BR stat (2)
> --
> 2.7.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-24 15:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23 21:56 [PATCH] getxattr.2, listxattr.2: Document E2BIG errors Andreas Gruenbacher
[not found] ` <1487887001-11203-1-git-send-email-agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-02-24 4:25 ` Michael Kerrisk (man-pages)
2017-02-24 15:08 ` J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox