public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Andreas Gruenbacher <agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	"J. Bruce Fields"
	<bfields-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] getxattr.2, listxattr.2: Document E2BIG errors
Date: Fri, 24 Feb 2017 05:25:58 +0100	[thread overview]
Message-ID: <b151ed7f-3c5a-659a-bde6-e8ffd5284044@gmail.com> (raw)
In-Reply-To: <1487887001-11203-1-git-send-email-agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

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

  parent reply	other threads:[~2017-02-24  4:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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) [this message]
2017-02-24 15:08   ` J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b151ed7f-3c5a-659a-bde6-e8ffd5284044@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=agruenba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=bfields-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox