Re: [patch] getauxval.3 correct AT_HWCAP result description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/13/2016 10:34 AM, Cownie, James H wrote:
It's a long and the target abi decides how many bits of that are used.
Then suggest a patch to say that :-)
The absolutely critical aspect is that it is *not* a pointer (as was
previously stated).

Thanks, James, and Szabolcs.

Patch applied.

Cheers,

Michael


Maybe something like this?

--- PATCH ---
--- a/man3/getauxval.3
+++ b/man3/getauxval.3
@@ -101,7 +101,7 @@ performed by the kernel.
 The real group ID of the thread.
 .TP
 .BR AT_HWCAP
-A 32 bit long bit-mask whose settings
+An architecture and ABI dependent bit-mask whose settings
 indicate detailed processor capabilities.
 The contents of the bit mask are hardware dependent
 (for example, see the kernel source file
--- END PATCH ---

-- Jim

James Cownie <james.h.cownie@xxxxxxxxx>
SSG/DPD/TCAR (Technical Computing, Analyzers and Runtimes)
Tel: +44 117 9071438

-----Original Message-----
From: Szabolcs Nagy [mailto:szabolcs.nagy@xxxxxxx]
Sent: Wednesday, July 13, 2016 9:14 AM
To: Michael Kerrisk (man-pages) <mtk.manpages@xxxxxxxxx>; Cownie, James H <james.h.cownie@xxxxxxxxx>
Cc: nd@xxxxxxx; libc-alpha@xxxxxxxxxxxxxx; linux-man@xxxxxxxxxxxxxxx
Subject: Re: [patch] getauxval.3 correct AT_HWCAP result description

On 12/07/16 21:24, Michael Kerrisk (man-pages) wrote:
 .BR AT_HWCAP
-A pointer to a multibyte mask of bits whose settings
+A four byte long bit-mask whose settings
 indicate detailed processor capabilities.

why is it four byte long?

it's a long and the target abi decides how many
bits of that is used.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




--
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux