linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* statfs.2: f_spare[4]  or f_spare[5]
@ 2014-10-31 21:26 Jan Chaloupka
       [not found] ` <5453FE6F.3010501-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Jan Chaloupka @ 2014-10-31 21:26 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> Michael Kerrisk (man-pages)
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello,

there is probably a wrong number in description of statfs structure. In 
description section, struct statfs contains as a last field f_spare[5]. 
But the /usr/include/bits/statfs.h itself contains f_spare[4] 
(glibc-headers-2.18 on f20).

Looking into glibc-2.20, there is f_spare[6]. Looks like the structure 
is gradually evolving :).

Inspecting upstream history (gitk statfs.h), it shows it was f_spare[6] 
since 1997.

Regards
Jan

--
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] 10+ messages in thread

* Re: statfs.2: f_spare[4]  or f_spare[5]
       [not found] ` <5453FE6F.3010501-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2014-10-31 21:44   ` Jan Chaloupka
       [not found]     ` <545402A1.30404-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  2014-11-01  3:56   ` Mike Frysinger
  1 sibling, 1 reply; 10+ messages in thread
From: Jan Chaloupka @ 2014-10-31 21:44 UTC (permalink / raw)
  To: siddhesh-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org >> Siddhesh Poyarekar
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> Michael Kerrisk (man-pages),
	linux-man-u79uwXL29TY76Z2rM5mHXA

Hello Siddhesh,

can you help me with this? I have problems finding out why the statfs.h 
tarball of glibc contains f_spare[6], but the resulting build contains 
f_spare[4]? There is no patch that changes the 6 to 4. Looking into spec 
file, I am lost.

Thanks
Jan

On 10/31/2014 10:26 PM, Jan Chaloupka wrote:
> Hello,
>
> there is probably a wrong number in description of statfs structure. 
> In description section, struct statfs contains as a last field 
> f_spare[5]. But the /usr/include/bits/statfs.h itself contains 
> f_spare[4] (glibc-headers-2.18 on f20).
>
> Looking into glibc-2.20, there is f_spare[6]. Looks like the structure 
> is gradually evolving :).
>
> Inspecting upstream history (gitk statfs.h), it shows it was 
> f_spare[6] since 1997.
>
> Regards
> Jan
>
> -- 
> 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

-- 
Jan Chaloupka
------------------------------
* Software Engineer          *
* ENG Base Operating Systems *
* Red Hat Czech, s. r. o.    *
* UTC+1 (CET), jchaloup      *

--
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] 10+ messages in thread

* Re: statfs.2: f_spare[4]  or f_spare[5]
       [not found]     ` <545402A1.30404-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2014-11-01  2:40       ` Siddhesh Poyarekar
  0 siblings, 0 replies; 10+ messages in thread
From: Siddhesh Poyarekar @ 2014-11-01  2:40 UTC (permalink / raw)
  To: Jan Chaloupka
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> Michael Kerrisk (man-pages),
	linux-man-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

On Fri, Oct 31, 2014 at 10:44:01PM +0100, Jan Chaloupka wrote:
> can you help me with this? I have problems finding out why the statfs.h
> tarball of glibc contains f_spare[6], but the resulting build contains
> f_spare[4]? There is no patch that changes the 6 to 4. Looking into spec
> file, I am lost.

There are different versions of statfs.h for each architecture or OS.
The generic bits/statfs.h in the sources has f_spare[6], but the file
that gets installed (and used during glibc build) on linux based x86
systems is sysdeps/unix/sysv/linux/bits/statfs.h.

Siddhesh

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: statfs.2: f_spare[4]  or f_spare[5]
       [not found] ` <5453FE6F.3010501-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  2014-10-31 21:44   ` Jan Chaloupka
@ 2014-11-01  3:56   ` Mike Frysinger
       [not found]     ` <20141101035621.GH26840-eAEk4k+vi/E8xmjh+jFwDmGXanvQGlWp@public.gmane.org>
  1 sibling, 1 reply; 10+ messages in thread
From: Mike Frysinger @ 2014-11-01  3:56 UTC (permalink / raw)
  To: Jan Chaloupka
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

On 31 Oct 2014 22:26, Jan Chaloupka wrote:
> there is probably a wrong number in description of statfs structure. In 
> description section, struct statfs contains as a last field f_spare[5]. 
> But the /usr/include/bits/statfs.h itself contains f_spare[4] 
> (glibc-headers-2.18 on f20).
> 
> Looking into glibc-2.20, there is f_spare[6]. Looks like the structure 
> is gradually evolving :).
> 
> Inspecting upstream history (gitk statfs.h), it shows it was f_spare[6] 
> since 1997.

i wonder if we should strip f_spare from the man page.  it's not really useful.

the __SWORD_TYPE should probably be replaced with __fsword_t, and drop the 
__WORDSIZE logic.  that gets ugly with syscall ABIs.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: statfs.2: f_spare[4]  or f_spare[5]
       [not found]     ` <20141101035621.GH26840-eAEk4k+vi/E8xmjh+jFwDmGXanvQGlWp@public.gmane.org>
@ 2014-11-01 12:00       ` Jan Chaloupka
       [not found]         ` <5454CB4C.6000805-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Jan Chaloupka @ 2014-11-01 12:00 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA
  Cc: Siddhesh Poyarekar

On 11/01/2014 04:56 AM, Mike Frysinger wrote:
> On 31 Oct 2014 22:26, Jan Chaloupka wrote:
>> there is probably a wrong number in description of statfs structure. In
>> description section, struct statfs contains as a last field f_spare[5].
>> But the /usr/include/bits/statfs.h itself contains f_spare[4]
>> (glibc-headers-2.18 on f20).
>>
>> Looking into glibc-2.20, there is f_spare[6]. Looks like the structure
>> is gradually evolving :).
>>
>> Inspecting upstream history (gitk statfs.h), it shows it was f_spare[6]
>> since 1997.
> i wonder if we should strip f_spare from the man page.  it's not really useful.

I would prefer to keep f_spare.

As Siddhesh wrote, statfs.h is architecture/OS dependent in general. In 
a case of fedora (f20, f22) armv7hl, x86_64 and i686 has f_spare[4].

We could add a sentence right under struct statfs:
"Depending on your architecture or OS, length of f_spare of statfs 
struct can vary."

> the __SWORD_TYPE should probably be replaced with __fsword_t, and drop the
> __WORDSIZE logic.  that gets ugly with syscall ABIs.

  I am not sure if __SWORD_TYPE is no longer valid type and is replace 
by __fsword_t everywhere (all architectures and OS).

> -mike
--
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] 10+ messages in thread

* Re: statfs.2: f_spare[4]  or f_spare[5]
       [not found]         ` <5454CB4C.6000805-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2014-11-01 15:36           ` Mike Frysinger
       [not found]             ` <20141101153635.GB21263-eAEk4k+vi/E8xmjh+jFwDmGXanvQGlWp@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Mike Frysinger @ 2014-11-01 15:36 UTC (permalink / raw)
  To: Jan Chaloupka
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA, Siddhesh Poyarekar

[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]

On 01 Nov 2014 13:00, Jan Chaloupka wrote:
> On 11/01/2014 04:56 AM, Mike Frysinger wrote:
> > On 31 Oct 2014 22:26, Jan Chaloupka wrote:
> >> there is probably a wrong number in description of statfs structure. In
> >> description section, struct statfs contains as a last field f_spare[5].
> >> But the /usr/include/bits/statfs.h itself contains f_spare[4]
> >> (glibc-headers-2.18 on f20).
> >>
> >> Looking into glibc-2.20, there is f_spare[6]. Looks like the structure
> >> is gradually evolving :).
> >>
> >> Inspecting upstream history (gitk statfs.h), it shows it was f_spare[6]
> >> since 1997.
> > i wonder if we should strip f_spare from the man page.  it's not really useful.
> 
> I would prefer to keep f_spare.

why ?  it serves no useful purpose, and people should be including the header to 
get the definition.  the man page is there to describe the fields that actually 
get used.

> As Siddhesh wrote, statfs.h is architecture/OS dependent in general. In 
> a case of fedora (f20, f22) armv7hl, x86_64 and i686 has f_spare[4].
> 
> We could add a sentence right under struct statfs:
> "Depending on your architecture or OS, length of f_spare of statfs 
> struct can vary."

this man page is Linux specific

> > the __SWORD_TYPE should probably be replaced with __fsword_t, and drop the
> > __WORDSIZE logic.  that gets ugly with syscall ABIs.
> 
>   I am not sure if __SWORD_TYPE is no longer valid type and is replace 
> by __fsword_t everywhere (all architectures and OS).

the latest headers use __fsword_t
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: statfs.2: f_spare[4]  or f_spare[5]
       [not found]             ` <20141101153635.GB21263-eAEk4k+vi/E8xmjh+jFwDmGXanvQGlWp@public.gmane.org>
@ 2015-02-05  9:39               ` Michael Kerrisk (man-pages)
       [not found]                 ` <54D33A66.1080908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-02-05  9:39 UTC (permalink / raw)
  To: Jan Chaloupka, linux-man-u79uwXL29TY76Z2rM5mHXA,
	Siddhesh Poyarekar
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, Rich Felker

[CC += Rich Felker]

On 11/01/2014 04:36 PM, Mike Frysinger wrote:
> On 01 Nov 2014 13:00, Jan Chaloupka wrote:
>> On 11/01/2014 04:56 AM, Mike Frysinger wrote:
>>> On 31 Oct 2014 22:26, Jan Chaloupka wrote:
>>>> there is probably a wrong number in description of statfs structure. In
>>>> description section, struct statfs contains as a last field f_spare[5].
>>>> But the /usr/include/bits/statfs.h itself contains f_spare[4]
>>>> (glibc-headers-2.18 on f20).
>>>>
>>>> Looking into glibc-2.20, there is f_spare[6]. Looks like the structure
>>>> is gradually evolving :).
>>>>
>>>> Inspecting upstream history (gitk statfs.h), it shows it was f_spare[6]
>>>> since 1997.
>>> i wonder if we should strip f_spare from the man page.  it's not really useful.
>>
>> I would prefer to keep f_spare.
> 
> why ?  it serves no useful purpose, and people should be including the header to 
> get the definition.  the man page is there to describe the fields that actually 
> get used.

I think there's value in letting the reader know that there's more to the
structure than meets the eye. But, the clue should be more vague. I've made this

               __fsword_t f_spare[xxx];
                                 /* Padding bytes reserved for future use */

 
>> As Siddhesh wrote, statfs.h is architecture/OS dependent in general. In 
>> a case of fedora (f20, f22) armv7hl, x86_64 and i686 has f_spare[4].
>>
>> We could add a sentence right under struct statfs:
>> "Depending on your architecture or OS, length of f_spare of statfs 
>> struct can vary."
> 
> this man page is Linux specific

(True, but the point about architecture dependence still holds.)

>>> the __SWORD_TYPE should probably be replaced with __fsword_t, and drop the
>>> __WORDSIZE logic.  that gets ugly with syscall ABIs.
>>
>>   I am not sure if __SWORD_TYPE is no longer valid type and is replace 
>> by __fsword_t everywhere (all architectures and OS).
> 
> the latest headers use __fsword_t

So, I've changed dropped __WORDSIZE logc and the structure definition 
currently reads:

   struct statfs {
       __fsword_t f_type;    /* Type of filesystem (see below) */
       __fsword_t f_bsize;   /* Optimal transfer block size */ 
       fsblkcnt_t f_blocks;  /* Total data blocks in filesystem */
       fsblkcnt_t f_bfree;   /* Free blocks in filesystem */
       fsblkcnt_t f_bavail;  /* Free blocks available to
                                unprivileged user */ 
       fsfilcnt_t f_files;   /* Total file nodes in filesystem */
       fsfilcnt_t f_ffree;   /* Free file nodes in filesystem */
       fsid_t     f_fsid;    /* Filesystem ID */
       __fsword_t f_namelen; /* Maximum length of filenames */
       __fsword_t f_frsize;  /* Fragment size (since Linux 2.6) */ 
       __fsword_t f_flags;   /* Mount flags of filesystem
                                (since Linux 2.6.36) */
       __fsword_t f_spare[xxx];
                         /* Padding bytes reserved for future use */
   };

Rich Felker a while back also wrote about problems in the man page:
http://thread.gmane.org/gmane.linux.man/6749

[[
The man page for statfs(2) is using macros which are glibc
implementation internals (not part of the public interface) for
defining struct statfs. This leads programmers to believe they should
use these macros in applications (a cast to __SWORD_TYPE has recently
appeared in util-linux; see link [1] below) and __SWORD_TYPE isn't
even the correct type on glibc/x32.

Note that glibc also has the signedness of these members wrong; in the
kernel, they're rightfully unsigned for 32-bit and only signed on
64-bit (where it doesn't matter). musl does not have this mismatch; we
use unsigned types where they make sense (e.g. storing unsigned
filesystem magic numbers that don't fit in signed 32-bit).

Since the types of these fields are such a mess, I think the man page
should refrain from documenting specific types, and should include
advice on safe usage, including how to safely compare f_type -- on
glibc, the value will wrongly be negative for many filesystems, and
although default integer promotions will fix this for direct
comparison with the fs magic constants, the safe way to use f_type
seems to be explicitly casting it to uint32_t.
]]

So, this all seems a glibc mess to me. However,perhaps I'm not 
understanding something. What is the glibc expectation, regarding 
how people should work with these fields? I mean, suppose one wants
to copy one of the __fsword_t to a local variable, what type is
one supposed to do? What I'd kind of hope for is publicly export
system data(s). But lacking that, what does one do? It appears
that "unsigned int" should do the job. What about the following 
text for the man page:

    The  __fsword_t  type  used  for  various  fields in the statfs
    structure definition is a glibc internal type, not intended for
    public use.  This leaves the programmer in a bit of a conundrum
    when trying to copy or compare these fields to local  variables
    in  a  program.  Using unsigned int for such variables suffices
    on most systems.

?

Thanks,

Michael



-- 
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] 10+ messages in thread

* Re: statfs.2: f_spare[4]  or f_spare[5]
       [not found]                 ` <54D33A66.1080908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-02-15 10:08                   ` Mike Frysinger
  2015-02-21  7:56                     ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 10+ messages in thread
From: Mike Frysinger @ 2015-02-15 10:08 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages)
  Cc: Jan Chaloupka, linux-man-u79uwXL29TY76Z2rM5mHXA,
	Siddhesh Poyarekar, Rich Felker, roland-/Z5OmTQCD9xF6kxbq+BtvQ

[-- Attachment #1: Type: text/plain, Size: 2838 bytes --]

On 05 Feb 2015 10:39, Michael Kerrisk (man-pages) wrote:
> Rich Felker a while back also wrote about problems in the man page:
> http://thread.gmane.org/gmane.linux.man/6749
> 
> [[
> The man page for statfs(2) is using macros which are glibc
> implementation internals (not part of the public interface) for
> defining struct statfs. This leads programmers to believe they should
> use these macros in applications (a cast to __SWORD_TYPE has recently
> appeared in util-linux; see link [1] below) and __SWORD_TYPE isn't
> even the correct type on glibc/x32.
> 
> Note that glibc also has the signedness of these members wrong; in the
> kernel, they're rightfully unsigned for 32-bit and only signed on
> 64-bit (where it doesn't matter). musl does not have this mismatch; we
> use unsigned types where they make sense (e.g. storing unsigned
> filesystem magic numbers that don't fit in signed 32-bit).
> 
> Since the types of these fields are such a mess, I think the man page
> should refrain from documenting specific types, and should include
> advice on safe usage, including how to safely compare f_type -- on
> glibc, the value will wrongly be negative for many filesystems, and
> although default integer promotions will fix this for direct
> comparison with the fs magic constants, the safe way to use f_type
> seems to be explicitly casting it to uint32_t.
> ]]
> 
> So, this all seems a glibc mess to me. However,perhaps I'm not 
> understanding something. What is the glibc expectation, regarding 
> how people should work with these fields? I mean, suppose one wants
> to copy one of the __fsword_t to a local variable, what type is
> one supposed to do? What I'd kind of hope for is publicly export
> system data(s). But lacking that, what does one do? It appears
> that "unsigned int" should do the job. What about the following 
> text for the man page:
> 
>     The  __fsword_t  type  used  for  various  fields in the statfs
>     structure definition is a glibc internal type, not intended for
>     public use.  This leaves the programmer in a bit of a conundrum
>     when trying to copy or compare these fields to local  variables
>     in  a  program.  Using unsigned int for such variables suffices
>     on most systems.

looking at the history of the file in glibc (which stretches back to at least 
1995), i think trying to deal with differences across arches/ABIs/OSs/LFS 
settings has lead it to be macro heavy in favor of the maintainers rather than 
directly considering the usage by developers.  especially since the function 
isn't documented in the glibc manual ... it's being provided more as a low 
level/historical requirement rather than a desire to get it right.

maybe Roland can comment since he's the author of some of these commits :).
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: statfs.2: f_spare[4]  or f_spare[5]
  2015-02-15 10:08                   ` Mike Frysinger
@ 2015-02-21  7:56                     ` Michael Kerrisk (man-pages)
       [not found]                       ` <54E83A3B.5030200-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-02-21  7:56 UTC (permalink / raw)
  To: roland-/Z5OmTQCD9xF6kxbq+BtvQ
  Cc: Jan Chaloupka, linux-man-u79uwXL29TY76Z2rM5mHXA,
	Siddhesh Poyarekar, Rich Felker,
	mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w

On 02/15/2015 11:08 AM, Mike Frysinger wrote:
> On 05 Feb 2015 10:39, Michael Kerrisk (man-pages) wrote:
>> Rich Felker a while back also wrote about problems in the man page:
>> http://thread.gmane.org/gmane.linux.man/6749
>>
>> [[
>> The man page for statfs(2) is using macros which are glibc
>> implementation internals (not part of the public interface) for
>> defining struct statfs. This leads programmers to believe they should
>> use these macros in applications (a cast to __SWORD_TYPE has recently
>> appeared in util-linux; see link [1] below) and __SWORD_TYPE isn't
>> even the correct type on glibc/x32.
>>
>> Note that glibc also has the signedness of these members wrong; in the
>> kernel, they're rightfully unsigned for 32-bit and only signed on
>> 64-bit (where it doesn't matter). musl does not have this mismatch; we
>> use unsigned types where they make sense (e.g. storing unsigned
>> filesystem magic numbers that don't fit in signed 32-bit).
>>
>> Since the types of these fields are such a mess, I think the man page
>> should refrain from documenting specific types, and should include
>> advice on safe usage, including how to safely compare f_type -- on
>> glibc, the value will wrongly be negative for many filesystems, and
>> although default integer promotions will fix this for direct
>> comparison with the fs magic constants, the safe way to use f_type
>> seems to be explicitly casting it to uint32_t.
>> ]]
>>
>> So, this all seems a glibc mess to me. However,perhaps I'm not 
>> understanding something. What is the glibc expectation, regarding 
>> how people should work with these fields? I mean, suppose one wants
>> to copy one of the __fsword_t to a local variable, what type is
>> one supposed to do? What I'd kind of hope for is publicly export
>> system data(s). But lacking that, what does one do? It appears
>> that "unsigned int" should do the job. What about the following 
>> text for the man page:
>>
>>     The  __fsword_t  type  used  for  various  fields in the statfs
>>     structure definition is a glibc internal type, not intended for
>>     public use.  This leaves the programmer in a bit of a conundrum
>>     when trying to copy or compare these fields to local  variables
>>     in  a  program.  Using unsigned int for such variables suffices
>>     on most systems.
> 
> looking at the history of the file in glibc (which stretches back to at least 
> 1995), i think trying to deal with differences across arches/ABIs/OSs/LFS 
> settings has lead it to be macro heavy in favor of the maintainers rather than 
> directly considering the usage by developers.  especially since the function 
> isn't documented in the glibc manual ... it's being provided more as a low 
> level/historical requirement rather than a desire to get it right.
> 
> maybe Roland can comment since he's the author of some of these commits :).

Hi Roland,

Do you have any insight on the above?

Cheers,

Michael



-- 
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] 10+ messages in thread

* Re: statfs.2: f_spare[4]  or f_spare[5]
       [not found]                       ` <54E83A3B.5030200-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-06-05 22:44                         ` Roland McGrath
  0 siblings, 0 replies; 10+ messages in thread
From: Roland McGrath @ 2015-06-05 22:44 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages)
  Cc: Jan Chaloupka, linux-man-u79uwXL29TY76Z2rM5mHXA,
	Siddhesh Poyarekar, Rich Felker

Sorry, I don't really remember any useful history about the use of
__fsword_t.  It's probably entirely reasonable to change the names we use
for these types in the libc headers (or even to change the actual type in
an ABI-compatible way, e.g. signedness changes).  Figuring out what makes
sense for the variety of ABIs we have today is probably sufficient without
figuring out the historical rationales.


Thanks,
Roland
--
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] 10+ messages in thread

end of thread, other threads:[~2015-06-05 22:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-31 21:26 statfs.2: f_spare[4] or f_spare[5] Jan Chaloupka
     [not found] ` <5453FE6F.3010501-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-10-31 21:44   ` Jan Chaloupka
     [not found]     ` <545402A1.30404-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-01  2:40       ` Siddhesh Poyarekar
2014-11-01  3:56   ` Mike Frysinger
     [not found]     ` <20141101035621.GH26840-eAEk4k+vi/E8xmjh+jFwDmGXanvQGlWp@public.gmane.org>
2014-11-01 12:00       ` Jan Chaloupka
     [not found]         ` <5454CB4C.6000805-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-01 15:36           ` Mike Frysinger
     [not found]             ` <20141101153635.GB21263-eAEk4k+vi/E8xmjh+jFwDmGXanvQGlWp@public.gmane.org>
2015-02-05  9:39               ` Michael Kerrisk (man-pages)
     [not found]                 ` <54D33A66.1080908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-02-15 10:08                   ` Mike Frysinger
2015-02-21  7:56                     ` Michael Kerrisk (man-pages)
     [not found]                       ` <54E83A3B.5030200-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-06-05 22:44                         ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).